How to Create a Sample WCF Application with VS2008?
6.1 Create/ Manage database Before proceeding toward the WCF Service Creation, we need to create a database say, “WCF” with one table having following schema Where, ReservationId is an auto generated Primary Key column. Note: You may also restore the backup of the database given along with the sample application. 6.2 Create WCF Service 1. Open Visual Studio 2. Go to File à New à Project 3. From the left panel, select Web node of your language VB.NET/C#.NET 4. Now among the templates you will see WCF Service Application 5. Select the same (WCF Service Application) 6. Give Suitable Name (Say Practice.WCF) and Click on OK button. 7. Modify the connection strings section of web.config file of the WCF Service 8. By default Visual Studio would create a Service and an Interface Service1.svc and IService1.cs 9. Add new class RoomReservationRequest.cs (DataContract) 10. Import the name space System.Runtime.Serialization; if not imported 11. Create property with same data type for each columns p