Quick start of Microsoft. NET RIA Services

Source: Internet
Author: User
Tags web services silverlight

On Mix 09, Nikhil Kothari released a Microsoft God for--microsoft. NET RIA Services. Although the current version is only poor "March ' Preview", it is enough to excite people. In short, before that, if you use a current RIA technology such as Silverlight, you can only choose to write a large number of services or WCF to achieve the operational functions of the data, and with. NET RIA Services, you manipulate data on RIA projects, as easily as asp.net!

Nikhil Kothari describes the video of. NET RIA Services on MIX09:

Http://www.nikhilk.net/RIA-Services-MIX09.aspx

Microsoft. NET RIA Services March ' Preview and document download address:

http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID= 76bb3a07-3846-4564-b0c3-27972bcaabce

. NET RIA Services Samples in the MSDN Code Gallery

Http://code.msdn.microsoft.com/RiaServices

OK, here's the summary, let's talk more about it.

How traditional RIA operates data

At this time last year, Silverlight 2Beta just released, and a friend asked me if I could use Silverlight to manipulate the database directly. The answer was, of course: unfortunately, no. We have to use a lot of Web services or WCF to provide every link to the database operation, Silverlight can only "indirect contact" with the data tier.

The diagram above shows the whole process. This kind of data operation has been used by everyone, but it is unreasonable. Just like in the "three links" before we go to Taiwan, we have to go to Hong Kong to make a turnaround.

Blog Park Daniel Shareach a few days ago wrote a Silverlight chat program, data operations using WCF Duplex service to achieve two-way communication, very cow, we can go to see. (Onlookers connection: http://www.cnblogs.com/yinpengxiang/archive/2009/03/23/ slchat.html) This is a successful case of the Silverlight operation data layer, but it can also be sad: such a seemingly simple chat program, why has the participation of WCF become complex?

This is because, such "indirect contact", not only is not intuitive, but also a waste of developers a large number of managers to consider some of the issues should not be considered. Developers need to write a different version of the data manipulation code on the client, Web service side, BLL, and also consider the security of their interactions, the network situation, and so on, is simply a waste of a large number of ATP production of small amounts of GDP in the process.

What should be a reasonable data operation

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.