dotnet- an overview of asp.net & ado.net- mazenet solution
TRANSCRIPT
NAME: KATHIRESH G
MOBILE: 9677718889
www.mazenet-chennai.in
www.mazenetsolution.com
this webinar can be found in www.mazenet-chennai.in/net-event
ASP .NET
• Asp.net is a web application framework developed by Microsoft.
• Why Asp.net ??
• The Asp.net written in any of the languages below
• C#
• Vb.net
• J#
• F#
• What asp.net project contains???
Asp.net Life cycle
• There are two groups of life cycle
• Application life cycle
• Page Life cycle
• What is application life cycle ??
• What is the use in application life cycle ???
• Application life is uses resources of the application.
• The object of the class is created in application manager.
• The application objects such as • HTTPCONTEXT
• HTTPREQUEST
• HTTPRESPONSE
Asp.net page life cycle
• What is page life cycle???
• Page life cycle stages is • Page request
• Starting of page life cycle
• Page initialization
• Page load
• Validation
• Post back event handling
• Page rendering
• Unload
• The page life cycle events will be there for creating web application.
Asp.net Global .ascx
• How many global .ascx asp.net project contains???
• In Global .asax file important application events and session events
• Application _start
• Application _end
• Session _start
• Session _end
State management
• when preserves the data across the response and request is called state management.
• There are two types of state management• Client side state management.
• Server side state management
Client side state management
• There are four types of client side state management
• View state
• Query string
• Cookie
• Hidden field
• Control state
• The client side state management maintain the data across the request forms.
Server side state management
• There are two types of server side state management
• Session state
•Application state
Session management
• Session is maintain the data across the forms is called as session
• Uniquely identify browser or client-device requests and map them to individual session instances on the server.
• Raise appropriate session management events. In addition, you can write application code leveraging these events.
• ASP.NET session state supports several different storage options for session data
Advantages of client side
Better Scalability» Web site has hundreds or thousands of
simultaneous users, the memory consumed by storing state management information can become a limiting factor
Advantages of server side
• Better security
–Client side information can be hacked but server side cannot be hacked
• Reduced bandwidth– Reduction of bandwidth can very helpful to mobile
user because they often very slow internet connection
Validation controls
• Why we use validation ???
Validation controls are used to:• Implement presentation logic.
• To validate user input data.
• Data format, data type and data range is used for validation.
Validation is two types » Client side
» Server side
Validation Controls in ASP.NET
• There are six types of validation controls in asp.net
• Required Field Validation Control
• Compare Validator Control
• Range Validator Control
• Regular ExpressionValidator Control
• CustomValidator Control
• Validation Summary
NAVIGATION CONTROLS
• There are three types of navigation controls in asp.net
• Sitemap path
• Tree view
• Dynamic menu
Sitemap path
• The SiteMap Path control is used to add a site map (breadcrumbs) to the website.
• A site map is a way to present all folders and pages of the website.
• <asp:SiteMapPath runat="Server" ID="SiteMapPath1" BorderWidth="1" BorderStyle="Double" BorderColor="BurlyWood"> </asp:SiteMapPath>
Tree View
• It is used to display the hierarchical data in tree view format. It also supports dynamic population of the node on demand without page refresh.
• <asp:TreeView ID="TreeView1" runat="Server" DataSourceID="SiteMapDataSource1" ImageSet="Simple" ExpandDepth="1"> <ParentNodeStyle Font-Bold="False" /> <HoverNodeStyle Font-Underline="True" ForeColor="#5555DD" /> <SelectedNodeStyle Font-Underline="True" ForeColor="#5555DD" HorizontalPadding="0px" VerticalPadding="0px" /> <NodeStyle Font-Names="Tahoma" Font-Size="10pt" ForeColor="Black" HorizontalPadding="0px" NodeSpacing="0px" VerticalPadding="0px" /> </asp:TreeView>
MENU
• The Menu control is used to create a menu of hierarchical data that can be used to navigate through the pages
• There are types of menu items
• Static menu
• Dynamic menu
ADO.NET
• ADO.NET provides a bridge between the frontend controls and the back end database.
• There are two types of architecture
• Connected architecture
• Disconnected Architecture
DATA PROVIDERS
Connection- Connect to the DatabaseCommand -Prepare an SQL CommandData Reader- Execute the command
Data Adapter- this is also execute command
Different .NET Data Providers
• Data Provider for SQL Server - System.Data.SqlClientData Provider for Oracle - System.Data.OracleClientData Provider for OLEDB - System.Data.OleDbData Provider for ODBC - System.Data.Odbc
.NET Training in Chennai
Mazenet Solution provides excellent IT infrastructure, along with a detailed syllabus to gather and enrich your knowledge .NET
Call - 9894303344 to know more about the best offers available and time slots that fit your convenience