SlideShare a Scribd company logo
DOT NET
FRAMEWORK
AND CONTROLS
A Programme Under the Compumitra Education Series
OUTLINE
• Concept of Dot Net Framework?
• Dot Net Framework Concept Vs
Java Concept
• Concept and purpose of Controls.
• Types of Controls
• HTML Server Controls
• Webforms ServerControls
• Validation Controls
• Other Controls
• DOT NET FRAMEWORK is an add-on
software over the operating system.
• It provides the library of software
functions (Called Classes) that can be
called from the application software to
get the desired functionality.
• It provides a unique feature to support
multiple language such as C#,
Visual Basic and many more by
providing compilation facilities for them.
• It provides compilation of user’s
application to an intermediate language
(Common Intermediate Language –
CIL) so that it is largely platform
independent.
Concept of DOT NET Framework - 1
Hardware
Operating System
Dot Net Framework
Application Code
CIL
M/C L
• By itself it follows a layered architecture to
provide various services.
• Common Language Runtime (CLR) to
understand the CIL, memory management,
security and exceptions.
• Base Class Library (BCL) to provide the basic
functionality of User Interface, Data Access,
Algorithms, Networking etc.
• WinForms for forms provided by console
applications or single machine applications.
• ASP.Net for web related functionality.
• ADO.NET for database access related
functionality.
• More components have been added in
recent releases of this stack that shall be
discussed in the advanced courses.
DOT NET Framework Stack
Common Language Runtime
Base Class Library
Win
Forms
ASP
.NET
ADO
.NET
DOT NET Framework Stack
• Concept of DOT Net is quite similar to Java Virtual Machine
Concept. The primary difference however was to focus on
language independence rather than platform independence.
DOT NET Framework Vs. Java
Hardware
MS Operating System
Dot Net Framework
Any Language
Application Code
CIL
M/C L
Hardware
Any Operating System
Java Virtual Machine
Java
Application Code
Bytecode
M/C L
Microsoft Dot Net Sun Java
Concept and Purpose of Controls
• Controls are prewritten library classes provided by the
language for providing predefined parameters to be
handled by them.
• Controls ease-up many day to day tasks for a
programmer. For e.g. a Text Box defines a predefined
area with predefined font and colors etc to enter some
text by the application user. What can be further
configured by a programmer in a control is also defined.
• Most common user interfaces are designed using forms
that are full of controls like Label, Text Box, Check Box,
Radio Control, Button, Text Area, Selection List Etc.
• Controls are also the most common components that a
programmers deal in day to day life.
• Concept of controls can be further extended to custom
defined logic building, such one may find a control to
convert Centigrade to Fahrenheit
• The main controls provided by
ASP.NET are:
– HTML Server Controls
– Webforms Server Controls
– Validation Controls
• In the advanced sections we shall
also see that ASP.NET provides a
facility of creating User’s own control
by using any combination of current
controls or completely a new control.
Major Types of ASP.NET Controls
We shall try to focus on server end controls. Client end controls are
basically provided by HTML syntax itself.
• These controls are similar in construct with the regular HTML
style forms features. The main difference is however that
these controls are interpreted and converted at the server
end itself.
• For e.g.
<a id="link1" runat="server">Visit Sunmitra Site</a>
would be an HTML Server control while
<a href=www.sunmitra.com>Visit Sunmitra Site</a>
would be an regular HTML syntax.
• In first case the id and runat attribute relate to running it at
server end and thus href declaration will also be made
separately in the programme code.
• Other HTML server controls are for button, checkbox,
radiobutton, image, table,textarea etc.
HTML Server Controls
• These controls are exclusively defined by ASP.NET library
only.
• Things like AdRotator, Calendar, Datalist, ListBox, XML,
Imagebutton and extended forms of Table, CheckBox,
Radiobutton etc are classified here.
• Here ASP.NET designers have taken full liberty to design
their own set of attributes that may be quite different from
HTML syntax.
• These controls provide the real power to web-based forms
designing.
• Remember that even these controls will finally be depicted
on the web browser side using standard HTML syntax only.
Webforms Server Controls
• These controls provide an easy way for form entry validations that was earlier
required to be provided by client side programming such as javascript etc.
• For e.g. syntax like below
<asp:RangeValidator
ControlToValidate="tbox1"
MinimumValue="1"
MaximumValue=“60"
Type="Integer"
Text="The value must be from 1 to 60!"
runat="server" />
Can validate that a user fills the value between 1 to 60 only.
• Actually a validation control is a neat way to tell the server to automatically
add the required client side script (usually the javascript) before sending the
data towards the browser.
• The validation control is powerful as it is efficient and saves a lot of server time
to check petty things that can be done at the client end itself.
Validation Controls
Other Controls
• There is a big range of other controls that are
available free or paid from 3rd party developers.
• These include things like
– Colour selection.
– Multiline Text Editing.
– Image Editing.
– Progressbar
– Tickers.
– Imagecombobox.
– Map Controls.
– Mediaplayer controls.
– Popupmenus.
– Graph Displays etc.
• Ask and guide me at
sunmitraeducation@gmail.com
• Share this information with as
many people as possible.
• Keep visiting www.sunmitra.com
for programme updates.

More Related Content

PPTX
Next-gen Automation Framework
PPTX
Client control
PPTX
Asp.net validation
PPT
Automation Techniques In Documentation
PPT
PDF
@Your wish presentation (Guest Response Management)
PPTX
Good vs power automation frameworks
Next-gen Automation Framework
Client control
Asp.net validation
Automation Techniques In Documentation
@Your wish presentation (Guest Response Management)
Good vs power automation frameworks

Similar to Dotnet Frame Work and Controls (20)

PPT
introasp_net-7364068.ppt
PPT
introasp_net-6563550.ppt
PPT
introaspnet-3030384.ppt
PPT
introaspnet-5856912.ppt
PPT
PPT
PPT
This is the introduction to Asp.Net Using C# Introduction Variables State Man...
PPT
INTRODUCTION TO ASP.NET COMPLETE MATERIALCOURSE
PPT
Introduction to ASP.net. It provides basic introduction
PPT
introaspnet.ppt
PPT
introaspnet.ppt
PPT
introaspnetkjadbfksdjkfaskjdbfkajsbfkjfjkswa.ppt
PPTX
Tech presentation (part 1)
PPTX
Intro to Microsoft.NET
PPTX
Introduction to asp
PDF
Effective admin and development in iib
PPTX
Lecture slides_Introduction to ASP.NET presentation
PPTX
Methodologies and flows for chip design
PPTX
Visual Basic User Interface-III
introasp_net-7364068.ppt
introasp_net-6563550.ppt
introaspnet-3030384.ppt
introaspnet-5856912.ppt
This is the introduction to Asp.Net Using C# Introduction Variables State Man...
INTRODUCTION TO ASP.NET COMPLETE MATERIALCOURSE
Introduction to ASP.net. It provides basic introduction
introaspnet.ppt
introaspnet.ppt
introaspnetkjadbfksdjkfaskjdbfkajsbfkjfjkswa.ppt
Tech presentation (part 1)
Intro to Microsoft.NET
Introduction to asp
Effective admin and development in iib
Lecture slides_Introduction to ASP.NET presentation
Methodologies and flows for chip design
Visual Basic User Interface-III
Ad

More from sunmitraeducation (20)

PPTX
Java Introduction
PPTX
Installing JDK and first java program
PPTX
Project1 VB
PPTX
Project1 CS
PPTX
Grid Vew Control VB
PPTX
Grid View Control CS
PPTX
PPTX
Database Basics Theory
PPTX
Visual Web Developer and Web Controls VB set 3
PPTX
Visual Web Developer and Web Controls CS set 3
PPTX
Progamming Primer Polymorphism (Method Overloading) VB
PPTX
Programming Primer EncapsulationVB
PPTX
Programming Primer Encapsulation CS
PPTX
Programming Primer Inheritance VB
PPTX
Programming Primer Inheritance CS
PPTX
ProgrammingPrimerAndOOPS
PPTX
Web Server Controls VB Set 1
PPTX
Web Server Controls CS Set
PPTX
Web Controls Set-1
PPTX
Understanding IDEs
Java Introduction
Installing JDK and first java program
Project1 VB
Project1 CS
Grid Vew Control VB
Grid View Control CS
Database Basics Theory
Visual Web Developer and Web Controls VB set 3
Visual Web Developer and Web Controls CS set 3
Progamming Primer Polymorphism (Method Overloading) VB
Programming Primer EncapsulationVB
Programming Primer Encapsulation CS
Programming Primer Inheritance VB
Programming Primer Inheritance CS
ProgrammingPrimerAndOOPS
Web Server Controls VB Set 1
Web Server Controls CS Set
Web Controls Set-1
Understanding IDEs
Ad

Recently uploaded (20)

PDF
Encapsulation theory and applications.pdf
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
sap open course for s4hana steps from ECC to s4
PDF
Review of recent advances in non-invasive hemoglobin estimation
PPTX
Programs and apps: productivity, graphics, security and other tools
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
Electronic commerce courselecture one. Pdf
PPTX
Machine Learning_overview_presentation.pptx
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Machine learning based COVID-19 study performance prediction
PDF
Unlocking AI with Model Context Protocol (MCP)
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Encapsulation theory and applications.pdf
Agricultural_Statistics_at_a_Glance_2022_0.pdf
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Diabetes mellitus diagnosis method based random forest with bat algorithm
Digital-Transformation-Roadmap-for-Companies.pptx
Chapter 3 Spatial Domain Image Processing.pdf
Spectral efficient network and resource selection model in 5G networks
Advanced methodologies resolving dimensionality complications for autism neur...
sap open course for s4hana steps from ECC to s4
Review of recent advances in non-invasive hemoglobin estimation
Programs and apps: productivity, graphics, security and other tools
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Electronic commerce courselecture one. Pdf
Machine Learning_overview_presentation.pptx
Encapsulation_ Review paper, used for researhc scholars
Machine learning based COVID-19 study performance prediction
Unlocking AI with Model Context Protocol (MCP)
The AUB Centre for AI in Media Proposal.docx
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Profit Center Accounting in SAP S/4HANA, S4F28 Col11

Dotnet Frame Work and Controls

  • 1. DOT NET FRAMEWORK AND CONTROLS A Programme Under the Compumitra Education Series
  • 2. OUTLINE • Concept of Dot Net Framework? • Dot Net Framework Concept Vs Java Concept • Concept and purpose of Controls. • Types of Controls • HTML Server Controls • Webforms ServerControls • Validation Controls • Other Controls
  • 3. • DOT NET FRAMEWORK is an add-on software over the operating system. • It provides the library of software functions (Called Classes) that can be called from the application software to get the desired functionality. • It provides a unique feature to support multiple language such as C#, Visual Basic and many more by providing compilation facilities for them. • It provides compilation of user’s application to an intermediate language (Common Intermediate Language – CIL) so that it is largely platform independent. Concept of DOT NET Framework - 1 Hardware Operating System Dot Net Framework Application Code CIL M/C L
  • 4. • By itself it follows a layered architecture to provide various services. • Common Language Runtime (CLR) to understand the CIL, memory management, security and exceptions. • Base Class Library (BCL) to provide the basic functionality of User Interface, Data Access, Algorithms, Networking etc. • WinForms for forms provided by console applications or single machine applications. • ASP.Net for web related functionality. • ADO.NET for database access related functionality. • More components have been added in recent releases of this stack that shall be discussed in the advanced courses. DOT NET Framework Stack Common Language Runtime Base Class Library Win Forms ASP .NET ADO .NET DOT NET Framework Stack
  • 5. • Concept of DOT Net is quite similar to Java Virtual Machine Concept. The primary difference however was to focus on language independence rather than platform independence. DOT NET Framework Vs. Java Hardware MS Operating System Dot Net Framework Any Language Application Code CIL M/C L Hardware Any Operating System Java Virtual Machine Java Application Code Bytecode M/C L Microsoft Dot Net Sun Java
  • 6. Concept and Purpose of Controls • Controls are prewritten library classes provided by the language for providing predefined parameters to be handled by them. • Controls ease-up many day to day tasks for a programmer. For e.g. a Text Box defines a predefined area with predefined font and colors etc to enter some text by the application user. What can be further configured by a programmer in a control is also defined. • Most common user interfaces are designed using forms that are full of controls like Label, Text Box, Check Box, Radio Control, Button, Text Area, Selection List Etc. • Controls are also the most common components that a programmers deal in day to day life. • Concept of controls can be further extended to custom defined logic building, such one may find a control to convert Centigrade to Fahrenheit
  • 7. • The main controls provided by ASP.NET are: – HTML Server Controls – Webforms Server Controls – Validation Controls • In the advanced sections we shall also see that ASP.NET provides a facility of creating User’s own control by using any combination of current controls or completely a new control. Major Types of ASP.NET Controls We shall try to focus on server end controls. Client end controls are basically provided by HTML syntax itself.
  • 8. • These controls are similar in construct with the regular HTML style forms features. The main difference is however that these controls are interpreted and converted at the server end itself. • For e.g. <a id="link1" runat="server">Visit Sunmitra Site</a> would be an HTML Server control while <a href=www.sunmitra.com>Visit Sunmitra Site</a> would be an regular HTML syntax. • In first case the id and runat attribute relate to running it at server end and thus href declaration will also be made separately in the programme code. • Other HTML server controls are for button, checkbox, radiobutton, image, table,textarea etc. HTML Server Controls
  • 9. • These controls are exclusively defined by ASP.NET library only. • Things like AdRotator, Calendar, Datalist, ListBox, XML, Imagebutton and extended forms of Table, CheckBox, Radiobutton etc are classified here. • Here ASP.NET designers have taken full liberty to design their own set of attributes that may be quite different from HTML syntax. • These controls provide the real power to web-based forms designing. • Remember that even these controls will finally be depicted on the web browser side using standard HTML syntax only. Webforms Server Controls
  • 10. • These controls provide an easy way for form entry validations that was earlier required to be provided by client side programming such as javascript etc. • For e.g. syntax like below <asp:RangeValidator ControlToValidate="tbox1" MinimumValue="1" MaximumValue=“60" Type="Integer" Text="The value must be from 1 to 60!" runat="server" /> Can validate that a user fills the value between 1 to 60 only. • Actually a validation control is a neat way to tell the server to automatically add the required client side script (usually the javascript) before sending the data towards the browser. • The validation control is powerful as it is efficient and saves a lot of server time to check petty things that can be done at the client end itself. Validation Controls
  • 11. Other Controls • There is a big range of other controls that are available free or paid from 3rd party developers. • These include things like – Colour selection. – Multiline Text Editing. – Image Editing. – Progressbar – Tickers. – Imagecombobox. – Map Controls. – Mediaplayer controls. – Popupmenus. – Graph Displays etc.
  • 12. • Ask and guide me at sunmitraeducation@gmail.com • Share this information with as many people as possible. • Keep visiting www.sunmitra.com for programme updates.