Create classic asp project in Visual Studio 2010 from scratch

前端 未结 3 877
天涯浪人
天涯浪人 2020-12-23 17:51

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

相关标签:
3条回答
  • 2020-12-23 17:53
    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)

    0 讨论(0)
  • 2020-12-23 18:16

    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.

    0 讨论(0)
  • 2020-12-23 18:17

    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.

    0 讨论(0)
提交回复
热议问题