WCF RIA 4.0 requires an Entity Model that includes Foreign Key Information

If you try to build a WCF RIA Application and the Entity Model (EM) doesn’t include foreign key information you will get an error like: Unable to retrieve association information for association ‘MyModel.MyAssociation’. Only models that include foreign key information are supported. See Entity Framework documentation for details on creating models that include foreign key…

2

WCF, Silverlight, and SharePoint… Oh my!

I was recently working on a project and needed to have Silverlight make a WCF call.  That is pretty straight forward until you place the Silverlight code inside SharePoint and want it to call a WCF that is also inside SharePoint. The first problem that I had to solve was getting Silverlight to be able…

0

Adventures with Silverlight 3.0 and SharePoint – Part 2

Just a quick update on this.  I had to make a few changes to my site and I now have it working! To fix the master page problem, I needed to load it from code behind.  Once I did that, I was able to have that show up.  But then I had a problem of…

2

Adventures with Silverlight 3.0 and SharePoint – Part 1

I have been working on getting Silverlight 3.0 to work with SharePoint 2007 and I wanted to share with you the progress I have made and some of the challenges I have remaining. Project This project uses Silverlight 3.0, the Silverlight Toolkit for 3.0, and RIA Data Services.  So it is basically using as much…

6

Silverlight RIA calling Stored Procedures that don’t return tables

There are times where you want to use a stored procedure that doesn’t return just normal rows out of a database.  One classic example is if you are doing Full-Text Searching and want to return the Rank. The first step to doing this is the get your stored procedures exposed in the ADO.NET Entity Data…

4

Creating interesting Silverlight chart datapoints

I was reading this great post by Jeff Wilcox and quickly found out that some of the needed code to get this to work was missing from his post. So I went about recreating the missing parts and getting this to work.  Here is what mind looks like now that it is functional: To get…

2

ASP.NET MVC and JSON and when do you use Async

I wanted to post somewhat of a discussion starter around some of the new technologies that ASP.NET has recently released. ASP.NET MVC This technology has one huge benefit of allowing you to do unit testing on your site.  But there are also a number of other advantages to it, for example, you can have a…

4

Silverlight 3 RIA controls and how they load

If you have started playing with the RIA controls for Silverlight, one thing that you will need to understand is that when you get a DomainContext and call one of the load commands, that it does this async. So if you do something like: var context = new TestDomainContext(); context.LoadProducts(); foreach (Product p in context.Products)…

4

ASP.NET Troubleshooting

So with how long ASP.NET has been out for now, I am really curious to know how people go about tracking down issues in their project. I’d like to know things like: How do you know there is a problem What tools do you use to confirm that the problem really is a problem How…

9

Future Vision UX ideas

If you haven’t seen this video, check this out and see what you think of one view of the future: What are your reactions to this?  Do you think this is something that is possible in the near future?  Do you think that Silverlight or other such technologies could enable things like this? What are…

2