1 / 23

Web Programming using ASP.NET

Web Programming using ASP.NET. Subject Code: 3351603 Unit-1:Intorduction -H . P. Jagad. Unit-1: Introduction to .Net Framework & ASP.NET. XHTML, XML, CSS Webpage, Application Client Side v/s Server Side Scripting Limitation of Classic ASP ASP.Net & its features

raquelm
Télécharger la présentation

Web Programming using ASP.NET

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. Web Programming using ASP.NET Subject Code: 3351603 Unit-1:Intorduction -H. P. Jagad

  2. Unit-1: Introduction to .Net Framework & ASP.NET • XHTML, XML, CSS • Webpage, Application • Client Side v/s Server Side Scripting • Limitation of Classic ASP • ASP.Net & its features • .Net Framework Architecture • Execution Process • Shortcut Key • Quiz Unit-1

  3. XML vs HTML • XML was designed to carry data - with focus on what data is • HTML was designed to display data - with focus on how data looks • XML tags are not predefined like HTML tags. • XML = extensible Markup Language • XML was designed to store and transport data • XML is just information wrapped in tags. • Someone must write a piece of software to send, receive, store, or display it. Unit-1

  4. XHTML =XML+HTML EXtensibleHyperText Markup Language • XHTML is stricter than HTML • XHTML is supported by all major browsers • XHTML DOCTYPE is mandatory • The xmlns attribute in <html> is mandatory • <html>, <head>, <title>, and <body> are mandatory • XHTML elements must be properly nested, always be closed, be in lowercase Unit-1

  5. CSS • Contains style rules that are applied to elements in a web page. • CSS styles can be placed inline within a single HTML element, grouped in style block within the head section of a web page, or imported from a separate style sheet.

  6. Web Application: Collection of web pages. • Web Page: is file which travel across network and carry information from server to client which requested by client. • Stored on server. • Either static or dynamic. • Parts of WebSite • HTML (Hypertext Markup Language) ( Now XHTML= HTML + XML) • CSS (Cascading Style Sheet) • Client side coding and server Side coding • Database Unit-1

  7. Client Side Scripting • Scripts on the page are processed by the individual web browser that requested the page. • Limitation of HTML is static page. • Client side coding is interpreted by browser and run on the client • Can’t access server resources . • Ex: Javascript , or VBScript. • Client Side scripting executes in the browser after the page is loaded. • Client side scripting more appropriate for client side validation, Image rotation etc.

  8. Server Side scripting • Ex: PHP,JSP, Asp.Net • Executes on server side. • Easily access server resource. • Slower than client side scripting • Preferable for database task.

  9. Client Side v/s Server Side Unit-1

  10. Limitation of Classic ASP • Interpreted • Mixed Layout and Logic • Limited Development and Debugging Tools • No real State Management • Update file only when server is down (Difference between Classic ASP & ASP.NET) Unit-1

  11. What is .Net? • .Net is a platform that provides tools and technologies you need to build Networked Applications as well as Distributed Web Services and Web Applications. Unit-1

  12. ASP.NET • Is next generation of ASP • Is Microsoft Technology • Is a server side technology for creating dynamic web pages which executed by Internet server • Is a program that runs inside IIS. • IIS is a Microsoft Internet Server. • ASP.NET defines an application as sum of all files, pages, handlers, modules and executable codes that can be invoked or run in the scope of a given virtual directory on web application server

  13. Features of ASP.Net • Separation of Code from HTML • Support for compiled Languages • Use services provided by .net Framework • Completely Object Oriented Support • Graphical Development Environment • State Management • Update files while server is running • XML based configuration Files • Security Unit-1

  14. Features • Object Oriented Programming System • In built memory System • Rich Set of classes • Multi language Multi Device Support • Faster & Easy Development of Web Applications • XML Support • Ease of Deployment & Configuration Unit-1

  15. .Net Framework Architecture • Metadata • Namespace • GAC(Global Assembly Cache) • Assemblies • CLR(Common Language Runtime) • CLS(Common Language Specification) • CTS(Common Type System) • JIT • FCL(.Net Framework Class Library) • GC(Garbage Collection) • MSIL(MicroSoft Intermediate Language/CIL) Unit-1

  16. Execution Process Unit-1

  17. Unit-1

  18. Source Code in any Language Language Compiler PE MSIL GAC Assemblies CLR JIT Metadata • CTS HTML Page GC CLS FCL • Native Code Uses Namespace Unit-1

  19. Unit-1

  20. Shortcut Key: Open Visual Studio: devenv Run your webpage: F5 Stop Debugging: Shift + F5 Code Editor View: F7 Form Designer View: Shift + F7 Property Window: F4 Command Window: Clrl + Alt + A Toolbox: Ctrl + Alt + X Server Explorer: Clrl + Alt + S Unit-1

  21. Quiz: _____ is the version of .NET framework. (A) 8.1 (B) 6.75 (C) 7.5 (D) None of these Full Form Of CLS _____ . (A) Common Language System(B) None (C) Common line Specification(D) Common Language Specification Full Form Of CLR _____ . (A) Common Line Runtime (B) Common Language Runtime (C) Class Language Runtime (D) None Full Form Of FCL _____ . (A) Framework Class Library (B) Framework Common Language (C) Function Class library (D) Function Common Language Unit-1

  22. 5. Full Form Of IIS _____ . (A) Internet Information Services (B) Internal Information Services (C) Internet Information System (D) Internal Information System 6. _____ is the short-cut key for new website. (A) Shift + Alt + N (B) Ctrl + N (C) Shift + N (D) none 7. _____ is the short-cut key for open existing website. (A) Shift + Alt + O (B) Ctrl + O (C) None (D) Shift + O 8. _____ is the short-cut key for saving all data of current website. (A) Ctrl + Shift + S (B) Ctrl + S (C) None (D) Ctrl + Alt + S Unit-1

  23. 9. ASP.NET stands for _____ . • (A) ActiveX Server Page (B) Active Server Page • (C) None (D) Active System Page • 10. _____ is the short-cut key for form designer view. • (A) Shift + Alt + F7 (B) Shift + F8 • (C) Shift + F7 (D) None • 11. _____ is the short-cut key for code view . • (A) F7 (B) F8 • (C) Shift + F7 (D) Ctrl + F7 Unit-1

More Related