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

 Posted by ArticlesMaint on 9/23/2009 | Category: Silverlight Interview questions | Views: 4150

Silverlight does not have ADO.NET

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.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response