1 / 23

CONTENT

CONTENT. INTRODUCTION ON ASP WORKING FEATURES APPLICATION WEB SERVER CONTROL VALIDATION SERVER CONTOLS LOGIN CONTROLS DATA BASE CONNECTIVITY DATA SOURCE CONTROL CONCLUSION. Introduction to ASP.NET.

zuwena
Download Presentation

CONTENT

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CONTENT • INTRODUCTION ON ASP • WORKING • FEATURES • APPLICATION • WEB SERVER CONTROL • VALIDATION SERVER CONTOLS • LOGIN CONTROLS • DATA BASE CONNECTIVITY • DATA SOURCE CONTROL • CONCLUSION

  2. Introduction to ASP.NET ASP.NET is a part of the Microsoft .NET framework, developed by Microsoft, and is a powerful tool for creating dynamic and interactive web pages ASP.NET is a successor of Microsoft’s ASP technology ASP.NET is built on the Common Language Runtime(CLR), allowing programmers to write ASP.NET code using any supported .NET language

  3. .NET Framework

  4. What is ASP.NET? ASP.NET is a server side scripting technology that enables scripts (embedded in web pages) to be executed by an Internet server ASP stands for Active Server Pages ASP.NET file runs inside IIS IIS (Internet Information Server) is Microsoft's Internet server

  5. How Does ASP.NET Work? When a browser requests an ASP.NET file, IIS retrieves the ASP.NET file, forward it to ASP.NET script engine The ASP.NET script engine reads the file, line by line, and executes the scripts in the file The processed ASP.NET file is generated as an HTML document and send to the web server Web server send then send the HTML page to the client Finally, the ASP.NET file is returned to the browser as plain HTML

  6. Features of ASP.NET Compiled Code Enriched Tool Support Power and Flexibility Simplicity Scalability Security ,etc.

  7. Views of an ASP.NET application The Visual Studio .NET IDE provides two different views of a web form Design view HTML view The Design view represents the user interface of the web forms page The HTML view represents HTML code of an ASP.NET web form

  8. ASP.NET - Server Controls Server controls are components that are executed on the server Each server control is an instance of a particular class with methods, properties and events associated with it There are three kinds of server controls HTML Server Controls - Traditional HTML tags Web Server Controls - New ASP.NET tag Validation Server Controls - For input validation

  9. HTML Server Controls HTML elements in ASP.NET files are, by default, treated as text To make these elements programmable, add a runat="server" attribute to the HTML element This attribute indicates that the element should be treated as a server control May have events, methods, and properties attached to them

  10. Some of the HTML server controls

  11. ASP.NET - Web Server Controls Web server controls are traditional form controls like BUTTON, CHECK BOX, TEXT BOX, etc. Web server controls are special ASP.NET tags understood by the server They require a runat="server" attribute to work The syntax for creating a Web server control is: <asp:control_name id="some_id" runat="server" />

  12. Web Server Controls

  13. ASP.NET - Validation Server Controls Validation server controls are used to validate user-input so that wrong type of data cant be filled in database table Validation controls are attached to an input control, such as a TextBox for which the input is to be validated Syntax: <asp:control_name id="some_id" runat="server" />

  14. Validation Server Controls

  15. Rich controls of ASP.NET Called as rich controls as they are used for some specific purpose, some of them are FileUpload control, for uploading file from client to server Calendar control, for displaying calendar AdRotator control, for randomly displaying different advertisements MultiView control, is a container by which multiple view can be created on a single page

  16. Login Controls ASP.NET login controls are used to easily build a user registration system for our website By using these controls we are not required to write any code when performing these tasks Login CreateUserWizard LoginStatus ChangePassword PasswordRecovery LoginName

  17. Database Connectivity ADO.NET provides tools to implement data access easily and efficiently ADO.NET implements Disconnected database access model in default, means data connections are established and left open only long enough to perform the requisite action Data access in ADO.NET relies on Two Entities The DataSet ,stores data on local machine The Data Provider, a set of components that mediates between the program and the database

  18. Database Connectivity The classes under the Data Providers The connection object, used to provide connection to the database The command object, used to execute a command against a database The DataReader object, data is fetched one by one The DataAdapter object, data is fetched together and saved in data set

  19. DataBound Controls DataBound controls are used to generate applications user interface for working with data Used to display and edit database data, XML data, etc Three main types of DataBound controls are List controls Tabular DataBound controls Hierarchical DataBound controls

  20. DataSource Controls We can bind DataBound control to DataSource control A Data Source control is used to represent a particular type of data The ASP.NET framework includes following five DataSource controls Sql Data Source Access Data Source Object Data Source Xml Data Source Site Map Data Source

  21. Conclusion • ASP .NET to be make web site of active server pages • It’s to be create data base • It’s to be provide security • It’s to be server site control • User can register, login and give the test with his specific id, and can see the results as well.

  22. Thank U……

More Related