MMG
MMG

Reputation: 171

How to work wirth WCF services in ASP.Net Boilerplate?

I want to do CRUD by web-services(WCF), but i am using boilerplate framework , my question is how to work with web-services(WCF) in boilerplate?? any helpful link or tutorial??

Upvotes: 0

Views: 447

Answers (1)

Mesam Mujtaba
Mesam Mujtaba

Reputation: 144

Create a new project in your solution with WCF application, add wcf service in this new project, use entity framework and then write services you need, then in YourProject.Web project add service reference and get the service you need. Create object of the service in your controller and get or post data according to your need. Set multiple startup projects from solution properties and give WcfService-Project and Yorproject.web-Project as start. Now start both projects and use services. That's all.

Upvotes: 1

Related Questions