Data Access Architecture for Silverlight2

  • Thread starter Thread starter Alex. O. Koranteng
  • Start date Start date
A

Alex. O. Koranteng

I am learning Silverlight2 through the resources on MSDN like the Jesse
Liberty and Mike Taulty's Video series. I have purchased the APRESS book
Silverlight2- From Novice to Professional. I am confused about what the
appropriate data access technology to pick up and have started playing with
WCF on the other end. However, I am confused on what the appropriated Data
Access technology to leverage with Silverlight and to add on to my skills
coming from traditional ADO.Net and some LINQ. Also what resources do I have
to look at. Will appreciate any advise.

Thanks
 
Hi Alex,

Currently, Silverlight does not support to do Data Access directly from the
Silverlight application itself because of some security issues. But I
believe the Data Access API will be improved in the future release
versions.

Currently, the only way is using a WCF or WebService to wrap a Data Access
Layer. It does not matter how we do the Data Access from the WCF or
WebSerivce wrapper. We can do it via the tranditional ADO.NET , LINQ to SQL
or Entity Framework. As long as we retrieve the Data in the WCF or
WebService layer, we can consum the WCF or WebService to get the data.

We can see some discussion and detailed walkthrough on the web,
http://blogs.msdn.com/brada/archive/2008/04/17/end-to-end-data-centric-appli
cation-with-silverlight-2.aspx
http://silverlight.net/forums/t/16915.aspx
http://silverlight.net/forums/p/16733/55609.aspx#55609


Best regards,
Colbert Zhou
Microsoft Newsgroup Support Team
 
Colbert,

Thanks for the clarification. Now I see the need to sharpen my WCF skills. I
have started going through the basics using MSDN, but the material is kind of
confusing since I did not come from the traditional web services model. Would
you know of any good basic links and samples to get me started
 
Cor,

Thanks for the link. The problem is I cannot access this link. It appears to
be broken. Any suggestions, it will be a good place to start.
 
I wouldn't want to possibly add some confusion but try :

http://msdn.microsoft.com/en-us/data/bb931106.aspx (ADO.NET Data Services)

and

http://msdn.microsoft.com/en-us/magazine/dd695920.aspx (.NET RIA Services
beta and perhaps only for SL 3).

The idea is that you wouldn't have to create this service yourself. The goal
of those two additional layers is to "transport" a server side data model to
the client side. I would go at least for ADO.NET Data Services. The other
article is one year old - an eternity ;-) - for us IT folks...
 
Colbert,

THanks for the link. I cannot access the links. Any suggestions will be
appreciated.
 
Cor,

Thanks for the link. The problem is I cannot access this link. It
appears to be broken. Any suggestions, it will be a good place to
start.


Probably messed up the URL. Here is the SNURL version (just checked it):
http://snurl.com/mdylz

PDF version:
http://snurl.com/mdyl3

Code for the sample:
http://snurl.com/mdynu


--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

Twitter: @gbworld
Blog: http://gregorybeamer.spaces.live.com

*******************************************
| Think outside the box! |
*******************************************
 
Back
Top