Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Create classic asp project in Visual Studio 2010 from scratch

Tags:

asp-classic

I have always developed on ASP.NET on 2.0 and higher .NET framework. I am trying to create a website in classic ASP from scratch using VS2010 and can't figure out how to do that.

Thanks

like image 738
Jags Avatar asked Feb 26 '11 06:02

Jags


People also ask

Does Visual Studio support Classic ASP?

Every version of visual studio since I started with 2010 (was there something before it?) handles Classic ASP just fine.

Is Classic ASP still used?

It used scripting on the server to create content that would then be sent to a client's web browser, and it enjoyed a tremendous amount of success in its time as a result. Classic ASP, however, is no longer being developed by Microsoft at all - it has long since been replaced by ASP.NET in 2002, a newer alternative.


2 Answers

  1. Create a new folder
  2. Open Visual Studio
  3. Choose "File" -> "Open web site"
  4. Go to the recently created folder
  5. Then right click -> Add New item
  6. Select "HTML File"
  7. Rename the file as .ASP
  8. Create a new web site or virtual directory in IIS and point to the folder
  9. Profit!

(alternatively to 8, you can use the new IIS Express that supports ASP Classic)

like image 79
Eduardo Molteni Avatar answered Oct 30 '22 16:10

Eduardo Molteni


As you probably know, classic asp has nothing to do with .NET. There is no type of project in VS 2010 (or any Visual Studion .NET) for classic asp sites. If you want to use VS2010 you can simply create text file with the extension .asp and start typing away. You can use any text editor for the job. My favorites are primal script (greatest intellisense I have found for classic asp) and Notepad++ You don´t have to compile anything since asp is scripting language and will be interpreted each time. So just start creating text files with asp endings and fire away.

like image 22
bjorsig Avatar answered Oct 30 '22 14:10

bjorsig