Click here to Skip to main content
15,881,600 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more: , +
Salam.o.alaikum..

guyz i want to use Silverlight for developing a business application, but i don't to use WCF services for database connectivity, is there any other way to get through??
Posted

1 solution

Silverlight applications run on the client in your browser. So you have to create a connection to your database on your server. WCF services is the easiest way to make this connection.

It is however possible to use sockets to connect to your server, for example see this presentation about sockets using Silverlight http://www.silverlight.net/learn/videos/all/using-sockets/

It is also possible to use the webclient class directly to connect to an website or REST services.

Hope this helps.

Regards,

Patrick
 
Share this answer
 
Comments
kas07 15-Apr-11 3:55am    
Thank you very much man... i think accessing a webpage through webclient class is the good option...
Thanks

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900