Professional Documents
Culture Documents
NET
Semester 5
TVSN Murthy
Assistant Professor DFT
NIFT Hyderabad
Disclaimer: These slides are just for the purpose of easy reading and are not comprehensive in
nature. Thus the slides have to be read together with the class lectures, reading material, and
statutes dealing with the subject
Microsoft
.NET Framework
Overview
Svetlin Nakov
http://www.nakov.com
Sofia University
St. Kliment Ohridski
XML Web
Services
Scheduling
Authentication
Integrate business
applications and
processes
Notification
Back Office
Heterogeneous
application and
server
infrastructure
Customer
Service
Sales
So what is .NET?
.NET Framework
Garbage collection
Language integration
Multiple versioning support
(no more DLL hell!)
Integrated security
.NET Framework
Common Language Runtime
.NET Framework
Base Class Library
Object-oriented collection of
reusable types
Collections, I/O, Strings,
.NET Framework
Data Access Layer
.NET Framework
ASP.NET & Windows Forms
Windows
Forms
.NET Framework
Programming Languages
C++
C#
VB.NET Perl
J#
ASP .NET
Web Forms Web Services
Mobile Internet Toolkit
Windows
Forms
.NET Framework
Common Language Specification
C++
VB
Common
Language
C#
Perl Specification
J#
ASP .NET
Windows
Forms
.NET Framework
Visual Studio .NET
C++
C#
VB
Perl
J#
ASP .NET
Web Forms Web Services
Mobile Internet Toolkit
.NET Framework
Standards Compliance
C++
C#
VB
Perl
J#
ASP .NET
Web Services Web Forms
Mobile Internet Toolkit
Open Language
Specification
Windows
Web services
Forms XML, SOAP-based
XML-based
data access
Threading
Memory management
No interpreter: JIT-compiler produces
native code during the program
installation or at run time
Role-based security
Managed Code
Object-oriented
Type-safe
Cross-language integration
Cross language exception handling
Multiple version support
Pointerless environment
Intermediate Language
10
11
Common Language
Specification (CLS)
.NET Languages
Third-parties languages
12
C# Language
C# Language Example
using System;
class HelloWorld
{
public static void main()
{
Console.WriteLine(Hello, world!);
}
}
13
Language
Compiler
Execution
Native
Code
Code
MSIL
Metadata
Also called
Assembly
(.EXE or
.DLL file)
Before
installation or
the first time
each method is
called
JIT
Compiler
Assemblies
14
Metadata in Assembly
Type Descriptions
Classes
Base classes
Implemented interfaces
Data members
Methods
Assembly Description
Name
Version
Culture
Other assemblies
Security Permissions
Exported Types
Applications
Using metadata
Local (preferred)
Global Assembly Cache (GAC)
15
Write code
Design user interface
Study documentation
Debug
Test
Deploy
16
Windows
Forms
17
UI
HtmlControls
Discovery
WebControls
System.WinForms
Design
Protocols
ComponentModel
System.Drawing
Caching
Security
Drawing2D
Printing
Configuration
SessionState
Imaging
Text
System.Data
System.Xml
ADO
SQL
XSLT
Design
SQLTypes
XPath
Serialization
System
Collections
IO
Security
Configuration
Net
ServiceProcess
Runtime
InteropServices
Diagnostics
Reflection
Text
Remoting
Globalization
Resources
Threading
Serialization
Security
Configuration
ServiceProcess
Diagnostics
Text
Globalization
Threading
IO
Runtime
InteropServices
Net
Reflection
Remoting
Resources
Serialization
18
SQLClient
Common
SQLTypes
System.Xml
XSLT
Serialization
XPath
19
20
ComponentModel
System.Drawing
Drawing2D
Printing
Imaging
Text
Windows Forms
21
Windows Forms
Advanced features
22
Demo
Windows Forms
ADO.NET
MS SQL Server
Visual Studio .NET
ASP.NET Namespaces
System.Web
Services
Description
UI
HtmlControls
Discovery
WebControls
Protocols
Caching
Security
Configuration
SessionState
23
ASP.NET
Framework for building Web applications and
Web services in any .NET language
ASP.NET
Data validation
Data bound grids
24
Summary
25
Summary (2)
Summary (3)
26