Home » Web » ASP.NET » Story Details
Printable Version

Active Server Pages in .NET: ASP.NET

by Manish Tewatia on Dec 14, 2011

Microsoft previous server side scripting technology ASP (Active Server Pages) is now often called classic ASP.
Comments: 0    Views: 787

Introduction:  Microsoft previous server side scripting technology ASP (Active Server Pages) is now often called classic ASP. ASP.NET is an entirely new technology for server side scripting. It was written from the ground up and is not backward compatible with classic ASP. ASP.NET is a Microsoft Technology. ASP stands for Active Server Pages .ASP.NET is a program that runs inside IIS (Internet Information Services) is Microsoft's Internet server. IIS comes as a free component with Windows servers. IIS is also a part of Windows 2000 and XP Professional. An ASP.NET file is just the same as an HTML file. An ASP.NET file can contain HTML, XML, and scripts. Scripts in an ASP.NET file are executed on the server. An ASP.NET file has the file extension ".aspx".

ASP.NET is more than the next version of Active Server Pages (ASP). it provides a unified Web development model that includes the services necessary for developers to build enterprise-class Web applications. While ASP.NET is largely syntax compatible with ASP it also provides a new programming model and infrastructure for more scalable and stable applications that help provide greater protection.

Problems with Traditional ASP:

  • Interpreted and Loosely-Typed Code
  • Mixes layout (HTML) and logic (scripting code)
  • Limited Development and Debugging Tools
  • No real state management
  • Update files only when server is down
  • Obscure Configuration Settings

Advantages of ASP.NET:

  • Separation of Code from HTML
  • Support for compiled languages
  • Use services provided by the .NET Framework
  • Graphical Development Environment
  • State management

Example: In this example we have simple set the button inASP.NET.

Code:
<script  runat="server">
Sub submit(Source As Object, e As EventArgs)
   button1.Text="You clicked me!"
End Sub
</script>

<html>
<body>
<form runat="server">
<asp:Button id="button1" Text="Click me!" runat="server" OnClick="submit" />
</form>
</body>
</html>

Post a Comment
*
DevExpress PowerBuilder Web Development Windows Development Languages Software Engineering Databases
iPhone Architecture Secutiry UML & Modeling Operating Systems Networking Testing
Graphics Design Project Management Hardware Open Source Games Development Business Intelligence Visual Studio LightSwitch 2011
MonoDevelop Visual Studio 2010 ASP.NET HTML, DHTML XML PHP JavaScript
Silverlight Web Services WCF Windows Forms WPF Windows Services Dynamic Link Libraries
ActiveX COM, DCOM, ATL C# VB.NET C++ F# Java
Pascal SQL Server Oracle DB2 MS-Access Windows Servers Windows
Linux Unix SAP LINQ .NET Framework ADO.NET Reporting
Crystal Reports SQL Server Reporting Services Igenda Reports Active Reports Adobe Fireworks Arrays & Collections Hosting
Future Trends Android Windows Phone Smart Devices Business M&A Investment & Funding
Web Browsers Internet Explorer Firefox Safari Common Entrepreneurs Students
Consulting Wiki Gadgets MobileMe iCloud iOS Social Media
Facebook Twitter LinkedIn Google+ Microsoft Kinect XBox
Wii Playstation DirectX i OS OS X CIO, CTO, CEO Windows 8
Web Design Expression Blend 4 Photoshop CS5 Creative Suite 5.5 Expression Web 4 Expression Studio 4 Creative Suite® 5.5 Design
Creative Suite 5.5 Web Creative Suite 5.5 Production Startups Funding M&A Laptops Smart Phones
Desktops Cameras & Camcorders Netbooks Tablets Virtualization Microsoft Surface WordPress
Software Products Cloud Computing Current Affairs Technology TV TV
Earnings XAML E-Commerce MonoTouch Mono for Android Deals Electronics
Mobile Phone Laptop Tablet Book Computer Press Releases Reviews
Products Books Companies Windows Azure SQL Azure Interviews Mac
Web Browsers Symbian Windows Forms WPF Windows Services HTML 5 Office 365
SharePoint 2010 Exchange Server Adobe Visual Studio 2012 iPad Flex / Flash Games
Windows 9
X
 Login
Please login to submit a new post, reply and edit exiting posts, see user profiles, and access more features. If you are not a registered member, Register here.
User Id / Email:
Password:  
Forgot Password | Forgot UserName