#ASP.NET Core 1.0 Key Features

Cross platform support and flexible runtime engine(跨平台支持和灵活的运行时引擎)

ASP.NET Core 1.0 offers support for cross-platform and this is seen to be an exciting new feature. It’s easier for you to run your ASP.NET Application on Mac, Linux and Windows operating systems. You can run vNext on any run-time engines such as core CLR, Cross platform CLR and full.net CLR. Now, you can easily install ASP.NET Core 1.0 Applications and it’s not going to affect any other Applications on the machine and offers a great side by side support.

ASP.NET Core 1.0支持跨平台,这个看来是一个令人兴奋的新特征。让你在运行Mac,Linux和Windows操作系统的ASP.NET应用程序变得更加容易。你可以在任何运行时引擎上面运行vNext,如core CLR,跨平台的CLR以及full.net CLR。现在,你可以轻松地安装ASP.NET1.0的核心应用程序,它不会影响计算机上的任何其他应用程序,它提供了一个很好侧面支持。

Unified core framework(统一核心框架)

As a unified core framework has been introduced with ASP.NET Core 1.0. It is seen as the most captivating feature for the development of the ASP.NET Web API, ASP.NET MVC and ASP.NET Applications. This way, it has become easy to handle the requests with just one type of a controller. Besides, you have a single model binding framework, a single routing framework and a one filter pipeline.

Faster development and cloud-ready(快速部署和云端连接)

Refreshing your Web Browser is now an easy task. The changes can be saved to your source code files with this exciting feature of ASP.NET Core 1.0. It’s Cloud-ready as cache, session state, configuration and diagnostics work well both on Cloud platform and premises. Besides, ASP.NET Core 1.0 allows automatic compilation.

Host agnosticism(主机无关)

Another striking feature of ASP.NET vNext is that it has turned host agnostic now and comprises a new modular HTTP request pipeline that is optimized, and you can easily host it on these platforms such as Internet Information Services, Kestrel Server, open Web Interface for .Net (OWIN) based Server and more. With the help of Host agnosticism, ASP.NET vNext Applications between hosts can be switched in a seamless manner.

ASP.NET vNext Templates(ASP.NET vNext 模板)

Now, you are going to find new templates in Visual Studio helpful in building ASP.NET vNext Applications for ASP.NET Core 1.0. Simply, open the dialog of “New ASP.NET project” for C# and you will find ASP.NET Core 1.0 is empty and starter Web templates are added. You can’t choose which project type you desire in order to create the project on its own. These standard based ASP templates are shared by all the projects. This way, it’s easier to configure as well as you can include what you are keen for your app to have. #ASP.NET Dependency Injection Framework(ASP.NET DI框架)

From now on, there is just no requirement to depend on the frameworks of third party dependency injections like AutoFac or Ninject. ASP.NET Core 1.0 is built in support for the Service Locater pattern and dependency injection.

Tag helpers(Tag助手)

Tag helpers are quite significant and with them, you don’t need to use the ugly old helpers and HTML extensions. It is easier to use the HTML-like syntax and there is not going to be a code logic. You don’t need to create anonymous objects that represent attributes in the views.

posted @ 2016-08-10 10:30  _DN  阅读(63)  评论(0编辑  收藏