gpt4 book ai didi

asp.net - .MSPX 文件扩展名是什么?

转载 作者:行者123 更新时间:2023-12-04 10:13:50 25 4
gpt4 key购买 nike

我注意到很多 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.

关于asp.net - .MSPX 文件扩展名是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47235/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com