# Monday, May 10, 2010

If you’re a bit like me you like to have a lot of keyboard shortcuts handy while coding in your favorite IDE, Visual Studio. In the past I blogged about cheat sheets for former versions of Visual Studio but I recently found out about documents for 4 different languages in Visual Studio 2010: C#, F#, VB.NET and C++.

Take a look here to download these.

Grz, Kris.

Monday, May 10, 2010 4:11:42 PM (GMT Daylight Time, UTC+01:00)  #    Disclaimer  |  Comments [0]  | 
# Thursday, April 15, 2010

Codeplex is a great resource to find all kinds of things developer related. One of the things I found recently were a bunch of snippets for jQuery to make life easier for developers using Visual Studio 2010. You can download them here.

Grz, Kris.

Thursday, April 15, 2010 7:51:13 PM (GMT Daylight Time, UTC+01:00)  #    Disclaimer  |  Comments [0]  | 
# Tuesday, April 13, 2010

I just found out about this free eBook which can be found for download here.

The book is not a language primer, a language reference, or a single technology book. It's a book that will help professional developers move from previous versions of Visual Studio (starting with 2003 and on up). It will cover the features of Visual Studio 2010 through an application. It will go through a lot of the exciting new language features and new versions of the most popular technologies without putting the emphasis on the technologies themselves. It will instead put the emphasis on how you would get to those new tools and features from Visual Studio 2010.

Grz, Kris.

Tuesday, April 13, 2010 9:52:12 AM (GMT Daylight Time, UTC+01:00)  #    Disclaimer  |  Comments [0]  | 
# Monday, April 12, 2010

A long awaited arrival of Visual Studio 2010 came true today as Microsoft shipped the product. This is one version that I installed also during the alpha and beta periods to test out and provide feedback towards Microsoft about things that could be made better or bugs. I’m looking forward into using it as soon as possible at work as well.

You can read more about the announcement here: http://weblogs.asp.net/scottgu/archive/2010/04/12/visual-studio-2010-and-net-4-released.aspx.

Grz, Kris.

Monday, April 12, 2010 11:44:00 PM (GMT Daylight Time, UTC+01:00)  #    Disclaimer  |  Comments [0]  | 
# Wednesday, January 27, 2010

From the Swiss MSDN blog:

In this 108 page hands-on lab you will learn how to use Beta 2 of Visual Studio 2010 and Beta 1 of Microsoft Silverlight 4 to create a data driven line of business style rich internet application that implements many of the new features that Silverlight 4 introduces. We will base our solution on the Windows Communication Foundation (WCF) RIA Services.

The solution will be an order-management system that shows a list of orders in a data grid and details of a selected order in a details pane. The system will validate user entries and have the capabilities of printing order reports and exporting order lists to Microsoft Excel.

Download the hands-on lab manual in PDF and Word format, the database and the final sample solution.

These features are implemented in the lab:

  • True multi-tier architecture.
  • Entity framework and service layer definition.
  • Data filtering, paging, sorting and grouping.
  • Data modification and validation.
  • Foreign key management.
  • Projections.
  • Programmatic printing from a Silverlight application.
  • COM interop with Microsoft Excel and running full-trust out-of-browser.

Silverlight4WCFRIAServicesHandsOnLab

Grz, Kris.

Wednesday, January 27, 2010 7:33:33 AM (GMT Standard Time, UTC+00:00)  #    Disclaimer  |  Comments [0]  | 
# Saturday, November 28, 2009

I got this question in one of the new forums over at ASP.NET. I took a bit of time to search and this is the result I came up with:

Default:

By default when you right click on the MDI document tab you get this context menu which will look familiar to most people from previous versions of Visual Studio.

vs2010_mdi_01

Solution:

Use the menu and to go Tools, Customize

vs2010_mdi_02

Then from the new window select the second tab Commands. Check the radiobutton context menu and from the combobox choose Other Context Menus | Easy MDI Document Window:

vs2010_mdi_03

Click the Add Command… button and from the new window choose on the left Window and on the right Close all documents.

vs2010_mdi_04

Click on the OK and then on the Close button and you’re done. Nice and easy.

Result:

Your newly added context menu item for the MDI tab in all its glory:

vs2010_mdi_05

Grz, Kris.

Saturday, November 28, 2009 3:46:26 PM (GMT Standard Time, UTC+00:00)  #    Disclaimer  |  Comments [0]  | 
# Thursday, November 19, 2009

A lot of cool stuff's coming out soon and there are already beta bits available. With beta bits there are also already videos available to look at and get familiar with what will be available.

Enjoy watching them.

Grz, Kris.

Thursday, November 19, 2009 5:23:00 PM (GMT Standard Time, UTC+00:00)  #    Disclaimer  |  Comments [0]  | 
# Monday, October 19, 2009

I noticed that Visual Studio 2010 Beta 2 got out for MSDN subscribers today. It’ll be available for the rest of the world on October 23rd. Also good news: next year on March 22 it’ll be there in RTW status.

Also the new version doesn’t use the standard logo with the 4 colors again but is now a smooth looking purple/blue logo.

VS2010B2Installation

Grz, Kris.

Monday, October 19, 2009 8:41:41 PM (GMT Daylight Time, UTC+01:00)  #    Disclaimer  |  Comments [0]  | 
# Monday, May 18, 2009

Just noticed that Visual studio 2010 and .NET framework 4.0 Beta 1 shipped. This is great news as that means that people can download it and play around with but. More important though is that people can also provide feedback to Microsoft and make sure that unnoticed things might get kicked out before going RTW.

Also check out the Product information page.

Grz, Kris.

Monday, May 18, 2009 7:29:49 PM (GMT Daylight Time, UTC+01:00)  #    Disclaimer  |  Comments [1]  | 
# Wednesday, February 04, 2009

Though external javascript and css files can be cached by a browser the initial download can still be quite large. For example the minified jQuery library compared with the uncompressed one, or even the visual studio documented one is considerable. A while ago, for my current project, I also faced the problem of lots of script files in the project either created by the team or provided by a design company. This however hurt performance so I took some time to dig into the matter and try out several compression tools. The best one I found so far is YUICompressor from Yahoo!. It’s written in java but that shouldn’t stop you from giving it a try. The nice thing about it is that one can provide arguments to the command line tool to get a different outcome like for example the switch --nomunge which tells the tool to only minify the javascript and not to obfuscate local symbols. According to Wikipedia obfuscation means:

Obfuscation is the concealment of meaning in communication, making communication confusing, intentionally ambiguous, and more difficult to interpret.

It also has a side effect benefit that mostly the file even becomes a little bit smaller.

Because as a .NET developer I mainly work with Visual Studio and I like to stay in that environment instead of going to a command prompt, typing in the commands to run the tool. Luckily Visual Studio provides the needed mechanism to automate this process without leaving the IDE itself.

In the menu select Tools > External Tools…
There you can add a new entry like in the image by clicking the Add button.

YUICompressor

I added the YUICompression entry. The command is the executable file, in this case java.exe which is needed to run the jar file. The arguments section is the most interesting one though as this provides us the way to tweak the arguments of the command line tool. Also note that I put the compression tool in my c:\ root directly.

The whole line reads as:

-jar C:\yuicompressor-2.4.2.jar $(ItemPath) -o $(ItemDir)$(ItemFileName).min$(ItemExt) –v

For the CSS file compression I added another entry but with this in the Arguments section:

-jar C:\yuicompressor-2.4.2.jar $(ItemPath) -o $(ItemPath) –v

The reason for this is because I like the javascript, when minified, get the filename that indicates that it was minified so I add the .min in between. The added benefit for this is that you can still keep the original .js file for changes, and then minify it again of course. I don’t do this for the css files as they don’t get obfuscated and it’s easy to reformat the document again with the default keyboard combination ctrl + k, ctrl + d (Menu > Edit > Advanced > Format document).

Now that we’ve got this into place it’s quite easy. In the Solution explorer you just select a .js or .css file and from the menu Tools > YUICompression you can let the tool do its magic.

Grz, Kris.

Wednesday, February 04, 2009 11:19:01 PM (GMT Standard Time, UTC+00:00)  #    Disclaimer  |  Comments [0]  | 
# Tuesday, October 28, 2008

I just noticed that on the site of jQuery there’s now also a download available for having a much better intellisense experience. It’s actually a big js file with xml comment that Visual Studio can interpret but it can be used to power up the development experience. Also when you do reference this only do so while developing and don’t put this into production since it’s waaaay bigger than the minified version (or the packed one). So make sure that you set that into production instead.

Update: I just found out about these extra handy tips for adding the documented jQuery file to your pages.

Grz, Kris.

Tuesday, October 28, 2008 8:29:43 AM (GMT Standard Time, UTC+00:00)  #    Disclaimer  |  Comments [0]  | 
# Tuesday, August 12, 2008

I just found out about the new training kit thanks to the blog of Guy Bernstein. While I'm downloading this kit I'm also downloading the latest MSDN library optimized for VS 2008 SP1, a whopping 2205Mb.

Grz, Kris.

Tuesday, August 12, 2008 7:25:01 PM (GMT Daylight Time, UTC+01:00)  #    Disclaimer  |  Comments [0]  | 
# Monday, August 11, 2008
Well, just after last week SQL Server 2008 was released, SP1 for Visual Studio 2008 came out today. Normally a service pack only contains some patches but this time there's a lot of extra added features inside the package. The things I'm most looking forward to are these:

  • ADO.NET Entity framework
  • ADO.NET Data Services
  • Classic ASP support in Visual Studio.
  • ASP.NET Dynamic Data
  • ...
I noticed the links on the MSDN subscription pages and you can also download the goods here.

Here you can read more about what's inside.

Grz, Kris.

Monday, August 11, 2008 9:27:43 PM (GMT Daylight Time, UTC+01:00)  #    Disclaimer  |  Comments [0]  | 
# Tuesday, February 26, 2008
Since a couple of weeks I changed my IDE at work from Visual Studio 2005 to Visual Studio 2008 Team System for developers. We still target the .NET 2.0 framework but from what we found out, Intellisense in VB.NET has improved a lot. Since this morning I'm also using a new theme for Visual Studio since my collegue told me that he found it to be much better for his eyes. Scott Hanselman wrote a while ago about different available themes, and the one we took (several of my collegues started to use recently) is this one. I'll be testing it for a while to see if it's indeed better for my eyes.

Oh yes, it's always best to backup your current setting before trying out a new one. I wrote an article on how to do this in the past: Exporting and importing Visual Studio 2005 settings.

Grz, Kris.

Tuesday, February 26, 2008 9:56:22 AM (GMT Standard Time, UTC+00:00)  #    Disclaimer  |  Comments [0]  | 
# Friday, February 08, 2008
Just found out throught this link that Microsoft launched a new website dedicated to Visual Studio plugins. You can take a look at it here.

Grz, Kris.

Friday, February 08, 2008 8:18:30 AM (GMT Standard Time, UTC+00:00)  #    Disclaimer  |  Comments [0]  | 
# Wednesday, December 12, 2007
Not so long ago I blogged about new video material on ASP.NET 3.5 and LINQ. Since I didn't have much time lately to keep up with my blogreading I just found out through the blog of my buddy Bilal that there are also videos available on:
Anyone got some time left?

Grz, Kris.

Wednesday, December 12, 2007 9:01:48 AM (GMT Standard Time, UTC+00:00)  #    Disclaimer  |  Comments [1]  | 
# Wednesday, December 05, 2007

Our every day IDE of choice, Visual Studio, is a nice tool. I already know quite a lot of keyboard shortcuts and how to handle the IDE myself but this blog has quite a lot of handy tips. And today's tip's how to reach the navigation bar via the keyboard. One keyboard shortcut I was still craving for.

Grz, Kris.

Wednesday, December 05, 2007 7:27:56 PM (GMT Standard Time, UTC+00:00)  #    Disclaimer  |  Comments [0]  | 
# Thursday, November 29, 2007

Yesterday evening I and several colleagues attended the MSDN evening about Visual Studio 2008. It was most of the time an introduction of the possibilities of the new IDE and there was a whole lot of talk about the enhancements to the C# language. Not that I mind because that's also my language of choice. Especially the principle of extension methods look great and very interesting. Too bad however that the new enhancements of VB.NET weren't shown as that's also a language that's used very often. My current project (winforms, .NET 2.0, NHibernate, SQL Server 2005) also is created with VB.NET.

Most of the stuff that they showed, enhancements for web developers, great integration of tools for CSS that I already used with Expression Web, I already knew off. The thing that I didn't saw before is the cool VSTO ribbon designer. No more crafting with custom xml files anymore, just design. Cool. I guess several of my colleagues, that are mainly using VSTO, were glad when they saw this.

Afterwards we all had a drink and it was nice to see some familiar faces again that I haven't seen for a long time. One of the reasons why I like to go to these evenings/events is the social aspect. According to some people I'm a walking Facebook application myself.

Grz, Kris.

Thursday, November 29, 2007 10:25:17 AM (GMT Standard Time, UTC+00:00)  #    Disclaimer  |  Comments [4]  | 
# Tuesday, November 27, 2007

Actually I wasn't expecting this one for a couple of weeks but I just read on the blog of Scott Guthrie that they just released it.

Something else I'm waiting for is Visual Source Safe for Visual Studio 2008 so I can install it locally on my new dev machine. Unfortunately it's been delayed for a couple of weeks.

Grz, Kris.

Tuesday, November 27, 2007 9:07:29 AM (GMT Standard Time, UTC+00:00)  #    Disclaimer  |  Comments [0]  | 
# Wednesday, November 21, 2007

Yesterday evening I started the installer but it really got stuck. Bummer. But luckily there's a thriving forum to ask questions. The answer I got was to first install the .NET 3.5 framework first which can be found on the DVD under the WCU folder.

If you should also get into trouble while installing, I really hope not, you can also try out this approach.

Grz, Kris.

Wednesday, November 21, 2007 8:32:17 PM (GMT Standard Time, UTC+00:00)  #    Disclaimer  |  Comments [0]  | 
# Monday, November 19, 2007

Just signed in to MSDN subscriptions and apparently the Beta 2 after Visual Studio 2008 dissapeared. I know what I'll be downloading evening.

Grz, Kris.

Monday, November 19, 2007 1:22:48 PM (GMT Standard Time, UTC+00:00)  #    Disclaimer  |  Comments [0]  | 
# Tuesday, August 28, 2007

You just got to love this, when you download a starter kit, and run the .vsi file it doesn't only get into the available templates of Visual Studio 2005 but also in the templates of Visual Studio 2008 Beta 2, which I have installed side by side at the moment. When creating a new website, based on such a starter kit, I got to see this dialog:

upgrade_visualstudio2008_vs

I was thinking that I needed to copy paste the zip file, which gets created when you use the .vsi file to install, but it just installed on both locations. Great!

Do you have an ASP.NET starter kit that you think that might be interesting for other people? If so please post it on the Announcements forum or you can upload it on this new dedicated site: http://starterkits.org/ which was created by my co-moderator/MVP Curt.

Grz, Kris.

Tuesday, August 28, 2007 9:52:48 PM (GMT Daylight Time, UTC+01:00)  #    Disclaimer  |  Comments [0]  | 
# Thursday, July 26, 2007

Just saw it on the download pages: http://msdn2.microsoft.com/en-us/vstudio/aa700831.aspx.

Apparently Microsoft also created several pages with some webcasts:

I know where the rest of my bandwidth of the month's getting spend on this weekend.

Grz, Kris.

Thursday, July 26, 2007 10:01:11 PM (GMT Daylight Time, UTC+01:00)  #    Disclaimer  |  Comments [0]  | 
# Sunday, May 13, 2007

Thanks to my MVP status I got a free MSDN subscription that's packed with Visual Studio 2005 Team Suite. The installation however still lacked the Database Professional part. After some msn-ing with Gabriël I could also download the extra addon for that as well.

You can find the download here: Visual Studio 2005 Team Edition for Database Professionals Add-on for Visual Studio 2005 Team Suite Edition.

Grz, Kris.

Sunday, May 13, 2007 1:57:42 PM (GMT Daylight Time, UTC+01:00)  #    Disclaimer  |  Comments [0]  | 
# Saturday, April 28, 2007

As a moderator on the ASP.NET I often see a request for a certain keyboard shortcut to do a specific thing. Since I like shortcuts myself and use them very often I wanted to provide a little how to here:

First you go to Tools | Customize and click the button Keyboard...

The following screen appears:

If you want to check out which shortcut corresponds to which command you can point the cursor to the textbox at 1. There you can type in the keyboard shortcut like ctrl + K, ctrl + D. In the dropdownlist at the bottom you can then see where the shortcut is used at that moment like in the following figure:

You can clearly see that the command in the Text editor, that's where you type your code, is the Edit.FormatDocument which outlines your code properly.

The other way around can also be done. If you type into 2 the command you're after, in my example Edit.FormatDocument you get to see which shortcut combination in the dropdownlist right underneath it (Shortcuts for selected command). If you're not satisfied with it you can then, in textbox 1, type in your own shortcut combination and click the Assign button.

If you want to fine grain where a certain keyboard combination is used you can select where to use it in the dropdownlist "Use new shortcut in".

Grz, Kris.

kick it on DotNetKicks.com

Saturday, April 28, 2007 12:44:52 PM (GMT Daylight Time, UTC+01:00)  #    Disclaimer  |  Comments [1]  | 
# Saturday, March 03, 2007

Microsoft provides since recently a new learning center for the beginning developer. Totally dedicated to the freely available Expression editions of Visual Studio 2005 people who are interested in beginning to learn to program can take advantage of.

You can find the Learning Center here.

Another interesting piece of information are the SQL Server 2005 Express For Beginners screencasts.

Grz, Kris.

kick it on DotNetKicks.com

 

Saturday, March 03, 2007 9:50:15 AM (GMT Standard Time, UTC+00:00)  #    Disclaimer  |  Comments [0]  | 
# Saturday, February 24, 2007

Wow, the news just keeps coming today. I found out about this little tool SonicFileFinder.

SonicFileFinder is a free add-in for Visual Studio 2005 that allows a fast and convenient search for any file within every Project of the loaded Solution by entering the complete filename or just a part of it. The found file(s) can either be edited with a single keystroke or a Windows Explorer / CommandLine prompt can be opened at the file's location.

Grz, Kris.

kick it on DotNetKicks.com

Saturday, February 24, 2007 6:49:41 PM (GMT Standard Time, UTC+00:00)  #    Disclaimer  |  Comments [0]  | 
# Monday, February 05, 2007
# Friday, February 02, 2007

Yesterday evening I had the pleasure to attend the presentations by Scott Guthrie. It was very interesting to see what's coming up in the new version of Visual Studio codenamed 'Orcas'. I like the multi-targeting feature, now you can choose which .NET framework you want to target your solution to: 2.0, 3.0 or 3.5. Another nice feature, and something I'm looking forward to is Javascript intellisense. This'll be a great feature once someone starts developing with ASP.NET AJAX.

Afterwards we had the chance to talk to Scott directly and some group pictures were taken by Sven Mus. I hope he posts them quickly so I can also share them.

Grz, Kris.

Friday, February 02, 2007 9:05:55 AM (GMT Standard Time, UTC+00:00)  #    Disclaimer  |  Comments [0]  |