Data-driven development for Silverlight WCF ria1.0 three steps

Source: Internet
Author: User
Tags domain server microsoft website visual studio 2010

Data-driven development for Silverlight WCF ria1.0 three steps

The official release of WCF Ria 1.0 makes the Silverlight development business application system simpler and clearer in structure,CodeThe workload is greatly reduced. Combined with Visual Studio 2010, the. NET Silverlight application is more efficient.

Ria Service Architecture

Development Environment

Windows 2008/Windows 7

IIS 7 (difficult to deploy ii6)

Visual Studio 2010

Riaservicestoolkit. MSI

Silverlight4_tools.exe

Riaservices. MSI

You can download the toolkit from the official Microsoft website www.silverlight.net.

 

Create a data model

Database Modeling, table structure, primary-foreign key relationships, field constraints, code/parameter table

Data Service)

Data access layer uses ado.net entitiyframework

 

Domain Service)

The entity and crud method created by the Entity Framework in the data access layer are exposed to the domain server class and metadata class)

After compilation, the client generates the corresponding domain context class

XAML page display

Bind domaincontext through domaindatasource

Bind records to the DataGrid, bind details to the dataform, and perform field verification by setting the metadata class.

Data submission

 

Demo

Http: // 192.168.103.78/CRM/crmtestpage. aspx

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.