ASP.NET – Part 2

ASP.NET – Part 2

Other advantages of ASP.NET are:

* The pre-compiled code enables applications to run faster, with more programming errors detected and eliminated already under development, and allows you to deploy a web application without having to attach the source.
* The controls allow you to easily implement user-defined controls very common, for example, menus.
* The additional components COM e. NET does not have to be registered on the server operating from the console, but are initialized at run-time application. This enables customers to host provider does not have to request the registration of any library on the server side.
* ASP.NET can impersonate any user of the Windows server is running on, inheriting all privileges on the file system.
* The affinity with the style and feel of Windows application programming makes the transition from one to another more intuitive for programmers.
* The availability of a set of controls and class libraries allows the rapid development of rich applications.
* The ability to perform a cache entire pages, part of the pages or application data greatly improves the overall performance.
* If an ASP.NET fails to allocate the memory it needs (memory leakage), then download the form from memory the entire runtime environment that isolated the critical application is running, and charging another area specially created. To perform these operations, loading / unloading, (and others that relate to the application as a whole), the Framework. NET provides the AppDomain class.
* The ASP.NET session state can be saved to a SQL server database or in a separate process residing on the same machine as the web server, or on that of another car. The data and the properties of the session are not lost when the Internet Information Services (IIS) is reset, or when the active process of ASP.NET is recycled.
* Using Visual Studio. NET and IIS Server, you can debug server side, using the same instruments stepper used in most development environments completed.
* The capacity of the platform. NET CLR supports many languages, allowing programmers to write code to Web pages in VB.NET, C #, J #, etc.

Critical to ASP.NET

ASP and ASP.NET can run together in the same web application. This approach allows developers to migrate from one environment to another gradually rather than all at once. With IIS 6.0 and earlier versions, the pages written using earlier versions of the ASP framework can not share the same session without the use of third-party libraries. This limitation does not exist ASP.NET and ASP applications that run together under IIS 7. In some instances at runtime ASP.NET recycles the active process, resulting in employment of more than 60% of available memory. You can configure so that recycling takes place only after a certain number of requests after a certain time, etc.

However, in doing so, the user can lose the status of the current session. If your application uses session state to load the authentication information (bad practice since cookie based authentication and membership is an option already built into the framework) and if the application is configured to use sessions in-process the user can be disconnected if the process is recycled.

Study: From Wikipedia, the free encyclopedia. The text is available under the Creative Commons.

To be continued…


Leave your comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.