当前位置:首页> 正文

关于asp.net:什么是.MSPX文件扩展名?

关于asp.net:什么是.MSPX文件扩展名?

What is the .MSPX file extension?

我注意到许多Microsoft网站都有* .MSPX扩展名。虽然我对ASP.NET非常熟悉,但之前从未见过此扩展。

有人知道这代表什么吗?


一些互联网搜索使我进入了http://www.microsoft.com/backstage/bkst_column_46.mspx,但这是一个无效的链接。幸运的是,它已存储在Wayback Machine上,您可以在这里阅读:

http://web.archive.org/web/20040803120105/http://www.microsoft.com/backstage/bkst_column_46.mspx

.MSPX扩展名是" Microsoft网络项目"的一部分,根据上述文章,该扩展旨在使Microsoft网站在全球范围内具有一致的外观,并使网站的设计与内容。这是文章的要旨:

The presentation framework includes a custom Web handler built in ASP.NET. Pages that use the presentation framework have the .mspx filename extension, which is registered in Microsoft Internet Information Services (IIS) on the Web servers. When one of the Microsoft.com Web servers receives a request for an .mspx page, this custom Web handler intercepts that call and passes it to the framework for processing.

The framework first checks to see whether the result is cached. If it is, the page is rendered immediately. If the page is not cached, the handler looks up the URL for that page in the table of contents provided by the site owner (see below) to determine where the XML content for the page is stored. The framework then checks to see if the XML is cached, and either returns the cached content or retrieves the XML from the data store identified in the table of contents file.

Within the file that holds the content for the page, XML tags identify the content template to be used. The framework retrieves the appropriate template and uses a series of XSLTs to assemble the page, including the masthead, the footer, and the primary navigational column, finally rendering the content within the content pane.


好吧,有些谷歌搜索发现:

The presentation framework includes a
custom Web handler built in ASP.NET.
Pages that use the presentation
framework have the .mspx filename
extension, which is registered in
Microsoft Internet Information
Services (IIS) on the Web servers.
When one of the Microsoft.com Web
servers receives a request for an
.mspx page, this custom Web handler
intercepts that call and passes it to
the framework for processing."

我想查找更多信息。


我认为这是一个输出HTML的基于XML的模板系统。我认为这仅是MS内部的。


我爱你们,我也问过我很多次,为什么MS使用.mspx以及它到底是什么? :)

那一次我找不到快速的任何信息,并认为那只是asp.net之上的东西,甚至可能不是,因为您应该能够将相同的asp.net cgi dll分配给.mspx。也很容易;)

但是,可以肯定,它可以是任何东西,也可以是"特殊" CGI本身(完全在ASP.NET旁边),它可以更好地/更多地使用缓存,更容易地编辑等等来处理请求。铅>

故事的结尾是,我遇到了这个问题,也许知道什么也不重要,.mspx到底是什么:)


展开全文阅读

相关内容