Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Week 1 Lecture 2 Theory

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 18

Introduction to ASP .

Net Framework
Course Code: CSC 4164 Course Title: ADVANCED PROGRAMMING WITH .NET

Dept. of Computer Science


Faculty of Science and Technology

Lecture No: 02 Week No: 01 Semester: Summer 2020-21


Lecturer: Tanvir Ahmed, tanvir.ahmed@aiub.edu
Lecture Outline

• Overview of .NET Architecture


• Introduction to ASP.Net Framework
• Introduction to Visual Studio
Overview of .NET
.NET Architecture

What is .NET Framework


• The .Net framework is a software development platform developed by
Microsoft.

• The framework was meant to create applications, which would run


primarily on the Windows Platform.

• The first version of the .Net framework was released in the year 2002.

• The .Net framework can be used to create any kind of applications -


Form based, Web based, Mobile applications
Overview of .NET
.NET Architecture

VB C++ C# JScript …
• Enormous
Common Language Specification platform

Visual Studio.NET
• Over 10000++
ASP.NET: Web Services Windows types
and Web Forms Forms • Well-defined
ADO.NET: Data and XML sub-systems
and
Base Classes partitioning of
responsibility
Common Language Runtime
Overview of .NET
.NET Architecture

.Net Framework Architecture


Overview of .NET
.NET Architecture
.NET Execution Model
Source Visual Basic C# C++
code
Unmanaged
Compiler Compiler Compiler
Component

Managed Assembly Assembly Assembly


code IL Code IL Code IL Code

Common Language Runtime

JIT Compiler

Native Code

Operating System Services


MSIL, IL & JIT

Microsoft Intermediate Language (MSIL), the intermediate code produced by


the compiler after compiling the source code. This intermediate code is known
as MSIL.
Intermediate Language (IL) is also known as MSIL (Microsoft Intermediate
Language) or CIL (Common Intermediate Language).
Just In-Time Compiler (JIT), responsible for converting the CIL(Common
Intermediate Language ) into machine code using the Common Language
Runtime environment.
Common Language Runtime (CLR) provides an environment to execute .NET
applications on target machines. The responsibilities of CLR are listed as
follows:
• Automatic memory management
• Garbage Collection
• Code Access Security
• Code verification
• JIT compilation of .NET code
According to Wiki…

In computer programming, a software framework is an abstraction in


which software providing generic functionality can be selectively
changed by additional user-written code, thus providing application-
specific software. It provides a standard way to build and deploy
applications and is a universal, reusable software environment that
provides particular functionality as part of a larger software platform to
facilitate development of software applications, products and solutions.
Introduction to ASP.Net Framework
What is .NET Framework?

.NET is a platform for the developers made up of tools,


programming languages and libraries. The framework is a
complete environment that allows developers to develop, run
and deploy applications such as:
• Console applications.
• Windows Forms applications.
• Windows Presentation Foundation (WPF) applications.
• Web applications (ASP.NET applications).
• Web services.
• Windows services and some more.
The main components of .NET Framework

• .NET Framework Class Library


• Common Language Runtime
• Dynamic Language Runtimes (DLR)
• Application Domains
• Runtime Host
• Common Type System
• Metadata and Self-Describing Components
• Cross-Language Interoperability
• .NET Framework Security
• Profiling
• Side-by-Side Execution
Introduction to Visual Studio

Visual Studio is an IDE (integrated development environment) for


building apps. Similar to using Microsoft Word to write documents, you’ll
use Visual Studio to create web apps.
Visual Studio

• VS supports multiple languages (C#, C++, Visual Basic, J#) in


one IDE.
• VS manages features and content in a convenient way.
• All Visual Studio .NET languages are object-oriented.
• All programs have a similar structure.
• All programs compiled into Common Intermediate Language
(CIL)

• For this course at least Visual Studio 2013


Creating a web application

3
Books

1. Visual Studio from the Microsoft Developer Network (MSDN)


https://msdn.microsoft.com/enus/library/dd831853(v=vs.120).aspx
(particularly note the Visual Studio IDE User Guide and the
Application Development in Visual Studio links).
2. C# 4.0 The Complete Reference; Herbert Schildt; McGraw-Hill
Osborne Media; 2010
3. Beginning ASP.NET 4: in C# and VB; Imar Spaanjaars,2010
References

1. ASP.NET; URL: https://dotnet.microsoft.com/apps/aspnet


2. .NET Architecture; URL: https://www.geeksforgeeks.org
3. URL: https://www. tutorialspoint.com/index.htm
Thank you!

You might also like