simple HTML project type for Visual Studio 2010

HtmlVisual Studio-2010RestVisual Studio-2012

Html Problem Overview


We are developing a REST based application using Visual Studio 2010, using asp.net web api and we want to host it using IIS.

For the client side, we want to use pure html, css and javascript to access and using this REST based application.

But we could not find any project type HTML web application or site in VS 2010. WE do not want to use asp.net or mvc empty project.

Is there is any project type available or any other best way to do this?

Html Solutions


Solution 1 - Html

Create a folder on your drive for the website. Then create an Blank Solution project (Other Project Types -> Visual Studio Solutions). Finally, right click in your solution and choose "Add -> Existing website", select file system in the Add Existing Web Site dialog, and navigate to your web site folder.

Solution 2 - Html

I made a simple template. to get it:
Visit Visual Studio Gallery page. Download the VSIX file and install it. next time when you create new project, you will see the HTMLProjectTemplate in Visual C# project type.

Another way to install the plugin:
Install directly from VS2010 > Tools > Extension Manager, search for HTMLWebsite in Online Gallery, install it. next time when you create new project, you will see the template under Visual C# project type.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestiondaljitView Question on Stackoverflow
Solution 1 - HtmlBlackSpyView Answer on Stackoverflow
Solution 2 - HtmlyantaqView Answer on Stackoverflow