Microsoft Announces ASP.NET5 Open Source, Cross-Win10, Mac, and Linux

  

Computer Store News: In Microsoft's blog today, Scott Guthrie, head of cloud computing and enterprise, announced ASP.NET 5. This is the first time ASP.NET has appeared in an open source version of the cross-platform and web development application framework. Currently, it exists as a preview in Visual Studio 2015 CTP 6.


A number of important changes have been made in ASP.NET 5, including the ability to run .NET cores on Windows, Mac or Linux, rebuilding MVC (Model View Controller, model view) Controller), you can view changes in dynamic development code without compiling, integrate famous open source web developer tools, use NuGet dependency management, configure management to add new options, integrate and improve HTTP speed performance, etc. These changes are included in one Inside the open source package.

These important changes are summarized in one sentence: the .NET core becomes a new modular runtime that runs on Windows, Mac, and Linux. Windows systems, including Win10, can still run the full .NET framework, but applications can be modified to run on smaller, less powerful .NET cores, and run the same as Macs and PCs. And the modular structure of the .NET core provides a number of advantages, as Guthrie mentioned in his blog:

1. You can deploy the .NET core runtime for your application, which means you The application can be run with the required runtime without having to install the appropriate runtime in the host. You can upgrade the runtime when you need it, and this does not affect other applications; for the same reason, other applications do not have to affect the runtime of the application when upgrading. This change makes application deployment and framework upgrades easier, and applications don't interfere with each other.

2, your application only depends on the necessary runtime functions, and any unrelated functions will not trigger the upgrade of the runtime. This will save a lot of unnecessary time.

3. Your app can now run across platforms. Microsoft will provide a cross-platform .NET core version for Windows, Mac OS X and Linux. No matter what system you use in the future, you will be able to run .NET. Although the cross-platform version of the runtime has not yet been completed, Microsoft is working hard on development efforts on GitHub, and plans to launch an official preview soon.

In other respects, MVC 6 improvements are reflected in the integration of MVC, Web API and Web Pages, which will consolidate and simplify model view coding and cloud benchmarking. This means that ASP.NET developers can say goodbye to Web.Config and instead use JSON, XML, or Environment Variables. Using the NuGet package simplifies and optimizes dependency management.

Copyright © Windows knowledge All Rights Reserved