0% found this document useful (0 votes)
39 views21 pages

Unit 1 Lock

The document provides an overview of ASP.NET, including what it is, its architecture and history. ASP.NET is a web application framework designed by Microsoft that uses .NET and allows programmers to create dynamic web pages. It provides advantages like less coding needed, support for multiple languages, and easy database integration.

Uploaded by

siri chandana
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
39 views21 pages

Unit 1 Lock

The document provides an overview of ASP.NET, including what it is, its architecture and history. ASP.NET is a web application framework designed by Microsoft that uses .NET and allows programmers to create dynamic web pages. It provides advantages like less coding needed, support for multiple languages, and easy database integration.

Uploaded by

siri chandana
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 21

Unit -1

Introduction To .Net

By-
Dr.Manjot Kaur
Overview of ASP
• Active Server Pages (ASP)
• It is the first server side scripting
language developed by Microsoft.
• Server-side scripting is a technique used in web
development which involves employing scripts on a
web server which produces a response customized for
each user's (client's) request to the website
Overview of ASP
ASP.NET

• .NET is a developer platform made up of tools,


programming languages, and libraries for building many
different types of applications.
• ASP.NET Core extends the .NET developer platform with
tools and libraries specifically for building web apps.
• ASP.NET is a web application framework designed and
developed by Microsoft. ASP.NET is open source and a
subset of the .NET Framework and successor of the classic
ASP(Active Server Pages).
• With version 1.0 of the .NET Framework, it was first
released in January 2002.
ASP.NET
• ASP.NET is built on the CLR(Common Language Runtime)
which allows the programmers to execute its code using
any .NET language(C#, VB etc.).
• It is specially designed to work with HTTP and for web
developers to create dynamic web pages, web applications,
web sites, and web services as it provides a good integration of
HTML, CSS, and JavaScript.
• .NET Framework is used to create a variety of applications and
services like Console, Web, and Windows, etc. But ASP.NET is
only used to create web applications and web services. That’s
why we termed ASP.NET as a subset of the .NET Framework.
What is Web Application?

• A web application is an application installed only on the


web server which is accessed by the users using a web
browser like Microsoft Internet Explorer, Google
Chrome, Mozilla FireFox, Apple Safari, etc.
• There are also some other technology like Java, PHP,
Perl, Ruby on Rails, etc. which can be used to develop
web applications. Web applications provide the cross-
platform feature. The user needs only a web browser to
access a web application.
• The web applications which are developed using
the .NET framework or its subsets required to execute
under the Microsoft Internet Information
Services(IIS) on the server side.
IIS
• The work of IIS is to provide the web application’s generated
HTML code result to the client browser which initiates the
request as shown in the below diagram.
ASP.Net Architecture
ASP.Net Architecture
ASP.Net framework architecture is based on three components: The Language,
The Library, and The CLR.

• The Language: Dot net framework support different languages to write


codes. We can use C# or VB.net to develop web applications.

• The Library: Dot net framework consists of a set of class libraries.


System.Web is the most common class library used in asp.net web
application development

• The CLR: Common Language Runtime (CLR) is the main part of dot net
architecture. It performs all main activities of the framework. It performs
activities like exception handling and garbage collection.
Why ASP.Net?

Less Coding: ASP.NET requires less coding for application development.

JIT: Just-in-time compilation, early binding and caching services are available.

Library: a large library of built-in classes is available to use. This significantly


reduces the amount of coding required.

CLR: supports common language runtime. It can support several dot net
languages such as C#, VB, etc.

Fast: Execution is fast. The ASP.net application is located in the server in


compiled form. This reduces response time.
Why ASP.Net?
Secure: Security features such as Windows authentication and form
authentication are present.

Easy Database Integration: easy to integrate ASP.NET with ADO.NET. This


streamlines database functionalities for websites.

Code-behind file: ASP.NET separates presentation and programming logic


with the use of code-behind classes
Asp.NET Core Version
History
Difference Between .NET Framework
and .NET Core
Setting up a development
environment with VS code
• C# language support is provided with the
C# Dev Kit extension. You can install it from within VS
Code by searching for 'C# Dev Kit' in
the Extensions view (Ctrl+Shift+X) or if you already have
a project with C# files, VS Code will prompt you to
install the extension as soon as you open a C# file.
Introduction to .NET CLI
• The .NET Core command-line interface (CLI) is a cross-
platform for developing, building, running, and
publishing .NET Core applications.
.NET CLI Commands
There are some commands which are installed by default
• create new application
-The dotnet new command creates a .NET Core project
as expected in your command prompt, as shown below:
• I have given the console project name inside CliDemo
Run an application

This following command needs to be entered:

dotnet run

You might also like