Introduction to ASP.NET

Rajkumarsoy 19,987 views 21 slides Nov 04, 2014
Slide 1
Slide 1 of 21
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21

About This Presentation

For web developer this presentation is very helpful as it provide useful knowledge of the latest web technology that is ASP.NET


Slide Content

ASP.NET Presented By Rajkumar Soy CSE 4 th 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?