ASP. NET core Getting Started Tutorial series (i)

Source: Internet
Author: User
Tags what is asp

Introduction to ASP.

ASP. NET Core is a new open-source, cross-platform framework that can be used to build modern, web-based cloud applications, such as the Internet of Things, IoT applications, and mobile backend. The ASP. NET core can be run on either the, or the complete. NET Framework, and its architecture provides an optimal development framework for applications that are published to the cloud or run on-premises, consisting of a small, modular component that preserves your flexibility in structuring the solution. You can develop and run your ASP. NET Core applications across platforms on devices such as Windows, Macs, and Linux. The source code for ASP. NET Core is already hosted on GitHub.

ASP. NET Core History

Asp. NET has been used to develop Web applications for many years.

All along, the. NET Framework has undergone an evolutionary process that finally brings us to the nearest ASP. Core1.0.

    • ASP. NET Core is not a continuation of ASP. It's a whole new framework.

    • It actually rewrites the existing ASP. NET 4.6 framework, but is much smaller and more modular.

    • Some people think that many things are the same, but that is not entirely true. There have been a number of fundamental changes to ASP. NET core, which we will be aware of in subsequent courses.

What is ASP. NET Core

ASP. NET Core 1.0 is an open-source, cross-platform development framework for building modern cloud-based WEB applications. It is rebuilt from the bottom up to provide a well-performing web application development framework that can be deployed on the cloud or on a local server. In addition, it makes ASP. NET applications more streamlined and modular (you can add other modules to it depending on your application needs), cross-platform (you can easily develop and deploy your application on Windows, Mac or Linux), and cloud optimization (you can deploy and debug your app on the cloud on the cloud).

ASP. NET Core Features:

Cross-platform

Can be run on Windows,macos,linux

A flexible deployment mechanism

1.Portable Applications (Portable application)

This deployment mechanism is similar to the traditional. NET Framework, as long as there is a. NET Core runtime on the target platform.

2.self-contained Application (self-hosted application)

As the name implies, this deployment mechanism packages the application and runtime together, even if the. NET Core Runtime is not installed on the target platform.

The second approach is not the same as. NET native, still using CORECLR, while. NET native uses Corert as the runtime, see Dotnet/corert for more information.

Command-line tools

. NET program all run scripts can be executed with command-line tools (Cmd,bash) Here are a few common donnet commands

Benefits of ASP. NET Core

ASP. NET core has the following advantages:

    1. There are many changes to the ASP. NET core, which makes it a more flexible and modular framework than the previous version.

    2. ASP. NET core is no longer based on System.Web.dll, it is based on a set of packages that are decomposed in nuget.

    3. This allows you to optimize your application by judging whether or not to reference the appropriate NuGet package, depending on your actual needs.

    4. Benefits of smaller surface area applications include greater security, less maintenance, improved performance, lower costs

Using the ASP. NET Core Development program, you can get the following improvements:

    1. Build and run cross-platform ASP. NET core applications on Windows, Mac, and Linux.

    2. . NET Core-based apps that support true application versioning.

    3. New development tools make it easier to develop.

    4. Both the Web UI and the Web API have a simple, consistent web stack.

    5. Configurations related to cloud computing environments.

    6. Built-in support for dependency injection.

    7. The label helper makes razor tags and HTML tags more natural.

    8. Can be deployed in IIS, and can be deployed in a custom hosting environment.

Ext.: http://www.yuanjiaocheng.net/ASPNET-CORE/asp-net-core-overview.html

ASP. NET core Getting Started Tutorial series (i)

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.