Category Archives: Silverlight

Silverlight web services cross domain warning

You get a cross-domain web services warning when debugging your silverlight application. This can be caused simply by leaving the wrong project highlighted when you hit F5. Select your .web project or the project that contains the aspx file hosting … Continue reading

Posted in ASP.net, C#, Silverlight, Web development and programming | Tagged , , , , | Leave a comment

Silverlight and LINQ problems: ‘YourDataClassesDataContext’ does not contain a constructor that takes ’0′ arguments

After rebuilding my DBML file with SQL metal, my DataContext class no longer has a parameterless constructor. This is due to differences between the was that Visual studio generates the DBML (with SQL metal) and how SQLMetal command-line does by default. The parameterless … Continue reading

Posted in ASP.net, C#, Silverlight, SQL Server 2005, Web development and programming | Tagged , , | Leave a comment