clamp
clamp

Reputation: 34006

RESTful Webservice with VS 2015

I would like to create a RESTful webservice with writing C# and Visual Studio 2015

But in VS 2015 community edition I am missing the basic "Web" type in templates.

What is the recommended project type to create webservices now?

enter image description here

Upvotes: 6

Views: 14975

Answers (3)

user6269864
user6269864

Reputation:

You need to select this project:

ASP.NET Web Application

enter image description here

When you click OK, you will get an additional window prompting for the exact type of the web application.

Select Web API there and you web service is ready.

enter image description here

Upvotes: 7

salimalam
salimalam

Reputation: 9

You could create RESTful Services using WCF services. And to use WebApi download and install the latest version of ASP.NET mvc.

Upvotes: 1

RoninEngineer
RoninEngineer

Reputation: 396

If you check the drop down in the top of the File => New Project box, make sure that .NET Framework version is at least 4.5. There should be a list that includes ASP .NET Web application. Clicking that should open another dialog box with the templates for creating a Web API solution

Upvotes: 2

Related Questions