This document provides an introduction to ASP.NET and the .NET framework. It discusses how ASP.NET uses programming languages like VB.NET to create dynamic web pages, compared to classic ASP which used scripting languages. The .NET framework compiles all code into Microsoft Intermediate Language (MSIL) and provides a common language runtime (CLR) and class libraries. ASP.NET exposes the .NET framework capabilities to create web forms and web services. Web forms use server controls, events, and a code-behind model to separate design from programming logic.
The document provides an introduction to ASP.NET, including what it is, how it differs from ASP, and its core components. ASP.NET is a server-side technology that uses programming languages like VB.NET to create dynamic web pages, while ASP used scripting languages. ASP.NET pages are compiled into assemblies containing intermediate language code that is executed by the Common Language Runtime on the server. This allows ASP.NET to create robust, secure, and high performing dynamic web applications.
Here are the steps to view an assembly:
1. Create a simple class in Visual Basic or C#:
```vb
Public Class MyClass
Public Function HelloWorld() As String
Return "Hello World"
End Function
End Class
```
2. Compile the class into an assembly (DLL file):
```
vbcomp MyClass.vb /target:library
```
3. Use ildasm.exe (IL Disassembler) to view the assembly:
```
ildasm MyClass.dll
```
4. Ildasm will display the assembly contents like types, methods, and metadata. You can view the CIL (intermediate language) code.
This document provides an agenda for a presentation on ASP.NET fundamentals including programming models, design goals, architecture, and CLR services. It discusses how ASP.NET unifies programming models and simplifies development. It describes the Common Language Runtime, including design goals to simplify development and deployment while providing a robust execution environment. It also summarizes CLR services like type safety, memory management, and metadata.
This document provides an introduction to ASP.NET and web forms. It discusses the background of web development technologies including what ASP is. It then covers the overview of ASP.NET including its goals, key features, and architecture. The document dives into the ASP.NET programming model including controls and events, the object model, and how postbacks maintain page state. It also discusses server-side controls.
This document provides an introduction to ASP.NET and web forms. It discusses the background and limitations of ASP, and how ASP.NET aims to address these by simplifying coding, improving maintainability and scalability. The key features of ASP.NET include web forms, server controls, events-based programming model and compiled code for improved performance.
This document discusses an ASP.NET project focused on building dynamic websites and services. It highlights key ASP.NET features like relying on the .NET framework and being a compiled language. It also discusses using AJAX technology with ASP.NET to introduce asynchronous JavaScript requests. Additional sections cover bulk emailing, handling fake website traffic, and common web issues.
This document provides an introduction and overview of ASP.NET, including what ASP.NET is, how it differs from ASP, ASP.NET files and how ASP.NET works. It describes the ASP.NET lifecycle and architecture. It also discusses ASP.NET page structure, development models including web forms and MVC, and provides examples of ASP.NET code. Key features and potential drawbacks of ASP.NET are summarized.
ASP.NET is a server-side web application framework designed for web development to produce dynamic web pages. It was developed by Microsoft to allow programmers to build dynamic websites, web applications, and web services. ASP.NET uses a compiled execution model whereby code is typically written in C# or Visual Basic .NET and compiled to bytecode that is executed by the Common Language Runtime.
The document provides an introduction to ASP.NET, including what it is, how it differs from ASP, and its core components. ASP.NET is a server-side technology that uses programming languages like VB.NET to create dynamic web pages, while ASP used scripting languages. ASP.NET pages are compiled into assemblies containing intermediate language code that is executed by the Common Language Runtime on the server. This allows ASP.NET to create robust, secure, and high performing dynamic web applications.
Here are the steps to view an assembly:
1. Create a simple class in Visual Basic or C#:
```vb
Public Class MyClass
Public Function HelloWorld() As String
Return "Hello World"
End Function
End Class
```
2. Compile the class into an assembly (DLL file):
```
vbcomp MyClass.vb /target:library
```
3. Use ildasm.exe (IL Disassembler) to view the assembly:
```
ildasm MyClass.dll
```
4. Ildasm will display the assembly contents like types, methods, and metadata. You can view the CIL (intermediate language) code.
This document provides an agenda for a presentation on ASP.NET fundamentals including programming models, design goals, architecture, and CLR services. It discusses how ASP.NET unifies programming models and simplifies development. It describes the Common Language Runtime, including design goals to simplify development and deployment while providing a robust execution environment. It also summarizes CLR services like type safety, memory management, and metadata.
This document provides an introduction to ASP.NET and web forms. It discusses the background of web development technologies including what ASP is. It then covers the overview of ASP.NET including its goals, key features, and architecture. The document dives into the ASP.NET programming model including controls and events, the object model, and how postbacks maintain page state. It also discusses server-side controls.
This document provides an introduction to ASP.NET and web forms. It discusses the background and limitations of ASP, and how ASP.NET aims to address these by simplifying coding, improving maintainability and scalability. The key features of ASP.NET include web forms, server controls, events-based programming model and compiled code for improved performance.
This document discusses an ASP.NET project focused on building dynamic websites and services. It highlights key ASP.NET features like relying on the .NET framework and being a compiled language. It also discusses using AJAX technology with ASP.NET to introduce asynchronous JavaScript requests. Additional sections cover bulk emailing, handling fake website traffic, and common web issues.
This document provides an introduction and overview of ASP.NET, including what ASP.NET is, how it differs from ASP, ASP.NET files and how ASP.NET works. It describes the ASP.NET lifecycle and architecture. It also discusses ASP.NET page structure, development models including web forms and MVC, and provides examples of ASP.NET code. Key features and potential drawbacks of ASP.NET are summarized.
ASP.NET is a server-side web application framework designed for web development to produce dynamic web pages. It was developed by Microsoft to allow programmers to build dynamic websites, web applications, and web services. ASP.NET uses a compiled execution model whereby code is typically written in C# or Visual Basic .NET and compiled to bytecode that is executed by the Common Language Runtime.
ASP.NET is a Microsoft web technology used to create dynamic web applications and services. It allows for server-side scripting, state management, and easy updating of files while the server is running. An ASP.NET file contains HTML, XML, and scripts that are executed on the server before being returned as plain HTML. IIS (Internet Information Services) is the Microsoft web server that processes ASP.NET files. It passes ASP.NET file requests to the ASP.NET engine, which reads and executes the scripts before returning the file as HTML to the browser. Virtual directories in IIS are used to share project folders so that ASP.NET files and applications can be accessed online.
ASP.NET - Introduction to Web Forms and MVCBilal Amjad
The document outlines sessions from a Microsoft Innovation Center Lahore training conducted by Muhammad Bilal Amjad. Session 1 introduces MVC and Webform frameworks and allows attendees to create basic websites in each. Session 2 explores ASP.NET controls and their uses. Session 3 covers AJAX, JavaScript, sessions and their usage. Session 4 teaches performing CRUD database operations in ASP.NET Web Forms. Later sessions introduce MVC lifecycles, navigation, models, views and more. Other topics include web design, Bootstrap, web services and an example contact book application. The training aims to help attendees learn web development skills.
This document provides an introduction to ASP.NET, including an overview of .NET and its components. It discusses how ASP.NET allows the .NET framework to be exposed to the web using IIS. It also covers topics like scripting languages, Microsoft Visual Studio, creating ASP.NET pages, controls, events, variables, data types, operators, functions and arrays. The document is intended as the first day of an 11-week introduction to ASP.NET course.
The document provides an overview of ASP.NET compilation and configuration. It discusses how ASP.NET code is compiled into assemblies and MSIL. It also covers the benefits of compilation such as performance, security and stability. Additionally, it describes ASP.NET's compilation architecture including features like multiple language support, automatic compilation, and flexible deployment options. Finally, it discusses website configuration in ASP.NET and how it uses a hierarchical system of configuration.
This document provides an overview of ASP.NET folders and the web.config file. It describes common folder types like App_Code, Bin, App_Data, and App_Theme and their purposes. It also explains the hierarchy and uses of the web.config file for configuration settings. Sections within web.config like system.web, connectionStrings, and customSections are outlined. Overall the document serves as an introduction to organizing files and customizing settings for ASP.NET applications through standard folders and the web.config.
Basics overview of C#. you can refer this link of learning more about C# interview questions
http://skillgun.com/csharp/interview-questions-and-answers
ASP.NET is a web application framework developed by Microsoft that allows programmers to build dynamic web sites, web applications, and web services. It is built on the .NET Framework and runs on the Common Language Runtime (CLR), allowing programmers to write code using supported .NET languages like C#, VB.NET, and C++. Key characteristics of ASP.NET include using pages with a code-behind model, directives, user and custom controls, a rendering technique that builds a control tree, and various state management options. Benefits include easier maintenance compared to classic ASP due to separation of code and content, built-in validation controls, and faster performance at large volumes.
The document provides information about Satyam Software Solutions Pvt. Ltd., including that they develop embedded systems and provide cost-effective solutions for organizations. They are developing a flexible and manageable NANO OS for sensor networks and robotics. They also offer hardware development services like microprocessor board development and custom board development.
The document provides an overview of Microsoft ASP.NET, describing what it is, its advantages, and how it works. Key points include: ASP.NET provides a programming model and infrastructure for developing web applications using .NET languages and services; it offers advantages like compiled pages, XML configuration, and server controls; applications can be built as web forms or web services; and the .NET Framework provides a large class library for ASP.NET applications to utilize.
Overview of ASP.NET
An ASP.NET Page
Server Controls
User Controls
Validation
Master Pages
Themes & skins
Page Cycle Events
Menu, Navigation & Sitemaps
Some cool new ASP.NET 2 Server Controls
ASP is an active server page technology developed by Microsoft that allows web developers to build dynamic websites and web applications. ASP files can contain HTML tags, text, and scripting code. Scripts in ASP files are executed on the server rather than in the user's web browser. Common uses of ASP include dynamically generating and customizing web page content, accessing databases to display information to users, and providing more security since ASP code is not visible to users.
This document provides an introduction to ASP.NET development. It outlines that ASP.NET is a server-side language that uses a simplified page development model and modular, extensible architecture. It also discusses ASP.NET features like superior debugging, rich caching support, scalable session state, and error recovery. The document then covers request and response processing, common technologies used like HTML and JavaScript, and how ASP.NET web forms separate code from design and use server controls like Windows forms. It explains the ASP.NET page lifecycle and concepts like postbacks and view state. It concludes by discussing using session state and application state to store object data and how to start ASP.NET development using web sites versus web applications.
The .NET Framework provides a common platform and language runtime for multiple programming languages. It includes the Common Language Specification (CLS), which defines interoperability standards, and the Common Language Runtime (CLR), which handles memory management, security, and code execution. The .NET Framework also includes a large class library called the Framework Class Library (FCL) that contains types and methods for building applications. Developers can use Visual Studio to create .NET applications using languages like C# and VB.NET, which compile to Microsoft Intermediate Language (MSIL) code that is executed within the CLR.
This PowerPoint Presentation covers the topics of .Net like Introduction to .Net, How Internet Work?, What is Web?, Features of .Net, Architecture of .Net, Language Compilers, Compilation Process of .Net, MSIL Code, Common Language Specification (CLS), Common Type System (CTS), Framework Class Library (FCL) or Base Class Library (BCL), Namespaces, Common Language Runtime (CLR), Compiled Code, Inline Code, Object Oriented Concepts of .Net, Class, Field, Properties, Methods, Events, Objects, Constructors, Destructors, Encapsulation, Inheritance, Abstraction, Interface, Polymorphism, Partial Class, Method Overriding and Event Driven Programming.
This document provides an introduction to ASP.NET 2.0, covering what ASP.NET and IIS are, how ASP.NET files work, key features of the .NET framework, programming languages supported, and new aspects of ASP.NET compared to classic ASP such as better language support, programmable controls, and easier configuration and deployment. It also provides a simple example of a dynamic ASP.NET page that writes the current time using a server-side script.
This document provides an overview of RequireJS, an asynchronous JavaScript module loader. It discusses how RequireJS allows for defining modules and their dependencies, and loading them asynchronously. Key points include:
- RequireJS implements the Asynchronous Module Definition (AMD) specification for defining modules and dependencies.
- It handles loading modules and their dependencies in the proper order, even if they load asynchronously and out of order.
- This avoids issues with global namespace pollution and allows modules to be loaded on demand.
- The document covers the basic RequireJS API, different module definition patterns, and how to configure RequireJS for development and production.
This document discusses server-side OpenSocial Java programming. It provides an overview of OpenSocial and OAuth, introduces the OpenSocial Java client libraries, and demonstrates 2-legged and 3-legged OAuth access and connecting to a Google Friend Connect site. Key topics covered include OpenSocial standards, who uses it, the roadmap, RESTful and RPC protocols, and examining the differences between 2-legged and 3-legged OAuth access. Useful links are also provided.
This document provides an introduction to ASP.NET, including what it is, how it differs from ASP, and its key components. ASP.NET is a server-side technology that uses fully-fledged programming languages supported by .NET to create dynamic web pages, unlike ASP which used scripting languages. ASP.NET pages contain both a user interface defined in HTML/server controls and a code behind file that contains the programming logic. It leverages the .NET Framework and common language runtime.
Here are the steps to view an assembly:
1. Create a simple class in Visual Basic or C#:
```vb
Public Class MyClass
Public Function SayHello() As String
Return "Hello World"
End Function
End Class
```
2. Compile the class into an assembly (DLL file):
In Visual Studio, build the project. This will compile the code and create an assembly file.
3. View the assembly:
Use Ildasm.exe, the IL Disassembler. This is a tool that comes with the .NET Framework SDK.
Open a command prompt, navigate to the bin folder containing your assembly, and run:
```
ildasm
ASP.NET is a server-side web application framework that allows developers to build dynamic web pages using .NET languages like VB.NET and C#. It is different from classic ASP in that it uses fully-fledged programming languages rather than scripting. ASP.NET pages consist of code behind files that contain the programming logic and are compiled into classes. These classes generate HTML sent to browsers using ASP.NET server controls. The .NET Framework provides a common language runtime, type system, and class libraries for all .NET languages.
ASP.NET is a server-side web application framework designed for web development to produce dynamic web pages. It is an evolution of ASP that uses compiled code instead of interpreted script. ASP.NET uses .NET languages like C# and VB.NET and relies on the .NET Framework. It features controls, validation, strong typing, and other advantages over traditional ASP. Web forms are ASP.NET pages that separate presentation from code behind, while web services expose .NET functionality via XML and SOAP.
ASP.NET is a Microsoft web technology used to create dynamic web applications and services. It allows for server-side scripting, state management, and easy updating of files while the server is running. An ASP.NET file contains HTML, XML, and scripts that are executed on the server before being returned as plain HTML. IIS (Internet Information Services) is the Microsoft web server that processes ASP.NET files. It passes ASP.NET file requests to the ASP.NET engine, which reads and executes the scripts before returning the file as HTML to the browser. Virtual directories in IIS are used to share project folders so that ASP.NET files and applications can be accessed online.
ASP.NET - Introduction to Web Forms and MVCBilal Amjad
The document outlines sessions from a Microsoft Innovation Center Lahore training conducted by Muhammad Bilal Amjad. Session 1 introduces MVC and Webform frameworks and allows attendees to create basic websites in each. Session 2 explores ASP.NET controls and their uses. Session 3 covers AJAX, JavaScript, sessions and their usage. Session 4 teaches performing CRUD database operations in ASP.NET Web Forms. Later sessions introduce MVC lifecycles, navigation, models, views and more. Other topics include web design, Bootstrap, web services and an example contact book application. The training aims to help attendees learn web development skills.
This document provides an introduction to ASP.NET, including an overview of .NET and its components. It discusses how ASP.NET allows the .NET framework to be exposed to the web using IIS. It also covers topics like scripting languages, Microsoft Visual Studio, creating ASP.NET pages, controls, events, variables, data types, operators, functions and arrays. The document is intended as the first day of an 11-week introduction to ASP.NET course.
The document provides an overview of ASP.NET compilation and configuration. It discusses how ASP.NET code is compiled into assemblies and MSIL. It also covers the benefits of compilation such as performance, security and stability. Additionally, it describes ASP.NET's compilation architecture including features like multiple language support, automatic compilation, and flexible deployment options. Finally, it discusses website configuration in ASP.NET and how it uses a hierarchical system of configuration.
This document provides an overview of ASP.NET folders and the web.config file. It describes common folder types like App_Code, Bin, App_Data, and App_Theme and their purposes. It also explains the hierarchy and uses of the web.config file for configuration settings. Sections within web.config like system.web, connectionStrings, and customSections are outlined. Overall the document serves as an introduction to organizing files and customizing settings for ASP.NET applications through standard folders and the web.config.
Basics overview of C#. you can refer this link of learning more about C# interview questions
http://skillgun.com/csharp/interview-questions-and-answers
ASP.NET is a web application framework developed by Microsoft that allows programmers to build dynamic web sites, web applications, and web services. It is built on the .NET Framework and runs on the Common Language Runtime (CLR), allowing programmers to write code using supported .NET languages like C#, VB.NET, and C++. Key characteristics of ASP.NET include using pages with a code-behind model, directives, user and custom controls, a rendering technique that builds a control tree, and various state management options. Benefits include easier maintenance compared to classic ASP due to separation of code and content, built-in validation controls, and faster performance at large volumes.
The document provides information about Satyam Software Solutions Pvt. Ltd., including that they develop embedded systems and provide cost-effective solutions for organizations. They are developing a flexible and manageable NANO OS for sensor networks and robotics. They also offer hardware development services like microprocessor board development and custom board development.
The document provides an overview of Microsoft ASP.NET, describing what it is, its advantages, and how it works. Key points include: ASP.NET provides a programming model and infrastructure for developing web applications using .NET languages and services; it offers advantages like compiled pages, XML configuration, and server controls; applications can be built as web forms or web services; and the .NET Framework provides a large class library for ASP.NET applications to utilize.
Overview of ASP.NET
An ASP.NET Page
Server Controls
User Controls
Validation
Master Pages
Themes & skins
Page Cycle Events
Menu, Navigation & Sitemaps
Some cool new ASP.NET 2 Server Controls
ASP is an active server page technology developed by Microsoft that allows web developers to build dynamic websites and web applications. ASP files can contain HTML tags, text, and scripting code. Scripts in ASP files are executed on the server rather than in the user's web browser. Common uses of ASP include dynamically generating and customizing web page content, accessing databases to display information to users, and providing more security since ASP code is not visible to users.
This document provides an introduction to ASP.NET development. It outlines that ASP.NET is a server-side language that uses a simplified page development model and modular, extensible architecture. It also discusses ASP.NET features like superior debugging, rich caching support, scalable session state, and error recovery. The document then covers request and response processing, common technologies used like HTML and JavaScript, and how ASP.NET web forms separate code from design and use server controls like Windows forms. It explains the ASP.NET page lifecycle and concepts like postbacks and view state. It concludes by discussing using session state and application state to store object data and how to start ASP.NET development using web sites versus web applications.
The .NET Framework provides a common platform and language runtime for multiple programming languages. It includes the Common Language Specification (CLS), which defines interoperability standards, and the Common Language Runtime (CLR), which handles memory management, security, and code execution. The .NET Framework also includes a large class library called the Framework Class Library (FCL) that contains types and methods for building applications. Developers can use Visual Studio to create .NET applications using languages like C# and VB.NET, which compile to Microsoft Intermediate Language (MSIL) code that is executed within the CLR.
This PowerPoint Presentation covers the topics of .Net like Introduction to .Net, How Internet Work?, What is Web?, Features of .Net, Architecture of .Net, Language Compilers, Compilation Process of .Net, MSIL Code, Common Language Specification (CLS), Common Type System (CTS), Framework Class Library (FCL) or Base Class Library (BCL), Namespaces, Common Language Runtime (CLR), Compiled Code, Inline Code, Object Oriented Concepts of .Net, Class, Field, Properties, Methods, Events, Objects, Constructors, Destructors, Encapsulation, Inheritance, Abstraction, Interface, Polymorphism, Partial Class, Method Overriding and Event Driven Programming.
This document provides an introduction to ASP.NET 2.0, covering what ASP.NET and IIS are, how ASP.NET files work, key features of the .NET framework, programming languages supported, and new aspects of ASP.NET compared to classic ASP such as better language support, programmable controls, and easier configuration and deployment. It also provides a simple example of a dynamic ASP.NET page that writes the current time using a server-side script.
This document provides an overview of RequireJS, an asynchronous JavaScript module loader. It discusses how RequireJS allows for defining modules and their dependencies, and loading them asynchronously. Key points include:
- RequireJS implements the Asynchronous Module Definition (AMD) specification for defining modules and dependencies.
- It handles loading modules and their dependencies in the proper order, even if they load asynchronously and out of order.
- This avoids issues with global namespace pollution and allows modules to be loaded on demand.
- The document covers the basic RequireJS API, different module definition patterns, and how to configure RequireJS for development and production.
This document discusses server-side OpenSocial Java programming. It provides an overview of OpenSocial and OAuth, introduces the OpenSocial Java client libraries, and demonstrates 2-legged and 3-legged OAuth access and connecting to a Google Friend Connect site. Key topics covered include OpenSocial standards, who uses it, the roadmap, RESTful and RPC protocols, and examining the differences between 2-legged and 3-legged OAuth access. Useful links are also provided.
This document provides an introduction to ASP.NET, including what it is, how it differs from ASP, and its key components. ASP.NET is a server-side technology that uses fully-fledged programming languages supported by .NET to create dynamic web pages, unlike ASP which used scripting languages. ASP.NET pages contain both a user interface defined in HTML/server controls and a code behind file that contains the programming logic. It leverages the .NET Framework and common language runtime.
Here are the steps to view an assembly:
1. Create a simple class in Visual Basic or C#:
```vb
Public Class MyClass
Public Function SayHello() As String
Return "Hello World"
End Function
End Class
```
2. Compile the class into an assembly (DLL file):
In Visual Studio, build the project. This will compile the code and create an assembly file.
3. View the assembly:
Use Ildasm.exe, the IL Disassembler. This is a tool that comes with the .NET Framework SDK.
Open a command prompt, navigate to the bin folder containing your assembly, and run:
```
ildasm
ASP.NET is a server-side web application framework that allows developers to build dynamic web pages using .NET languages like VB.NET and C#. It is different from classic ASP in that it uses fully-fledged programming languages rather than scripting. ASP.NET pages consist of code behind files that contain the programming logic and are compiled into classes. These classes generate HTML sent to browsers using ASP.NET server controls. The .NET Framework provides a common language runtime, type system, and class libraries for all .NET languages.
ASP.NET is a server-side web application framework designed for web development to produce dynamic web pages. It is an evolution of ASP that uses compiled code instead of interpreted script. ASP.NET uses .NET languages like C# and VB.NET and relies on the .NET Framework. It features controls, validation, strong typing, and other advantages over traditional ASP. Web forms are ASP.NET pages that separate presentation from code behind, while web services expose .NET functionality via XML and SOAP.
ASP.NET is a server-side web application framework that allows developers to build dynamic web pages using .NET languages like VB.NET and C#. It is built on the .NET Framework and uses components like the CLR and class libraries. ASP.NET pages separate the design and code into HTML templates and code behind files. Common controls include HTML, ASP.NET, and user controls. The code behind files contain the programming logic and inherit from the page class. When requested, ASP.NET pages go through events like init, load, and render to generate the final HTML sent to browsers.
The document provides an introduction to ASP.NET, including what ASP is, how ASP.NET builds on ASP, and the key benefits and components of ASP.NET. It discusses how ASP.NET web applications are executed via HTTP requests and responses, and how code is separated from presentation using code-behind files. It also summarizes the basic steps to create a simple ASP.NET application in Visual Studio.
The document discusses web development using ASP.NET. It begins by outlining the contents which include an introduction to ASP.NET, how it works, and its advantages. It then defines .NET as a framework that provides a common platform to develop and run applications in various languages. ASP.NET is described as being part of the .NET framework and converging ASP and .NET technologies. It provides better user authentication, language support, controls and uses compiled code for improved performance compared to ASP. The document concludes by explaining the process an ASP.NET application follows and some key advantages like easy programming, language flexibility, and security.
The document discusses the evolution of web development from early standards like HTML and XML to modern frameworks like ASP.NET. It describes classic ASP as the precursor to ASP.NET, noting its limitations like lack of IDE support and interpreted code. The bulk of the document then outlines key features of ASP.NET like its compiled, object-oriented nature and integration with the .NET framework. It also discusses ASP.NET controls, code models, and the separation of markup and code in code-behind files.
The document provides an introduction to the .NET framework. It discusses that .NET is a programming platform that is language-neutral and uses a common runtime and library. It also summarizes that .NET supports building web and Windows applications, uses a common language runtime to execute all languages, and supports languages like C#, Visual Basic, and C++.
This document outlines the topics and objectives of a course on building effective web applications with ASP.NET 3.5. The course is aimed at web developers and covers LINQ for database access, ASP.NET AJAX, state management, caching, and security. It provides an overview of ASP.NET 3.5 features and walks through setting up projects, using server controls, master pages, and debugging techniques. Sample code is available from the accompanying book and online.
Active server pages .net role discusses shifting from classic ASP to ASP.NET, which provides a framework with namespaces and can be developed using an IDE. ASP.NET uses web forms and pages, separating HTML from application logic. It discusses state management techniques like cookies and hidden fields to maintain state across HTTP requests. The key objectives of ASP.NET are to create web forms with server controls, separate code and content, display dynamic data through binding, and debug ASP.NET pages.
The document introduces the .NET Framework. It is a software platform that is language-neutral and provides a common runtime and library for developing applications in any compliant language. The framework offers server-centric application development and includes services like the Common Language Runtime, Windows Forms, ASP.NET, ADO.NET, and tools like Visual Studio.NET. It allows multiple languages to work together and compiles code to an intermediate language to provide a consistent execution environment.
The document introduces Microsoft .NET and its tools and frameworks for building web services and mobile applications. It discusses the .NET Framework which includes a common language runtime, base class library, and languages like C# and VB.NET. It also summarizes web forms, web services, Windows forms, and how .NET applications can be built and deployed across platforms in an interoperable way using open standards.
This document provides an overview of web technology fundamentals, including definitions of common terms like Internet, URL, IP address and domain name. It explains how the Internet works using clients, servers, protocols like TCP/IP and standards like HTTP. It also describes markup languages like HTML and scripting languages like ASP and ASP.NET used to build dynamic websites. Finally, it provides a brief comparison of ASP.NET versus PHP and ASP.NET versus Java technologies.
This document discusses ASP.NET, a web development platform from Microsoft that allows building dynamic websites and web applications. It describes ASP.NET's programming models including Web Forms, Web Pages, and MVC. Visual Studio is highlighted as a powerful integrated development environment for ASP.NET. Advantages are full control over HTML/CSS/JavaScript and easy deployment, while a disadvantage is ASP.NET only runs on Windows platforms.
The CLR provides a common runtime environment and a set of core services for managed code. It loads and executes programs, provides memory isolation, verifies type safety, compiles IL to native code, and handles memory management, security, and exceptions. The CLR ensures a common runtime for all .NET languages using the Common Type System and intermediate language. It compiles MSIL code to native executable code.
Unit - 1: ASP.NET Basic
~~~~~~~~~~~~~~~~~~~~
Introduction to ASP.NET: .NET Framework (CLR, CLI, BCL), ASP.NET Basics, ASP.NET Page Structure, Page Life Cycle.
Controls: HTML Server Controls, Web Server Controls, Web User Controls, Validation Controls, Custom Web Controls.
The .NET Framework is a development platform created by Microsoft for building and running Windows applications. It allows developers to use any of various supported programming languages, such as C# and VB.NET. The framework includes common language runtime, class libraries, and tools that enable building Windows forms applications, web applications, web services, and more. It provides features like memory management, security, interoperability and simplified deployment.
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slackshyamraj55
Discover the seamless integration of RPA (Robotic Process Automation), COMPOSER, and APM with AWS IDP enhanced with Slack notifications. Explore how these technologies converge to streamline workflows, optimize performance, and ensure secure access, all while leveraging the power of AWS IDP and real-time communication via Slack notifications.
5th LF Energy Power Grid Model Meet-up SlidesDanBrown980551
5th Power Grid Model Meet-up
It is with great pleasure that we extend to you an invitation to the 5th Power Grid Model Meet-up, scheduled for 6th June 2024. This event will adopt a hybrid format, allowing participants to join us either through an online Mircosoft Teams session or in person at TU/e located at Den Dolech 2, Eindhoven, Netherlands. The meet-up will be hosted by Eindhoven University of Technology (TU/e), a research university specializing in engineering science & technology.
Power Grid Model
The global energy transition is placing new and unprecedented demands on Distribution System Operators (DSOs). Alongside upgrades to grid capacity, processes such as digitization, capacity optimization, and congestion management are becoming vital for delivering reliable services.
Power Grid Model is an open source project from Linux Foundation Energy and provides a calculation engine that is increasingly essential for DSOs. It offers a standards-based foundation enabling real-time power systems analysis, simulations of electrical power grids, and sophisticated what-if analysis. In addition, it enables in-depth studies and analysis of the electrical power grid’s behavior and performance. This comprehensive model incorporates essential factors such as power generation capacity, electrical losses, voltage levels, power flows, and system stability.
Power Grid Model is currently being applied in a wide variety of use cases, including grid planning, expansion, reliability, and congestion studies. It can also help in analyzing the impact of renewable energy integration, assessing the effects of disturbances or faults, and developing strategies for grid control and optimization.
What to expect
For the upcoming meetup we are organizing, we have an exciting lineup of activities planned:
-Insightful presentations covering two practical applications of the Power Grid Model.
-An update on the latest advancements in Power Grid -Model technology during the first and second quarters of 2024.
-An interactive brainstorming session to discuss and propose new feature requests.
-An opportunity to connect with fellow Power Grid Model enthusiasts and users.
GraphRAG for Life Science to increase LLM accuracyTomaz Bratanic
GraphRAG for life science domain, where you retriever information from biomedical knowledge graphs using LLMs to increase the accuracy and performance of generated answers
Skybuffer SAM4U tool for SAP license adoptionTatiana Kojar
Manage and optimize your license adoption and consumption with SAM4U, an SAP free customer software asset management tool.
SAM4U, an SAP complimentary software asset management tool for customers, delivers a detailed and well-structured overview of license inventory and usage with a user-friendly interface. We offer a hosted, cost-effective, and performance-optimized SAM4U setup in the Skybuffer Cloud environment. You retain ownership of the system and data, while we manage the ABAP 7.58 infrastructure, ensuring fixed Total Cost of Ownership (TCO) and exceptional services through the SAP Fiori interface.
Ivanti’s Patch Tuesday breakdown goes beyond patching your applications and brings you the intelligence and guidance needed to prioritize where to focus your attention first. Catch early analysis on our Ivanti blog, then join industry expert Chris Goettl for the Patch Tuesday Webinar Event. There we’ll do a deep dive into each of the bulletins and give guidance on the risks associated with the newly-identified vulnerabilities.
Monitoring and Managing Anomaly Detection on OpenShift.pdfTosin Akinosho
Monitoring and Managing Anomaly Detection on OpenShift
Overview
Dive into the world of anomaly detection on edge devices with our comprehensive hands-on tutorial. This SlideShare presentation will guide you through the entire process, from data collection and model training to edge deployment and real-time monitoring. Perfect for those looking to implement robust anomaly detection systems on resource-constrained IoT/edge devices.
Key Topics Covered
1. Introduction to Anomaly Detection
- Understand the fundamentals of anomaly detection and its importance in identifying unusual behavior or failures in systems.
2. Understanding Edge (IoT)
- Learn about edge computing and IoT, and how they enable real-time data processing and decision-making at the source.
3. What is ArgoCD?
- Discover ArgoCD, a declarative, GitOps continuous delivery tool for Kubernetes, and its role in deploying applications on edge devices.
4. Deployment Using ArgoCD for Edge Devices
- Step-by-step guide on deploying anomaly detection models on edge devices using ArgoCD.
5. Introduction to Apache Kafka and S3
- Explore Apache Kafka for real-time data streaming and Amazon S3 for scalable storage solutions.
6. Viewing Kafka Messages in the Data Lake
- Learn how to view and analyze Kafka messages stored in a data lake for better insights.
7. What is Prometheus?
- Get to know Prometheus, an open-source monitoring and alerting toolkit, and its application in monitoring edge devices.
8. Monitoring Application Metrics with Prometheus
- Detailed instructions on setting up Prometheus to monitor the performance and health of your anomaly detection system.
9. What is Camel K?
- Introduction to Camel K, a lightweight integration framework built on Apache Camel, designed for Kubernetes.
10. Configuring Camel K Integrations for Data Pipelines
- Learn how to configure Camel K for seamless data pipeline integrations in your anomaly detection workflow.
11. What is a Jupyter Notebook?
- Overview of Jupyter Notebooks, an open-source web application for creating and sharing documents with live code, equations, visualizations, and narrative text.
12. Jupyter Notebooks with Code Examples
- Hands-on examples and code snippets in Jupyter Notebooks to help you implement and test anomaly detection models.
Main news related to the CCS TSI 2023 (2023/1695)Jakub Marek
An English 🇬🇧 translation of a presentation to the speech I gave about the main changes brought by CCS TSI 2023 at the biggest Czech conference on Communications and signalling systems on Railways, which was held in Clarion Hotel Olomouc from 7th to 9th November 2023 (konferenceszt.cz). Attended by around 500 participants and 200 on-line followers.
The original Czech 🇨🇿 version of the presentation can be found here: https://www.slideshare.net/slideshow/hlavni-novinky-souvisejici-s-ccs-tsi-2023-2023-1695/269688092 .
The videorecording (in Czech) from the presentation is available here: https://youtu.be/WzjJWm4IyPk?si=SImb06tuXGb30BEH .
Programming Foundation Models with DSPy - Meetup SlidesZilliz
Prompting language models is hard, while programming language models is easy. In this talk, I will discuss the state-of-the-art framework DSPy for programming foundation models with its powerful optimizers and runtime constraint system.
Taking AI to the Next Level in Manufacturing.pdfssuserfac0301
Read Taking AI to the Next Level in Manufacturing to gain insights on AI adoption in the manufacturing industry, such as:
1. How quickly AI is being implemented in manufacturing.
2. Which barriers stand in the way of AI adoption.
3. How data quality and governance form the backbone of AI.
4. Organizational processes and structures that may inhibit effective AI adoption.
6. Ideas and approaches to help build your organization's AI strategy.
Threats to mobile devices are more prevalent and increasing in scope and complexity. Users of mobile devices desire to take full advantage of the features
available on those devices, but many of the features provide convenience and capability but sacrifice security. This best practices guide outlines steps the users can take to better protect personal devices and information.
Generating privacy-protected synthetic data using Secludy and MilvusZilliz
During this demo, the founders of Secludy will demonstrate how their system utilizes Milvus to store and manipulate embeddings for generating privacy-protected synthetic data. Their approach not only maintains the confidentiality of the original data but also enhances the utility and scalability of LLMs under privacy constraints. Attendees, including machine learning engineers, data scientists, and data managers, will witness first-hand how Secludy's integration with Milvus empowers organizations to harness the power of LLMs securely and efficiently.
For the full video of this presentation, please visit: https://www.edge-ai-vision.com/2024/06/building-and-scaling-ai-applications-with-the-nx-ai-manager-a-presentation-from-network-optix/
Robin van Emden, Senior Director of Data Science at Network Optix, presents the “Building and Scaling AI Applications with the Nx AI Manager,” tutorial at the May 2024 Embedded Vision Summit.
In this presentation, van Emden covers the basics of scaling edge AI solutions using the Nx tool kit. He emphasizes the process of developing AI models and deploying them globally. He also showcases the conversion of AI models and the creation of effective edge AI pipelines, with a focus on pre-processing, model conversion, selecting the appropriate inference engine for the target hardware and post-processing.
van Emden shows how Nx can simplify the developer’s life and facilitate a rapid transition from concept to production-ready applications.He provides valuable insights into developing scalable and efficient edge AI solutions, with a strong focus on practical implementation.
Project Management Semester Long Project - Acuityjpupo2018
Acuity is an innovative learning app designed to transform the way you engage with knowledge. Powered by AI technology, Acuity takes complex topics and distills them into concise, interactive summaries that are easy to read & understand. Whether you're exploring the depths of quantum mechanics or seeking insight into historical events, Acuity provides the key information you need without the burden of lengthy texts.
20240609 QFM020 Irresponsible AI Reading List May 2024
Introaspnet
1. Introduction to ASP.NET
• Some references:
• Beginning ASP.NET using VB.NET; Wrox; 2002 chpt 2.
• Kalata, K, Introduction to ASP.NET – 2002, chpt 1.
• Esposito, D. Programming Microsoft ASP.NET, chpt 1.
• Morrison, M. and Morrison, J. Database driven web sites (2nd
edn). Chpt 6.
• VS.NET on line documentation + Quickstart tutorials
• What is ASP.NET and how is different from ASP
– ASP: server side technology for creating dynamic web pages
using scripting languages eg vb script.
– ASP.NET: server side technology for creating dynamic web
pages using Fully Fledged programming languages supported
by .NET
– VB.NET: our chosen language for writing ASP.NET pages
2. What is .NET?
• A Microsoft strategy and new technology for delivering software
services to the desktop and to the web
• Components include:
– MS Intermediate Language; all code is complied into a more abstract,
trimmed version before execution. All .NET languages are compiled to
MSIL – the common language of .NET
– The CLR- common language runtime; responsible for executing MSIL
code; interfaces to Windows and IIS
– A rich set of libraries (Framework Class Libraries) available to all .NET
languages
– The .NET languages such as C#, VB.NET etc that conform to CLR
– ASP.NET is how the Framework is exposed to the web, using IIS to
manage simple pages of code so that they can be complied into full .NET
programs. These generate HTML for the browser.
• Built on open protocols (XML, SOAP)
• Future for development of MS & non-MS based systems.
• Also heading towards the “Internet Operating System”
3. Common LanguageCommon Language
Runtime Type SystemRuntime Type System
Compilers use the runtime type system to produceCompilers use the runtime type system to produce typetype
compatiblecompatible componentscomponents
ComponentsComponents
CompilersCompilers
Common Type System
C#C# VBVB C++C++
Runtime EnvironmentRuntime Environment
4. Robust And SecureRobust And Secure
• Native code compilation
MSIL
No interpreter
Install-time or run-time IL to native compilation
• Code correctness and type-safety
IL can be verified to guarantee type-safety
No unsafe casts, no uninitialized variables, no out-of-bounds array
indexing
• Evidence-based security
Policy grants permissions based on evidence (signatures, origin)
5. .NET Execution Model.NET Execution Model
VBVB VCVC ...... ScriptScript
ILIL
NativeNative
CodeCode
NativeNative
CodeCode
Common Language RuntimeCommon Language Runtime
Standard JITStandard JIT
CompilerCompiler
6. Common Language Runtime
• Lightweight Just-in-time compiler:
– MSIL to Native machine language; Can be ported to numerous platforms
• The compiled code is transformed into an intermediate language
called the Microsoft Intermediate Language (MSIL or IL)
• An integer in Visual Basic .NET or an int in C# are converted to
the same .NET data type, which is Int32
• The IL that is created is the same for all languages
• The assembly is the compiled .NET program
• The assembly contains the IL along with additional information
called metadata
• Metadata contains information about the assembly
• Use the IL Disassembler (ildasm.exe) to view the IL within an
assembly
7. Framework OverviewFramework Overview
Base Class Library
Common Language Specification
Common Language Runtime
Data and XML
VB C++ C#
VisualStudio.NET
Web Forms
(ASP.NET)
JScript …
Win Forms
8. .NET Framework Architecture
Common Language Runtime
MetadataType System Execution
System Base Framework
IO Net Security ServiceProcess
ADO.NET XML SQL Threading
System.Web
Web Services Web Forms
ASP.NET Application Services
System.WinForms
Controls Drawing
Windows Application Services
9. Namespace
• The base class libraries are organized into logical
groupings of code called namespaces
• A namespace is a hierarchical way to identify
resources in .NET
• The System object is at the top of the namespace
hierarchy, and all objects inherit from it
– ASP.NET: System.Web namespace
– WebForms: System.Web.UI namespace
– HTML Server Controls:
System.Web.UI.Control.HTMLControl
– ASP.NET Server Controls:
System.Web.UI.Control.WebControl
10. Importing Namespaces
• Visual Studio .NET adds references to your projects’
commonly used namespaces by default
• You can import the namespaces into your page using
the @Import directive
• The following is the syntax for importing a .NET
namespace
<%@ Import NamespaceName %>
• Below is a sample of how you would import the
ASP.NET Page class
<%@ Imports System.Web.UI.Page %>
11. Some ASP.NET namespaces
System Defines fundamental data types eg
system.string
System.Collections Definitions and classes for creating
various collections
System.IO File reading & writing operations
System.Web Support browser/server
communication
System.Web.UI Creates the Page object whenever
an .aspx page is requested
System.Web.UI.web
controls
Classes and definitions to create
server controls
12. ASP.NET – class browser
• ASP.NET provides a means of exposing the .NET
Framework and its functionality to the WWW
• Contains a number of pre-built types that take
input from .NET types and represents them in a
form for the web (such as HTML)
• Class browser (over 9000 classes; lists the
namespaces): http://interdev.csse.monash.edu.au/
quickstart/aspplus/samples/classbrowser/vb/
classbrowser.aspx
13. ASP.NET
• The latest version of ASP is known as ASP.NET
• Visual Studio .NET is a developer application used
to create ASP.NET Web applications
• There are two main types of Web resources created
with ASP.NET applications
– WebForms are ASP.NET pages within an ASP.NET
application
– Web Services are ASP.NET Web pages that contain
publicly exposed code so that other applications can
interact with them
– Web Services are identified with the file extension .asmx
14. WebForms
• The ASP.NET WebForm is separated into two
logical areas:
– The HTML template
– A collection of code behind the WebForm
• The HTML template
– Contains the design layout, content, and the controls
– Creates the user interface, or presentation layer
– Instructs the browser how to format the Web page
– Is created using a combination of HTML controls,
HTML Server controls, Mobile Controls, and
ASP.NET controls
15. Server Controls
• HTML Server controls are similar to the HTML
controls, except they are processed by the server
• Add runat = "server" to the HTML control to
transform it into an HTML Server control
• HTML control: <input type="text">
• HTML Server control:
<input type="text" runat="server"/>
<input type=”radio” runat=”server” value=”Yes”/> Yes
• Server-side programs can interact with the control
before it is rendered as a plain HTML control and
sent to the browser
16. ASP.NET Controls
• ASP.NET form controls will create the HTML code
• ASP.NET Server controls are organized as:
– ASP.NET Form Controls
– Data Validation Controls
– User Controls
– Mobile Controls
• ASP.NET controls are usually identified with the
prefix asp: followed by the name of the control
• ASP.NET button:
<asp:Button id="ShowBtn" runat="server"
Text="Show the message." />
17. HTML Server Vs
ASP.NET Server, Controls
• ASP.NET form controls can interact with client-
side events such as when the user clicks on a
button
– When the event occurs, ASP.NET can trigger a script to
run on the server
• ASP.NET form controls also have different
properties than their HTML server control
counterparts
– HTML Server label control
• Message1.InnerHTML = "Product 1"
– ASP server label control
• Message2.Text = "Product 2"
18. User Controls
• User controls are external files that can be
included within another WebForm
• User controls allow you to reuse code across
multiple files
• For example, you can create a user control that
displays the a navigation bar
• You can use this control on the home page; they
are often used for creating self-contained code,
headers, menus, and footers
• User controls replace the functionality of ASP
server-side include pages
• They are identified with the file extension .asmx
19. Other ASP.NET Server Controls
• Data validation controls
– A series of controls that validate form data without extensive
JavaScript programming
• Mobile controls
– A series of controls that provide form functionality within
wireless and mobile devices
• Literal controls
– Page content that is not assigned to a specific HTML control
such as a combination of HTML tags and text to the browser
20. Server Controls within
Visual Studio .NET
• In Visual Studio
.NET most of the
ASP.NET Server
controls are located
on the Web Forms
tab in the toolbox
Server controls with Visual Studio.NET
21. The Code Behind
• Server programs are written in a separate file
known as the code behind the page
• By separating the programming logic and
presentation layer, the application becomes
easier to maintain
• Only Server controls can interact with the code
behind the page
– Written in any ASP.NET compatible language such
as Visual Basic .NET, C#, Perl, or Java
– Filename is the same as the WebForm filename
– Add a file extension that identifies the language
• Visual Basic .NET use .vb (mypage.aspx.vb)
• C# use .cs (mypage.aspx.cs)
22. Code Behind file
• The location of the code behind the page is determined
via a property that is set on the first line in the page
using the @Page directive
<%@ Page Language="vb" Codebehind="WebForm1.vb"
Inherits=“MyFirstApp.WebForm1"%>
• The @Page directive allows you to set the default
properties for the entire page such as the default
language
• The CodeBehind property identifies the path and
filename of the code behind file
• The Inherits property indicates that the code behind
the page inherits the page class
• This page class contains the compiled code for this
page
23. Compiling the Page Class
• The compiled code behind the page is the class
definition for the page
– A class is a named logical grouping of code
– The class definition contains the functions, methods, and
properties that belong to that class
• In Visual Studio .NET the process of compiling a
class is called building
– When you build the application, you compile the code
into an executable file
– Visual Studio .NET compiles the code behind the page
into an executable file and places the file in the bin
directory
24. Page Class Events
• The Page Class consists of a variety of methods,
functions, and properties that can be accessed
within the code behind the page
• The first time a page is requested by a client, a
series of page events occurs
• The first page event is the Page_Init event
which initializes the page control hierarchy
• The Page_Load event loads any server controls
into memory and occurs every time the page is
executed
26. Web Services
• Web Services also provide a means to
expose .NET functionality on the web but
Web Services expose functionality via
XML and SOAP (cf: function calls over the
web)
27. Web Services
• If your business partner is Course Technology
and you want to query that company’s product
catalog from your Web site, you could:
– Post a link
– Scrape a Web site (use a program to view a Web site and
capture the source code)
– Provide a Web Service to their catalog application
• Web Services are used to create business-to-
business applications
– Web Services allow you to expose part or all of your
programs over the Internet. The Web Service source file
has the extension .asmx
– A public registry known as UDDI contains registered
public Web Services. Third party Web Services are
available at http://www.xmethods.com
28. How ASP.NET works
• When .NET is installed, IIS is configured to
look for files with the .aspx extension and
to use the ASP.NET module
(aspnet_isapi.dll) to handle them.
• ASP.NET parses the .aspx file and arranges
it in a predefined class definition and
generates an asp.net page object.
• The page object generates html that is sent
back to IIS and then the browser.
• NOTE: only .aspx files are parsed (if it is
pure html don’t save it as an aspx file as it
will slow down the server.
29. ASP.NET samples
• Page directives: <%@ page language = “VB”
debug="true" trace="true“ %>
• <script language = “VB” runat=“server”> VB.NET
code declarations ……….. </script>
• Message.aspx
<html>
<head> <title>Inserting ASP.NET code Example</title> </head>
<body>
Line1: First HTML Line<br />
Line2: Second HTML Line<br />
Line3: Third HTML Line<br />
</body>
</html>
• Note this has no asp code so better to use .html extension
30. • Message2.aspx
<script language="VB" runat="server">
Sub Page_Load()
Response.Write ("First ASP.NET Line<br />")
Response.Write ("Second ASP.NET Line<br />")
Response.Write ("Third ASP.NET Line<br />")
End Sub
</script>
<html> <head> <title>Inserting ASP.NET code Example</TITLE> </head>
<body>
Line1: First HTML Line<br />
Line2: Second HTML Line<br />
Line3: Third HTML Line<br />
</body>
</html>
31. • Message3.aspx
html>
<head><title>Inserting ASP.NET code Example</title></head>
<body>
Line1: First HTML Line<br />
Line2: Second HTML Line<br />
Line3: Third HTML Line<br />
<script language="VB" runat="server">
Sub Page_Load()
Response.Write ("First ASP.NET Line<br />")
Response.Write ("Second ASP.NET Line<br />")
Response.Write ("Third ASP.NET Line<br />")
End Sub
</script>
</body>
</html>
32. Render or inline code block –
interweave1.aspx<html>
<head>
<title>Interweaving ASP.NET code and HTML Example</title>
</head>
<body>
Line1: First HTML Line<br />
<% Response.Write ("First ASP.NET Line<br />") %>
Line2: Second HTML Line<br />
<% Response.Write ("Second ASP.NET Line<br />") %>
Line3: Third HTML Line<br />
<% Response.Write ("Third ASP.NET Line<br />") %>
</body>
</html>
NOT RECOMMENDED.
33. Interweave2.aspx A Server control
script language="VB" runat="server">
Sub Page_Load()
Message.Text="The ASP.NET line"
End Sub
</script>
<html>
<head> <title>Inserting ASP.NET code Example</TITLE> </head>
<body>
First HTML Line<br/>
<asp:label id=Message runat="server"/> <br />
Second HTML Line<br/>
</body>
</html>
34. Web application project files
AssemblyInfo.vb Info about the compiled project file stored in
/bin and named project.dll
Global.asax Event handler commands visible to all web
forms in a project
Global.asax.resx Define application resources such as text
strings, images. Can change without
recompiling project.
Global.asax.vb Asp.net code for application events eg
session.start
Project.sln Stores links to all project files
Project.suo VS.NET IDE configuration info for the proj.
Project.vbproj Configuration and build settings for project
files.
35. Web application project files cont.
Project.vbproj.webinfo URL to project web server
Project.vsdisco Enables search for web services
Styles.css Project style sheet
Web.config Project and folder configuration information
Webform.aspx Web form .aspx file;Html
Webform.aspx.resx Resources in corresponding web form
Webform.aspx.vb Code written for the form (code behind)
Binproject.dll Compiled project output file (assembly)
Binproject.pdb Debugging information used by developer
36. Viewing the Assembly
• Create a simple class, compile the class into an assembly,
then view the class using the IL Disassembler
• Open Notepad and type the code shown:
' hello.vb - displays hello world
' Created 06/01/2002
Imports System
Public Module Hello
Sub Main()
Dim s1 As String = "1 - Hello World"
Console.WriteLine(s1)
End Sub
End Module
' Run this at the command line
' vbc hello.vb
37. Using the ILDASM to
View the Assembly and Classes
Using the ILDASM to view the assembly and classes
38. Examples
• quickstart – webforms
– Intro4 shows VIEWSTATE
– Intro6 shows a click event
– Intro7 shows a usercontrol with a calander
– Intro8 shows a db connection
– Intro9 & 10 show asp.net templates
– Intro11shows validation controls
– Intro13 shows code behind pages
• Server directives eg trace and debug
– trace
39. The lab environment.
• Each machine is set up to be an IIS server –
http://localhost:1900/…..
• You create your web projects with Visual Studio.Net.
VS.NET will create a subdirectory in c:/inetpub/wwwroot
for your project. You must copy this subdirectory when
moving to another machine or home.
• URL
– http://localhost:1900/MyfirstApp/homepage.aspx
• Alternative to VS.Net is webmatrix
• Some samples on another machine
– http://interdev.csse.monash.edu.au/cse2030/ Interdev is not
accessible outside the Monash network.
40. ASP.NET Vs PHP
Feature PHP ASP.NET
HTML Yes Yes
CSS Yes Yes
‘php Templates’ Yes UserControls
ServerControls
(buttons,grids etc)
No Yes
Javascript Yes Yes + Validation controls
Database Conn Yes Yes
Cookies & Sessions Yes Yes
VIEWSTATE No Yes
POSTBACK No Yes