Subversion repository dump: WPF and Silverlight application, with MVVM (revision 25)

  • October 24, 2010
  • James Skemp
As alluded to in a previous post, in regards to an excellent Silverlight/WPF with MVVM tutorial, I've begun looking into the MVVM pattern, as I begin moving towards WPF and Silverlight for applications. Having fully watched the series twice, and begun a third watch working through the example, albeit with the Northwind sample database, I decided to share my labor with others. To that end I present a Subversion repository dump with a fairly step-by-step look at how to go from nothing to a simple application with WPF and Silverlight support.

Read More

Referring to JavaScript documentation in Visual Studio via reference

  • July 3, 2010
  • James Skemp
While I don't use Microsoft or Google's CDNs for jQuery, I do have a separate sub-domain where I serve these files from (and will eventually use a CDN, I'm sure). However, this means that in Visual Studio I miss out on the helpful documentation functionality. Based on a comment on 3 reasons why you should let Google host jQuery for you it turns out there's a fairly easy way to get Intellisense; simply include the following in your JavaScript file.

Read More

How to change your default language in Visual Studio 2008 (the right way)

  • July 2, 2008
  • James Skemp
There's a number of resources online on how to change the default language in Visual Studio. However, none of them are correct. They all state that you should reset your settings to default and then re-setup your settings. Huh? Instead, if you modify the CurrentSettings.vssettings file, you can keep all your other settings, without the pain of having to re-import everything else. First, find your settings file, which appears to default to the My Documents\Visual Studio x\Settings\ directory.

Read More

Keyboard shortcuts for Visual Studio that mimic Dreamweaver

  • May 14, 2008
  • James Skemp
I like Dreamweaver. After Notepad, and various other apps like it, I used FrontPage, was scarred, and was saved by Dreamweaver. However, Dreamweaver can't handle .NET files very well. So when I moved to Windows and started using BlogEngine.NET I naturally started looking at how I could edit the source files. Visual Web Developer 2005 had been released, so ... Skipping forward, I'm starting to work with Visual Studio more and more.

Read More

My Visual Studio 2008 Preferences

  • April 19, 2008
  • James Skemp
This is almost purely for my own benefit. Tools > Options (showing all settings) Environment > General  Animate environment tools (unchecked) Environment > Startup At startup: Show empty environment Download content every: (unchecked) Projects and Solutions > Build and Run Before building: Prompt to save all changes Text Editor > All Languages  Display: Line numbers (checked) Text Editor > All Languages > Tabs Indenting: Smart Tab: Tab size: 4 Indent size: 4 Keep tabs Text Editor > C# > New Lines New line options for braces (uncheck all) New line options for keywords (uncheck all) Text Editor > CSS > Format Style: Semi-expanded Text Editor > HTML Format Insert attribute value quotes when typing (unchecked) Miscellaneous Auto ID elements on paste in Source view (unchecked) All other settings are left to default.

Read More