Visual Studio.Net All-In-One Desk Reference for Dummies

Overview

Visual Studio .NET All-in-One Desk Reference For Dummies is a value-packed, easy-to-use reference that provides broad coverage of Visual Studio .NET tools, languages, and environment for experienced Visual Studio programmers and developers who want to get up to speed rapidly on this missioncritical Microsoft initiative.

Read More Show Less
... See more details below
Other sellers (Paperback)
  • All (27) from $1.99   
  • New (11) from $17.56   
  • Used (16) from $1.99   
Sending request ...

Overview

Visual Studio .NET All-in-One Desk Reference For Dummies is a value-packed, easy-to-use reference that provides broad coverage of Visual Studio .NET tools, languages, and environment for experienced Visual Studio programmers and developers who want to get up to speed rapidly on this missioncritical Microsoft initiative.

Read More Show Less

Product Details

  • ISBN-13: 9780764516269
  • Publisher: Wiley
  • Publication date: 4/28/2002
  • Series: For Dummies Series
  • Edition number: 1
  • Pages: 960
  • Product dimensions: 7.44 (w) x 9.24 (h) x 2.04 (d)

Meet the Author

Nitin Pandey is a Subject Matter Expert (SME) at NIIT, and has been involved in the development of WBTs for NIIT Online Ltd and seminars and WBTs for Microsoft.

Read More Show Less

Read an Excerpt

Visual Studio.NET All-in-One Desk Reference For Dummies


By Nitin Pandey Senthil Nathan

John Wiley & Sons

ISBN: 0-7645-1626-4


Chapter One

Exploring the .NET Initiative

In This Chapter

  •   Finding out about the .NET initiative
  •   Getting to know products in the .NET suite

Visual Studio .NET is the result of the .NET initiative - an initiative that didn't originate on its own but was brought about by you and me, the customers. We brought about this initiative through increased collaboration, mostly through the Internet, and partly through other communication channels. Increased collaboration resulted in a gradual shift from desktop computing to distributed computing. Microsoft, as always, was quick to realize this shift and launched its .NET initiative to capitalize on it. The .NET initiative gained momentum in the second quarter of 2000 and brought about the development of new applications and services.

In this chapter, we explore the world of .NET, discussing the products and services associated with .NET and discovering how Visual Studio .NET takes the lead role in the .NET initiative.

Understanding the .NET Initiative

Today, users often encounter on a daily basis applications that are user-friendly but not platform-independent. For example, when you visit a Web site, you can register on the site and that registration information can be used by the Web site administrator to offer customized products. The same ispertinent for applications, such as Microsoft Word, installed on your computer in which you can store your preferences. Comparatively, if you have two applications running on different platforms (such as Linux and Windows together), they may not offer complete interoperability - meaning that you can't run Windows applications on a Linux platform.

You can therefore conclude that customizing an application for a user is easy, but you have very limited options for customizing an application for another. The .NET initiative aims to bridge this customizability gap between applications.

But what are the benefits of customizing one application for another? If you've not experimented with applications that communicate with each other, you may not know all their benefits. Application interoperability enables you to access existing data and functionality from different applications that may run on different platforms.

Take this idea a little further: If an application exposes its functionality over the Internet, your application can access the Internet application from anywhere. Thus, you've got two applications that talk over the Internet. This is exactly what .NET tries to achieve.

Check out how .NET enables applications to communicate with one another. As an example, take two applications that need to interoperate, looking closely at some of the inherent barriers and how they're overcome.

* Geography: Applications that need to interoperate can be located in different parts of the world.

* Platform: Applications may run on different platforms.

* Language: These applications may have been developed in different programming languages without the slightest degree of similarity.

Consider possible solutions to these obstacles. The simplest solution that we (and probably you, too) can think for the geographical requirement is to run the applications through the Internet. The Internet is the fastest and the easiest way to break geographical barriers. For the platform problem, you need to have a common language that can make the two applications talk with each other. XML (eXtensible Markup Language) has fast emerged as this common language and is also the industry standard for describing and transporting data. Therefore, XML is used to exchange data and information between .NET applications. XML also solves the language difference problem. Even if applications don't understand each other's language, they can communicate as long as they are based on XML.

Thus, you can create applications that don't require user interaction but still communicate with each other to serve a common purpose. We call these applications services to distinguish them from the applications that we normally use. See how smart you already are? You now know three important keywords to use together: XML, Web (or Internet), and services - XML Web services! XML Web services are the most significant outcome of the .NET initiative.

With XML Web services, you can provide software products as services. Users don't need to purchase software. Instead, they can subscribe to a service and use the service as long as they need it. Microsoft is coming up with its own set of Web services, known as My Services. These services are based on the Microsoft Passport authentication service, the same service that runs Hotmail.

The .NET initiative includes a suite of products, from .NET Enterprise servers to the Visual Studio .NET development platform, that are centered on XML Web services. But before we move on to a description of these products, let us examine two main benefits that the .NET initiative offers.

Interoperation of client devices

Microsoft software, such as Windows CE .NET and Windows XP, can be used to operate handheld computers, laptops, and PCs. (Windows CE .NET is the next version of Windows CE that's used for wireless communication.) Windows XP extensively uses XML to implement features such as remote assistance and Web publishing. On the other hand, Windows CE .NET supports XML 3.0, thereby enabling you to access Web services over mobile devices. Therefore, by using these software products, you can access Web services on client devices, such as laptops and handhelds. Web services can provide important data to these client devices so that the data is easily accessible.

Enhancements to user experience

.NET offers a good opportunity to enhance user experiences. In fact, this is the essential quality of the .NET initiative. Imagine the convenience to a customer who doesn't have to stop at the next ATM to transfer money from one bank account to another. Such user experiences are possible by using XML Web services. Examples of some existing XML Web services that enhance user experiences are the Microsoft Passport authentication service, and the Remote Assistance feature of Windows XP.

Solution providers can subscribe to the Microsoft Passport authentication service to enable Passport authentication on their Web sites. When you log on to a Passport-enabled Web site, your log-on information is stored on your computer as a cookie. When you browse to another Passport-enabled site, the cookie enables the other site to recognize you as an authenticated user and provide customized services. This mechanism is depicted in Figure 1-1.

The advantages of the Passport authentication service extend beyond just being able to use the same log-on information on more than one site. The user and the service provider can derive many advantages, including

* Ease of deployment: A solution provider subscribing to the Microsoft Passport authentication service doesn't have to deploy the infrastructure to host and maintain the authentication service. This saves deployment and operational costs.

* Customized service: The information provided by a user on one Web site can be accessed on another site. Consequently, solution providers can offer a complete package of services customized for specific users.

* Better market coverage: If a solution provider is associated with a well-known service, the market coverage of the solution provider is enhanced. For example, if you trust the Microsoft Passport authentication service, you can be confident when supplying sensitive information, such as a credit card number, to a Web site that uses this service.

Products in the .NET Suite

Microsoft developed a range of products and services for its .NET initiative. Ranging from operating systems to Enterprise servers and development platforms, Microsoft offers a complete suite to build and deploy applications for the .NET initiative. We cover these products briefly in the following sections.

.NET Enterprise servers

The .NET initiative, upon complete implementation, will require many processes to run all applications simultaneously and manage the flow of information between applications and services.

Microsoft developed .NET Enterprise servers as a set of servers to help you achieve high interoperability and availability. The .NET Enterprise servers are Windows.NET Server, Application Center 2000, BizTalk Server 2000, Commerce Server 2000, Content Management Server 2001, Exchange Server 2000, Host Integration Server 2000, Internet Security and Acceleration Server 2000, Mobile Information 2001 Server, SharePoint Portal Server 2001, and SQL Server 2000. In Figure 1-2, you can view each of these servers along with their roles in the .NET Enterprise environment.

We briefly describe each of these servers here.

Windows.NET Server

Windows.NET Server is the operating system for other .NET Enterprise servers. It has a native support for XML and SOAP (Simple Object Access Protocol). The server also integrates with the Microsoft Passport service so that users can use a single log-on ID for accessing all sites that subscribe to this service.

SOAP is an XML-based protocol that's used for exchanging information in a distributed setup. The protocol includes three parts that describe the message that's being transmitted and the rules to process the message.

Application Center 2000

Microsoft Application Center 2000 is a high-availability management and deployment tool for Web applications built on Microsoft Windows 2000. Application Center 2000 provides clustering and is designed for customers who need Web applications with high scalability and availability.

A cluster is a group of servers that works like a single unit. By implementing clustering, Application Center 2000 exposes a group of Web servers as a single server on the Internet. If one or more servers in the cluster fail, other servers can take the incoming traffic and prevent a site from going offline.

Application Center 2000 supports Network Load Balancing (NLB) and Component Load Balancing (CLB). NLB is the same as a cluster of Web servers. NLB enables Application Center 2000 to remove a server from a network when that server fails. CLB organizes and manages Web and COM+ applications by using a centralized management console.

BizTalk Server 2000

The advent of .NET has created a key business requirement for the integration of business processes running across different organizations. BizTalk Server 2000 enables you to accomplish exactly that. The server provides extensive support for XML and uses advanced technologies, such as Visio 2000, to describe business processes. BizTalk Server 2000 presents advanced capabilities to manage and exchange data in the XML format as well as access data in non-XML format.

Commerce Server 2000

Commerce Server 2000 is the Microsoft solution to the high customizability needs of e-commerce Web sites. Organizations are deploying Commerce Server 2000 to deliver personalized content to users. The strength of the software is in its ability to provide customized solutions to businesses.

Microsoft also provides two solution sites with Commerce Server 2000. These sites can be used to develop business-to-business (B2B) and business-to-commerce (B2C) Web sites. The coding of solution sites and other Web sites deployed on Commerce Server 2000 is done using Active Server Pages (ASPs). Therefore, Commerce Server 2000 provides a good opportunity to create Web applications in ASP.NET for deploying Commerce Server Web sites.

Content Management Server 2001

Content Management Server 2001 is used to manage content published on Web sites. The server includes sample Web sites and the customization code that you can use to create dynamic Web sites to deploy content.

These Web sites can include presentation templates that help you plan site design and layout. You can apply different presentation templates to quickly change the appearance of a site.

Content Management Server 2001 integrates with other .NET Enterprise Servers, such as Windows 2000 Advanced Server, Microsoft SQL Server 2000, and Microsoft Commerce Server 2000.

Exchange Server 2000

Exchange Server 2000 is used to manage networking and messaging infrastructure. The server offers built-in calendar services, contact and task management capabilities, and discussion groups. When an organization deploys Exchange Server 2000, users can access their e-mail messages, schedules, and contacts through any Web browser. This eliminates constraints to information availability.

Exchange Server 2000 also offers extensive development opportunities. These include unified support for XML that enables vendors to develop solutions for Exchange users. Users can employ these solutions to access important information on devices such as mobile phones and palmtops.

Host Integration Server 2000

Microsoft Host Integration Server 2000 can help you access data from legacy systems. Thus, data on systems such as AS/400, Unix, and DB2 can be made available for an enterprise solution. By using Host Integration Server 2000, you can create distributed applications that best utilize the information on host systems.

Internet Security and Acceleration Server 2000

Internet Security and Acceleration Server 2000 (ISA Server 2000) is used to manage corporate connectivity to the Internet. As the name suggests, ISA Server imparts security and accelerated speed during Internet access.

To enable security with ISA Server 2000, a system administrator can limit the Web sites accessible to corporate employees. The server has built-in security mechanisms to prevent unauthorized users from accessing a corporate network and breaching its security.

ISA Server 2000 also speeds up Internet access by caching Web pages that are visited frequently. Consequently, when a user requests for a cached Web page, the page is retrieved from the internal cache instead of the Web site. This enables organizations to save expenses of unnecessary connectivity to the Internet.

Mobile Information 2001 Server

Microsoft Mobile Information 2001 Server (MIS 2001) is a gateway for mobile users to access their corporate data and the intranet. MIS 2001 also includes Outline Mobile Access in its integrated package. This enables users to access information, such as e-mail messages, tasks, calendars, and contacts on mobile devices by using Microsoft Outlook.

SharePoint Portal Server 2001

SharePoint Portal Server 2001 helps you create Web portals for collating information from different sources into a central location.

Continues...


Excerpted from Visual Studio.NET All-in-One Desk Reference For Dummies by Nitin Pandey Senthil Nathan Excerpted by permission.
All rights reserved. No part of this excerpt may be reproduced or reprinted without permission in writing from the publisher.
Excerpts are provided by Dial-A-Book Inc. solely for the personal use of visitors to this web site.

Read More Show Less

Table of Contents

Introduction.

About This Book.

Conventions Used in This Book.

What You Don't Have to Read.

Foolish Assumptions.

How This Book Is Organized.

Book I: Visual Studio .NET Overview.

Book II: Using the Visual Studio .NET IDE.

Book III: Visual Basic .NET.

Book IV: Visual C++ .NET.

Book V: Visual C# .NET.

Book VI: Associated Technologies and Enhancements.

Book VII: Creating and Deploying Web Services and Other Visual Studio .NET Solutions.

Icons Used in This Book.

Where to Go from Here.

Book I: Visual Studio .NET Overview.

Chapter 1: Exploring the .NET Initiative.

Chapter 2: Key Components of the .NET Framework.

Chapter 3: Application Execution in the .NET Framework.

Chapter 4: Exploring Visual Studio .NET.

Chapter 5: Application Development Cycle in Visual Studio .NET.

Chapter 6: Installing Visual Studio .NET.

Book II: Using the Visual Studio .NET IDE.

Chapter 1: Meet the Visual Studio Interface.

Chapter 2: Customizing Your Development Environment.

Book III: Visual Basic .NET.

Chapter 1: Introduction to Visual Basic .NET.

Chapter 2: Windows Forms: The First Step.

Chapter 3: Working with Controls.

Chapter 4: Windows Forms: Moving Ahead.

Chapter 5: Variables: The .NET Lingo.

Chapter 6: Controlling Program Flow.

Chapter 7: Procedures in Visual Basic .NET.

Chapter 8: Implementing VB .NET Classes.

Chapter 9: Handling Errors in Visual Basic .NET.

Chapter 10: Accessing a Database.

Book IV: Visual C++ .NET.

Chapter 1: Introducing Visual C++ .NET.

Chapter 2: Creating Good Old Windows Applications.

Chapter 3: Creating MFC Applications the Easy Way.

Chapter 4: Database Programming in Visual C++ .NET.

Chapter 5: Creating ATL Server Projects.

Chapter 6: Programming in Managed Extensions for C++.

Chapter 7: Mixing and Matching Managed and Unmanaged Code.

Chapter 8: Debugging and Exception Handling in Visual C++ .NET

Chapter 9: Upgrading Existing Applications to Visual C++ .NET.

Book V: Visual C# .NET.

Chapter 2: Getting Started with Visual C#.

Chapter 3: Working with Arrays.

Chapter 4: Creating Classes in Visual C#.

Chapter 5: Creating Windows Applications.

Chapter 6: Creating Windows Services.

Book VI: Associated Technologies and Enhancements.

Chapter 1: Introducing ASP.NET.

Chapter 2: Getting Started with ASP.NET Applications.

Chapter 3: Using ASP.NET Web Forms Server Controls.

Chapter 4: Working with Validation Controls.

Chapter 5: Developing ASP.NET Server Controls.

Chapter 6: Using Rich Web Controls.

Chapter 7: Debugging ASP.NET Web Applications.

Chapter 8: Data Binding with Server Controls.

Chapter 9: Working with Web Server Control Templates.

Chapter 10: Creating Mobile Web Applications.

Chapter 11: Using ADO.NET with ASP.NET.

Chapter 12: Working with XML in Visual Studio .NET.

Chapter 13: Configuring ASP.NET Applications.

Chapter 14: Building ASP.NET HTTP Handlers.

Chapter 15: Caching in ASP.NET.

Chapter 16: ASP.NET Application Security.

Chapter 17: Migrating from ASP to ASP.NET.

Book VII: Creating and Deploying Web Services and Other Visual Studio .NET Solutions.

Chapter 1: Creating ASP.NET Web Services.

Chapter 2: Creating ASP.NET Web Service Clients.

Chapter 3: Securing Web Services.

Chapter 4: Deploying Windows Applications.

Chapter 5: Deploying Web Applications.

Chapter 6: More Deployment Options.

Appendix A: Glossary.

Index.

Book Registration Information.

Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star

(0)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously

    If you find inappropriate content, please report it to Barnes & Noble
    Why is this product inappropriate?
    Comments (optional)