tailieunhanh - Programming with ASP.NET

What is ASP? – Server-side scripting technology – Files containing HTML and scripting code – Access via HTTP requests – Scripting code is interpreted on server side • What can I do with ASP? – Easily and quickly create simple Web applications – Generate dynamic Web content – Client-side scripting for validation – Access COM components to extend functionality | Programming with Hà Đồng Hưng Objectives and the Microsoft® .NET Framework “Looking back.“ Concepts and Architecture Application Models Using Visual Studio .NET Visual demos Lập trình với Objectives and the Microsoft® .NET Framework “Looking back.“ Concepts and Architecture Application Models Using Visual Studio .NET Visual demos Lập trình với Looking Back: Active Server Pages What is ASP? Server-side scripting technology Files containing HTML and scripting code Access via HTTP requests Scripting code is interpreted on server side What can I do with ASP? Easily and quickly create simple Web applications Generate dynamic Web content Client-side scripting for validation Access COM components to extend functionality Databases Lập trình với What’s Wrong with That? Mixes layout (HTML) and logic (scripting code) Interpreting ASP code leads to performance loss Uses scripting languages that are not strongly . | Programming with Hà Đồng Hưng Objectives and the Microsoft® .NET Framework “Looking back.“ Concepts and Architecture Application Models Using Visual Studio .NET Visual demos Lập trình với Objectives and the Microsoft® .NET Framework “Looking back.“ Concepts and Architecture Application Models Using Visual Studio .NET Visual demos Lập trình với Looking Back: Active Server Pages What is ASP? Server-side scripting technology Files containing HTML and scripting code Access via HTTP requests Scripting code is interpreted on server side What can I do with ASP? Easily and quickly create simple Web applications Generate dynamic Web content Client-side scripting for validation Access COM components to extend functionality Databases Lập trình với What’s Wrong with That? Mixes layout (HTML) and logic (scripting code) Interpreting ASP code leads to performance loss Uses scripting languages that are not strongly typed Microsoft JScript® Microsoft Visual Basic® Scripting Edition (VBScript) Browser compatibility No real state management No state sharing across Web farms State is lost when IIS fails Update files only when server is down Lập trình với Core Concepts Separate layout and business logic Use services provided by the .NET Framework Code is compiled the first time a page is requested State management Make use of programming languages Cross-language integration Update files while the server is running! Lập trình với Architecture The .NET Framework Architecture Web Application Model Class Hierarchy Advantages Lập trình với Microsoft .NET Framework System Services Common Language Runtime Web Forms Web Services Windows Forms Services Framework Base Data Debug . The .NET Framework Architecture Lập trình với Web Application Model Web Client Operating System Applications IIS .NET Framework Lập trình với Class .