ASP. NET 5 Beta 8 released, asp. netbeta
ASP. NET 5 Road Map (see ASP. NET 5 Schedule and Roadmap: https://github.com/aspnet/home/wiki/roadmap): Beta8 was released in October 15 at Microsoft. NET Web development tools blog published a detailed description of the article: http://blogs.msdn.com/ B /webdev/archive/2015/10/15/announcing-availability-of-asp-net-5-beta8.aspx.
ASP. NET 5 Beta 8 is a major update of the iis host model, which unifies the host model. The model before Beta7 implements another host mechanism through a "Helios, the two completely different host models are ASP. NET 5 imports a lot of complexity and inconsistency, and carries ASP. NET 5 applications now use IIS HttpPlatformHandler to forward to ASP. NET 5 Kestrel server. HttpPlatformHandler is a local IIS module, which requires the Administrator to install on the IIS server (Installer: x86, x64 ). Benefits of the new host model include:
- The IIS application pool does not need to run managed code. Similar to running PHP on IIS, it does not load CLR on IIS.
- You no longer need to install the Windows asp.net component.
- The ASP. NET 4. x module and HttpPlatformHandler can be run simultaneously on IIS.
- HttpPlatformHandler supports setting environment variables for each process
The ASP. NET 5 Project template in Visual Studio has been updated to include the following web. config file in the wwwroot folder of your application:
<Configuration>
<System. webServer>
<Handlers>
<Add
Name = "httpPlatformHandler"
Path = "*"
Verb = "*"
Modules = "httpPlatformHandler"
ResourceType = "Unspecified"/>
</Handlers>
<HttpPlatform
ProcessPath = "% DNX_PATH %"
Arguments = "% DNX_ARGS %"
StdoutLogEnabled = "false"
StartupTimeLimit = "3600"/>
</System. webServer>
</Configuration>
The web. config file adds HttpPlatformHandler to your application and configuration handler, and forwards requests to the DNX process. Visual Studio sets the DNX_PATH environment variable to point to the appropriate DNX version of your application. For more information about the iis host model, see https://github.com/aspnet/Announcements/issues/69
ASP. another major improvement of NET Beta 8 is to set the target framework. NET 2.0 and. NET 3.5, only need to be in your project. the target framework of net20 and net35 is used in the framework nodes of the json file.
For more information about ASP. NET 5, see the http://docs.asp.net. You can find new features and bug fixes for Beta 8.
Of course there are still a lot of problems to be fixed, such as on CentOS. the support for NET Core is still faulty, and the entire stack cannot be run on Linux/Mac. NET Framework, which depends on Mono.