KEMBAR78
Introduction to ASP.NET
ASP.NET 
Presented By 
Rajkumar Soy CSE 4th year 1252510908
Evolution of web development 
• Standards such as HTML (Hypertext Markup Language) and XML 
(Extensible Markup Language) were created. 
• Need to develop languages and programming tools that could integrate 
with the Web.
The Early Web Development World 
• Separate, tiny applications that are executed by server-side calls -CGI 
(Common Gateway Interface) 
• Scripts that are interpreted by a server-side resource: Classic ASP (Active 
Server Pages)
What’s Wrong with Classic ASP 
• Classic ASP is a solid tool for developing web applications using Microsoft 
technologies. 
• Length Code 
• No IDE (integrated development environment) for developers 
• ASP Code is interpreted.
.NET Framework 
• The .NET framework is a software development framework from Microsoft. 
It provides a controlled programming environment where software can be 
developed, installed and executed on Windows-based operating systems. 
• The .NET languages: These include Visual Basic, C#, JScript .NET (a server-side 
version of JavaScript), J# (a Java clone), and C++.
ASP.NET 
• ASP.NET is a web application framework developed and marketed by 
Microsoft to allow programmers to build dynamic websites, web 
applications and web services. 
• ASP.NET gives you the ability to code in any supported .NET language 
(including Visual Basic, C#, J#, and many other languages that have third-party 
compilers).
How does ASP.NET work? 
• ASP.NET applications are executed via a sequence of HTTP requests and 
HTTP responses. 
• Client Web browser request ASPX pages. 
• IIS passes the request to the ASP.NET engine on the server. 
• The Web server executes the ASPX page and produce XHTML + CSS + 
JavaScript 
• ASP.NET file is returned to the browser as plain HTML
Visual Studio as ASP.NET development tool 
• Visual Studio is a development tool, which provides a rich environment 
where you can rapidly create advanced applications. 
• Some of the features of Visual Studio include the following: 
-Page design 
-Automatic error detection 
-Debugging tools 
-IntelliSense
Visual Studio a web development tool
ASP.NET development models 
• ASP.NET supports three different development models: 
-Web Pages 
-Web Forms and 
- MVC (Model View Controller)
Web Pages (Single Pages Model) 
Web Pages is the simplest programming model for developing ASP.NET web 
pages. It provides an easy way to combine HTML, CSS, JavaScript and server 
code. 
• Easy to learn, understand, and use 
• Built around single web pages 
• Similar to PHP and Classic ASP 
• Server scripting with Visual Basic or C# 
• Full HTML, CSS, and JavaScript control
Web Page in Visual Studio
Web Forms (Event Driven Model) 
• Web Forms is the oldest ASP.NET programming model, with event driven 
web pages written as a combination of HTML, server controls, and server 
code. 
• Web Forms are compiled and executed on the server, which generates the 
HTML that displays the web pages. 
• Web Forms comes with hundreds of different web controls and web 
components to build user-driven web sites with data access.
Web Form in Visual Studio
MVC (Model View Controller) 
MVC is a framework for building web applications using a MVC (Model View 
Controller) design: 
• The Model represents the application core 
• The View displays the data 
• The Controller handles the input 
The MVC model also provides full control over HTML, CSS, and JavaScript.
MVC Model
MVC Controller
MVC View
Advantages of ASP.NET 
• Advantage 
• ASP.NET drastically reduces the amount of code required to build large 
applications. 
• The ASP.NET framework is complemented by a rich toolbox and 
designer in the Visual Studio integrated development environment. 
WYSIWYG editing, drag-and-drop server controls, and automatic 
deployment are just a few of the features this powerful tool provides. 
• Being language-independent, it allows you to choose the language that 
best applies to your application or partition your application across 
many languages. 
• ASP.NET makes for easy deployment. There is no need to register 
components because the configuration information is built-in.
Disadvantage of ASP.NET 
• As ASP.NET uses .NET framework which works on windows platform so the 
websites can build only in windows platform not other platform like linux 
,macintosh, solaris etc.
Any queries?

Introduction to ASP.NET

  • 1.
    ASP.NET Presented By Rajkumar Soy CSE 4th year 1252510908
  • 2.
    Evolution of webdevelopment • Standards such as HTML (Hypertext Markup Language) and XML (Extensible Markup Language) were created. • Need to develop languages and programming tools that could integrate with the Web.
  • 3.
    The Early WebDevelopment World • Separate, tiny applications that are executed by server-side calls -CGI (Common Gateway Interface) • Scripts that are interpreted by a server-side resource: Classic ASP (Active Server Pages)
  • 4.
    What’s Wrong withClassic ASP • Classic ASP is a solid tool for developing web applications using Microsoft technologies. • Length Code • No IDE (integrated development environment) for developers • ASP Code is interpreted.
  • 5.
    .NET Framework •The .NET framework is a software development framework from Microsoft. It provides a controlled programming environment where software can be developed, installed and executed on Windows-based operating systems. • The .NET languages: These include Visual Basic, C#, JScript .NET (a server-side version of JavaScript), J# (a Java clone), and C++.
  • 6.
    ASP.NET • ASP.NETis a web application framework developed and marketed by Microsoft to allow programmers to build dynamic websites, web applications and web services. • ASP.NET gives you the ability to code in any supported .NET language (including Visual Basic, C#, J#, and many other languages that have third-party compilers).
  • 7.
    How does ASP.NETwork? • ASP.NET applications are executed via a sequence of HTTP requests and HTTP responses. • Client Web browser request ASPX pages. • IIS passes the request to the ASP.NET engine on the server. • The Web server executes the ASPX page and produce XHTML + CSS + JavaScript • ASP.NET file is returned to the browser as plain HTML
  • 8.
    Visual Studio asASP.NET development tool • Visual Studio is a development tool, which provides a rich environment where you can rapidly create advanced applications. • Some of the features of Visual Studio include the following: -Page design -Automatic error detection -Debugging tools -IntelliSense
  • 9.
    Visual Studio aweb development tool
  • 10.
    ASP.NET development models • ASP.NET supports three different development models: -Web Pages -Web Forms and - MVC (Model View Controller)
  • 11.
    Web Pages (SinglePages Model) Web Pages is the simplest programming model for developing ASP.NET web pages. It provides an easy way to combine HTML, CSS, JavaScript and server code. • Easy to learn, understand, and use • Built around single web pages • Similar to PHP and Classic ASP • Server scripting with Visual Basic or C# • Full HTML, CSS, and JavaScript control
  • 12.
    Web Page inVisual Studio
  • 13.
    Web Forms (EventDriven Model) • Web Forms is the oldest ASP.NET programming model, with event driven web pages written as a combination of HTML, server controls, and server code. • Web Forms are compiled and executed on the server, which generates the HTML that displays the web pages. • Web Forms comes with hundreds of different web controls and web components to build user-driven web sites with data access.
  • 14.
    Web Form inVisual Studio
  • 15.
    MVC (Model ViewController) MVC is a framework for building web applications using a MVC (Model View Controller) design: • The Model represents the application core • The View displays the data • The Controller handles the input The MVC model also provides full control over HTML, CSS, and JavaScript.
  • 16.
  • 17.
  • 18.
  • 19.
    Advantages of ASP.NET • Advantage • ASP.NET drastically reduces the amount of code required to build large applications. • The ASP.NET framework is complemented by a rich toolbox and designer in the Visual Studio integrated development environment. WYSIWYG editing, drag-and-drop server controls, and automatic deployment are just a few of the features this powerful tool provides. • Being language-independent, it allows you to choose the language that best applies to your application or partition your application across many languages. • ASP.NET makes for easy deployment. There is no need to register components because the configuration information is built-in.
  • 20.
    Disadvantage of ASP.NET • As ASP.NET uses .NET framework which works on windows platform so the websites can build only in windows platform not other platform like linux ,macintosh, solaris etc.
  • 21.