Beginning Visual Web Programming in VB.NET
|
|
|
- Charleen Fletcher
- 10 years ago
- Views:
Transcription
1 Beginning Visual Web Programming in VB.NET From Novice to Professional DANIEL CAZZULINO VICTOR GARCIA APREA JAMES GREENWOOD CHRIS HART
2 Beginning Visual Web Programming in VB.NET: From Novice to Professional Copyright 2005 by Daniel Cazzulino, Victor Garcia Aprea, James Greenwood, Chris Hart All rights reserved. No part of this work may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying, recording, or by any information storage or retrieval system, without the prior written permission of the copyright owner and the publisher. ISBN (pbk): Printed and bound in the United States of America Trademarked names may appear in this book. Rather than use a trademark symbol with every occurrence of a trademarked name, we use the names only in an editorial fashion and to the benefit of the trademark owner, with no intention of infringement of the trademark. Lead Editor: Ewan Buckingham Technical Reviewer: Victor Garcia Aprea Editorial Board: Steve Anglin, Dan Appleman, Ewan Buckingham, Gary Cornell, Tony Davis, Jason Gilmore, Chris Mills, Dominic Shakeshaft, Jim Sumser Assistant Publisher: Grace Wong Project Manager: Beckie Stones Copy Manager: Nicole LeClerc Copy Editor: Marilyn Smith Production Manager: Kari Brooks-Copony Production Editor: Kelly Winquist Compositor: Dina Quan Proofreader: Katie Stence Indexer: Kevin Broccoli Artist: Kinetic Publishing Cover Designer: Kurt Krames Manufacturing Manager: Tom Debolski Distributed to the book trade in the United States by Springer-Verlag New York, Inc., 233 Spring Street, 6th Floor, New York, NY 10013, and outside the United States by Springer-Verlag GmbH & Co. KG, Tiergartenstr. 17, Heidelberg, Germany. In the United States: phone SPRINGER, fax , [email protected], or visit Outside the United States: fax , [email protected], or visit For information on translations, please contact Apress directly at 2560 Ninth Street, Suite 219, Berkeley, CA Phone , fax , [email protected], or visit The information in this book is distributed on an as is basis, without warranty. Although every precaution has been taken in the preparation of this work, neither the author(s) nor Apress shall have any liability to any person or entity with respect to any loss or damage caused or alleged to be caused directly or indirectly by the information contained in this work. The source code for this book is available to readers at in the Downloads section. You will need to answer questions pertaining to this book in order to successfully download the code.
3 To Any, for believing in me, changing for me, and risking with me on this seemingly never-ending journey though new challenges. I hope I can get to be as supportive with you as you have been with me. You have been the most amazing companion I could have ever dreamed of. To Agustina, my little baby, for giving me yet another reason to love working at home. Watching you grow every day up close is a great gift from God (I hear Any say I shouldn t be *just* watching :o)). To my father, for being such a life warrior. I ll never give up, just as you never do. Thanks for staying with us and giving me the opportunity of making you feel proud of me. I can clearly see now that it wasn t your time, and God really wanted you to see everything that came after. To all my girls, mum and sisters, for showing me what great women look like. I must listen to you more. I m working on that. To my dear friends (you know who you are), for always being there and bringing me back to earth. Talking to you makes me understand there s a beautiful life outside (along with?).net. To Olga, for being like a second mother, and to Pedro, for doing all the things I should do at home so I can spend more time programming, without getting Any mad at me. I never thank you enough. With regards to Pedro, it s already too late. I hope I never make that mistake again. We miss you a lot. Daniel Cazzulino
4 Contents at a Glance About the Authors xv About the Technical Reviewer xvii Acknowledgments xix Introduction xxi CHAPTER 1 Environment and Architecture CHAPTER 2 Web Development in.net CHAPTER 3 User Interfaces and Server Controls CHAPTER 4 ADO.NET CHAPTER 5 Data Binding CHAPTER 6 ASP.NET State Management CHAPTER 7 Markup Languages and XML CHAPTER 8 XML and Web Development CHAPTER 9 Web Services in Web Applications CHAPTER 10 ASP.NET Authentication, Authorization, and Security CHAPTER 11 Debugging and Exception Handling CHAPTER 12 Caching and Performance Tuning CHAPTER 13 Publishing Web Applications in.net APPENDIX A The Friends Reunion Application APPENDIX B Management of IIS and MSDE INDEX v
5 Contents About the Authors xv About the Technical Reviewer xvii Acknowledgments xix Introduction xxi CHAPTER 1 Environment and Architecture Web Application Considerations The Web Model Desktop Applications vs. Web Applications Web Servers and Web Clients System Configuration for Web Development Installing and Configuring IIS for.net Web Applications Administering IIS Configuring Virtual Directories Dynamic Web Applications Client-Side Processing and Server-Side Processing An Introduction to State Management Web Application Architecture Summary CHAPTER 2 Web Development in.net An Introduction to ASP.NET Web Form Construction in VS.NET Understanding Web Form Structure: Presentation and Processing Using the Properties Browser Using Code-Behind A Brief Tour of An ASP.NET Application ASP.NET Application Files The Class View Object Orientation in ASP.NET Reusability and Encapsulation vii
6 viii CONTENTS Compilation The Lifecycle of a Page Summary CHAPTER 3 User Interfaces and Server Controls Server Controls HTML Controls HTML Server Controls Web Server Controls Validation Controls User Controls Custom Controls Dynamic Content Avoiding Code Duplication Summary CHAPTER 4 ADO.NET The Architecture of ADO.NET The Data Reader Object Data Providers Programmatic Use of ADO.NET Adding Data to a Database Retrieving Data from a Database Changing the Data in a Database The Rest of the Picture: The DataSet and Data Adapter Objects Dealing with Disconnected Data Using a DataSet Object Summary CHAPTER 5 Data Binding Introduction to Components Placing a Component on a Form Configuring Dynamic Properties Data Binding Using Binding Expressions Formatting with the DataBinder Class Using Data Binding Binding to Sets of Data
7 CONTENTS ix Working Visually with Data Working with Data Components Using Typed Datasets Advanced Data Binding Paging Freestyle Data Binding and Editing The DataList Summary CHAPTER 6 ASP.NET State Management State Storage and Scope Session State Controlling the Session State Configuring the Session State Application State Using Application Object and Events Viewstate Using the Viewstate As a Datastore Transient State Cookies Passing Data with Query Strings Passing Data with Hidden Form Fields Summary CHAPTER 7 Markup Languages and XML Markup Languages HyperText Markup Language Extensible Markup Language (XML) XML Data Exchange XML Schemas and Validation Markup Languages, Schemas, and Validation XML Schema Creation Using XML Namespaces Building an XML Schema Defining Complex Types Defining Custom Simple Types Restricting Element Occurrence Viewing the Entire Schema Summary
8 x CONTENTS CHAPTER 8 XML and Web Development XML Document Creation in VS.NET Creating XML Documents Visually Creating XML Documents in the Data View Programmatic Manipulation of XML in.net Reading and Validating XML Receiving the Uploaded File XML Queries with XPath Querying Document Object Model (DOM) Documents Understanding the XPath Data Model Building XPath Expressions Dynamically XML APIs Comparison Summary CHAPTER 9 Web Services in Web Applications Overview of Web Services Web Services Relationship to the Browser/Server Model VS.NET Support for Web Services Web Service Implementation Implementing Web Methods Testing the Web Service Using Complex Data Types Web Service Consumption An Introduction to SOAP Understanding the SOAP Message Format Viewing a SOAP Request and Response Error Handling in Web Services Web Service Efficiency Caching in Web Services Reducing the Amount of Data Involved Using Custom Data Types for Optimization Adding State to Web Services Third-Party Web Services Summary CHAPTER 10 ASP.NET Authentication, Authorization, and Security Security Overview Security Architecture
9 CONTENTS xi Essential Terminology The ASP.NET Security Infrastructure Application Security Configuration Authentication Configuration Authorization Configuration Location Configuration Authentication Modes Windows Authentication Passport Authentication Forms Authentication Customized Authentication and Role-Based Security Implementing Custom Authentication Securing Folders Summary CHAPTER 11 Debugging and Exception Handling Types of Errors Syntax Errors Semantic Errors Input Errors Debugging Web Applications ASP.NET Tracing Tracing and Assertions in.net The VS.NET Debugger Exceptions Exception Handling Unhandled Exceptions Summary CHAPTER 12 Caching and Performance Tuning What Is Good Performance? Performance Monitoring Configuring the System Monitor in PerfMon Avoiding External Overhead Performance Testing an Application Installing the Web Application Stress Tool Generating a Realistic Set of Data Preparing a Performance Test with a Simulated Load Running the Performance Test
10 xii CONTENTS Caching Caching Overview ASP.NET Caching Monitoring the Cache API Controlling the Viewstate Disabling the Viewstate for Controls Disabling the Viewstate at the Page and Application Levels Checking the Viewstate Encryption Features Deciding What to Put in Viewstate More ASP.NET Performance Tips Server-Side Redirection Using Server.Transfer Using Web Controls Conservatively Disabling Session State Improving Database Access Summary CHAPTER 13 Publishing Web Applications in.net Methods for Deploying.NET Applications XCOPY Deployment Deployment Projects Manual Web Application Deployment Setup Projects in VS.NET Creating Web Setup Projects Including the dotnetfx.exe File with Your Installation Viewing Application Dependencies and Outputs Using the Setup Project Uninstalling a Project Customized Deployment Adding a Custom File Editing the User Interface Building the Project Adding Custom Actions Using Installer Classes Deploying Application Configuration Settings Using Launch Conditions Summary Web Applications An Overview
11 CONTENTS xiii APPENDIX A The Friends Reunion Application Friends Reunion Database Design How to Set Up the Code Download Package Setting Up the Database Setting Up the Code Samples How to Create GUIDs for Database Keys APPENDIX B Management of IIS and MSDE IIS Configuration Configuring Site-Wide Settings Configuring ASP.NET Applications in IIS Locking Down IIS Impersonation Configuration An Introduction to IIS MSDE Management Using MSDE Administering Data via the Server Explorer INDEX
12 About the Authors DANIEL CAZZULINO, one of the original authors of this book, is the main editor of this edition. He reviewed and modified the original text to make it an even more consistent book and to adapt it to the latest changes in the ASP.NET product. Daniel (also known as kzu ) is cofounder of Clarius Consulting ( providing training, consulting, and development in Microsoft.NET technologies. He coauthored several books for Wrox Press and Apress on web development and server controls with ASP.NET, has written and reviewed many articles for ASP Today and C# Today, and currently enjoys sharing his.net, XML, and ASP.NET experiences through his weblog ( He also works closely with Microsoft in key projects from the Patterns and Practices group, shaping the use of OO techniques, design patterns, and frameworks for.net. Microsoft recognized him as a Most Valuable Professional (MVP) on XML Technologies for his contributions to the community, mainly through the XML-savvy open source project NMatrix ( sourceforge.net/projects/dotnetopensrc) he cofounded and his weblog. He also started the promising Mvp.Xml project with fellow XML MVP experts worldwide ( Surprisingly enough, Daniel is a lawyer who found a more exciting career as a developer and.net/xml geek. JAMES GREENWOOD is a technical architect and author based in West Yorkshire, England. He spends his days (and most of his nights) designing and implementing.net solutions from government knowledge-management systems to mobile integration platforms all the while waxing lyrical on the latest Microsoft technologies. His professional interests include research into distributed interfaces, the automation of application development, and humanmachine convergence. When he can be pried away from the keyboard, James can be found out and about, indulging in his other great loves: British sports cards and Egyptology. You can reach James at [email protected]. CHRIS HART is a full-time developer, part-time author based in Birmingham (UK). Chris took the long route into development, having originally studied Mechanical Engineering. She is currently working at Trinity Expert Systems ( and her most recent project has involved developing a heavily customized Microsoft CMS Server application. In her spare time, she enjoys writing about ASP.NET, and she has contributed chapters to many books, published by both Apress and Wrox Press. In the remaining hours of the day, she enjoys cooking, going to the gym, and relaxing with her extremely supportive husband, James. VICTOR GARCIA APREA, one of the authors of the original version of this book, also served as the technical reviewer of this edition. You can read about him on the About the Technical Reviewer page. xv
13 About the Technical Reviewer VICTOR GARCIA APREA is cofounder of Clarius Consulting, providing training, consulting, and development in Microsoft.NET technologies. Victor has been involved with ASP.NET since early in its development and was recognized as a Microsoft MVP for ASP.NET since He has written books and articles, and also has done a lot of reviewing for Wrox Press, Apress, and Microsoft Press. Victor is a regular speaker at Microsoft Argentina (MSDN DevDays, Ask the Experts panel, and other events) and.net local user groups. You can read Victor s weblog at xvii
14 Acknowledgments Special thanks to Chris Hart for sharing her writing skills with me and turning a chaotic, spasmodic writer into a bearable author. To Ian Nutt for letting me learn the intricacies of the editing work, which ultimately made my role in this book possible. The editorial industry misses you! Thanks to Dominique, for remembering my name after the lunch, our meeting, and the years, and for believing in the strong and concise material we created for this book. Hey, I slipped Mono release only by a year :o)! And thanks to Ewan, Marilyn, Beckie, and Kelly for their help in getting this book out the door. And thanks to Victor for being the most amazing technical reviewer (besides being an excellent author and partner, too). It s great to see that just as we began, we continue (not that you being the reviewer and me the editor means I m sort of your boss ). Daniel xix
15 Introduction The introduction of.net has blurred the lines between previously distinct programming disciplines, and it has done so to great effect for developers. With so much functionality encapsulated by the.net Framework class library, some diverse tasks have gained a common programming interface. One area in which this change is particularly striking is that of web development. Before.NET, web application programming the Microsoft way was all about ASP. At the time, ASP was new, accessible, and exciting. But it was also script-based and inefficient. It led to serious maintainability problems, and the IDEs were disjointed. Microsoft has channeled the lessons it learned from ASP into its.net Framework. Now, with ASP.NET (the.net web development technology), you can create efficient, interactive Internet applications using the same languages that you use for Windows desktop applications. In Visual Studio.NET (VS.NET), Microsoft has taken this idea even further; not only does the code look similar, but the GUI looks similar, too. Visual Basic.NET s (VB. NET s) familiar form-based interface is used for development of web applications, as well as for desktop programs. If you want to, you can create a web application without ever seeing a line of HTML code, and you can take advantage of all the facilities for testing and debugging that VS.NET provides to programmers of all disciplines. The structure of class libraries in the.net Framework is such that the methodology you use is the same, regardless of whether you re developing desktop applications or web applications. ASP.NET is really just a series of classes in the.net Framework, just like the Windows Forms classes. From this perspective, the move from desktop application development to web development shouldn t be too much of a leap. Yet there are some major differences that you need to consider when you move to web development. We are no longer talking about applications installed and running on individual machines; instead, we re talking about hosting an application on a central server, ready to be accessed by hundreds or thousands of remote clients every hour. This means that you need to be more concerned with performance, scalability, and security issues to ensure that the end user s experience is as smooth and secure as possible. In this book, we ll explain the issues involved in the web development paradigm and how they re different from those you re used to in desktop application development. To demonstrate how to apply these principles, beginning in Chapter 3, this book guides you through building a feature-rich, interactive web application called Friends Reunion, using VB.NET, ASP.NET, and VS.NET. The emphasis is on learning by practice. Every example in the book is described step by step, and we ll outline and explain each stage in the development, debugging, and deployment of the Friends Reunion application. xxi
16 xxii INTRODUCTION Who Is This Book For? This book is predominantly targeted at developers who have some experience in the VB.NET language (perhaps through practical application of the language or simply from a VB.NET tutorial book). These developers may fall into one of two groups: Readers who have little or no web development experience, have gained their VB.NET experience mostly in the context of desktop applications, and are seeking to apply this VB.NET expertise in web development in.net Readers who have gained some web development experience using ASP, PHP, or other technologies, and are seeking to move into web development using.net and VB.NET. This book does not assume that you have programmed for the web environment before, but it does assume that you have some familiarity with VB.NET. Previous experience with the VS.NET integrated development environment (IDE) is not essential, but it is helpful. Similarly, we assume no previous experience with HTML, XML, databases, or any of the other technologies mentioned in this book though a little background knowledge does no harm. What Does This Book Cover? The first two chapters of this book are introductory. They provide the basic foundation you need to begin working on the Friends Reunion web application in Chapter 3. The remaining chapters examine different aspects of web application development using VB.NET and ASP.NET. In each chapter, we study an aspect both in general terms and within the context of the Friends Reunion application. Over the course of these 11 chapters, we build, test, debug, and deploy a rich interactive web application and you ll see every single step. You can obtain all of the code presented in this book from the Downloads section of the Apress web site ( Appendix A contains an overview of the code and explains how to install and run it for each chapter. Here s a summary of the contents of this book: Chapter 1 is an introduction to the web environment. It discusses the similarities and differences between web applications and desktop applications, and explains what happens behind the scenes when a user employs a browser to request a web page. The intention is to clarify the issues that influence the way we design applications for the Web and to set the scene for the remainder of the book. We also set up the web server here and create a couple of simple examples to get things started. In Chapter 2, we move on to create some basic ASP.NET web forms using VS.NET. We look at how web forms are processed and the lifecycle of a page, and we demonstrate it all by walking through our first ASP.NET application. Chapter 3 is all about the server control. The server control is the core part of any web form; it s at the heart of the development of dynamic, interactive web sites in.net. VS.NET allows you to drag-and-drop server controls onto your web forms in exactly the same way that you insert Windows Forms controls into a Windows desktop application. And you can add code to your forms to interact with these controls in much the same way, too.
17 INTRODUCTION xxiii In Chapters 4 and 5, we turn our attention to data. Most interactive web applications rely on the existence and manipulation of data of some form, and on storage of that data (either in a full-scale database or some other format). In Chapter 4, we use ADO.NET to access and manipulate data. In Chapter 5, we demonstrate how data binding techniques make it easy to display data on your pages in a user-friendly manner. You will also see how to apply templates to your web forms to alter the look and feel of your data-bound controls. Chapter 6 is about applications, sessions, and state. By nature, the Web is a stateless medium when you request a web page, the web server delivers it, and then forgets about you. If you want your web applications to recognize users when they make multiple page requests (for example, as they browse an e-commerce application adding items to a shopping basket), you need to know about the different techniques you can use to retain state across pages, for a session, or across an application. Chapters 7 and 8 focus on XML, a topic that has become very important as widespread Internet connectivity becomes the norm. In Chapter 7, we look at the concept of markup and how it is widely relevant to data-driven applications, and we create our own XML language by way of an XML Schema. In Chapter 8, we explore how to use that XML Schema to facilitate a data-transfer feature exploiting XML s nature as the perfect vehicle for data transfer across the Internet. In Chapter 9, we turn briefly away from web sites to explore a different type of web application: the web service. Web services enable you to expose your application s functionality to other client applications. These applications make requests using standards and protocols over the Internet. This also means that you can use other people s web services in your code as if they were components on your own system, even though they are only accessible across the Internet. We ll examine both how to create web services and how to consume existing services. Chapter 10 is about ASP.NET authentication, authorization, and security. The role of security in an application is motivated by the need to restrict a user s (or application s) access to certain resources and ability to perform certain actions. For example, you may want to include administrative tools in your web application and to prevent access to these administrator pages for all but authorized users. This chapter looks at the ASP.NET tools for authenticating and authorizing users of your applications. Chapter 11 tackles two distinct but related subjects: debugging and exception handling. Debugging is much easier when you understand the different types of bugs that can occur, and easier still with the array of debugging tools and techniques made available by VS.NET and the.net Framework. We ll study all that in the first half of the chapter. In the second half, we use the.net exception mechanism to handle some potential input errors that could occur at runtime and prevent the application from crashing in a heap. In Chapter 12, we focus on two more different but related subjects: performance and caching. We set out to clarify what we mean by good performance, and suggest a number of techniques you can use to analyze your application in realistic conditions. We ll apply some of those techniques to our Friends Reunion application, putting the application under stress to see what happens, and identifying and fixing a number of
18 xxiv INTRODUCTION different bottlenecks. We ll explain the issues related to caching and employ some caching techniques to save our application some processing effort, thereby optimizing the use of the server s resources. In Chapter 13, we describe how to prepare your application for deployment. VS.NET provides some easy-to-use tools that enable you to build your own deployment wizards. We demonstrate how to prepare the application for deployment web site, database, and all by wrapping it all up into an easy-to-use installation wizard. Appendix A contains a brief overview of the structure and functionality of the Friends Reunion web application, the design of the database, and the structure and use of the downloadable code. Appendix B contains more information about the setup and configuration of the Internet Information Server (IIS) web server and the Microsoft SQL Server Desktop Engine (MSDE). What You Need to Use This Book The following is the list of recommended system requirements for running the code in this book: A suitable operating system server versions, such as Windows 2000 Server or Windows Server 2003 Web Edition, or professional versions, such as Windows 2000 or Windows XP Professional Edition Internet Information Server (IIS), which is shipped with the suitable operating systems (the version will depend on the operating system, but all of them are suitable for ASP.NET development) Visual Studio.NET (or Visual Basic.NET) Standard Edition or higher The Microsoft SQL Server Desktop Engine (MSDE) or Microsoft SQL Server Note Windows XP Home Edition does not come with IIS and cannot run IIS. For ASP.NET web development on Windows XP Home Edition, you may consider the ASP.NET Web Matrix tool, available for free download from This tool offers limited ASP.NET web server functionality, and you won t be able to run web projects in VS.NET with this version. Read Appendix B for details on how to download and install MSDE if you don t have a full SQL Server. VS.NET provides a useful user interface for any SQL Server or MSDE database.
19 CHAPTER 1 Environment and Architecture Windows desktop applications and web applications have many differences, but one difference is fundamental. This difference lies in the relative locations of the application itself and its user interface: When you run a Windows desktop application, the user interface appears on the screen of the machine on which the application is running. Messages between the application and its user interface are passed through the operating system of the machine. There s just one machine involved here and no network. When you run a web application, the user interface can appear in the browser of any machine. Messages between the application and its user interface must also pass across a network, because, typically, the web application and its user interface are on two separate machines. This single difference in architecture manifests itself in many ways. If you re used to writing desktop applications and you re coming to web applications for the first time, it brings many new issues for you to consider. Let s begin with an overview of these considerations. Web Application Considerations Arguably, the most significant advantage of web applications is that the end users don t need to be on the same machine on which the application is running. In fact, they don t even need to be in the same country! But there are many other technical, practical, and design considerations, such as these: Messaging: Since a running web application must communicate with its user interface across a network, there needs to be a way of passing messages between the two that is network-proof. Manipulating the user interface: How can a web application tell its browser-based user interface which buttons, text, labels, and so on to show, and how to arrange and style them? Security: If a web application is available across a public network, you need to prevent unwanted users from accessing the application or from tapping in on authorized users. 1
20 2 CHAPTER 1 ENVIRONMENT AND ARCHITECTURE Multiple users: A web application can be executed via a remote machine, so it can effectively be executed by two or more users at the same time (potentially millions of them if it s a successful one!). Identification and state: How does a web application identify a user for the first time and recognize that user when she returns? This is especially important because of the stateless nature of the Web (see the An Introduction to State Management section later in this chapter). If you re migrating from desktop application development to the Web, these are just a few issues that derive from the simple fact that an executing web application is (usually) physically separate from its user interface. We ll address all of the issues over the course of the book. This chapter focuses on the web environment and on the architecture of web applications, to give you an idea of the implications of having an application and its user interface on different machines. In this chapter, we ll look at these aspects: How the web works, from the time the user requests a page to the time the user receives the response What a web application is and how it is composed The purpose of HTTP (the protocol underlying the Web) and its role in the request/response interaction between a browser and the web application server The role of the web server in hosting a web application The use of virtual directories in organizing web applications The difference between static content and dynamic content How client-side code and server-side code bring different effects to the world of dynamic content We ll start by taking a look at how the web works and how requests for web pages are processed. The Web Model You can take advantage of the Web to set up an application that runs in one central location and can be accessed by users located anywhere in the world, through just a browser and an Internet connection. The earliest web applications weren t really applications in the functional sense, but they took advantage of this basic concept to host documents in a single, central location and enable users to access those documents from distant places. With the global explosion of interest in the Internet, developers all over the world are now creating web applications that are much more functionally rich in their design. Web applications no longer exist just as a central resource for shared documents. Now, they re still a central resource, but we use them interactively to buy groceries, to calculate our taxes, and to send and receive . Our children use the Web as an exciting, interactive
21 CHAPTER 1 ENVIRONMENT AND ARCHITECTURE 3 learning experience. We re now using web applications to perform all those interactive tasks that were previously only in the domain of the desktop application. We don t need to install the software anymore; we just need to point the browser across the Internet to the application. Desktop Applications vs. Web Applications If you ve built a Windows desktop application in a language like Visual Basic.NET (VB.NET), then it s not too difficult to sit down and write a VB.NET web application that looks and feels quite similar to that desktop application, as illustrated in Figure 1-1. You can design the forms in the user interface (UI) to be similar, have the forms react to mouse clicks and button presses in a similar way, and make the back-end processing of the two applications quite similar. Figure 1-1. A desktop application (left) and a web application (right) can look and feel quite similar. To use the desktop version of an application, you need to install it on a machine, and then sit at that machine while you use it. When you ask the operating system to run the application, it will create a new process for it, where the application will execute. Afterwards, your mouse clicks and keypresses will be detected by the operating system and passed to the process in which the desktop application is running. The application interprets these messages, does whatever processing is necessary, and tells the operating system what changes should be made to the UI as a result. All the communication between the application process and the UI is done via the operating system of that machine. To use the web version of an application, you need to use a web browser. You type a URL into the web browser, which tells it where to find the machine on which the application is running. The browser arranges for a message to be sent across a network to this other machine. When the message is received by that machine, it s passed to the application, which interprets the message and decides what the UI (a web page) should look like. Then it sends a description of that web page back across the network to the browser.
22 4 CHAPTER 1 ENVIRONMENT AND ARCHITECTURE Far more players are involved in the use of the web application than are involved with the desktop application, but the advantages of this remote-access concept are nothing short of phenomenal. To build an effective web application, you need to understand these interactions between the browser and web application in finer detail, because they shape the way you write web applications. Web Servers and Web Clients You know that by entering a URL into the Address box of a browser window, you can surf and navigate to a web site. But what actually happens, behind the scenes, when you press Enter or click the browser s Go button to submit that URL? Before looking into the process, you need to understand the distinctions between the different machines and messages involved: Web client/web server: The machine on which a browser is running is referred to as a web client. The machine on which the web application is running is called a web server. Request/response: When a user types a URL into a browser, or clicks a link in a web page, the resulting message sent from the browser to the web server is called a request. The message containing the contents of a web page (which is sent by the web server to the browser in reaction to receiving the request) is called a response. The request and response are the vital components of this communication process. From the point of view of a web application, they re critically important. The request tells the web application what to do, and the response contains the fruits of its labors. With those concepts clearly defined, let s examine the process that takes place when a user employs a browser to request a web page. As illustrated in Figure 1-2, it s all about the exchange of messages: the request message and response message. In fact, the client is also able to send responses in addition to requests. The following sections describe each step in the process that you see in Figure 1-2. Step 1: Initiating the Client Request In the first stage, the user clicks a link, types a URL into a browser, or performs some similar action that initiates a request. The request is a message that must be sent to the web server. In order to send any request (or response) message, the browser needs to do three things: Describe the message in a standard way so that it can be understood by the web server that receives it. For this, it uses the Hypertext Transfer Protocol (HTTP), the protocol used by the Web to describe both requests and responses. The described request message is called the HTTP request, and it has a very particular format that contains information about the request plus the information required to deliver it to the web server. Package the message so that it can be safely transported across the network. For this, it uses the Transmission Control Protocol (TCP). Address the message, to specify the place to which the message should be delivered. For this, it uses the Internet Protocol (IP).
23 CHAPTER 1 ENVIRONMENT AND ARCHITECTURE 5 Figure 1-2. What happens when a user requests a web page from a browser Note TCP and IP are often grouped together and referred to as TCP/IP. When you hear people talking about TCP/IP, they re discussing packaging and addressing Internet messages. After the browser has described the message, packaged it, and addressed it, the request is ready to be dispatched across the network to its intended target: the web server. Step 2: Routing the Request Thanks to the HTTP, TCP, and IP protocols, the request message is formatted in such a way that it can be understood by each of the machines involved in routing the request that is, passing the request from one machine to another as it finds its way from the web client to the web server. The web server machine will be connected to the Internet (either directly or via a firewall) and will be uniquely identified on the Internet by its IP address. An IP address is a set of four numbers, each of which ranges between 0 and 255. However, the original request probably didn t contain an IP address. More likely, it was made using a URL that began with a named web site address (this is usually something more memorable, like The link between an IP address and its named equivalent is mapped using the Domain Name Service (DNS). For example, DNS currently
24 6 CHAPTER 1 ENVIRONMENT AND ARCHITECTURE maps the URL to the IP address so requests for web pages at the URL are directed to the web server whose IP address is Note The set of four numbers in an IP address enables us to address almost 4.3 billion machines uniquely. IP version 6 (IPv6) is a new version of the protocol that allows for many more unique addresses by employing eight sets of four hexadecimal digits (so that each set of four is between 0000 and FFFF). Despite the fact that 4.3 billion sounds like a lot, the invention of portable devices with always on Internet connections, such as mobile phones connecting over General Packet Radio Service (GPRS), means that we will eventually run out of today s IP addresses. This is why IPv6 was created. One address you ll be seeing a lot of in this book is This is a special address that resolves to the IP address Any computer recognizes this address as referring to itself. It s not actually a real IP address, but a reserved address used as a shortcut for the local machine, known as a loopback address. Step 3: Receiving and Reading the HTTP Request The standardized format for web requests is defined by HTTP, so when the HTTP request arrives at its destination, the web server knows exactly how to read it. In HTTP, a web client can make two principal types of requests of a server: GET request: The client can ask the server to send it a resource such as a web page, a picture, or an MP3 file. This is called a GET request, because it gets information from the server. This is a commonly used method, for example, when developing a search facility on a web site, where the same request will be made on more than one occasion. It s also how you request simple web pages and images. POST request: The client can ask the server to perform some processing in order to generate a response. This is called a POST request, because the client posts the information that the server must process, and then awaits a response. This method is more likely to be used, for example, when submitting personal data to an online shopping site or in any other situation where you are sending information to the server. Step 4: Performing Server-Side Processing The web server is the place where the application is running. It is responsible for ensuring that any necessary server-side processing takes place in order to complete its task and generate a response. If the HTML request contains a request for a simple HTML page, the web server will locate the HTML page, wrap it into an HTTP response, and dispatch it back to the client. In contrast, if the request is for an.aspx page, for example, the web server will pass the request to the ASP.NET engine, which takes care of processing the page and generating the output (usually HTML), before the web server wraps that newly generated output into an HTTP response, ready to be sent back to the client.
25 CHAPTER 1 ENVIRONMENT AND ARCHITECTURE 7 The HTTP response consists of two parts: the header and the body. The header contains information that tells the browser whether the request was successful or there was an error processing it. For example, if the web server received the request but was unable to locate the requested page, the header will contain an HTTP 404 (File Not Found) error code. The response body is where a successfully requested resource (such as a block of HTML) is placed. Step 5: Routing the Response The HTML page, generated at the web server, has been described in terms of an HTTP response message, and is packaged and addressed using TCP/IP. The return address is an IP address, which was included in the HTTP request message sent in step 1. The HTTP response message is routed back across the network to its target destination: the web client that made the original request. Step 6: Performing Client-Side Processing and Rendering When the HTTP response reaches the web client, the browser reads the response and processes any client-side code. This processed code is now displayed in the browser window. Now that you know what goes on when a user requests a page, it s time to start using some code. System Configuration for Web Development The best way to understand the web application process is to create some web pages and look at them from the perspective of both the end user and web server. You ll begin to do this shortly (and you ll create plenty of web pages during the course of the book), but before you can start, you need to install and configure a web server, which you ll use to host your web applications. If you are running Windows 2000, Windows XP, or even Windows Server 2003, you ll be able to use Microsoft s own web server Internet Information Services (IIS) to host your applications. Other web servers are available for Windows (such as Cassini, a web server written in.net) and for other development platforms (notably Apache, which can be installed on Windows machines, Linux machines, and now even comes preinstalled on Mac OS X machines). For this book, we ll use IIS to host the sample web applications, because it s the platform provided by Microsoft in order to run ASP.NET applications (although not the only one). Different versions of IIS are supplied as part of different versions of the Windows operating system: Windows 2000 Professional or higher has IIS 5.0 Windows XP Professional has IIS 5.1 Windows Server 2003 has IIS 6.0 IIS 5.0 and IIS 5.1 are very similar (in fact, IIS 5.1 is just a minor update of IIS 5.0). IIS 6.0 is a more substantial revamping of the IIS architecture, providing improvements in security and speed, as well as a deeper level of integration with ASP.NET applications. Having said that, the front-end interface for all of these versions is very similar; therefore, the configuration process described in this chapter works equally well for all of these IIS
26 8 CHAPTER 1 ENVIRONMENT AND ARCHITECTURE versions. For the remainder of the book, we ll limit the discussions mainly to the features available to IIS 5.x developers, because it s the main platform for workstations. We ve included an overview and setup instructions for IIS 6.0 in Appendix B, as there are some differences that should be taken into account when setting up web development or deploying the application on a server with Windows Server Installing and Configuring IIS for.net Web Applications The IIS installation process itself is a fairly painless operation. If you haven t installed any of the necessary software yet, then it s recommended that you install IIS before either the.net Framework or Visual Studio.NET (VS. NET), because the installation of the latter configures the former so that it is able to deal with the ASP.NET files that are central to web applications in.net. If You Haven t Installed the.net Framework or VS.NET Yet If you have not yet installed the.net Framework or VS. NET, open the Control Panel and head to Add/Remove Programs. In the dialog box that appears, select Add/Remove Windows Components. In the list of components that appears, select Internet Information Services (IIS), as shown in Figure 1-3. Accept all the default settings, and the installation process will commence. Now, you can go ahead and install the.net Framework and VS. NET, too. Figure 1-3. Choosing to install IIS If You ve Already Installed the.net Framework or VS.NET If you have already installed the.net Framework and/or VS.NET, you could proceed by uninstalling VS.NET, and then uninstalling the.net Framework (via the Add/Remove Programs group in your Control Panel). Then you could install IIS, and finally, reinstall VS.NET. But this is an aggressive (and time-consuming) process. Instead, we recommend that you try to use one of the following tools to repair the.net Framework, and use the uninstall/reinstall method only as a last resort.
27 CHAPTER 1 ENVIRONMENT AND ARCHITECTURE 9 First, try to run the ASP.NET IIS registration utility. Select Start Run. In the dialog box that appears, type the following command: %systemroot%\microsoft.net\framework\[version]\aspnet_regiis.exe [Version] is the.net version you have: v for.net 1.0 or v for.net 1.1. If that doesn t work, you should be able to do the job using the VS. NET DVD or CDs. If you own the VS.NET DVD, insert the DVD, and then select Start Run. In the dialog box that appears, type the following command (on one line): <Drive>:\wcu\dotNetFramework\dotnetfx.exe /t:c:\temp /c:"msiexec.exe /fvecms c:\temp\netfx.msi" If you have the VS.NET CDs, insert the VS.NET Windows Component Update CD, and then select Start Run. In the dialog box, type the following command (on one line): <Drive>:\dotNetFramework\dotnetfx.exe /t:c:\temp /c:"msiexec.exe /fvecms c:\temp\netfx.msi" Administering IIS Once the IIS installation has completed, you can check that it was successful by viewing the IIS console. The IIS console is the key administration tool that you will use to configure your IIS web server software. To run the console, select Start Run, type inetmgr in the dialog box, and click OK. Alternatively, you can use the Internet Services Manager shortcut in the Administrative Tools group in your Control Panel (if you are running Windows XP, this link is named Internet Information Services). The IIS console appears, and it should look something like the window shown in Figure 1-4. Figure 1-4. IIS console is an administration tool for configuring IIS web server software.
28 10 CHAPTER 1 ENVIRONMENT AND ARCHITECTURE Creating Virtual Directories In the folder list, you will notice that several of the folders are marked with a package-like (gear-like in IIS 6.0) icon (shown in Figure 1-4). This icon indicates that the folder is a virtual directory, which is also configured to be a root location for a web application. IIS maps each virtual directory to a physical directory on the web server machine. This mapping works as follows: The virtual directory structure is the structure that the end users see when they browse the pages of the web site though a browser. The physical directory structure is the actual folder structure that is used on the web server s hard disk for organizing and storing the pages and resources of the web application. Thus, web developers can use this mapping of virtual directories to physical ones to place the web application s source files in the most convenient place on their server and to hide their server s physical organization from end users (each virtual directory is just the alias of a physical directory). Let s see how this works and examine the process in more detail in an example. Try It Out: Create a Virtual Directory In this example, you ll use the IIS console to create a virtual directory that points to a physical folder on your system. You ll write a simple HTML page and place it inside the physical directory, so that it will be possible to use a browser to navigate to that page via HTTP, using the virtual directory structure you created. 1. Use Windows Explorer to create a directory called Apress anywhere on your drive, and then create a subdirectory called BegWeb within it, so that you have a physical directory structure like C:\Apress\BegWeb. 2. Fire up a text or code editor such as Notepad. (You ll be using VS.NET in every other example in the book, but for this example, it s really not necessary.) Enter the following simple HTML code into a new file: <html> <head> <title>beginning Web Programming - Simple Test HTML Page</title> </head> <body> <h2>a Simple HTML Page</h2> <p>hello world!</p> </body> </html> 3. Save this file as HelloWorld.htm in the \BegWeb directory that you just created. 4. Now, you ll create a virtual directory. Open the IIS console (select Start Run and type inetmgr). Right-click the Default Web Site node, and select New Virtual Directory from the context menu, as shown in Figure 1-5.
29 CHAPTER 1 ENVIRONMENT AND ARCHITECTURE 11 Figure 1-5. Choosing to create a new virtual directory 5. At this point, an introductory dialog box will appear. Just click Next to continue. 6. In the first page of the wizard, you ll be prompted for the name that you want to give to your virtual directory. This is the name that end users will see in the Address box of a browser when they request the page. Name your directory ApressBegWeb, as shown in Figure 1-6. Then click Next. Figure 1-6. Naming your virtual directory
30 12 CHAPTER 1 ENVIRONMENT AND ARCHITECTURE 7. In the next wizard page, browse to the BegWeb physical directory (or just enter the directory path into the text box), as shown in Figure 1-7, and then click Next. Figure 1-7. Specifying the physical directory that contains the web page contents 8. The next page, Access Permissions, presents a number of options relating to the permissions enabled on resources contained within this virtual directory, as shown in Figure 1-8. By default, users will be able to read files and run script-based programs. For now, leave the default settings and click Next to continue. Figure 1-8. Setting access permissions
Real-World ASP.NET: Building a Content Management System
Real-World ASP.NET: Building a Content Management System STEPHEN R. G. FRASER APress Media, LLC Real-World ASP.NET: Building a Content Management System Copyright 2002 by Stephen R. G. Fraser Originally
Beginning ASP.NET E-Commerce in C#
Beginning ASP.NET E-Commerce in C# From Novice to Professional Cristian Darie and Karli Watson Beginning ASP.NET E-Commerce in C#: From Novice to Professional Copyright 2009 by Cristian Darie and Karli
http://msdn.microsoft.com/en-us/library/4w3ex9c2.aspx
ASP.NET Overview.NET Framework 4 ASP.NET is a unified Web development model that includes the services necessary for you to build enterprise-class Web applications with a minimum of coding. ASP.NET is
Advanced Web Application Development using Microsoft ASP.NET
Course Outline Other Information MS2311 Days 3 Starting Time 9:00 Finish Time 4:30 Lunch & refreshments are included with this course. Advanced Web Application Development using Microsoft ASP.NET Course
Expanded contents. Section 1. Chapter 2. The essence off ASP.NET web programming. An introduction to ASP.NET web programming
TRAINING & REFERENCE murach's web programming with C# 2010 Anne Boehm Joel Murach Va. Mike Murach & Associates, Inc. I J) 1-800-221-5528 (559) 440-9071 Fax: (559) 44(M)963 [email protected] www.murach.com
Developing Database Business Applications using VB.NET
Developing Database Business Applications using VB.NET Curriculum class designed and written by Ernest Bonat, Ph.D., President Visual WWW, Inc. Visual WWW is a Microsoft Visual Studio Industry Partner
2311A: Advanced Web Application Development using Microsoft ASP.NET Course 2311A Three days Instructor-led
2311A: Advanced Web Application Development using Microsoft ASP.NET Course 2311A Three days Instructor-led Introduction This three-day, instructor-led course provides students with the knowledge and skills
14.1. bs^ir^qfkd=obcib`qflk= Ñçê=emI=rkfuI=~åÇ=léÉåsjp=eçëíë
14.1 bs^ir^qfkd=obcib`qflk= Ñçê=emI=rkfuI=~åÇ=léÉåsjp=eçëíë bî~äì~íáåö=oéñäéåíáçå=ñçê=emi=rkfui=~åç=lééåsjp=eçëíë This guide walks you quickly through key Reflection features. It covers: Getting Connected
Success with Microsoft Dynamics CRM 4.0
Success with Microsoft Dynamics CRM 4.0 Implementing Customer Relationship Management Justin Mathena, Aaron Yetter, Hoss Hostetler Success with Microsoft Dynamics CRM 4.0: Implementing Customer Relationship
Dynamic Web Programming BUILDING WEB APPLICATIONS USING ASP.NET, AJAX AND JAVASCRIPT
Dynamic Web Programming BUILDING WEB APPLICATIONS USING ASP.NET, AJAX AND JAVASCRIPT AGENDA 1. Introduction to Web Applications and ASP.net 1.1 History of Web Development 1.2 Basic ASP.net processing (ASP
Advanced Web Application Development using Microsoft ASP.NET
Key Data Course #: 2311A Number of Days: 3 Format: Instructor-Led Certification Exams: Exam 70-305: Developing and Implementing Web Applications with Microsoft Visual Basic.NET and Microsoft Visual Studio.NET
Creating XML Report Web Services
5 Creating XML Report Web Services In the previous chapters, we had a look at how to integrate reports into Windows and Web-based applications, but now we need to learn how to leverage those skills and
The Recipe for Sarbanes-Oxley Compliance using Microsoft s SharePoint 2010 platform
The Recipe for Sarbanes-Oxley Compliance using Microsoft s SharePoint 2010 platform Technical Discussion David Churchill CEO DraftPoint Inc. The information contained in this document represents the current
Base One's Rich Client Architecture
Base One's Rich Client Architecture Base One provides a unique approach for developing Internet-enabled applications, combining both efficiency and ease of programming through its "Rich Client" architecture.
Beginning Excel What-If Data Analysis Tools
Beginning Excel What-If Data Analysis Tools Getting Started with Goal Seek, Data Tables, Scenarios, and Solver Paul Cornell Beginning Excel What-If Data Analysis Tools: Getting Started with Goal Seek,
ASP.NET: THE NEW PARADIGM FOR WEB APPLICATION DEVELOPMENT
ASP.NET: THE NEW PARADIGM FOR WEB APPLICATION DEVELOPMENT Dr. Mike Morrison, University of Wisconsin-Eau Claire, [email protected] Dr. Joline Morrison, University of Wisconsin-Eau Claire, [email protected]
Key Benefits of Microsoft Visual Studio 2008
Key Benefits of Microsoft Visual Studio 2008 White Paper December 2007 For the latest information, please see www.microsoft.com/vstudio The information contained in this document represents the current
IBM Rational Web Developer for WebSphere Software Version 6.0
Rapidly build, test and deploy Web, Web services and Java applications with an IDE that is easy to learn and use IBM Rational Web Developer for WebSphere Software Version 6.0 Highlights Accelerate Web,
VB.NET - WEB PROGRAMMING
VB.NET - WEB PROGRAMMING http://www.tutorialspoint.com/vb.net/vb.net_web_programming.htm Copyright tutorialspoint.com A dynamic web application consists of either or both of the following two types of
DIGIPASS Authentication for Microsoft ISA 2006 Single Sign-On for Outlook Web Access
DIGIPASS Authentication for Microsoft ISA 2006 Single Sign-On for Outlook Web Access With IDENTIKEY Server / Axsguard IDENTIFIER Integration Guidelines Disclaimer Disclaimer of Warranties and Limitations
New 11g Features in Oracle Developer Tools for Visual Studio. An Oracle White Paper January 2008
New 11g Features in Oracle Developer Tools for Visual Studio An Oracle White Paper January 2008 New 11g Features in Oracle Developer Tools for Visual Studio Introduction... 3 Integration with Visual Studio
Beginning ASP.NET 4.5
Beginning ASP.NET 4.5 Databases i nwo t'loroon Sandeep Chanda Damien Foggon Apress- Contents About the Author About the Technical Reviewer Acknowledgments Introduction xv xvii xix xxi Chapter 1: ASP.NET
Transition your MCPD Web Developer Skills to MCPD ASP.NET Developer 3.5 (VB)
Transition your MCPD Web Developer Skills to MCPD ASP.NET Developer 3.5 (VB) Course Number: 70-567 UPGRADE Certification Exam 70-567 - UPGRADE: Transition your MCPD Web Developer Skills to MCPD ASP.NET
Version 3.8. Installation Guide
Version 3.8 Installation Guide Copyright 2007 Jetro Platforms, Ltd. All rights reserved. This document is being furnished by Jetro Platforms for information purposes only to licensed users of the Jetro
WHITE PAPER. TimeScape.NET. Increasing development productivity with TimeScape, Microsoft.NET and web services TIMESCAPE ENTERPRISE SOLUTIONS
TIMESCAPE ENTERPRISE SOLUTIONS WHITE PAPER Increasing development productivity with TimeScape, Microsoft.NET and web services This white paper describes some of the major industry issues limiting software
ASNA Case Study. ASNA Visual RPG paves the path to.net for Management Control. Leaders in IBM i Modernization. Real Life Challenges
ASNA Case Study ASNA Visual RPG paves the path to.net for Management Control. By Thomas M. Stockwell When Management Control, Inc. in Alexander, Alabama decided to distribute its payroll processing services
EXAM - 70-518. PRO:Design & Develop Windows Apps Using MS.NET Frmwk 4. Buy Full Product. http://www.examskey.com/70-518.html
Microsoft EXAM - 70-518 PRO:Design & Develop Windows Apps Using MS.NET Frmwk 4 Buy Full Product http://www.examskey.com/70-518.html Examskey Microsoft 70-518 exam demo product is here for you to test the
The following multiple-choice post-course assessment will evaluate your knowledge of the skills and concepts taught in Internet Business Associate.
Course Assessment Answers-1 Course Assessment The following multiple-choice post-course assessment will evaluate your knowledge of the skills and concepts taught in Internet Business Associate. 1. A person
SQL Server 2005 Reporting Services (SSRS)
SQL Server 2005 Reporting Services (SSRS) Author: Alex Payne and Brian Welcker Published: May 2005 Summary: SQL Server 2005 Reporting Services is a key component of SQL Server 2005. Reporting Services
ASP &.NET. Microsoft's Solution for Dynamic Web Development. Mohammad Ali Choudhry Milad Armeen Husain Zeerapurwala Campbell Ma Seul Kee Yoon
ASP &.NET Microsoft's Solution for Dynamic Web Development Mohammad Ali Choudhry Milad Armeen Husain Zeerapurwala Campbell Ma Seul Kee Yoon Introduction Microsoft's Server-side technology. Uses built-in
Developing and Implementing Web Applications with Microsoft Visual C#.NET and Microsoft Visual Studio.NET
Unit 39: Developing and Implementing Web Applications with Microsoft Visual C#.NET and Microsoft Visual Studio.NET Learning Outcomes A candidate following a programme of learning leading to this unit will
EPiServer Operator's Guide
EPiServer Operator's Guide Abstract This document is mainly intended for administrators and developers that operate EPiServer or want to learn more about EPiServer's operating environment. The document
Virtual CD v10. Network Management Server Manual. H+H Software GmbH
Virtual CD v10 Network Management Server Manual H+H Software GmbH Table of Contents Table of Contents Introduction 1 Legal Notices... 2 What Virtual CD NMS can do for you... 3 New Features in Virtual
In the same spirit, our QuickBooks 2008 Software Installation Guide has been completely revised as well.
QuickBooks 2008 Software Installation Guide Welcome 3/25/09; Ver. IMD-2.1 This guide is designed to support users installing QuickBooks: Pro or Premier 2008 financial accounting software, especially in
Application Architecture for.net: Designing Applications and Services
Application Architecture for.net: Designing Applications and Services Information in this document, including URL and other Internet Web site references, is subject to change without notice. Unless otherwise
Pro-Watch Software Suite Installation Guide. 2013 Honeywell Release 4.1
Pro-Watch Software Suite Release 4.1 Installation Guide Document 7-901073V2 Pro-Watch Software Suite Installation Guide 2013 Honeywell Release 4.1 Copyright 2013 Honeywell. All rights reserved. Pro-Watch
Kaseya Server Instal ation User Guide June 6, 2008
Kaseya Server Installation User Guide June 6, 2008 About Kaseya Kaseya is a global provider of IT automation software for IT Solution Providers and Public and Private Sector IT organizations. Kaseya's
CATALOG OF CLASSES IT and Technical Courses
CATALOG OF CLASSES IT and Technical Courses Table of Contents CATALOG OF CLASSES... 1 Microsoft... 1 10135BC... 1 Configuring, Managing and Troubleshooting Microsoft Exchange Server 2010 Service Pack 2...
Programmabilty. Programmability in Microsoft Dynamics AX 2009. Microsoft Dynamics AX 2009. White Paper
Programmabilty Microsoft Dynamics AX 2009 Programmability in Microsoft Dynamics AX 2009 White Paper December 2008 Contents Introduction... 4 Scenarios... 4 The Presentation Layer... 4 Business Intelligence
Interworks. Interworks Cloud Platform Installation Guide
Interworks Interworks Cloud Platform Installation Guide Published: March, 2014 This document contains information proprietary to Interworks and its receipt or possession does not convey any rights to reproduce,
Installing Globodox Web Client on Windows Server 2012
Installing Globodox Web Client on Windows Server 2012 Make sure that the Globodox Desktop Client is installed. Make sure it is not running. Note: Please click on Allow or Continue for all required UAC
Visual COBOL ASP.NET Shopping Cart Demonstration
Visual COBOL ASP.NET Shopping Cart Demonstration Overview: The original application that was used as the model for this demonstration was the ASP.NET Commerce Starter Kit (CSVS) demo from Microsoft. The
4.2 Understand Microsoft ASP.NET Web Application Development
L E S S O N 4 4.1 Understand Web Page Development 4.2 Understand Microsoft ASP.NET Web Application Development 4.3 Understand Web Hosting 4.4 Understand Web Services MTA Software Fundamentals 4 Test L
MCTS Self-Paced Training Kit (Exam 70-643): Configuring Windows Server 2008 Application Platform
MCTS Self-Paced Training Kit (Exam 70-643): Configuring Windows Server 2008 Application Platform J.C. Mackin and Anil Desai PREVIEW CONTENT This excerpt contains uncorrected manuscript from an upcoming
Custom Tasks for SAS. Enterprise Guide Using Microsoft.NET. Chris Hemedinger SAS. Press
Custom Tasks for SAS Enterprise Guide Using Microsoft.NET Chris Hemedinger SAS Press Contents About This Book... ix About The Author... xiii Acknowledgments...xv Chapter 1: Why Custom Tasks... 1 Why Isn
Firewall Builder Architecture Overview
Firewall Builder Architecture Overview Vadim Zaliva Vadim Kurland Abstract This document gives brief, high level overview of existing Firewall Builder architecture.
Available Update Methods
The Spectralink 84-Series handsets support multiple methods for updating handset software. This document will detail each of those processes in order to give you the greatest flexibility when administering
NetBeans IDE Field Guide
NetBeans IDE Field Guide Copyright 2005 Sun Microsystems, Inc. All rights reserved. Table of Contents Introduction to J2EE Development in NetBeans IDE...1 Configuring the IDE for J2EE Development...2 Getting
IBM WebSphere ILOG Rules for.net
Automate business decisions and accelerate time-to-market IBM WebSphere ILOG Rules for.net Business rule management for Microsoft.NET and SOA environments Highlights Complete BRMS for.net Integration with
(ENTD361 is highly recommended before taking this course)
Department of Information Technology ENTD461: Enterprise Development Using VB.NET: Advanced Credit Hours: 3 Length of Course: 8 Weeks Enterprise Development Using VB.NET: Introduction (ENTD361 is highly
enicq 5 System Administrator s Guide
Vermont Oxford Network enicq 5 Documentation enicq 5 System Administrator s Guide Release 2.0 Published November 2014 2014 Vermont Oxford Network. All Rights Reserved. enicq 5 System Administrator s Guide
SuperLumin Nemesis. Administration Guide. February 2011
SuperLumin Nemesis Administration Guide February 2011 SuperLumin Nemesis Legal Notices Information contained in this document is believed to be accurate and reliable. However, SuperLumin assumes no responsibility
Ingenious Testcraft Technical Documentation Installation Guide
Ingenious Testcraft Technical Documentation Installation Guide V7.00R1 Q2.11 Trademarks Ingenious, Ingenious Group, and Testcraft are trademarks of Ingenious Group, Inc. and may be registered in the United
DEPLOYMENT GUIDE Version 2.1. Deploying F5 with Microsoft SharePoint 2010
DEPLOYMENT GUIDE Version 2.1 Deploying F5 with Microsoft SharePoint 2010 Table of Contents Table of Contents Introducing the F5 Deployment Guide for Microsoft SharePoint 2010 Prerequisites and configuration
For Active Directory Installation Guide
For Active Directory Installation Guide Version 2.5.2 April 2010 Copyright 2010 Legal Notices makes no representations or warranties with respect to the contents or use of this documentation, and specifically
Developing and Implementing Windows-Based Applications With Microsoft Visual C#.NET and Microsoft Visual Studio.NET
Unit 40: Developing and Implementing Windows-Based Applications With Microsoft Visual C#.NET and Microsoft Visual Studio.NET Learning Outcomes A candidate following a programme of learning leading to this
How To Manage Storage With Novell Storage Manager 3.X For Active Directory
www.novell.com/documentation Installation Guide Novell Storage Manager 4.1 for Active Directory September 10, 2015 Legal Notices Condrey Corporation makes no representations or warranties with respect
Iron Speed Designer Installation Guide
Iron Speed Designer Installation Guide Version 1.6 Accelerated web application development Updated May 11, 2004 Iron Speed, Inc. 1953 Landings Drive Mountain View, CA 94043 650.215.2200 www.ironspeed.com
INTERNET PROGRAMMING AND DEVELOPMENT AEC LEA.BN Course Descriptions & Outcome Competency
INTERNET PROGRAMMING AND DEVELOPMENT AEC LEA.BN Course Descriptions & Outcome Competency 1. 420-PA3-AB Introduction to Computers, the Internet, and the Web This course is an introduction to the computer,
Novell Identity Manager
AUTHORIZED DOCUMENTATION Manual Task Service Driver Implementation Guide Novell Identity Manager 4.0.1 April 15, 2011 www.novell.com Legal Notices Novell, Inc. makes no representations or warranties with
Label Gallery Software for Microsoft Windows Terminal Services and Citrix MetaFrame
Label Gallery Software for Microsoft Windows Terminal Services and Citrix MetaFrame White Paper Version 20100716 2009 SATO CORPORATION. All rights reserved. http://www.satoworldwide.com [email protected]
XML Processing and Web Services. Chapter 17
XML Processing and Web Services Chapter 17 Textbook to be published by Pearson Ed 2015 in early Pearson 2014 Fundamentals of http://www.funwebdev.com Web Development Objectives 1 XML Overview 2 XML Processing
Microsoft SQL Server 2005 Reporting Services Step by Step
Microsoft SQL Server 2005 Reporting Services Step by Step Stacia Misner; Hitachi Consulting To learn more about this book, visit Microsoft Learning at http://www.microsoft.com/mspress/books/9153.aspx 9780735622500
ASP.NET Using C# (VS2012)
ASP.NET Using C# (VS2012) This five-day course provides a comprehensive and practical hands-on introduction to developing applications using ASP.NET 4.5 and C#. It includes an introduction to ASP.NET MVC,
The Service Revolution software engineering without programming languages
The Service Revolution software engineering without programming languages Gustavo Alonso Institute for Pervasive Computing Department of Computer Science Swiss Federal Institute of Technology (ETH Zurich)
Building a Scale-Out SQL Server 2008 Reporting Services Farm
Building a Scale-Out SQL Server 2008 Reporting Services Farm This white paper discusses the steps to configure a scale-out SQL Server 2008 R2 Reporting Services farm environment running on Windows Server
Advanced Training Reliance Communications, Inc.
Reliance Communications, Inc. 603 Mission Street Santa Cruz, CA 95060 888-527-5225 www.schoolmessenger.com Contents Contents... 2 Before you Begin... 4 Advanced Lists... 4 List Builder... 4 Create a List...
HTML5. Turn this page to see Quick Guide of CTTC
Programming SharePoint 2013 Development Courses ASP.NET SQL TECHNOLGY TRAINING GUIDE Visual Studio PHP Programming Android App Programming HTML5 Jquery Your Training Partner in Cutting Edge Technologies
Visual Basic. murach's TRAINING & REFERENCE
TRAINING & REFERENCE murach's Visual Basic 2008 Anne Boehm lbm Mike Murach & Associates, Inc. H 1-800-221-5528 (559) 440-9071 Fax: (559) 440-0963 [email protected] www.murach.com Contents Introduction
multiple placeholders bound to one definition, 158 page approval not match author/editor rights, 157 problems with, 156 troubleshooting, 156 158
Index A Active Directory Active Directory nested groups, 96 creating user accounts, 67 custom authentication, 66 group members cannot log on, 153 mapping certificates, 65 mapping user to Active Directory
Sample Chapters. To learn more about this book visit Microsoft Learning at: http://go.microsoft.com/fwlink/?linkid=206094
Sample Chapters Copyright 2010 by Tony Northrup and Mike Snell. All rights reserved. To learn more about this book visit Microsoft Learning at: http://go.microsoft.com/fwlink/?linkid=206094 Contents Acknowledgments
SOFTWARE TESTING TRAINING COURSES CONTENTS
SOFTWARE TESTING TRAINING COURSES CONTENTS 1 Unit I Description Objectves Duration Contents Software Testing Fundamentals and Best Practices This training course will give basic understanding on software
DEPLOYMENT GUIDE Version 1.2. Deploying the BIG-IP System v10 with Microsoft IIS 7.0 and 7.5
DEPLOYMENT GUIDE Version 1.2 Deploying the BIG-IP System v10 with Microsoft IIS 7.0 and 7.5 Table of Contents Table of Contents Deploying the BIG-IP system v10 with Microsoft IIS Prerequisites and configuration
How To Set Up Safetica Insight 9 (Safetica) For A Safetrica Management Service (Sms) For An Ipad Or Ipad (Smb) (Sbc) (For A Safetaica) (
SAFETICA INSIGHT INSTALLATION MANUAL SAFETICA INSIGHT INSTALLATION MANUAL for Safetica Insight version 6.1.2 Author: Safetica Technologies s.r.o. Safetica Insight was developed by Safetica Technologies
Oracle Application Development Framework Overview
An Oracle White Paper June 2011 Oracle Application Development Framework Overview Introduction... 1 Oracle ADF Making Java EE Development Simpler... 2 THE ORACLE ADF ARCHITECTURE... 3 The Business Services
Getting Started with the Ed-Fi ODS and Ed-Fi ODS API
Getting Started with the Ed-Fi ODS and Ed-Fi ODS API Ed-Fi ODS and Ed-Fi ODS API Version 2.0 - Technical Preview October 2014 2014 Ed-Fi Alliance, LLC. All rights reserved. Ed-Fi is a registered trademark
If you have questions or find errors in the guide, please, contact us under the following e-mail address:
1. Introduction... 2 2. Remote Access via PPTP... 2 2.1. Configuration of the Astaro Security Gateway... 3 2.2. Configuration of the Remote Client...10 2.2.1. Astaro User Portal: Getting Configuration
SAML v1.1 for.net Developer Guide
SAML v1.1 for.net Developer Guide Copyright ComponentSpace Pty Ltd 2004-2016. All rights reserved. www.componentspace.com Contents 1 Introduction... 1 1.1 Features... 1 1.2 Benefits... 1 1.3 Prerequisites...
Introduction to the EIS Guide
Introduction to the EIS Guide The AirWatch Enterprise Integration Service (EIS) provides organizations the ability to securely integrate with back-end enterprise systems from either the AirWatch SaaS environment
Implementing and Administering an Enterprise SharePoint Environment
Implementing and Administering an Enterprise SharePoint Environment There are numerous planning and management issues that your team needs to address when deploying SharePoint. This process can be simplified
Installation Guide for Pulse on Windows Server 2012
MadCap Software Installation Guide for Pulse on Windows Server 2012 Pulse Copyright 2014 MadCap Software. All rights reserved. Information in this document is subject to change without notice. The software
Microsoft Dynamics GP. Workflow Installation Guide Release 10.0
Microsoft Dynamics GP Workflow Installation Guide Release 10.0 Copyright Copyright 2008 Microsoft Corporation. All rights reserved. Complying with all applicable copyright laws is the responsibility of
INSTALLATION AND CONFIGURATION GUIDE (THIS DOCUMENT RELATES TO MDAEMON v15.5.0 ONWARDS)
Web: Overview INSTALLATION AND CONFIGURATION GUIDE (THIS DOCUMENT RELATES TO MDAEMON v15.5.0 ONWARDS) This document provides an installation and configuration guide for MDaemon Messaging Server along with
WebSpy Vantage Ultimate 2.2 Web Module Administrators Guide
WebSpy Vantage Ultimate 2.2 Web Module Administrators Guide This document is intended to help you get started using WebSpy Vantage Ultimate and the Web Module. For more detailed information, please see
Pro SQL Server 2012. Reporting Services. Third Edition. mm m. Brian McDonald. Shawn McGehee. Rodney Landrum. Apress*
Pro SQL Server 2012 Reporting Services Third Edition mm m Brian McDonald Shawn McGehee Rodney Landrum Apress* Contents About the Authors About the Technical Reviewers Acknowledgments m Introduction xvn
Course 5431: Getting Started with Microsoft Office PowerPoint 2007. Course 5420: Editing and Proofreading Documents in Microsoft Office Word 2007
This level of training is designed to help you make the most of your first steps into computing. They cover a basic introduction to a range of Microsoft products such as Word, Power Point and Excel. Course
Preparing Your Server for an MDsuite Installation
Preparing Your Server for an MDsuite Installation Introduction This document is intended for those clients who have purchased the MDsuite Application Server software and will be scheduled for an MDsuite
Integrating SharePoint Sites within WebSphere Portal
Integrating SharePoint Sites within WebSphere Portal November 2007 Contents Executive Summary 2 Proliferation of SharePoint Sites 2 Silos of Information 2 Security and Compliance 3 Overview: Mainsoft SharePoint
An Oracle White Paper May 2013. Creating Custom PDF Reports with Oracle Application Express and the APEX Listener
An Oracle White Paper May 2013 Creating Custom PDF Reports with Oracle Application Express and the APEX Listener Disclaimer The following is intended to outline our general product direction. It is intended
ResPAK Internet Module
ResPAK Internet Module This document provides an overview of the ResPAK Internet Module which consists of the RNI Web Services application and the optional ASP.NET Reservations web site. The RNI Application
Programming with the Microsoft.NET Framework Using Microsoft Visual Studio 2005 (VB)
Programming with the Microsoft.NET Framework Using Microsoft Visual Studio 2005 (VB) Course Number: 4995 Length: 5 Day(s) Certification Exam There are no exams associated with this course. Course Overview
Intermediate ASP.NET Web Development with C# Instructor: Frank Stepanski. Data Sources on the Web
Intermediate ASP.NET Web Development with C# Instructor: Frank Stepanski Data Sources on the Web Many websites on the web today are just a thin user interface shell on top of sophisticated data-driven
Unwired Revolution Gains Full Visibility into Enterprise Environments with Server Side and Mobile App Monitoring from New Relic.
At a Glance INDUSTRY Professional services LOCATION Phoenix, Arizona USE CASE Monitor performance of mobile apps designed for enterprise clients WHY NEW RELIC No firewall exceptions or additional servers
Getting Started With Halo for Windows For CloudPassage Halo
Getting Started With Halo for Windows For CloudPassage Halo Protecting your Windows servers in a public or private cloud has become much easier and more secure, now that CloudPassage Halo is available
A Comparison of Web Development Technologies: WebObjects vs. ASP.NET
A Comparison of Web Development Technologies: WebObjects vs. ASP.NET By: Adnan Al-Ghourabi Chairman: Dr. Axel Schreiner Reader: Dr. James Heliotis Department of Computer Science Rochester Institute of
Credits: Some of the slides are based on material adapted from www.telerik.com/documents/telerik_and_ajax.pdf
1 The Web, revisited WEB 2.0 [email protected] Credits: Some of the slides are based on material adapted from www.telerik.com/documents/telerik_and_ajax.pdf 2 The old web: 1994 HTML pages (hyperlinks)
Management Center. Installation and Upgrade Guide. Version 8 FR4
Management Center Installation and Upgrade Guide Version 8 FR4 APPSENSE MANAGEMENT CENTER INSTALLATION AND UPGRADE GUIDE ii AppSense Limited, 2012 All rights reserved. part of this document may be produced
BUILDER 3.0 Installation Guide with Microsoft SQL Server 2005 Express Edition January 2008
BUILDER 3.0 Installation Guide with Microsoft SQL Server 2005 Express Edition January 2008 BUILDER 3.0 1 Table of Contents Chapter 1: Installation Overview... 3 Introduction... 3 Minimum Requirements...
Insight Video Net. LLC. CMS 2.0. Quick Installation Guide
Insight Video Net. LLC. CMS 2.0 Quick Installation Guide Table of Contents 1. CMS 2.0 Installation 1.1. Software Required 1.2. Create Default Directories 1.3. Create Upload User Account 1.4. Installing
