| |
What is ASP.NET Application?
ASP.NET is a new programming framework
from Microsoft for developing next generation web Applications. It is a framework built
on the Common Language Runtime and introduces a new paradigm to server-side
Web development.
There are several advantages that ASP.NET offers, such as: Performance. The code written in ASP.NET
is compiled, so straight ahead it is a performance boost. The code written in .Net
Framework is complied in Common Language Runtime. ASP.NET can take advantage of early
binding, just-in-time compilation, automatic
resource optimization, runtime profiling, automatic memory management, enhanced exception
handling, and caching
services, right out-of-the-box, this improves the performance before you start coding. A
problem with Web sites performance is with data-access.
For example, a database table will spend the majority of its execution time connecting to
the database and querying the information.
ASP.NET comes with a data-caching module. This data-caching module allows you to specify
what data on an ASP page to cache and on what conditions to empty the cache and re-query
the data-store.
ASP.NET Application ships with Performance Counters which system administrators can use to gather
application metrics. They can be used to measure the performance of either a single
instance of an ASP.NET Application or all ASP.NET applications combined on a computer.
Tool Support. Now you can drag-and-drop web controls like you do VB
controls, double-click and write the server code for the control. ASP.NET Technology supports XCOPY deployment that requires no
registration or stopping of the server, supports dynamic DLL updates and extensible
configuration using XML files.
Flexibility. Because ASP.NET is based on the Common
Language Runtime, the power and flexibility of that entire platform is made available to
web application developers. The Common Language Runtime's Base Class libraries, Messaging,
and Data Access solutions are all seamlessly accessible from the web.
ASP.NET is also language-independent, so you can choose a language that best applies to
your application, or partition your application across many languages. Further, Common
Language Runtime interoperability guarantees that your existing investment in COM-based
development is preserved when migrating to ASP.NET.
Simplicity. ASP.NET technology makes it easy
to perform common tasks, from simple form submission and client authentication to
deployment and site configuration. For example, the ASP.NET Page Framework allows you to
build user interfaces that cleanly separate application logic from presentation code, and
handle events in a simple, VB-like forms processing model. Additionally, the Common
Language Runtime simplifies development with managed code services like automatic
reference counting and garbage collection.
Manageability The ASP.NET configuration system handles both ends,
and provides a hierarchical configuration set-up that enables extensible configuration
data to be defined and used throughout an application, a Web site, and/or an entire
domain. No server restart is
required, even to deploy or replace running compiled code!
Scalability. ASP.NET has been
designed with scalability in mind, enables automatic process recovery through error
and memory overload detection. Session state can now be maintained in a number of ways.
Session data can be passed in a hidden field within the pages, or in one of two
out-of-process State Stores. The two flavors they come in are the ASP.NET State Store,
which maintains stateful data in memory, or the SQL State Store, for writing stateful data
to your SQL Server database.
Customizability and
Extensibility. ASP.NET delivers a well-factored architecture that allows developers to
"plug-in" their code at the appropriate level. In fact, it is possible to extend
or replace any sub-component of the ASP.NET runtime with your own custom-written
component. Implementing custom authentication or state services has never been easier.
Security ASP.NET works in conjunction with the Microsoft .NET
Framework and Internet Information Server (IIS) 5.0 to provide outstanding security
capabilities.
ASP.NET currently offers built-in support
for three languages, C# (pronounced "C Sharp"), Visual Basic, and JScript.
Language
Support
<FORM ACTION="Processform.aspx" RUNAT="server">
Login Name: <asp:textbox id="Name" runat="server"/>
<BR>
Password: <asp:password id="Password" runat="server"/>
<BR>
<asp:button text="Login" runat="server"
onclick="SubmitButton_Clicked"/>
<P>
<B><asp:label id="Authentication" runat="server"/></B>
</FORM>
<script language="vb" runat="server">
Sub SubmitButton_Clicked(Object Scr, EventArgs E)
Database processing to check for the user
Authentication.Text = "Welcome," & Name.Text &
"you are a valid user"
End Sub
</script>
|
|