Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

simple HTML project type for Visual Studio 2010

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?

like image 433
daljit Avatar asked Jul 02 '12 08:07

daljit


2 Answers

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.

like image 193
BlackSpy Avatar answered Sep 16 '22 17:09

BlackSpy


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.

like image 22
yantaq Avatar answered Sep 18 '22 17:09

yantaq