Home » Programming » C# » Story Details
Printable Version

What is ASP.NET

by Manish Tewatia on Jan 08, 2012

ASP is stand for Active Server Page. ASP.NET is a technology for building powerful dynamic Web applications and is part of the .NET Framework.
Comments: 0    Views: 308

Introduction

ASP is stand for Active Server Page. ASP.NET is a technology for building powerful dynamic Web applications and is part of the .NET Framework.  Microsoft previous server side scripting technology ASP (Active Server Pages) is now often called classic ASP. Microsoft ASP.NET is a free technology that allows programmers to create dynamic web applications. ASP.NET can be used to create anything from small, personal websites through to large enterprise class web applications. ASP 3.0 was the last version of classic ASP. ASP.NET is the next generation ASP but it's not an upgraded version of 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 the major part of the Microsoft's .NET Framework. ASP.NET is a compiled .NET based environment. you can author applications in any .NET compatible language including Visual Basic .NET, C#, and JScript .NET. Additionally the entire .NET Framework is available to any ASP.NET application. Developers can easily access the benefits of these technologies which include the managed common language run time environment, type safety, inheritance.

Feature of ASP.NET

  • Master Pages, Themes, and Web Parts
  • Standard controls for navigation
  • Standard controls for security
  • Roles, personalization, and internationalization services
  • Improved and simplified data access controls
  • Full support for XML standards like, XHTML, XML, and WSDL.
  • Improved compilation and deployment (installation)
  • Improved site management
  • New and improved development tools

Example : Simple display the name in asp .net.

Code : Write a code on .aspx page.

 
<asp:TextBox ID="TextBox1" runat="server" BackColor="#66CCFF"></asp:TextBox><br />
 <asp:TextBox ID="TextBox2" runat="server" BackColor="#6699FF"></asp:TextBox><br />
 <asp:TextBox ID="TextBox3" runat="server" BackColor="#CC99FF"></asp:TextBox><br />
 <asp:Button ID="Button1" runat="server" Text="Button" BackColor="#6666FF"
  onclick="Button1_Click"
/>

Code : Write a code on button click event.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace WebApplication3
{
    public partial class _Default : System.Web.UI.Page
    {
        int i, j;
        protected void Button1_Click(object sender, EventArgs e)
        {
            int i = Convert.ToInt32(TextBox1.Text);
            int j = Convert.ToInt32(TextBox2.Text);
            TextBox3.Text = (i + j).ToString();
        }
    }
}

Output:

 ounterrrrrrrrr.gif

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