Jags
Jags

Reputation: 1466

Create classic asp project in Visual Studio 2010 from scratch

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

Upvotes: 24

Views: 47529

Answers (3)

Dee
Dee

Reputation: 1420

If you want to use something for classic ASP from/supported by Microsoft then you should consider Web Matrix which includes IIS Express and is a free download.

It does require ASP.net 4.0 if not already installed.

Upvotes: -1

Eduardo Molteni
Eduardo Molteni

Reputation: 39453

  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)

Upvotes: 51

bjorsig
bjorsig

Reputation: 1107

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.

Upvotes: 9

Related Questions