View Data From SilverLight

Hi Spark
 I have to write an ADO.net data service for our Silverlight map
 project to consume. Do you know how to do this? Preferably in C#.
 If so - how long do you think it will take. Please let Robert and I know.
 Congrats on your baby boy!
 
This Question Is My Friend From USA, I do i t a Few months ago, So I
Share with you .
 
Step 1:
Initialize the database (Test Data)   
 
 
Step 2:
Create “SilverlightloaddisplayApplication”  
  View Data From SilverLight_第1张图片
  Step 3:
Check  “WCF RIA Service ”  
 
View Data From SilverLight_第2张图片
  Step 4:
add  “ADO.NET Entity Data Model ” 
 
View Data From SilverLight_第3张图片
  Step 5:
Check  “Table”   Figure 5
 
 
Step 6:
Add  “Domain Service Class” 
 
View Data From SilverLight_第4张图片
 
Compile the Silverlight Project then Continue.
  Step 7:
g)Add  “Domain Service Class”  
 
  View Data From SilverLight_第5张图片
 Step 8:
Add  new “Domain Service Class”  
View Data From SilverLight_第6张图片
   Step 9:
Design  “MainPage.xaml ”  
 
 
   Step 10:
Code “MainPage.xaml.cs ”  
 
View Data From SilverLight_第7张图片
    Step 11:
Result  “ Load And Display Data ”  
 
  View Data From SilverLight_第8张图片
 
二、 My development environment as following

  • windows server 2008 r2 EnterPrise
  • SQL Server 2008 R2
  • Microsoft Visual Studio 2010

 

三、 This is All, Any question feel free pls contact me.

你可能感兴趣的:(windows,service,Microsoft,domain,silverlight,WCF)