|
#1
|
|||
|
|||
|
hi everyone,
Just wanted to start a introduction to ASP.Net tutorial, if you think that it is in the wrong place then please feel free to move it ![]() ASP.net by Microsoft is also known as ASP+ is not reallly a upgraded version of ASP. It is a entirely new technology in terms of server side scripting. ASP.NET delivers amazing performance when used with the .NET framework allowing you to get a drag and drop coding interface resulting in much less coding What is Server Side Scripting? Normally, In case of a web page coded in HTML, the request for the page is sent to the server and the HTML file is sent back to the user. server side scripting allows you to execute some code, some event before the page is sent back to the user so, here when the user requests a ASP page, the request is sent back to the server from the browser, the ASP engine reads the file line by line executing the script written in the file and afte erading all the lines and executing the code the ASP file is returned to the user in the form of a HTML page. What is .Net Framework? the .NET Framework is an API for building, deploying, and running Web Services and Applications developed by Microsoft. Are there any differences between ASP.NET Vs ASP Here are a few major differences between the two scriptin languages: The Default extension for a ASP.net file is '.aspx'. ASP.net offers full compatibility with languages like Visual Basic, C#, C++ where as ASP does not. ASP.Net contains a huge set of HTML controls all of which can be defined as ASP.NET control objects which in turn can be controlled by scripts. There is better event handling, all the objects on a page can be processed by the code written in ASp.net Supports custom forms based user authentification & according to the priviliges of the user he has access to information displayed. At the first request of a ASP.net page the code is compiled and a copy of it is created & cached in the memory, thus allowing for increased performance. Can I install ASP.net? You will need a windows compatible PC & a windows O/S, windows 2000 or XP are good options. You will also need the internet information server installed, this comes bundled with the 2000 & XP & some other versions of the microsoft O/S, you can install it by going to the add/remove programs in your control panel. A internet connection to downlaod & install the .Net framework from the microsoft website, this is different from the .Net SDK which is bigger, around 130MBs. |
|
#2
|
|||
|
|||
|
Hello all,
Here is some more information about ASP.Net Some features of ASP.NET Crash protection: ASP.NET has been designed to handle your memory leaks efficiently, whenever a memory leak is detected ASP.net creates another copy of itself, all new requests are directed to this new copy, the older copy is deleted along with the memory leak it created when it finishes executing the pending processes. Memory Leaks - In order for a program to run it needs memory(RAM), after a application is terminated it should normally free up the computer memory it has been using. However it sometimes does not happen which could be due to a result of a bug/design problem in the application. Lets say that out of 4 applications 3 fail to release all or a significant part of the memory that they were using. This memory is now tied up, now if a new application is started it could be possible that the computer does not have enough memory to provide it to run properly, resulting in a huge system slowdown or sometimes crashes. Caching: ASP.Net allows you to build web applications that are fast, it does that by caching of compiled code, i.e. certain pages can be cached into the memory, so that they don’t take a longer time to retrieve, now the trick here is that this code is compiled, this is it is already converted into a machine readable format. Caching/Cache MemoryIn a computer almost all of your applications and data are stored on your hard disk, whenever you access something the CPU first searches for it in the cache memory, if the data is there it is returned back the user, otherwise the CPU searches for it in the Hard disk, once the data is found it is first transported to the RAM of your system, and then from to the cache memory and then it is returned to the user. The memory of the cache depends on the PC configuration, as more and more data is stored in the cache the previous data has to be deleted, caching makes data access faster as if the data is already stored in the cache then it cuts out the step of searching in the memory. |
|
#3
|
|||
|
|||
|
Hello all,
Here are a few more things about ASP.NET that every novice should know. In traditional ASP the executable code was written along with the HTML code i.e. some lines of HTML and then some lines of ASP and then some more lines of HTML & so on, for a beginner this make the code very difficult to understand also it is a tiring task to read or even modify such codes. ASP.NET adderssed this issue as well with the help of three kinds of server controls. A. HTML Server Controls. B. Validation Server Controls. C. Web Server Controls. ASP.NET was designed with the issue of scalability in mind. ASP.NET is capable of being scaled over several servers at a time with very little loss of communication. Scalability - In a broad sense of the term scalability in computing means being able to function properly or even better when there is a change in the environment in terms of volume or size. ASP.net is not cross platform compatible though i.e. you cant play mix and match with it, as its been made by microsoft it can only run on microsoft IIS servers. ASP.NET is not totally compatible with ASP i.e. it is not fully backwards compatible. Some information from http://www.w3schools.com |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|