Where is ASP. NET on IIS?
Original article: http://blogs.msdn.com/vijaysk/archive/2008/03/20/running-asp-net-3-5-on-iis.aspx
After installing. Net 3.5 on the server, many people expect that the 3.5 entry will appear in the ASP. NET version column of the IIS manager. But the results didn't show that entrance, causing panic. If this is the case, proceed to the next step. For other relatively high levels, try to run aspnet_regiis-I .. In the framework directory of version 3.5, but it still cannot be found.
This brings us the following problems:
What is ASP. NET 3.5?
Check the framework directory of version 3.5. You will not find many files necessary for ASP. NET running, such as aspnet_isapi.dll/aspnet_filter.dll/aspnet_regiis.exe/aspnet_regsql.exe...
The reason is that. Net 3.5 is not an independent framework like V2.0 or V1.1. It is only an extension of the 2.0 Framework. This extension provides developers with some new language features, such as anonymous type, extension method, Lambda expression, and of course LINQ... ajax is also integrated .. you can also use some new ASP. <asp: listview>, <asp: linqdatasource>, and <asp: datapager>
Can ASP. NET 6.0 be found in the ASP. NET column of IIS 3.5?
No. Because the aspnet_isapi.dll in the. 2.0 version folder is still used to process requests, version 3.5 does not have a new isapi dll. You do not need to change any foot in IIS
This ing... you only need to set the Web ApplicationProgramPoint to version 2.0 in the ASP. NET column. This brings us the next question:
What content is actually extended?
If you use Visual Studio 2008 to create a website and choose to use. Net 3.5 framework. Open the properties page of the website and select "Reference ". You will see the following entries:
The four assembly references New Features of v3.5. It includes functional improvements.
System. Core-Provides namespaces like system. LINQ, system. Io
System. Data. datasetextensions-LINQ to Dataset
System. Web. Extensions-Ajax
System. xml. LINQ-New xml api .. supports LINQ to XML
Do I need manual configuration??
No. After installing the. NET 3.5 distribution package on the server, you will install these sets in GAC. Any site that references these assembly will obtain the Assembly from GAC. You don't
You need to manually configure anything. All you need to do is publish the content to the Web application of ASP. NET V2.0.
Then you will think
New language features require a new compiler. How is the new compiler used?
The answer is in your file. When you create an ASP. NET 2008 site in Visual Studio 3.5, a portal similar to the following is created in Web. config:
<System. codedom>
<Compilers>
<Compiler language = "C #; CS; CSHARP" extension = ". CS "WarningLevel =" 4 "type =" Microsoft. CSHARP. csharpcodeprovider, system, version = 2.0.0.0, culture = neutral, publickeytoken = b77a5c561934e089 ">
<Provideroption name = "compilerversion" value = "v3.5"/>
<Provideroption name = "warnaserror" value = "false"/>
</Compiler>
The new feature does need a new compiler, and Web. config notifies. Net to use the v3.5 compiler.
What should I do in IIS 7.0?
IIS 7.0 is the same.