SlideShare a Scribd company logo
1 of 35
TOPICS
 Microsoft .NET Platform and Visual Studio
 .Net Stack
 Introduction to C#
 OOPS component of C#
 Assemblies and Modules
 Introduction to Asp.Net
FRAMEWORK VIEW
.NET Framework View
Framework Class Library
ADO.NET
Network
XML
Security
Threading
Diagnostics
IO
Etc.
Common Language Runtime
Memory Management Common Type System Lifecycle Monitoring
C# VB.NET C++.NET Other
Operating System
Visual
Studio
.NET
Common Language Specification
Windows FormsASP.NET
Web Services
ASP.NET Application Services
Web Forms Controls Drawing
Windows Application Services
.NET Platform Influential Factors
.NET
OOP JVM
GUI
Web
component-
based design
n-tier design
.Net Stack
VERSIONS
Introduction To C#
C# is a Type-safe object-oriented language run on the .NET
Framework.
E
X
E
C
U
T
I
O
N
Code Conversion
C# Components
 Namespaces
 Classes
 Methods and
Properties
 Delegates and Event
Handler
 Interfaces
 Exception Handling
 Data Types
 Arrays
C# Class View
Delegates
 A new concept that is central to the programming model of
the CLR.
 Delegates are like function pointers, but are actually type-
safe, secure, managed CLR objects.
 The CLR guarantees that a delegate points to a valid
method.
 You get the benefits of function pointers without the
dangers.
 Each delegate is based on a single method signature.
 Commonly used for callbacks.
 Delegates are basis of event handlers.
The Common Type System
 Reference types are type-safe object pointers. Allocated in the
“managed heap”
 Four kinds of reference types: Classes, arrays, delegates, and
interfaces.
 When instances of value types go out of scope, they are instantly
destroyed and memory is reclaimed.
 When instances of reference types go out of scope, they are garbage
collected.
 Boxing = converting an instance of a value type to a reference type.
Usually done implicitly through parameter passing or variable
assignments.
 UnBoxing = casting a reference type back into a value type variable.
The Common Type System
Primitive Types
Int16
Int32
Int64
Single
Double
Decimal
Boolean
Byte
Char
Currency
DateTime
TimeSpan
Object
ArrayString
Enum
ValueType Exception Delegate
Multicast
Delegate
Class1
Class2
Class3
Data Types
C# Type .NET Framework type
bool System.Boolean
byte System.Byte
sbyte System.SByte
char System.Char
decimal System.Decimal
double System.Double
float System.Single
int System.Int32
uint System.UInt32
long System.Int64
ulong System.UInt64
object System.Object
short System.Int16
ushort System.UInt16
string System.String
Array Declaration
 int[] table; //not int table[]
 int[] number;
number=new int[10];
number=new int[20];
 Single Dimensional Arrays : int[] numbers;
 Multi Dimensional Arrays : int[,] numbers;
 Jagged Arrays : int[][] numbers;
Assemblies
 A logical collection of one or more EXEs and DLLs
containing an application’s code and resources
 It contains
 Codes in MSIL
 Manifest (A metadata description of the code and
resources)
Introduction to ASP.NET Development
Asp.Net
 Simply Server side language
 Simplified page development model
 Modular, well-factored, extensible architecture
 Superior debugging and tracing support
 Compiled, not interpreted
 Rich caching support
 Web farm scalable session state
 Automatically detects and recovers from errors
Request And Respond
General Things to know
 Client Side Scripting
 Server Side Scripting
 HTML
 JavaScript
 CSS
 JQuery
 Ajax
 XML
Web Forms in .NET
 Separate Code & Design
 Rich Web Forms
 Drag & Drop Design
 Like WinForms
Understand the Web Form
 Page Directive
 Server side code
 Form
 Normal HTML Structure
 Server Controls
Design Page on Framework
ApplicationFile(Global.asax)
File in
Project
Configuration File(web.config)
File in
Project
You must Know
 Post Back
 communicates back to the server
 View State
 state stored in a hidden field on the page
 transported to the client and back to the server,
 Is not stored on the server
Page Life Cycle
PreInit Init
Init
Complete
PreLoad
Load
Control
events
Load
Complete
Pre
Render
Save
StateComplete
Render Unload
ASP.NET States
 Session State
 allows the state of objects (serializable) to be stored for a
single session (lifetime of the user’s browser or specific
timeout)
 Application State
 allows the state of objects (serializable) to be stored for
the application across different sessions.
Master Page
 Template to Other pages
Content place holder
Master aspx
aspx
Master Page Fusion in Content Page
Master Page View on Framework
A B
Point A is the Content Place Holder of Master Page that contains Content1
and Content2 of .aspx toward Point B.
Starting ASP.NET Development ..
 Web Application
 Recommended
 Compiles all pages into one DLL
 Faster on first load after deployment
 Must recompile whole site for code change
.Net Framework Introduction

More Related Content

What's hot

Dot Net Fundamentals
Dot Net FundamentalsDot Net Fundamentals
Dot Net Fundamentals
LiquidHub
 
DotNet Introduction
DotNet IntroductionDotNet Introduction
DotNet Introduction
Wei Sun
 
.NET Framework Overview
.NET Framework Overview.NET Framework Overview
.NET Framework Overview
Doncho Minkov
 
Nakov - .NET Framework Overview - English
Nakov - .NET Framework Overview - EnglishNakov - .NET Framework Overview - English
Nakov - .NET Framework Overview - English
Svetlin Nakov
 

What's hot (20)

Introduction to .net framework
Introduction to .net frameworkIntroduction to .net framework
Introduction to .net framework
 
The how-dare-you-call-me-an-idiot’s guide to the .NET Standard (NDC London 2017)
The how-dare-you-call-me-an-idiot’s guide to the .NET Standard (NDC London 2017)The how-dare-you-call-me-an-idiot’s guide to the .NET Standard (NDC London 2017)
The how-dare-you-call-me-an-idiot’s guide to the .NET Standard (NDC London 2017)
 
Introduction to .net FrameWork by QuontraSolutions
Introduction to .net FrameWork by QuontraSolutionsIntroduction to .net FrameWork by QuontraSolutions
Introduction to .net FrameWork by QuontraSolutions
 
Dot Net Fundamentals
Dot Net FundamentalsDot Net Fundamentals
Dot Net Fundamentals
 
dot net technology
dot net technologydot net technology
dot net technology
 
Introductionto .netframework by Priyanka Pinglikar
Introductionto .netframework by Priyanka PinglikarIntroductionto .netframework by Priyanka Pinglikar
Introductionto .netframework by Priyanka Pinglikar
 
DotNet Introduction
DotNet IntroductionDotNet Introduction
DotNet Introduction
 
.NET Framework Overview
.NET Framework Overview.NET Framework Overview
.NET Framework Overview
 
.Net framework
.Net framework.Net framework
.Net framework
 
Microsoft .NET Framework
Microsoft .NET FrameworkMicrosoft .NET Framework
Microsoft .NET Framework
 
DOT Net overview
DOT Net overviewDOT Net overview
DOT Net overview
 
Nakov - .NET Framework Overview - English
Nakov - .NET Framework Overview - EnglishNakov - .NET Framework Overview - English
Nakov - .NET Framework Overview - English
 
.Net framework
.Net framework.Net framework
.Net framework
 
Module 1: Introduction to .NET Framework 3.5 (Slides)
Module 1: Introduction to .NET Framework 3.5 (Slides)Module 1: Introduction to .NET Framework 3.5 (Slides)
Module 1: Introduction to .NET Framework 3.5 (Slides)
 
Architecture of net framework
Architecture of net frameworkArchitecture of net framework
Architecture of net framework
 
Dotnet basics
Dotnet basicsDotnet basics
Dotnet basics
 
Introduction to ,NET Framework
Introduction to ,NET FrameworkIntroduction to ,NET Framework
Introduction to ,NET Framework
 
Architecture of .net framework
Architecture of .net frameworkArchitecture of .net framework
Architecture of .net framework
 
Introduction .NET Framework
Introduction .NET FrameworkIntroduction .NET Framework
Introduction .NET Framework
 
ASP.NET 01 - Introduction
ASP.NET 01 - IntroductionASP.NET 01 - Introduction
ASP.NET 01 - Introduction
 

Similar to .Net Framework Introduction

Whidbey old
Whidbey old Whidbey old
Whidbey old
grenaud
 

Similar to .Net Framework Introduction (20)

Introduction to Visual Studio.NET
Introduction to Visual Studio.NETIntroduction to Visual Studio.NET
Introduction to Visual Studio.NET
 
Letsleads dot net-syllabus
Letsleads dot net-syllabusLetsleads dot net-syllabus
Letsleads dot net-syllabus
 
Dot Net Framework
Dot Net FrameworkDot Net Framework
Dot Net Framework
 
Creating Windows Runtime Components
Creating Windows Runtime Components Creating Windows Runtime Components
Creating Windows Runtime Components
 
Stucorner dot-net-training-syllabus
Stucorner dot-net-training-syllabusStucorner dot-net-training-syllabus
Stucorner dot-net-training-syllabus
 
Windows 8 für .net Entwickler
Windows 8 für .net EntwicklerWindows 8 für .net Entwickler
Windows 8 für .net Entwickler
 
C sharp
C sharpC sharp
C sharp
 
Visual Studio.NET
Visual Studio.NETVisual Studio.NET
Visual Studio.NET
 
.NET and C# introduction
.NET and C# introduction.NET and C# introduction
.NET and C# introduction
 
Visual studio.net
Visual studio.netVisual studio.net
Visual studio.net
 
ASP.NET Basics
ASP.NET Basics ASP.NET Basics
ASP.NET Basics
 
Whidbey old
Whidbey old Whidbey old
Whidbey old
 
Intro.net
Intro.netIntro.net
Intro.net
 
Vb
VbVb
Vb
 
Intro dotnet
Intro dotnetIntro dotnet
Intro dotnet
 
Intro dotnet
Intro dotnetIntro dotnet
Intro dotnet
 
Intro dotnet
Intro dotnetIntro dotnet
Intro dotnet
 
Intro dotnet
Intro dotnetIntro dotnet
Intro dotnet
 
Visual studio
Visual studioVisual studio
Visual studio
 
Visual studio.net
Visual studio.netVisual studio.net
Visual studio.net
 

Recently uploaded

Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Medical / Health Care (+971588192166) Mifepristone and Misoprostol tablets 200mg
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
masabamasaba
 
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
masabamasaba
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
masabamasaba
 

Recently uploaded (20)

call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the past
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
 
Harnessing ChatGPT - Elevating Productivity in Today's Agile Environment
Harnessing ChatGPT  - Elevating Productivity in Today's Agile EnvironmentHarnessing ChatGPT  - Elevating Productivity in Today's Agile Environment
Harnessing ChatGPT - Elevating Productivity in Today's Agile Environment
 
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK Software
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdf
 

.Net Framework Introduction

  • 1.
  • 2. TOPICS  Microsoft .NET Platform and Visual Studio  .Net Stack  Introduction to C#  OOPS component of C#  Assemblies and Modules  Introduction to Asp.Net
  • 4.
  • 5. .NET Framework View Framework Class Library ADO.NET Network XML Security Threading Diagnostics IO Etc. Common Language Runtime Memory Management Common Type System Lifecycle Monitoring C# VB.NET C++.NET Other Operating System Visual Studio .NET Common Language Specification Windows FormsASP.NET Web Services ASP.NET Application Services Web Forms Controls Drawing Windows Application Services
  • 6. .NET Platform Influential Factors .NET OOP JVM GUI Web component- based design n-tier design
  • 8. Introduction To C# C# is a Type-safe object-oriented language run on the .NET Framework.
  • 11. C# Components  Namespaces  Classes  Methods and Properties  Delegates and Event Handler  Interfaces  Exception Handling  Data Types  Arrays
  • 13. Delegates  A new concept that is central to the programming model of the CLR.  Delegates are like function pointers, but are actually type- safe, secure, managed CLR objects.  The CLR guarantees that a delegate points to a valid method.  You get the benefits of function pointers without the dangers.  Each delegate is based on a single method signature.  Commonly used for callbacks.  Delegates are basis of event handlers.
  • 14. The Common Type System  Reference types are type-safe object pointers. Allocated in the “managed heap”  Four kinds of reference types: Classes, arrays, delegates, and interfaces.  When instances of value types go out of scope, they are instantly destroyed and memory is reclaimed.  When instances of reference types go out of scope, they are garbage collected.  Boxing = converting an instance of a value type to a reference type. Usually done implicitly through parameter passing or variable assignments.  UnBoxing = casting a reference type back into a value type variable.
  • 15. The Common Type System Primitive Types Int16 Int32 Int64 Single Double Decimal Boolean Byte Char Currency DateTime TimeSpan Object ArrayString Enum ValueType Exception Delegate Multicast Delegate Class1 Class2 Class3
  • 16. Data Types C# Type .NET Framework type bool System.Boolean byte System.Byte sbyte System.SByte char System.Char decimal System.Decimal double System.Double float System.Single int System.Int32 uint System.UInt32 long System.Int64 ulong System.UInt64 object System.Object short System.Int16 ushort System.UInt16 string System.String
  • 17. Array Declaration  int[] table; //not int table[]  int[] number; number=new int[10]; number=new int[20];  Single Dimensional Arrays : int[] numbers;  Multi Dimensional Arrays : int[,] numbers;  Jagged Arrays : int[][] numbers;
  • 18. Assemblies  A logical collection of one or more EXEs and DLLs containing an application’s code and resources  It contains  Codes in MSIL  Manifest (A metadata description of the code and resources)
  • 19. Introduction to ASP.NET Development
  • 20. Asp.Net  Simply Server side language  Simplified page development model  Modular, well-factored, extensible architecture  Superior debugging and tracing support  Compiled, not interpreted  Rich caching support  Web farm scalable session state  Automatically detects and recovers from errors
  • 22. General Things to know  Client Side Scripting  Server Side Scripting  HTML  JavaScript  CSS  JQuery  Ajax  XML
  • 23. Web Forms in .NET  Separate Code & Design  Rich Web Forms  Drag & Drop Design  Like WinForms
  • 24. Understand the Web Form  Page Directive  Server side code  Form  Normal HTML Structure  Server Controls
  • 25. Design Page on Framework
  • 28. You must Know  Post Back  communicates back to the server  View State  state stored in a hidden field on the page  transported to the client and back to the server,  Is not stored on the server
  • 29. Page Life Cycle PreInit Init Init Complete PreLoad Load Control events Load Complete Pre Render Save StateComplete Render Unload
  • 30. ASP.NET States  Session State  allows the state of objects (serializable) to be stored for a single session (lifetime of the user’s browser or specific timeout)  Application State  allows the state of objects (serializable) to be stored for the application across different sessions.
  • 31. Master Page  Template to Other pages Content place holder Master aspx aspx
  • 32. Master Page Fusion in Content Page
  • 33. Master Page View on Framework A B Point A is the Content Place Holder of Master Page that contains Content1 and Content2 of .aspx toward Point B.
  • 34. Starting ASP.NET Development ..  Web Application  Recommended  Compiles all pages into one DLL  Faster on first load after deployment  Must recompile whole site for code change