Tuesday, November 29, 2011
How to call a WCF service in silverlight

In Silverlight, we often come across a very common requirement to consume Cross Domain Services. In order to support Cross Domain Services in Silverlight, we have to add 'Cross Domain Policy' file at the root of the web server. But if that Service is hosted in a Console Application or a WPF Application or a Windows Service, then how...
3:10 AM by Dilip kakadiya · 0
Thursday, November 17, 2011
Joins in LINQ to SQL
The following post shows how to write different types of joins in LINQ to SQL. I am using the Northwind database and LINQ to SQL for these examples.NorthwindDataContext dataContext = new NorthwindDataContext();Inner Joinvar q1 = from c in dataContext.Customersjoin o in dataContext.Orders on c.CustomerID equals o.CustomerIDselect new{c.CustomerID,c.ContactName,o.OrderID,o.OrderDate};SELECT [t0].[CustomerID], [t0].[ContactName],...
4:14 AM by Dilip kakadiya · 0
Subscribe to:
Posts (Atom)