First knowledge of Asp.net

Source: Internet
Author: User
Today is the first day of learning to get started with Asp.net. These two days have been quite tense, and there are too many jobs. Hurry up and hope everything will go smoothly. To learn everything, you must first know what is Asp.net?

I checked some information and everyone defined different things on the forum. I couldn't help a negative statement or make a different profile. What can I do if I am a beginner and I have no say in Asp.net, we cannot identify right or not. Now we will look up Wikipedia, so we will reference their definition as an entry-level definition.

ASP. net is a Web application framework developed and marketed by Microsoft to allow programmers to build dynamic web sites, web applications and Web services. it was first released in January 2002 with version 1.0 of. net Framework, and is the successor to Microsoft's Active Server Pages (ASP) technology. ASP. net is built on the Common Language Runtime (CLR), allowing programmers to write ASP. net code using any supported. net Language. the ASP. net soap extension framework allows ASP. NET components to process soap messages.

ASP. net can be run on the installation. on the IIS server of Net Framework, if you want to execute on a non-Microsoft platform, you need to use the mono platform, Asp. net has been finalized in version 2.0. net Framework 3.5 adds many functions, such as ASP. net Ajax, Asp. net MVC Framework, Asp. NET Dynamic Data and Microsoft Silverlight server controls.

Many people regard ASP. NET as a programming language, but it is actually a development platform provided by. NET Framework, not a programming language.

The problem is that the Asp.net Program defined in w3cshool runs in IIS,

Haha, I don't know what's going on, so I became a program for IIS's public transportation. I thought it was wrong for the time being when I learned to collect data and understood it myself.

Relationship between browser --- IIS --- netframework

I drew a picture of the browser and server language.

The browser is only responsible for interpreting and executing HTML + CSS + JavaScript code

Server executable server language:. net, Java,..., which are executed by different runtime environments (framework, JVM)

That is to say, the browser can only interpret HTML + CSS + JavaScript code, and the C # In the background must be processed and returned to the browser.

How do I know what is submitted to. netframework in IIS? I will use an image to demonstrate it.

Double-click the mouse:

Common files in ASP. NET

 

File Extension

Description

. Ashx

General processing program, ASP. NET core program, but general use. aspx

. Aspx

Common Programs are used to create webpages and program webpages. Core File Types (front-end files) are used together with. aspx. CS files.

. Aspx. CS

Common Programs are used to compile a large number of C # Business Code and use it with. aspx.

. Ascx

Specifies an ASP. Net user-defined Control

. Asax

Event syntax that contains ASP. NET application-level events

. Config

Configuration file, used to set various properties of the application

. Asmx

For local or remote use of the host Web Service

 

Difference between webapplication and website
  • Website exists to be compatible with the habits of developers transferred from ASP. It is easy to use. For example, you can see the changes without creating a namespace or modifying the CS code and restarting them, after each wbapplication modification, click Generate solution to view the modification effect immediately. Website is not conducive to engineering development. For example, code errors are not easy to discover, and code is not separated from namespaces. There is no difference in development technology, but the development and debugging habits are different.

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.