3. So what is .NET?
The .Net
Microsoft's platform for
software development
Unified technology for
development of almost
any kind of applications.
4. What is .Net Framework?
.Net Framework
Programming model for .NET
Developing and executing .NET applications
Unified programming model, set of
languages, class
libraries, infrastructure, components and tools for
application development
Environment for controlled execution of managed
code
5. Components of .Net Framework
Common Language Runtime (CLR)
• Garbage collection
• Language integration
• Multiple versioning support
• Integrated security
Framework Class Library (FCL)
• Provides the core functionality:
ASP.NET, Web Services, ADO.NET, Windows
Forms, IO, XML, etc.
User and Program Interface
6. .Net Framework
Common Language Runtime
• CLR manages code execution at
runtime
• Memory management, thread
management, etc.
Common Language Runtime
Operating System
7. .Net Framework
Base Class Library
• Object-oriented collection of reusable
types
• Collections, I/O, Strings, …
.NET Framework (Base Class Library)
Common Language Runtime
Operating System
8. .Net Framework
Data Access Layer
• Access relational databases
• Disconnected data model
• Work with XML
ADO .NET and XML
.NET Framework (Base Class Library)
Common Language Runtime
Operating System
9. .Net Framework
ASP.NET & Windows Forms
• Create application’s front-end – Web-
based user interface, Windows
GUI, Web services, …
ASP .NET Windows
Web Forms Web Services
Forms
Mobile Internet Toolkit
ADO .NET and XML
.NET Framework (Base Class Library)
Common Language Runtime
Operating System
10. .Net Framework
Programming Languages
• Use you favorite language
C++ C# VB.NET Perl J# …
ASP .NET Windows
Web Forms Web Services
Forms
Mobile Internet Toolkit
ADO .NET and XML
.NET Framework (Base Class Library)
Common Language Runtime
Operating System
11. .Net Framework
Common Language Specification
C++ Common Language Specification…
C# VB Perl J#
ASP .NET Windows
Web Forms Web Services
Forms
Mobile Internet Toolkit
ADO .NET and XML
.NET Framework (Base Class Library)
Common Language Runtime
Operating System
12. .Net Framework
Visual Studio .NET
C++ C# VB Perl J# …
Common Language Specification
Visual Studio .NET
ASP .NET Windows
Web Forms Web Services
Forms
Mobile Internet Toolkit
ADO .NET and XML
.NET Framework (Base Class Library)
Common Language Runtime
Operating System
14. Common Language Runtime(CLR)
Essential components
Service provider -
Code compilation
• Known as Just In Time (JIT) compilation
Memory allocation
Garbage collection
Something like virtual machine
Like the Java Virtual Machine (JVM)
allows the execution of code across different
platforms.
15. Responsibilities of CLR
Execution of the IL code and the JIT
compilation
Code Verification
Ensuring type safety
Interaction with the OS
Managing security
• Code access security
Garbage Collection
17. .NET Languages
.NET languages by Microsoft
• C#, VB.NET, Managed C++, J#, F#, JScript
.NET languages by third parties
• Object
Pascal, Perl, Python, COBOL, Haskell, Oberon
, Scheme, Smalltalk…
Different languages can be mixed in a single
application
18. C# Language – Example
Mixture between C++, Java and Delphi
C# is standardized by ECMA and ISO
Example of C# program:
using System;
class NumbersFrom1to100
{
static void Main()
{
for (int i=1; i<=100; i++)
{
Console.WriteLine(i);
}
}
}
19. .NET framework Security
The .NET Framework provides several mechanisms for
protecting resources and code from unauthorized code and
users.
The security architecture of the .NET Framework is
composed of a number of core elements, including:
• Evidence-based security
• Code access security
• The verification process
• Role-based security
• Cryptography
• Application Domains
21. Visual Studio
Visual Studio is powerful Integrated Development
Environment (IDE) for .NET Developers
• Create, edit, compile and run .NET applications
• Different languages – C#, C++, VB.NET, J#, …
• Flexible code editor
• Powerful debugger
• Integrated with SQL Server
• Strong support of Web services.
22. Visual Studio
Helpful wizards and editors
• Windows Forms Designer
• WCF (Windows Communication Foundation)
• ASP.NET Web Forms Designer
• ADO.NET / LINQ-to-SQL / XML Data Designer
23. ADO.NET
ADO.NET is a data access programming model
for accessing the data stored in a database
from a .NET application.
The ADO.NET object model consists of two
main components-
• data provider
• dataset
24. ADO.NET
The Main features of ADO.NET are:
• Disconnected data architecture
• Data cached in datasets
• Scalability
• Data transfer in XML format
25. ASP.NET
Platform for building Web applications and Web
services in any .NET language
o C#, C++, VB.NET, JScript, etc.
Automatic multiple clients support
o DHTML, HTML, small devices . . .
Multi Device and Multi Browser
Separation of code and content
o Developers and designers can work independently
26. ASP.NET Web Forms
Web Froms:
Pages that users request through their
browser.
Combination of HTML, server controls, and
server code.
Powerful data binding, with great tool
support.
Easy to start, develop, and deploy
27. Windows Presentation Foundation(WPF)
WPF is actually a new framework introduced with
.NET framework 3.0 which actually puts forward
a new set of classes and assemblies which allow
us to write programs more efficiently and
flexibly.
WPF controls makes smooth drawing in the form.
Helps in customizing controls and modifying their
behaviors.
28. Windows Communication Foundation(WCF)
WCF is a unified communication framework
for distributed applications.
WCF defines a common programming model
and unified API for clients and services to
send messages between each other.
WCF is the current and future standard for
distributed .Net applications.
30. For More Details visit following web sites:
.NET Framework Home Site –
http://msdn.microsoft.com/netframework/
The Microsoft .NET Framework Community
http://www.gotdotnet.com/
ASP.NET – http://www.asp.net/
.NET Windows Forms – http://www.windowsforms.net/
Read the news groups:
news://msnews.microsoft.com/microsoft.public.dotnet.fr
amework