DCSIMG
Visual Studio 2008,C# - Smallfish

Smallfish

Tips, Tricks, Shticks & Anything That Can Help You Be better Developer

Browse by Tags

All Tags » Visual Studio 2008 » C# (RSS)
LINQ to SQL Performance loading Hierarchical data
Last week I have trying to load hierarchical data from the same table (Parent/Child). Although I have made it in the past, I was searching the way to accomplish it with LINQ to SQL without SP or at least with the minimum required (in any case, I had a "fallback"). After 4 hours of searching the net without success (there are plenty of articles, nothing met my requirements see here and here ). Then I thought to give LINQ a chance, and I just used it querying the association created by the...
Testing WCF Service using Visual Studio 2008 Unit Tests
Technorati Tags: Unit Tests , Test , WCF , C# , Visual Studio 2008 Testing Windows Communication Foundation (WCF) service should be handled in a slightly different way than other "regular" .net types. We should test the service logic (as always) but we also need to test it in few more manners to assure our service quality: Test the service within WCF runtime environment - which can raise several issues that would not be in regular CLR environment. Test for your default binding and for all...