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?
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With