Sunday, January 9, 2011

Why can’t we consume ADO.NET directly in SilverLight?

==> Below are the different ingredients which constitute SilverLight plugin.

One of the important points to be noted is that it does not consist of ADO.NET. In other words you can not directly call ADO.NET code from SilverLight application. Now the other point to be noted is that it has the WCF component. In other words you can call a WCF service.

In other words you can create a WCF service which does database operations and silverlight application will make calls to the same. One more important point to be noted is do not return ADO.NET objects like dataset etc because  SilverLight will not be able to understand the same.

No comments:

Post a Comment