SlideShare a Scribd company logo
1 of 20
(CLR)Common language runtime:-
• CLR is provides a number of services that includes:-
– Loading and execution of programs
– Memory isolation for applications
– Verification of type safety
– Compilation of IL into native executable code
– Providing metadata
– Memory management
– Enforcement of security
– Interoperability with other system
– Managing exceptions and errors
• CLR ensures:
– A common runtime environment for all .NET languages
– Uses Common Type System (strict-type & code-verification)
– Memory allocation and garbage collection
– Intermediate Language (IL) to native code compiler. Which Compiles MSIL code into native
executable code
– Security and interoperability of the code with other languages
• Over 36 languages supported today
– C#, VB, Jscript, Visual C++ from Microsoft
– Perl, Python, Smalltalk, Cobol, Haskell, Mercury, Eiffel, Oberon, Oz, Pascal, APL, CAML, Scheme,
etc.
C# (pronounced C Sharp) developed by Microsoft Corporation, USA
New programming language that runs on the .NET Framework
C# is simple, modern, type safe, and object oriented
C# code is compiled as managed code
Combines the best features of Visual Basic, C++ and Java
FEATURE:
Simple
Modern
Object-Oriented
Type-safe
Version able
Compatible
Secure
Managed Code:-executed under the control of CLR, and use the .NET Framework libraries.
• CLR executed code is called managed code
• Represents programming code in the low level language MSIL (MS Intermediate Language)
• Contains metadata
– Description of classes, interfaces, properties, fields, methods, parameters, etc.
• Programs, written in any .NET language are
– Compiled to managed code (MSIL)
– Packaged as assemblies (.exe or .dll files)
• Object-oriented
• Secure
• Reliable Protected from irregular use of types (type-safe)
• Allows integration between components and data types of different programming languages
• Portable between different platforms
– Windows, Linux, Max OS X, etc.
Unmanaged (Win32) Code :-
does not execute under the CLR
No protection of memory and type-safety
– Reliability problems
– Safety problems
Doesn’t contain metadata
Needs additional overhead like (e.g. use COM)
Compiled to machine-dependent code
Need of different versions for different
platforms
Hard to be ported to other platforms
• Intermediate Language (IL)
• NET languages are not compiled to machine code. They are compiled to an Intermediate Language
(IL).
• CLR accepts the IL code and recompiles it to machine code. The recompilation is just-in-time (JIT)
meaning it is done as soon as a function or subroutine is called.
• The JIT code stays in memory for subsequent calls. In cases where there is not enough memory it is
discarded.
• Low level language (machine language) for the .NET CLR
• Has independent set of CPU instructions
1Loading and storing data, calling methods 2Arithmetic and logical operations3Exception handling Etc.
• MSIL is converted to instructions for the current physical CPU by the JIT compiler
• {{{{Sample MSIL Program}}}
Common Type System (CTS)
• CTS defines the CLR supported types of data and the operations over them
• Ensures data level compatibility between different .NET languages
– E.g. string in C# is the same like String in VB.NET and in J#
• Value types and reference types
• All types derive from System.Object
• 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 and IIS
– Strong support of Web services, WCF and WWF
Visual programming
– Component-oriented, event based
• Managed and unmanaged code
• Helpful wizards and editors
– Windows Forms Designer
– WCF / Silverlight Designer
– ASP.NET Web Forms Designer
– ADO.NET / LINQ-to-SQL / XML Data Designer
• Many third party extensions
ADO:-ADO stands for ActiveX Data Objects
ADO.NET is a database technology of .NET Framework used to connect application system and
database server
ADO.NET is a part of the .NET Framework
ADO.NET consists of a set of classes used to handle data access
• ADO.NET uses XML to store and transfer data among applications, which is not only an
industry standard but also provide fast access of data for desktop and distributed
applications.
• ADO.NET is scalable and interoperable.
• ADO.NET is a set of classes that expose data access services for .NET Framework
programmers. ADO.NET provides a rich set of components for creating distributed, data-
sharing applications. It is an integral part of the .NET Framework,.
components of ADO:-
1) Data Provider:
2) Data Reader:
3) Data Set:
4) Data Adapter:
ADO.NET provides a set of common components for accessing data:
1) Data Provider: Acts as a bridge between your application and a data source. Providers are
available for many popular databases, including SQL Server and Oracle. When a native provider is
unavailable for your data source, you use an Open Database Connectivity (ODBC) or Open Database
Connectivity database (OLE DB) provider to access your data source. Each.NET Framework Data Provider
offers a set of services for accessing data. See the following section for details on using data providers.
2)Data Reader: Provides forward-only access to a data source one row at a time by using
one of the .NET Framework Data Providers. See the section “Reading Data with Data Readers,”
later in this chapter. Data Readers are a service of the .NET Framework Data Providers. Data
Reader is listed separately here because it represents an important model for data access.
Data Sets are populated with Data Readers.
3)Data Set: Provides an in-memory cache of data that’s retrieved from a data source by
way of one of the .NET Framework Data Providers. See the section “Caching Data with Data
Sets,” later in this chapter.
4)Data Adapter: Data adapters are an integral part ofADO.NET managed providers,
which are the set of objects used to communicate between a data source and a dataset. (In
addition to adapters, managed providers include connection objects, data reader objects, and
command objects.)
BCL The Base Class Library
• The Base Class Library (BCL) is the core set of classes that serve as the basic API of the Common
Language Runtime. The classes in mscorlib.dll and some of the classes in System.dll and
System.core.dll are considered to be a part of the BCL. It includes the classes in namespaces like
System , System. Diagnostics , System. Globalization, System. Resources , System . Text , System
Runtime . Serialization and System . Data etc.
• BCL stands for Base class library also known as Class library (CL). BCL is a subset of Framework class
library (FCL). Class library is the collection of reusable types that are closely integrated with CLR. Base
Class library provides classes and types that are helpful in performing day to day operation e.g.
dealing with string and primitive types, database connection, IO operations.
FCL Framework Class Library:-
• The Framework Class Library (FCL) is a superset of the BCL classes and refers to the entire class library
that ships with .NET Framework. It includes an expanded set of libraries, including Windows Forms,
ADO.NET, ASP.NET, Language Integrated Query, Windows Presentation Foundation, Windows
Communication Foundation among others.
• while Framework class library contains thousands of classes used to build different types of
applications and provides all the basic functionalities and services that application needs. FCL includes
classes and services to support different variety of application e.g.
• Desktop application,
• Web application (ASP.Net, MVC, WCF),
• Mobile application,
• Xbox application,
• windows services etc
ASP.NET is an open-source server-side web application framework designed for web development to
produce dynamic web pages. ... ASP.NET is built on the Common Language Runtime (CLR), allowing
programmers to write ASP.NET code using any supported .NET language. It was developed by Microsoft to
allow programmers to build dynamic web sites, web applications and web services.
advantages of ASP.NET
1)Easy Programming Model 2)Flexible Language Options 3)Compiled Execution 4)Rich Output
Caching 5)Web-Farm Session State 6)Enhanced Reliability 7)Master Pages 8)Themes
9)Improved Security 10)Web Services
Characteristics of Asp . Net
1)Directives 2)User controls 3)Custom Controls 4)Rendering Techniques 5)State management
6)Application
7)Session state
1)Directives
A special instruction to process Asp. Net A directive is special instructions on how ASP.NET should
process the page.[11] The most common directive is <%@ Page %> which can specify many things,
such as which programming language is used for the server-side code.
2)User controls
• User Controls have encapsulations of page sections registered and used as controls in Asp . Net
• A user control is primarily a form made of any combination of server and client controls sewn
together with server and client script code.
• User controls have their own events which are handled during the life of ASP.NET requests.
3)Custom controls
• Custom controls are built by developers.
• They do not have an ASCX markup file
• They have all the code compiled into a dynamic link library (DLL) file
• Programmers can also build custom controls for ASP.NET applications. Such custom controls can be used
across multiple web applications and Visual Studio projects.
Characteristics of Asp . Net continuesssss
4)Rendering Techniques
• Asp . Net uses visited composite rendering technique
• During compilation, the template file is compiled into initialization code which builds a control tree
which is also called the composite. It represents the original template
• Literal text goes into instances of the Literal control class
• Server controls are represented by instances of a specific control class
• The initialization code is combined with user-written code resulting in exclusive class for a page
5)State management
• Asp . Net applications are hosted by a Web server and are accessed using the stateless HTTP protocol
• If an application uses stateful interaction, it has to implement state management on its own
• Asp . Net provides various functions for state management
• “State” is treated as GUI state.
• Problems may arise if an application needs to keep track of data of the states like transient states
6)Application
• Application state is held by a collection of shared user defined variables
• These are set and initialized when the Application OnStart event fires on the loading of the first
instance of the application and are available until the last instance exits
• Application state variables are accessed using the Applications collection, which provides a wrapper
for the application state
• Applications are identified by their names
7)Session state
• Server-side session state is held by a collection of user-defined session variables that are persistent during
user sessions
• These variables are unique to each session instance
• The variables can be set to be automatically destroyed after a defined time of inactivity even if the session
does not end and free various resources
• Client-side user session is maintained by either a cookie or by encoding the session ID in the URL
What is the .NET?
.NET (pronounced “dot net”) is a software component that runs on the Windows operating system.
• ‫٭‬. NET provides tools and libraries that enable developers to create Windows software much faster
and easier.
• ‫٭‬The .NET Framework must be installed on a user’s PC to run .NET applications.
• Programmers produce software by combining their source code with .NET Framework and other
libraries. The framework is intended to be used by most new applications created for the Windows
platform. Microsoft also produces an integrated development environment largely for .NET software
called Visual Studio.
• Net is a new framework for developing web-based and windows-based applications within the
Microsoft environment.
.NET Language ‫-:٭‬ .NET includes new object-oriented programming languages such as C#, Visual
Basic .NET, J# (a Java clone)
and Managed C++. These languages, plus other experimental languages like F#, all compile to the
Common Language Specification and can
• work together in the same application.
Components of .NET Architecture
Microsoft .NET consists of four major components:
1)Common Language Specification (CLS) – blue in the diagram
Below
2)Framework Class Library (FCL)
3)Common Language Runtime (CLR)‫٭‬
4).NET Tools
Components of .NET Architecture
1)Common Language Specification (CLS)
The CLS is a common platform that integrates code and components from multiple .NET programming
languages.
In other words, a .NET application can be written in multiple programming languages with no extra work
by the developer
2)Framework Class Library (FCL)
‫٭‬The FCL is a collection of over 7000 classes and data types that enable .NET applications to read and
write files, access
databases, process XML, display a graphical user interface,
draw graphics, use Web services, etc.
‫٭‬The FCL wraps much of the massive, complex Win32 API into more simple .NET objects that can be used
by C# and other .NET programming languages.
3)Common Language Runtime (CLR)‫٭‬
The CLR is the execution engine for .NET applications and serves as the interface between .NET
applications and the
operating system. The CLR provides many services such as:
Handles exceptions
Interfaces between managed code, COM objects, and DLLs
Provides type-checking
Provides code meta data (Reflection)
Provides profiling, debugging, etc.
• Components of .NET Architecture
4).NET Tools
• Visual Studio .NET is Microsoft’s flagship tool for developing Windows software.
• ‫٭‬Visual Studio provides an integrated development environment (IDE) for developers to create
standalone Windows
• applications, interactive Web sites, Web applications, and Web
• services running on any platform that supports .NET.
‫٭‬In addition, there are many .NET Framework tools designed to help developers create, configure, deploy,
manage and
• secure .NET applications and components.
History of Dot Net?
• Microsoft put their best men at work for a secret project called Next Generation
Windows Services (NGWS)., under the direct supervision of Mr. Bill Gates.
• Sometime in the July 2000, Microsoft announced a whole new software
development framework for Windows called .NET in the Professional Developer
Conference (PDC).
• Microsoft also released PDC version of the software for the developers to test.
• After initial testing and feedback Beta 1 of .NET was announced.
• Microsoft then announced Beta 2 after it incorporated many changes suggested
by the community into the software.
• Finally, in March 2002 Microsoft released final version of the .NET framework.
• What are static and dynamic websites?
• There are basically two main types of website -
static and dynamic. A static site is one that is usually
written in plain HTML and what is in the code of the
page is what is displayed to the user. Static" means
unchanged or constant, while "dynamic" means
changing or lively. Therefore, static Web pages
contain the same prebuilt content each time
the pageis loaded, while the content of dynamic
Web pages can be generated on-the-fly.
Standard HTML pages are static Web pages
• A dynamic site is one that is written using a server-
sidescripting language such as PHP, ASP, JSP,
or Coldfusion.

More Related Content

What's hot

What's hot (14)

DOT Net overview
DOT Net overviewDOT Net overview
DOT Net overview
 
Asp.net new
Asp.net newAsp.net new
Asp.net new
 
Net Framework overview
Net Framework overviewNet Framework overview
Net Framework overview
 
Net overview
Net overviewNet overview
Net overview
 
.Net Framework
.Net Framework.Net Framework
.Net Framework
 
.Net framework
.Net framework.Net framework
.Net framework
 
Best DotNet Training in Delhi
Best   DotNet Training  in DelhiBest   DotNet Training  in Delhi
Best DotNet Training in Delhi
 
Dotnet1
Dotnet1Dotnet1
Dotnet1
 
introasp_net-7364068.ppt
introasp_net-7364068.pptintroasp_net-7364068.ppt
introasp_net-7364068.ppt
 
Components of .NET Framework
Components of .NET FrameworkComponents of .NET Framework
Components of .NET Framework
 
.NET Framework 4.0 – Changes & Benefits
.NET Framework 4.0 – Changes & Benefits .NET Framework 4.0 – Changes & Benefits
.NET Framework 4.0 – Changes & Benefits
 
introaspnet-3030384.ppt
introaspnet-3030384.pptintroaspnet-3030384.ppt
introaspnet-3030384.ppt
 
Nakov - .NET Framework Overview - English
Nakov - .NET Framework Overview - EnglishNakov - .NET Framework Overview - English
Nakov - .NET Framework Overview - English
 
Microsoft .NET Framework
Microsoft .NET FrameworkMicrosoft .NET Framework
Microsoft .NET Framework
 

Similar to VB IMPORTANT QUESTION

Similar to VB IMPORTANT QUESTION (20)

NETOverview1ppt.pptx
NETOverview1ppt.pptxNETOverview1ppt.pptx
NETOverview1ppt.pptx
 
NETOverview1.ppt
NETOverview1.pptNETOverview1.ppt
NETOverview1.ppt
 
.Net framework
.Net framework.Net framework
.Net framework
 
.Net framework
.Net framework.Net framework
.Net framework
 
Presentation1.pptx
Presentation1.pptxPresentation1.pptx
Presentation1.pptx
 
.Net overview
.Net overview.Net overview
.Net overview
 
Microsoft .NET (dotnet) Framework 2003 - 2004 overview and web services…
Microsoft .NET (dotnet) Framework 2003 - 2004 overview and web services…Microsoft .NET (dotnet) Framework 2003 - 2004 overview and web services…
Microsoft .NET (dotnet) Framework 2003 - 2004 overview and web services…
 
.Net overviewrajnish
.Net overviewrajnish.Net overviewrajnish
.Net overviewrajnish
 
c#.pptx
c#.pptxc#.pptx
c#.pptx
 
.Net Introduction
.Net Introduction.Net Introduction
.Net Introduction
 
.Net overview
.Net overview.Net overview
.Net overview
 
ASP.Net Technologies Part-1
ASP.Net Technologies Part-1ASP.Net Technologies Part-1
ASP.Net Technologies Part-1
 
Inside .net framework
Inside .net frameworkInside .net framework
Inside .net framework
 
Net framework
 Net framework Net framework
Net framework
 
.Net overview
.Net overview.Net overview
.Net overview
 
.Net final year project in jalandhar
.Net final year project in jalandhar.Net final year project in jalandhar
.Net final year project in jalandhar
 
dot net final year project in jalandhar
dot net final year project in jalandhardot net final year project in jalandhar
dot net final year project in jalandhar
 
Net Fundamentals
Net FundamentalsNet Fundamentals
Net Fundamentals
 
Intro to Microsoft.NET
Intro to Microsoft.NET Intro to Microsoft.NET
Intro to Microsoft.NET
 
Dotnet framework
Dotnet frameworkDotnet framework
Dotnet framework
 

Recently uploaded

定制(CC毕业证书)美国美国社区大学毕业证成绩单原版一比一
定制(CC毕业证书)美国美国社区大学毕业证成绩单原版一比一定制(CC毕业证书)美国美国社区大学毕业证成绩单原版一比一
定制(CC毕业证书)美国美国社区大学毕业证成绩单原版一比一3sw2qly1
 
Denver Web Design brochure for public viewing
Denver Web Design brochure for public viewingDenver Web Design brochure for public viewing
Denver Web Design brochure for public viewingbigorange77
 
Sushant Golf City / best call girls in Lucknow | Service-oriented sexy call g...
Sushant Golf City / best call girls in Lucknow | Service-oriented sexy call g...Sushant Golf City / best call girls in Lucknow | Service-oriented sexy call g...
Sushant Golf City / best call girls in Lucknow | Service-oriented sexy call g...akbard9823
 
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call GirlVIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girladitipandeya
 
Git and Github workshop GDSC MLRITM
Git and Github  workshop GDSC MLRITMGit and Github  workshop GDSC MLRITM
Git and Github workshop GDSC MLRITMgdsc13
 
Chennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts serviceChennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts servicevipmodelshub1
 
VIP Kolkata Call Girl Alambazar 👉 8250192130 Available With Room
VIP Kolkata Call Girl Alambazar 👉 8250192130  Available With RoomVIP Kolkata Call Girl Alambazar 👉 8250192130  Available With Room
VIP Kolkata Call Girl Alambazar 👉 8250192130 Available With Roomdivyansh0kumar0
 
Complet Documnetation for Smart Assistant Application for Disabled Person
Complet Documnetation   for Smart Assistant Application for Disabled PersonComplet Documnetation   for Smart Assistant Application for Disabled Person
Complet Documnetation for Smart Assistant Application for Disabled Personfurqan222004
 
定制(Management毕业证书)新加坡管理大学毕业证成绩单原版一比一
定制(Management毕业证书)新加坡管理大学毕业证成绩单原版一比一定制(Management毕业证书)新加坡管理大学毕业证成绩单原版一比一
定制(Management毕业证书)新加坡管理大学毕业证成绩单原版一比一Fs
 
Russian Call Girls in Kolkata Ishita 🤌 8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Ishita 🤌  8250192130 🚀 Vip Call Girls KolkataRussian Call Girls in Kolkata Ishita 🤌  8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Ishita 🤌 8250192130 🚀 Vip Call Girls Kolkataanamikaraghav4
 
Gram Darshan PPT cyber rural in villages of india
Gram Darshan PPT cyber rural  in villages of indiaGram Darshan PPT cyber rural  in villages of india
Gram Darshan PPT cyber rural in villages of indiaimessage0108
 
Russian Call Girls in Kolkata Samaira 🤌 8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Samaira 🤌  8250192130 🚀 Vip Call Girls KolkataRussian Call Girls in Kolkata Samaira 🤌  8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Samaira 🤌 8250192130 🚀 Vip Call Girls Kolkataanamikaraghav4
 
VIP Kolkata Call Girls Salt Lake 8250192130 Available With Room
VIP Kolkata Call Girls Salt Lake 8250192130 Available With RoomVIP Kolkata Call Girls Salt Lake 8250192130 Available With Room
VIP Kolkata Call Girls Salt Lake 8250192130 Available With Roomgirls4nights
 
Russian Call girls in Dubai +971563133746 Dubai Call girls
Russian  Call girls in Dubai +971563133746 Dubai  Call girlsRussian  Call girls in Dubai +971563133746 Dubai  Call girls
Russian Call girls in Dubai +971563133746 Dubai Call girlsstephieert
 
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)Christopher H Felton
 
Call Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on Delivery
Call Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on DeliveryCall Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on Delivery
Call Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on Deliverybabeytanya
 

Recently uploaded (20)

sasti delhi Call Girls in munirka 🔝 9953056974 🔝 escort Service-
sasti delhi Call Girls in munirka 🔝 9953056974 🔝 escort Service-sasti delhi Call Girls in munirka 🔝 9953056974 🔝 escort Service-
sasti delhi Call Girls in munirka 🔝 9953056974 🔝 escort Service-
 
定制(CC毕业证书)美国美国社区大学毕业证成绩单原版一比一
定制(CC毕业证书)美国美国社区大学毕业证成绩单原版一比一定制(CC毕业证书)美国美国社区大学毕业证成绩单原版一比一
定制(CC毕业证书)美国美国社区大学毕业证成绩单原版一比一
 
Denver Web Design brochure for public viewing
Denver Web Design brochure for public viewingDenver Web Design brochure for public viewing
Denver Web Design brochure for public viewing
 
Sushant Golf City / best call girls in Lucknow | Service-oriented sexy call g...
Sushant Golf City / best call girls in Lucknow | Service-oriented sexy call g...Sushant Golf City / best call girls in Lucknow | Service-oriented sexy call g...
Sushant Golf City / best call girls in Lucknow | Service-oriented sexy call g...
 
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call GirlVIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
 
Git and Github workshop GDSC MLRITM
Git and Github  workshop GDSC MLRITMGit and Github  workshop GDSC MLRITM
Git and Github workshop GDSC MLRITM
 
Call Girls In South Ex 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SERVICE
Call Girls In South Ex 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SERVICECall Girls In South Ex 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SERVICE
Call Girls In South Ex 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SERVICE
 
Chennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts serviceChennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts service
 
VIP Kolkata Call Girl Alambazar 👉 8250192130 Available With Room
VIP Kolkata Call Girl Alambazar 👉 8250192130  Available With RoomVIP Kolkata Call Girl Alambazar 👉 8250192130  Available With Room
VIP Kolkata Call Girl Alambazar 👉 8250192130 Available With Room
 
Complet Documnetation for Smart Assistant Application for Disabled Person
Complet Documnetation   for Smart Assistant Application for Disabled PersonComplet Documnetation   for Smart Assistant Application for Disabled Person
Complet Documnetation for Smart Assistant Application for Disabled Person
 
Call Girls Service Dwarka @9999965857 Delhi 🫦 No Advance VVIP 🍎 SERVICE
Call Girls Service Dwarka @9999965857 Delhi 🫦 No Advance  VVIP 🍎 SERVICECall Girls Service Dwarka @9999965857 Delhi 🫦 No Advance  VVIP 🍎 SERVICE
Call Girls Service Dwarka @9999965857 Delhi 🫦 No Advance VVIP 🍎 SERVICE
 
定制(Management毕业证书)新加坡管理大学毕业证成绩单原版一比一
定制(Management毕业证书)新加坡管理大学毕业证成绩单原版一比一定制(Management毕业证书)新加坡管理大学毕业证成绩单原版一比一
定制(Management毕业证书)新加坡管理大学毕业证成绩单原版一比一
 
Russian Call Girls in Kolkata Ishita 🤌 8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Ishita 🤌  8250192130 🚀 Vip Call Girls KolkataRussian Call Girls in Kolkata Ishita 🤌  8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Ishita 🤌 8250192130 🚀 Vip Call Girls Kolkata
 
Gram Darshan PPT cyber rural in villages of india
Gram Darshan PPT cyber rural  in villages of indiaGram Darshan PPT cyber rural  in villages of india
Gram Darshan PPT cyber rural in villages of india
 
Russian Call Girls in Kolkata Samaira 🤌 8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Samaira 🤌  8250192130 🚀 Vip Call Girls KolkataRussian Call Girls in Kolkata Samaira 🤌  8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Samaira 🤌 8250192130 🚀 Vip Call Girls Kolkata
 
VIP Kolkata Call Girls Salt Lake 8250192130 Available With Room
VIP Kolkata Call Girls Salt Lake 8250192130 Available With RoomVIP Kolkata Call Girls Salt Lake 8250192130 Available With Room
VIP Kolkata Call Girls Salt Lake 8250192130 Available With Room
 
Model Call Girl in Jamuna Vihar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in  Jamuna Vihar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in  Jamuna Vihar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Jamuna Vihar Delhi reach out to us at 🔝9953056974🔝
 
Russian Call girls in Dubai +971563133746 Dubai Call girls
Russian  Call girls in Dubai +971563133746 Dubai  Call girlsRussian  Call girls in Dubai +971563133746 Dubai  Call girls
Russian Call girls in Dubai +971563133746 Dubai Call girls
 
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
 
Call Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on Delivery
Call Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on DeliveryCall Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on Delivery
Call Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on Delivery
 

VB IMPORTANT QUESTION

  • 1. (CLR)Common language runtime:- • CLR is provides a number of services that includes:- – Loading and execution of programs – Memory isolation for applications – Verification of type safety – Compilation of IL into native executable code – Providing metadata – Memory management – Enforcement of security – Interoperability with other system – Managing exceptions and errors • CLR ensures: – A common runtime environment for all .NET languages – Uses Common Type System (strict-type & code-verification) – Memory allocation and garbage collection – Intermediate Language (IL) to native code compiler. Which Compiles MSIL code into native executable code – Security and interoperability of the code with other languages • Over 36 languages supported today – C#, VB, Jscript, Visual C++ from Microsoft – Perl, Python, Smalltalk, Cobol, Haskell, Mercury, Eiffel, Oberon, Oz, Pascal, APL, CAML, Scheme, etc.
  • 2. C# (pronounced C Sharp) developed by Microsoft Corporation, USA New programming language that runs on the .NET Framework C# is simple, modern, type safe, and object oriented C# code is compiled as managed code Combines the best features of Visual Basic, C++ and Java FEATURE: Simple Modern Object-Oriented Type-safe Version able Compatible Secure
  • 3. Managed Code:-executed under the control of CLR, and use the .NET Framework libraries. • CLR executed code is called managed code • Represents programming code in the low level language MSIL (MS Intermediate Language) • Contains metadata – Description of classes, interfaces, properties, fields, methods, parameters, etc. • Programs, written in any .NET language are – Compiled to managed code (MSIL) – Packaged as assemblies (.exe or .dll files) • Object-oriented • Secure • Reliable Protected from irregular use of types (type-safe) • Allows integration between components and data types of different programming languages • Portable between different platforms – Windows, Linux, Max OS X, etc. Unmanaged (Win32) Code :- does not execute under the CLR No protection of memory and type-safety – Reliability problems – Safety problems Doesn’t contain metadata Needs additional overhead like (e.g. use COM) Compiled to machine-dependent code Need of different versions for different platforms Hard to be ported to other platforms
  • 4.
  • 5.
  • 6. • Intermediate Language (IL) • NET languages are not compiled to machine code. They are compiled to an Intermediate Language (IL). • CLR accepts the IL code and recompiles it to machine code. The recompilation is just-in-time (JIT) meaning it is done as soon as a function or subroutine is called. • The JIT code stays in memory for subsequent calls. In cases where there is not enough memory it is discarded. • Low level language (machine language) for the .NET CLR • Has independent set of CPU instructions 1Loading and storing data, calling methods 2Arithmetic and logical operations3Exception handling Etc. • MSIL is converted to instructions for the current physical CPU by the JIT compiler • {{{{Sample MSIL Program}}}
  • 7.
  • 8. Common Type System (CTS) • CTS defines the CLR supported types of data and the operations over them • Ensures data level compatibility between different .NET languages – E.g. string in C# is the same like String in VB.NET and in J# • Value types and reference types • All types derive from System.Object • 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 and IIS – Strong support of Web services, WCF and WWF Visual programming – Component-oriented, event based • Managed and unmanaged code • Helpful wizards and editors – Windows Forms Designer – WCF / Silverlight Designer – ASP.NET Web Forms Designer – ADO.NET / LINQ-to-SQL / XML Data Designer • Many third party extensions
  • 9. ADO:-ADO stands for ActiveX Data Objects ADO.NET is a database technology of .NET Framework used to connect application system and database server ADO.NET is a part of the .NET Framework ADO.NET consists of a set of classes used to handle data access • ADO.NET uses XML to store and transfer data among applications, which is not only an industry standard but also provide fast access of data for desktop and distributed applications. • ADO.NET is scalable and interoperable. • ADO.NET is a set of classes that expose data access services for .NET Framework programmers. ADO.NET provides a rich set of components for creating distributed, data- sharing applications. It is an integral part of the .NET Framework,. components of ADO:- 1) Data Provider: 2) Data Reader: 3) Data Set: 4) Data Adapter:
  • 10. ADO.NET provides a set of common components for accessing data: 1) Data Provider: Acts as a bridge between your application and a data source. Providers are available for many popular databases, including SQL Server and Oracle. When a native provider is unavailable for your data source, you use an Open Database Connectivity (ODBC) or Open Database Connectivity database (OLE DB) provider to access your data source. Each.NET Framework Data Provider offers a set of services for accessing data. See the following section for details on using data providers. 2)Data Reader: Provides forward-only access to a data source one row at a time by using one of the .NET Framework Data Providers. See the section “Reading Data with Data Readers,” later in this chapter. Data Readers are a service of the .NET Framework Data Providers. Data Reader is listed separately here because it represents an important model for data access. Data Sets are populated with Data Readers. 3)Data Set: Provides an in-memory cache of data that’s retrieved from a data source by way of one of the .NET Framework Data Providers. See the section “Caching Data with Data Sets,” later in this chapter. 4)Data Adapter: Data adapters are an integral part ofADO.NET managed providers, which are the set of objects used to communicate between a data source and a dataset. (In addition to adapters, managed providers include connection objects, data reader objects, and command objects.)
  • 11.
  • 12. BCL The Base Class Library • The Base Class Library (BCL) is the core set of classes that serve as the basic API of the Common Language Runtime. The classes in mscorlib.dll and some of the classes in System.dll and System.core.dll are considered to be a part of the BCL. It includes the classes in namespaces like System , System. Diagnostics , System. Globalization, System. Resources , System . Text , System Runtime . Serialization and System . Data etc. • BCL stands for Base class library also known as Class library (CL). BCL is a subset of Framework class library (FCL). Class library is the collection of reusable types that are closely integrated with CLR. Base Class library provides classes and types that are helpful in performing day to day operation e.g. dealing with string and primitive types, database connection, IO operations. FCL Framework Class Library:- • The Framework Class Library (FCL) is a superset of the BCL classes and refers to the entire class library that ships with .NET Framework. It includes an expanded set of libraries, including Windows Forms, ADO.NET, ASP.NET, Language Integrated Query, Windows Presentation Foundation, Windows Communication Foundation among others. • while Framework class library contains thousands of classes used to build different types of applications and provides all the basic functionalities and services that application needs. FCL includes classes and services to support different variety of application e.g. • Desktop application, • Web application (ASP.Net, MVC, WCF), • Mobile application, • Xbox application, • windows services etc
  • 13.
  • 14.
  • 15. ASP.NET is an open-source server-side web application framework designed for web development to produce dynamic web pages. ... ASP.NET is built on the Common Language Runtime (CLR), allowing programmers to write ASP.NET code using any supported .NET language. It was developed by Microsoft to allow programmers to build dynamic web sites, web applications and web services. advantages of ASP.NET 1)Easy Programming Model 2)Flexible Language Options 3)Compiled Execution 4)Rich Output Caching 5)Web-Farm Session State 6)Enhanced Reliability 7)Master Pages 8)Themes 9)Improved Security 10)Web Services Characteristics of Asp . Net 1)Directives 2)User controls 3)Custom Controls 4)Rendering Techniques 5)State management 6)Application 7)Session state 1)Directives A special instruction to process Asp. Net A directive is special instructions on how ASP.NET should process the page.[11] The most common directive is <%@ Page %> which can specify many things, such as which programming language is used for the server-side code. 2)User controls • User Controls have encapsulations of page sections registered and used as controls in Asp . Net • A user control is primarily a form made of any combination of server and client controls sewn together with server and client script code. • User controls have their own events which are handled during the life of ASP.NET requests. 3)Custom controls • Custom controls are built by developers. • They do not have an ASCX markup file • They have all the code compiled into a dynamic link library (DLL) file • Programmers can also build custom controls for ASP.NET applications. Such custom controls can be used across multiple web applications and Visual Studio projects.
  • 16. Characteristics of Asp . Net continuesssss 4)Rendering Techniques • Asp . Net uses visited composite rendering technique • During compilation, the template file is compiled into initialization code which builds a control tree which is also called the composite. It represents the original template • Literal text goes into instances of the Literal control class • Server controls are represented by instances of a specific control class • The initialization code is combined with user-written code resulting in exclusive class for a page 5)State management • Asp . Net applications are hosted by a Web server and are accessed using the stateless HTTP protocol • If an application uses stateful interaction, it has to implement state management on its own • Asp . Net provides various functions for state management • “State” is treated as GUI state. • Problems may arise if an application needs to keep track of data of the states like transient states 6)Application • Application state is held by a collection of shared user defined variables • These are set and initialized when the Application OnStart event fires on the loading of the first instance of the application and are available until the last instance exits • Application state variables are accessed using the Applications collection, which provides a wrapper for the application state • Applications are identified by their names 7)Session state • Server-side session state is held by a collection of user-defined session variables that are persistent during user sessions • These variables are unique to each session instance • The variables can be set to be automatically destroyed after a defined time of inactivity even if the session does not end and free various resources • Client-side user session is maintained by either a cookie or by encoding the session ID in the URL
  • 17. What is the .NET? .NET (pronounced “dot net”) is a software component that runs on the Windows operating system. • ‫٭‬. NET provides tools and libraries that enable developers to create Windows software much faster and easier. • ‫٭‬The .NET Framework must be installed on a user’s PC to run .NET applications. • Programmers produce software by combining their source code with .NET Framework and other libraries. The framework is intended to be used by most new applications created for the Windows platform. Microsoft also produces an integrated development environment largely for .NET software called Visual Studio. • Net is a new framework for developing web-based and windows-based applications within the Microsoft environment. .NET Language ‫-:٭‬ .NET includes new object-oriented programming languages such as C#, Visual Basic .NET, J# (a Java clone) and Managed C++. These languages, plus other experimental languages like F#, all compile to the Common Language Specification and can • work together in the same application. Components of .NET Architecture Microsoft .NET consists of four major components: 1)Common Language Specification (CLS) – blue in the diagram Below 2)Framework Class Library (FCL) 3)Common Language Runtime (CLR)‫٭‬ 4).NET Tools
  • 18. Components of .NET Architecture 1)Common Language Specification (CLS) The CLS is a common platform that integrates code and components from multiple .NET programming languages. In other words, a .NET application can be written in multiple programming languages with no extra work by the developer 2)Framework Class Library (FCL) ‫٭‬The FCL is a collection of over 7000 classes and data types that enable .NET applications to read and write files, access databases, process XML, display a graphical user interface, draw graphics, use Web services, etc. ‫٭‬The FCL wraps much of the massive, complex Win32 API into more simple .NET objects that can be used by C# and other .NET programming languages. 3)Common Language Runtime (CLR)‫٭‬ The CLR is the execution engine for .NET applications and serves as the interface between .NET applications and the operating system. The CLR provides many services such as: Handles exceptions Interfaces between managed code, COM objects, and DLLs Provides type-checking Provides code meta data (Reflection) Provides profiling, debugging, etc.
  • 19. • Components of .NET Architecture 4).NET Tools • Visual Studio .NET is Microsoft’s flagship tool for developing Windows software. • ‫٭‬Visual Studio provides an integrated development environment (IDE) for developers to create standalone Windows • applications, interactive Web sites, Web applications, and Web • services running on any platform that supports .NET. ‫٭‬In addition, there are many .NET Framework tools designed to help developers create, configure, deploy, manage and • secure .NET applications and components. History of Dot Net? • Microsoft put their best men at work for a secret project called Next Generation Windows Services (NGWS)., under the direct supervision of Mr. Bill Gates. • Sometime in the July 2000, Microsoft announced a whole new software development framework for Windows called .NET in the Professional Developer Conference (PDC). • Microsoft also released PDC version of the software for the developers to test. • After initial testing and feedback Beta 1 of .NET was announced. • Microsoft then announced Beta 2 after it incorporated many changes suggested by the community into the software. • Finally, in March 2002 Microsoft released final version of the .NET framework.
  • 20. • What are static and dynamic websites? • There are basically two main types of website - static and dynamic. A static site is one that is usually written in plain HTML and what is in the code of the page is what is displayed to the user. Static" means unchanged or constant, while "dynamic" means changing or lively. Therefore, static Web pages contain the same prebuilt content each time the pageis loaded, while the content of dynamic Web pages can be generated on-the-fly. Standard HTML pages are static Web pages • A dynamic site is one that is written using a server- sidescripting language such as PHP, ASP, JSP, or Coldfusion.