Click here to Skip to main content
12,752,054 members (28,866 online)
Rate this:
Please Sign up or sign in to vote.
See more: WCF REST
I have to create REST services and insert a new record in the database ..I want to know is ADO.NET Entity Data Model(edmx) file useful to create a new record in REST services?

Posted 12-Sep-12 3:17am
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

Firstly make sure, does WCF REST service really required for inserting a new record in your application architecture. Below are some good references to start with WCF REST services.

To insert your data using WCF REST service, you will require POST method. Below link will provide you plenty of CodeProject articles on this.

Once your POST method gets data in the form of XML/JSON then you can insert it into Database using Ado.Net/Entity Framework. Below article has an example of "WCF REST service with Entity Framework".

cutie1 13-Sep-12 0:57am
Thank u for ur links...
RaisKazi 13-Sep-12 9:25am
Welcome, glad to know it was helpful to you. :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

    Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web01 | 2.8.170217.1 | Last Updated 12 Sep 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100