Saturday 25 July 2009

Getting started with Silverlight

Excellent tutorial of the ABC's of silverlight ... http://weblogs.asp.net/scottgu/pages/silverlight-2-end-to-end-tutorial-building-a-digg-search-client.aspx

Silverlight WaterMarkedTextBox gone awol?

http://timheuer.com/blog/archive/0001/01/01/silverlight-watermark-text-box-control.aspx

VS Intelisense for referenced assemblies

For IntelliSense to be available for referenced binary assemblies, the XML documentation files for each of these assemblies must be placed in the same directory as the referenced assemblies.

Failed to generate a user instance of SQL Server due to a failure in starting the process for the user instance

User instance mode of SQL Express allows you to bundle a SQL Server database file with your (typically web) application and have it attached to the SQL Express service at runtime. This is useful for development as the entire database is a single file that can be packaged with the rest of the application source.

However, this didn't work for me with the following error:

Failed to generate a user instance of SQL Server due to a failure in starting the process for the user instance


Wow, that's not too helpful guys. The real problem: I had configured my SQL Express instance to logon as Network Service. User instance mode requires LocalSystem. This can be changed by in SQL Configuration Manager. (Double click on the offending instance and change the logon type to LocalSystem).




ADO.NET Entity Inheritance and Dynamic Data

The short story: it doesn't work! Maybe more detail later ...

Silverlight Project Type not Supported in VS 2008 SP1 after reinstalling tools

This comproblem had me stumped for a while. The solution (simple as ever): open a command prompt to your c:\program files\microsoft visual studio 9.0\Common7\IDE and simply run:

devenv /setup

It may tell you that the operation could not be completed properly but it does mysteriously fix the problem - if anyone knows why I'd love to hear about it!