MICROSOFT VISUAL BASIC PROGRAMMING
Why ASP.Net?
Microsoft introduced classic ASP (Active Server Pages) in 1996. Classic ASP script
is an interpreted script and consists of unstructured code that is difficult to
write, debug and maintain. As applications grow, the complexity of a classic ASP
application increases dramatically, and due to the unpleasant mix of content and
formatting, the spaghetti code is difficult to maintain.
All this changed with ASP.NET. ASP.Net is Microsoft's latest Web development platform
that provides the foundation and services necessary to develop Enterprise class
Web applications.
ASP.Net provides Server controls and allows coding of Web forms using strongly typed
languages such Visual Basic.NET. This forces proper coding techniques and helps
eliminate the use of unstructured code that mars the classic ASP application.
ASP.Net Development
ASP.NET is an object-oriented, event-driven development platform for writing Web-based
applications. Writing dynamic, high-performance Web applications has never been
easier. ASP.Net has introduced several enhancements and improvements over classical
ASP that makes it a compelling platform to use for all web developers.
Microsoft ASP.NET takes the best from classic ASP as well as the services and features
provided by the Common Language Runtime (CLR). The result is robust, scalable, and
fast Web development that gives flexibility with little coding.
HTML pages, ASPX (Web Form) pages, HTML controls, and Web Form controls, provide
a Rapid Application Development (RAD) environment for creating Web applications
in ASP.NET. The move to ASP.NET is easy for the Visual Basic.Net Programmer –
there is the same VB development environment and the same VB programming model.
ASP.NET drastically reduces the amount of code required to build large applications.
ASP.NET server controls enable an HTML-like style of declarative programming that
lets pages to be built with far less code than with classic ASP. Displaying data,
validating user input, and uploading files are all easy. ASP.NET pages work in all
browsers – including Netscape, Opera, AOL, and Internet Explorer.
Visual Studio.NET adds the productivity of Visual Basic-style development to the
Web. Now the programmer can visually design ASP.NET Web Forms using familiar Drag/Drop/Double
Click techniques, and enjoy full-fledged code support including statement completion
and colour-coding. VS.NET also provides integrated support for debugging and deploying
ASP.NET Web applications.
ASP.NET master pages define the look and feel and standard behaviour that is required
for the pages in a web application. When a user requests a web page, the master
page is merged with a content page. This results in a consistent layout for all
the pages viewed in a browser.
Summary of the Features of ASP.Net
- Server controls make it simple to do HTML style declarative programming with little
code.
- The programmer can leverage Visual Basic.Net skills for coding the web.
- The object oriented model separates application logic code from the HTML pages making
the project extremely structured and clean. This reduces maintenance headaches.
- The ASP.NET output caching improves the performance and scalability of an application.
The code is compiled dynamically – with a 3 to 5 fold increase in pages served.
- ASP.NET automatically remembers the state of a page. This eliminates the problem
of writing hidden fields.
- There is less code to write due to the data binding capabilities of the new server-side
.NET controls. The new Menu control is simple, but very powerful.
- The Event-based programming model is familiar to Microsoft Visual Basic.Net programmers.
- ASP.NET automatically detects and recovers from errors like deadlocks and memory
leaks to ensure applications are always available to users.
- Deployment is easy. Just copy the web pages to the server.
|