ASP. NET Core (1), asp. netcore

Source: Internet
Author: User
Tags what is asp

ASP. NET Core (1), asp. netcore

ASP. NET Core is a completely new open-source and cross-platform framework that can be used to build modern cloud applications based on network connections, such as Web applications, IoT (Internet Of Things, IoT) applications and mobile backend. ASP. NET Core can run in.. NET Core or complete.. NET Framework. Its architecture provides an optimal development Framework for applications that are released to the cloud or run locally. It consists of modular components with low overhead, this keeps you flexible in constructing solutions. You can develop and run your ASP. NET Core application on Windows, Mac, Linux, and other devices across platforms. The source code of ASP. NET Core is hosted on GitHub.

Asp.net Core history

ASP. NET has been used to develop web applications for many years.

For a long time, the. net Framework has undergone a process of continuous evolution and finally brought us to the nearest ASP. Net Core1.0.

  • ASP. NET Core is not a continuation of ASP. NET 4.6. This is a brand new framework.
  • It actually overrides the existing ASP. NET 4.6 framework, but is much smaller and more modular.
  • Some people think that many things are the same, but this is not completely correct. ASP. NET Core has undergone many fundamental changes compared with Asp.net. We will pay attention to it in subsequent courses.

What is Asp. Net Core?

ASP. NET Core 1.0 is an open-source cross-platform development framework for building cloud-based modern Web applications. It is a Web application development framework that provides excellent performance from the underlying layer and can be deployed on the cloud or local servers. In addition, it makes ASP.. NET applications are more streamlined and modularized (you can add other modules to your applications as needed), cross-platform (you can easily, develop and deploy your applications on Mac or Linux) and cloud optimization (you can deploy and debug your applications on the cloud ).

Asp.net core features:

Cross-platform

It can run on Windows, macOS, and Linux.

Flexible deployment Mechanism

1. Portable applications (Portable applications)

This deployment mechanism is similar to the traditional. NET Framework, as long as the target platform has. NET Core Runtime.

2. Self-contained application (Self-Host application)

As the name suggests, this deployment mechanism can pack applications and Runtime together, even if. NET Core Runtime is not installed on the target platform.

The second method is different from. NET Native. CoreCLR is still used, while. NET Native uses CoreRT as the runtime. For more information, see dotnet/corert.

Command line tool

All running scripts of the. NET program can be executed using the command line tool (cmd, bash). Here are several common donnet commands.

Advantages of Asp. Net Core

ASP. NET Core has the following advantages:

  • Compared with previous versions, ASP. NET Core has many changes, making it a more flexible and modular framework.
  • ASP. NET Core is no longer based on System. Web. dll. It is based on a group of packages decomposed in NuGet.
  • This allows you to determine whether to reference the corresponding Nuget package based on your actual needs, and optimize your application.
  • Benefits of applications with a smaller surface area include enhanced security, fewer repairs, improved performance, and reduced costs

With ASP. NET Core, you can get the following improvements:

  • Build and run cross-platform Asp. Net Core applications in Windows, Mac, and Linux.
  • Applications Based on. NET Core support real application version control.
  • New development tools make development easier.
  • Both web UI and web APIs have simple and consistent web stacks.
  • Configuration related to the cloud computing environment.
  • Built-in support for dependency injection.
  • The tag assistant makes the Razor tag and HTML Tag more natural.
  • It can be deployed in IIS or custom host environment.

The above is all the content of this article. I hope it will be helpful for your learning and support for helping customers.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.