ASP.NET Web Forms:
-It is an open-source server-side web application framework designed by Microsoft for web development to produce dynamic web pages.
-It is designed to allow programmers to build Web Sites, Web Applications and Web Services.
-It was first released in January 5, 2002 with 1.0 version of .NET Framework, and is a successor to Microsoft's Classic Active Server Pages (ASP) technology. The current version of ASP.Net is 4.7.1 released on October 17, 2017 which will be the last version and it is succeded by ASP.Net Core.
-ASP.NET is built on the Common Language Runtime (CLR), allowing programmers to write ASP.NET code by using any supported .NET language and while coding we have access to all the BCL in .NET Framework, which enable us to benefit from the CLR, type safety, inheritance, and so on.
-ASP.NET is a unified Web development model that includes the services necessary for us to build enterprise-class Web applications with a minimum of coding.
-------------------------------------------------------------------------------------------------------------------------
ASP.NET renders HTML:
-Unfortunately Internet still has bandwidth limitations and not every person is running on the same web browser and these issues make it necessary to stick with HTML as our mark-up language of choice.
-In ASP.NET Applications, server will process all the logic (Aspx Code) and convertis it into HTML which is finally sent to the browser for display and this process of converting it HTML is known as Rendering.
-Web pages won't look quite as amazing as a fully fledged app. that is running under Windows, but with a bit of skill and creative flair, you can make them rather amazing web app's with ASP.NET.
-If the client supports JavaScript, then the server will use it to make the clients browser experience quicker and easier. Even with HTML being the limiting factor here, ASP.NET still manages to bring true OOP (Object Oriented Programming) to the Internet.
OOP on the Internet:
Object Oriented Programming makes it possible to build extremely large applications, while still keeping your code clean and structured. Now with ASP.NET, we can do the same on the web. Traditional ASP uses HTML and VBScript or Jscript to process and render pages, but because VBScript is a scripting language, you were forced to write complex code because VBScript was entwined in the HTML and ended up rather messy in larger applications. ASP.NET separates code from display, and you can even have pages with no ASP.NET code in them at all. By adding references in your HTML (called controls), you can tell ASP.NET that you want a button here, some text there, and then in your code, you can manipulate what these controls look like, what they display, how big they are, etc. Controls can do more than just display information. You can add events to controls, so that when a visitor clicks on a button, for example, ASP.NET executes a function of your choice.
CLASS LIBRARY:
ASP.NET includes an enormous class library which was built by Microsoft. Because this class library is so large, it encapsulates a a huge number of common functions. For example, if you wanted to retrieve data from a database and display that data in a simple grid control through classic ASP, then you'd have to write quite a lot of code. In ASP.NET, you don't write any code to display the data: you just write the code to bind the data to an object called a DataGrid (which can be done in just a couple of lines). Then, you just have to create a reference on your page to where that DataGrid should go. The DataGrid will be rendered as a table, and will contain all of the data extracted from the database.
Microsoft has created an amazingly well designed MSDN library for ASP.NET and all of the other .NET languages. It includes a full class library containing information and examples on every class, function, method, and property accessible through ASP.NET.
Complete Compatibility:
One of the most important goals of .NET was to allow developers to write an ASP.NET application using multiple programming languages. As long as each ASP.NET page contains only one programming language, you can mix and match different pages using different languages and they will work together seamlessly. This means you can now have a team of developers with half programming in C#, and the other half in VB.NET, with no need to worry about language incompatibilities, etc. A cool little side-affect of all this is that all the programming languages look very similar, and differ only by their language syntax.
-It is an open-source server-side web application framework designed by Microsoft for web development to produce dynamic web pages.
-It is designed to allow programmers to build Web Sites, Web Applications and Web Services.
-It was first released in January 5, 2002 with 1.0 version of .NET Framework, and is a successor to Microsoft's Classic Active Server Pages (ASP) technology. The current version of ASP.Net is 4.7.1 released on October 17, 2017 which will be the last version and it is succeded by ASP.Net Core.
-ASP.NET is built on the Common Language Runtime (CLR), allowing programmers to write ASP.NET code by using any supported .NET language and while coding we have access to all the BCL in .NET Framework, which enable us to benefit from the CLR, type safety, inheritance, and so on.
-ASP.NET is a unified Web development model that includes the services necessary for us to build enterprise-class Web applications with a minimum of coding.
-------------------------------------------------------------------------------------------------------------------------
ASP.NET renders HTML:
-Unfortunately Internet still has bandwidth limitations and not every person is running on the same web browser and these issues make it necessary to stick with HTML as our mark-up language of choice.
-In ASP.NET Applications, server will process all the logic (Aspx Code) and convertis it into HTML which is finally sent to the browser for display and this process of converting it HTML is known as Rendering.
-Web pages won't look quite as amazing as a fully fledged app. that is running under Windows, but with a bit of skill and creative flair, you can make them rather amazing web app's with ASP.NET.
-If the client supports JavaScript, then the server will use it to make the clients browser experience quicker and easier. Even with HTML being the limiting factor here, ASP.NET still manages to bring true OOP (Object Oriented Programming) to the Internet.
OOP on the Internet:
Object Oriented Programming makes it possible to build extremely large applications, while still keeping your code clean and structured. Now with ASP.NET, we can do the same on the web. Traditional ASP uses HTML and VBScript or Jscript to process and render pages, but because VBScript is a scripting language, you were forced to write complex code because VBScript was entwined in the HTML and ended up rather messy in larger applications. ASP.NET separates code from display, and you can even have pages with no ASP.NET code in them at all. By adding references in your HTML (called controls), you can tell ASP.NET that you want a button here, some text there, and then in your code, you can manipulate what these controls look like, what they display, how big they are, etc. Controls can do more than just display information. You can add events to controls, so that when a visitor clicks on a button, for example, ASP.NET executes a function of your choice.
CLASS LIBRARY:
ASP.NET includes an enormous class library which was built by Microsoft. Because this class library is so large, it encapsulates a a huge number of common functions. For example, if you wanted to retrieve data from a database and display that data in a simple grid control through classic ASP, then you'd have to write quite a lot of code. In ASP.NET, you don't write any code to display the data: you just write the code to bind the data to an object called a DataGrid (which can be done in just a couple of lines). Then, you just have to create a reference on your page to where that DataGrid should go. The DataGrid will be rendered as a table, and will contain all of the data extracted from the database.
Microsoft has created an amazingly well designed MSDN library for ASP.NET and all of the other .NET languages. It includes a full class library containing information and examples on every class, function, method, and property accessible through ASP.NET.
Complete Compatibility:
One of the most important goals of .NET was to allow developers to write an ASP.NET application using multiple programming languages. As long as each ASP.NET page contains only one programming language, you can mix and match different pages using different languages and they will work together seamlessly. This means you can now have a team of developers with half programming in C#, and the other half in VB.NET, with no need to worry about language incompatibilities, etc. A cool little side-affect of all this is that all the programming languages look very similar, and differ only by their language syntax.
0 Comments