如何在visual web developer 2008中创建和运行.asp扩展文件

时间:2022-09-02 15:17:08

I want to know if it is possible to create and run .asp file in Microsoft visual web developer 2008?

我想知道是否可以在Microsoft visual web developer 2008中创建和运行.asp文件?

The problem is that there is no inbuilt .asp extension file given in visual web developer 2008.

问题是在visual web developer 2008中没有内置的.asp扩展文件。

If anyone knows how to create and run this, please help me out.

如果有人知道如何创建和运行它,请帮助我。

Thanks

3 个解决方案

#1


You should be able to create them - they're just text files - but whether or not Intelisense will work or not I don't know. I don't think the built-in development server will handle Classic ASP - you will need to run the pages under IIS instead.

你应该能够创建它们 - 它们只是文本文件 - 但是,无论是否有效,我都不知道。我认为内置开发服务器不会处理Classic ASP - 您需要在IIS下运行页面。

#2


You have to use IIS and depending on the version of IIS you are using, you need to create the new web application in IIS, and specify a separate application pool for it to run in as .net or Classic ASP.

您必须使用IIS,并且根据您使用的IIS版本,您需要在IIS中创建新的Web应用程序,并指定一个单独的应用程序池,以便以.net或Classic ASP的形式运行。

#3


.asp is the Classic ASP file extension. ASP.NET uses .aspx as the file extension for web pages.

.asp是Classic ASP文件扩展名。 ASP.NET使用.aspx作为网页的文件扩展名。

It has some others as well, such as .asmx for web services.

它还有其他一些,例如.asmx用于Web服务。

#1


You should be able to create them - they're just text files - but whether or not Intelisense will work or not I don't know. I don't think the built-in development server will handle Classic ASP - you will need to run the pages under IIS instead.

你应该能够创建它们 - 它们只是文本文件 - 但是,无论是否有效,我都不知道。我认为内置开发服务器不会处理Classic ASP - 您需要在IIS下运行页面。

#2


You have to use IIS and depending on the version of IIS you are using, you need to create the new web application in IIS, and specify a separate application pool for it to run in as .net or Classic ASP.

您必须使用IIS,并且根据您使用的IIS版本,您需要在IIS中创建新的Web应用程序,并指定一个单独的应用程序池,以便以.net或Classic ASP的形式运行。

#3


.asp is the Classic ASP file extension. ASP.NET uses .aspx as the file extension for web pages.

.asp是Classic ASP文件扩展名。 ASP.NET使用.aspx作为网页的文件扩展名。

It has some others as well, such as .asmx for web services.

它还有其他一些,例如.asmx用于Web服务。