#ASP.NET Core 1.0 Key Features

ASP.NET Core 1.0引入了多项重要更新,包括支持跨平台运行,使得开发者能在Mac、Linux及Windows上无缝部署应用。统一的核心框架简化了Web API、MVC等项目的开发流程。此外,还提供了更快的开发体验和云原生支持,以及模块化的HTTP请求管道等特性。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

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.

转载于:https://www.cnblogs.com/pengzhen/p/5755751.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值