Windows Scripting
  Home arrow Windows Scripting arrow Page 2 - Silverlight 2.0 Application Development wi...
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Silverlight  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
ASP Web Hosting  
ASP.NET Web Hosting 
Windows Web Hosting
 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
WINDOWS SCRIPTING

Silverlight 2.0 Application Development with LINQ to SQL and a WCF Service
By: Jagadish Chaterjee
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 6
    2008-11-12

    Table of Contents:
  • Silverlight 2.0 Application Development with LINQ to SQL and a WCF Service
  • Creating a Visual Studio 2008 solution to work with “LINQ to SQL”, WCF and Silverlight 2.0
  • WCF development
  • Silverlight development
  • Troubleshooting configurations
  • Troubleshooting configurations: continued

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Silverlight 2.0 Application Development with LINQ to SQL and a WCF Service - Creating a Visual Studio 2008 solution to work with “LINQ to SQL”, WCF and Silverlight 2.0


    (Page 2 of 6 )

    As I mentioned earlier, if you are quite new to these technologies and need complete walkthroughs, consider reading my earlier articles (listed in the previous section).

    The following are the steps you need to take to create the environment:

    • Create a blank solution (DemoSln).

    • Add “WCF Service Application” Project (DemoEmpService) to the solution.

    • Add “LINQ to SQL classes” item (DemoEmp.dbml) to the WCF project.

    • Add the new table “emp” to your database as given at http://cid-41050f68f010a662.skydrive.live.com/self.aspx/Public/images/DeptEmp.gif

    • Using “Server Explorer,” drag and drop the “Emp” table onto the “LINQ to SQL” designer (of DemoEmp.dbml)

    • Go to properties of the current data context, and change “Serialization Mode” to “Unidirectional” (Fig 01). This automatically adds each “LINQ to SQL” entity (named “Emp”) with the necessary attributes (like Table, DataContract, Column, DataMember etc.) to be serialized (with respect to WCF standards).

    • Make sure the connection string is added to “web.config” file automatically.

    The steps are continued in the next section.

    More Windows Scripting Articles
    More By Jagadish Chaterjee


       · Thanks for a great article! Nice explanation!One issue I had was after I added...
     

    WINDOWS SCRIPTING ARTICLES

    - More Windows Scripting Workarounds from Nilpo
    - Overloading Methods and More in VBScript
    - Improving MFC for Windows Vista
    - Regular Expressions in VBScript
    - Working with Dates in WMI
    - Completing Calendars with VBScript Date Func...
    - Building Calendars with VBScript Date Functi...
    - Working With Dates and Times in VBScript
    - Designing WCF DataContract Classes Using the...
    - Understanding Dates and Times in VBScript
    - Working With Arrays in VBScript
    - Compressed Folders in WSH
    - Using .NET Interops in VBScript
    - Nilpo`s Scripting Secrets, Vol I
    - Database operations using Silverlight 2.0 WC...





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 3 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek