Your SlideShare is downloading. ×
0
Xsd based wcf service part 2
Xsd based wcf service part 2
Xsd based wcf service part 2
Xsd based wcf service part 2
Xsd based wcf service part 2
Xsd based wcf service part 2
Xsd based wcf service part 2
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Xsd based wcf service part 2

1,254

Published on

Published in: Technology, Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,254
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
3
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Entity Framework
    WCF Service
    XSD Based WCF Service – Part 2
  • 2. Topics
    Entity Framework
    WCF Service Library
    XML Serialization
  • 3. WCF Service Library Project
    WCF Service
    XSD
    Xml Serialize
    LINQ
    SL Enabled WCF Service
    Business Rules
    Business Objects to Data Objects
    Class Library Project (Data Library)
    EDMX
    Data Objects
    Database
    Sample App Architecture
  • 4. Entity Framework
    Entity Framework
    Application
    ORM Interface
    Entity Data Model (EDM)
    ADO.NET Provider
    Queries / Updates
    Data Store
    http://msdn.microsoft.com/en-us/data/aa937709.aspx
  • 5. WCF Service Library
    WCF Service Library
    WCF Service Application
    Service contract file (IService1.cs or IService1.vb). The service contract file is an interface that has WCF service attributes applied. This file provides a definition of a simple service to show you how to define your services, and includes parameter-based operations and a simple data contract sample. This is the default file displayed in the code editor after creating a WCF service project.
    Service implementation file (Service1.cs or Service1.vb). The service implementation file implements the contract defined in the service contract file.
    Application configuration file (App.config). The configuration file provides the basic elements of a WCF service model with a secure HTTP binding. It also includes an endpoint for the service and enables metadata exchange.
    • Service host file (service1.svc)
    • 6. Service contract file (IService1.cs or IService1.vb)
    • 7. Service implementation file (Service1.svc.cs or Service1.svc.vb)
    • 8. Web configuration file (Web.config)
  • XML Serialization
    The following items can be serialized using the XmLSerializer class:
    • Public read/write properties and fields of public classes.
    • 9. Classes that implement ICollection or IEnumerable.
    • 10. XmlElement objects.
    • 11. XmlNode objects.
    • 12. DataSet objects.
    Serialization is the process of converting an object into a form that can be readily transported
    XML serialization serializes only the public fields and property values of an object into an XML stream
    The central class in XML serialization is the XmlSerializer class, and the most important methods in this class are the Serialize and Deserialize methods
  • 13. Demo WCF Service

×