Introduction to ASP.NET Programming and Web Applications

an introduction to asp net programming n.w
1 / 24
Embed
Share

Discover the fundamentals of ASP.NET programming and web applications, covering topics such as components of a web application, static vs. dynamic web pages, ASP.NET development environments, .NET Framework components, and handling state in ASP.NET.

  • ASP.NET
  • Web applications
  • Programming
  • .NET Framework

Uploaded on | 0 Views


Download Presentation

Please find below an Image/Link to download the presentation.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.

You are allowed to download the files provided on this website for personal or commercial use, subject to the condition that they are used lawfully. All files are the property of their respective owners.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.

E N D

Presentation Transcript


  1. AN INTRODUCTION TO ASP.NET PROGRAMMING BY, ROSHINI GNANAMOORTHY PRESENTATION ID-01

  2. CONTENTS Introduction to Web Application Two pages of a shopping cart application The components of a web application How Static Web Pages processed How Dynamic Web Pages processed Introduction to ASP.NET development Three environments for creating ASP.NET application Components of .NET Framework How state is handled in ASP.NET

  3. INTRODUCTION TO WEB APPLICATION A Web application consist of a set of web pages that are generated in response to user request. There are different types of web application such as Search Engines (eg. Google, yahoo) Auctions News Sites Social Sites (eg. Facebook, Twitter) Games

  4. TWO PAGES OF SHOPPING CART APPLICATION Home Page Displays the information of the product available from Halloween Store. User can interact with Drop down list

  5. TWO PAGES OF SHOPPING CART APPLICATION Shopping Cart If we click on the check out button we can move to completion of the order.

  6. THE COMPONENTS OF A WEB APPLICATION Web Application consist of Clients and Web Server Clients are Computer, tablets and mobile devices that use web application Web browsers are those access web pages through programs

  7. WHAT ARE NETWORKS A network is system that allows clients and server to communicate Networks are categorized by size LAN(Local area network) WAN(Wide area network) MAN(Metropolitan Area Network)

  8. THE COMPONENTS OF WEB APPLICATION A web application consist of clients, a web server and a network The clients use programs known as web browsers to request web pages from the web server. Network connects the clients to the web server

  9. THE COMPONENTS OF A HTTP URL URL(Uniform Resource Locator) URL consist of a protocol, domain name, path and file name. If we omit the file name, web server will look for file names index.html, index.htm, default.html or default.htm

  10. WHAT IS INTERNET AND INTRANET Intranet is a local area network that connects computers that are near each other, usually within same building Internet is a network that consist of may wide area networks(WANs) and each of those consist of two or more LAN s

  11. HOW STATIC WEB PAGES PROCESSED Static web page doesn t change each time when it is requested This type of web page is sent directly from web server to web browser when browser requests it. Static pages are defined by HTML

  12. HOW STATIC WEB PAGES PROCESSED Hypertext Markup Language(HTML) is used to design the pages of web application A static web page is built from HTML document that is stored on web server and doesn t change. When user requests, browser sends HTTP request to web server with the name of the file being requested. When the web server receives the request it retrieves the HTML for web page and sends back to the browser as a part of HTTP response Browser receives HTTP response and renders the HTML into web page displayed in the browser

  13. HOW DYNAMIC WEB PAGES PROCESSED Dynamic Web page is generated by a program running on server. Dynamic Web page have more than one server control, labels and text boxes to interact with the user

  14. INTRODUCTION TO ASP.NET DEVELOPMENT Five ways to develop ASP.NET application ASP.NET Web forms: It is similar to Window Forms with controls on design surface. Its focus is on Rapid Application Development(RAD) ASP.NET MVC: A development environment similar to PHP or classic ASP. Its focus is on separation of concerns on unit testing and gives the developer complete control over HTML ASP.NET Web Pages with Razor ASP.NET Dynamic Data Entities ASP.NET Report Web Site

  15. THREE ENVIRONMENTS FOR CREATING ASP.NET APPLICATION Standalone Development Local Area Network Development Internet Development

  16. STANDALONE DEVELOPMENT Single Computer will serve both client and server

  17. LOCAL AREA NETWORK DEVELOPMENT Client communicated with Server over the LAN. Two or more programmers on the same site can work on the same application. It needs FrontPage Server Extension to be on the server.

  18. INTERNET DEVELOPMENT Internet the is source of communication between the server and the client Many programmers in various locations can work on the same application File transfer protocol transfers files between client and server

  19. COMPONENTS OF .NET FRAMEWORK There are two main components The .NET Framework Class Library Consist of classes that provide many of the functions that you need for developing .NET applications. The Common Language Runtime(CLR) Provides the service that are needed for executing any application that s developed with one of the .NET languages.

  20. THE .NET FRAMEWORK

  21. HOW STATE IS HANDLED IN ASP.NET APPLICATIONS A web application ends after it generates a web page. That means the data maintained by the application as variables or control properties are lost. HTTP doesn t maintain the state of the application. Application cannot be associated with previous requests.

  22. HOW STATE IS HANDLED IN ASP.NET APPLICATIONS Five ASP.NET features for maintaining state View State Implemented by default, no special coding is needed Session State Object is created when a user starts a new session. Application State Uses an application state object when an application starts. Server-Side caching The value of server-side cache can be shared across the application. Profiles One profile can be maintained for each user of an application.

  23. REFERENCE: 1) "Murach'sASP.NET 4.5 Web Programming with C# 2012 5th Edition", Mary Delamater and Anne Boehm, 2013. (ISBN 978-1890774-75-2).

  24. THANK YOU!!! Questions???

Related


More Related Content