Friday, February 26, 2010

Resharper 4.5 issue with SilverLight RIA Service in VS 2008

Recently, I dive in a little bit the RIA Service in SilverLight 3 following Tim Heuer's great video which available here
http://silverlight.net/learn/videos/all/net-ria-services-intro/.



I followed the video to create the ADO.NET Entity Data Model and Domain Service Class. Everything works just fine until


The AdvDomainContext cannot be found. The reason is RIA service use Generated_Code to share code between Server and silverlight which technically exclude from project.


So any code references Generated_Code in silverlight can not be resolved by Resharper.


Solution:
1. Show all file in VS 2008





















2. Include Generated_Code into project






















Then, Resharper can pick up the class now.
By the way, it might pop up warning when you dubug the project


Just go will the "continue".

It works now :-)

Saturday, February 20, 2010

Hello world

"Hello world" is the most common print out if you are familiar with programming. It is also appropriate for my first post title.

The reason I become a blogger is I want to share my roadblocks and the ways to solve
them in work, rather than only Google or Bing it up without participating and making contribution in Microsoft community.

I will focus on MS technologies, especially ASP.NET, C#, SilverLight and SQL Server. I will post my findings in work and other areas I'm interested in besides work.

All the comments are welcome......