What This Book Covers


Chapter 1, “Understanding the .NET Framework Architecture- This chapter explains the importance of .NET and how much it changes application development. You gain an understanding of why you need .NET by looking at what’s wrong with the current development technologies, including COM and the DNA architectural model. It explains how .NET corrects the drawbacks by using the common language runtime (CLR). This chapter also reviews the details of the .NET Framework 2.0 and 3.0 and how to install these frameworks.

Chapter 2, “Visual Basic 2005 Core Basics - This chapter introduces many of the types commonly used in Visual Basic 2005. Topics discussed in this chapter include type coverage, type conversion, reference types, arrays and other collections, parameter passing, and boxing. The full syntax basics of Visual Basic are provided in this chapter.

Chapter 3, “Object Syntax Introduction- This is the first of three chapters that explore object-oriented programming in Visual Basic. This chapter defines objects, classes, instances, encapsulation, abstraction, polymorphism, and inheritance.

Chapter 4, “Object Oriented Programming- This chapter examines inheritance and how it can be used within Visual Basic. You create simple and abstract base classes and learn how to create base classes from which other classes can be derived. This chapter puts the theory for much of what has been discussed thus far into practice. The four defining object-oriented concepts (abstraction, encapsulation, polymorphism, inheritance) are described, and we explain how these concepts can be applied in design and development to create effective object-oriented applications.

Chapter 5, “The Common Language Runtime” - This chapter examines the core of the .NET platform, the common language runtime (CLR). The CLR is responsible for managing the execution of code compiled for the .NET platform. We cover versioning and deployment, memory management, cross-language integration, metadata, and the IL Disassembler.

Chapter 6, “Localization- Developers usually build applications in the English language. Then, as the audience for the application expands, they realize the need to globalize the application. Of course, the ideal is to build the application to handle an international audience right from the start - but in many cases this may not be possible because of the extra work it requires. The .NET Framework made a considerable effort to address the internationalization of the applications you build. You quickly realize that changes to the API, the addition of capabilities to the server controls, and even Visual Studio itself equip you to do the extra work required more easily to bring your application to an international audience. This chapter looks at some of the important items to consider when building your applications for the world. It looks closely at the System.Globalization namespace and everything it offers your applications.

Chapter 7, “Generics - This chapter focuses on one of the biggest enhancements to Visual Basic in this version - generics. Generics enables you to make a generic collection that is still strongly typed - providing fewer chances for errors, increasing performance, and giving you IntelliSense features when you are working with your collections.

Chapter 8, “Namespaces - This chapter introduces namespaces and their hierarchical structure. An explanation of namespaces and some common ones are provided. In addition, you learn how to create new namespaces, and how to import and alias existing namespaces within projects. This chapter also looks at the new My namespace available in Visual Basic 2005.

Chapter 9, “Exception Handling and Debugging - This chapter covers how error handling and debugging work in Visual Basic 2005 by discussing the CLR exception handler and the new Try...Catch...Finally structure. Also covered are error and trace logging, and how you can use these methods to obtain feedback about how your program is working.

Chapter 10, “Data Access with ADO.NET 2.0 - This chapter focuses on what you need to know about the ADO.NET object model in order to build flexible, fast, and scalable data access objects and applications. The evolution of ADO into ADO.NET is explored, and the main objects in ADO.NET that you need to understand in order to build data access into your .NET applications are explained.

Chapter 11, “Using XML in Visual Basic 2005 - This chapter presents the features of the .NET Framework that facilitate the generation and manipulation of XML. We describe the .NET Framework’s XML-related namespaces, and a subset of the classes exposed by these namespaces is examined in detail. This chapter also touches on a set of technologies that utilize XML - specifically, ADO.NET and SQL Server.

Chapter 12, “Security in the .NET Framework 2.0 - This chapter examines additional tools and functionality with regard to the security provided by .NET. Caspol.exe and Permview.exe, which assist in establishing and maintaining security policies, are discussed. The System.Security.Permissions namespace is also covered, and we discuss how it relates to managing permissions. Finally, we examine the System.Security.Cryptography namespace and run through some code to demonstrate its capabilities.

Chapter 13, “Visual Studio 2005 - This chapter introduces the next generation of the major IDE for developing .NET applications: Visual Studio 2005. Previous releases of this IDE included Visual Studio .NET 2003 and Visual Studio .NET 2002. This chapter focuses on the Visual Studio 2005 release and how you can use it to build better applications more quickly.

Chapter 14, “Working with SQL Server - This chapter describes how to work with the new SQL Server 2005 along with your .NET applications. SQL Server provides a strong connection to your applications, and this chapter explains how to effectively utilize this powerful database.

Chapter 15, “Windows Forms - This chapter looks at Windows Forms, concentrating primarily on forms and built-in controls. What is new and what has been changed from previous versions of Visual Basic are discussed, along with the System.Windows.Forms namespace.

Chapter 16, “Windows Forms Advanced Features - This chapter looks at some of the more advanced features that are available to you in building your Windows Forms applications.

Chapter 17, “Windows Presentation Foundation - A new component of .NET 3.0, the Windows Presentation Foundation offers a new vehicle for building applications. This chapter includes the new way in which Microsoft is promoting the presentation of a GUI, and WPF provides a presentation layer that you should find rather fluid and enriching. This chapter describes the basics of WPF and how to build simple XAML-based applications.

Chapter 18, “Integrating WPF with Windows Forms - Many organizations have made significant investments in Windows Forms, and they are not ready to fully switch their applications to this new technology. For this reason, Microsoft has provided significant means to integrate WPF into your Windows Forms applications as well as the capability to bring your Windows Forms components to a WPF application. This chapter focuses on these capabilities.

Chapter 19, “Working with ASP.NET 2.0 - This chapter explores the basics of ASP.NET 2.0 in detail, including the new capabilities to use inline coding with Visual Studio, and the new code-behind model. Including application and page frameworks, this chapter covers new features of ASP.NET

Chapter 20, “ASP.NET 2.0 Advanced Features - This chapter looks at a lot of the new and advanced features that are available to you with the latest release of ASP.NET 2.0. Examples of items covered include cross-page posting, master pages, site navigation, personalization, and more.

Chapter 21, “Assemblies - This chapter examines assemblies and their use within the CLR. The structure of an assembly, what it contains, and the information it contains are examined. In addition, the manifest of the assembly and its role in deployment is looked at.

Chapter 22, “Deployment - This chapter takes a close look at the available deployment options for Windows Forms and Web Forms, including the new ClickOnce deployment feature as well as at creating .msi files.

Chapter 23, “Working with Classic COM and Interfaces - This chapter discusses COM and .NET component interoperability, and what tools are provided to help link the two technologies.

Chapter 24, “Threading - This chapter explores threading and explains how the various objects in the .NET Framework enable any of its consumers to develop multithreaded applications. You will learn how threads can be created, how they relate to processes, and the differences between multitasking and multithreading.

Chapter 25, “Windows Workflow Foundation - This chapter takes a look at the new .NET 3.0 capability to easily integrate workflow into your applications.

Chapter 26, “XML Web Services - This chapter looks at how to create and consume Web Services using VB 2005. The abstract classes provided by the CLR to set up and work with Web Services are discussed, as well as some of the technologies that support Web Services. Also examined are some of the disadvantages to using any distributed architecture, and the future of Web Services.

Chapter 27, “Remoting - This chapter takes a detailed look at how to use remoting in classic three-tier application design. You examine the basic architecture of remoting and build a basic server and client that uses a singleton object for answering client requests in the business tier. You will also learn how to use serialization to return more complex objects from the server to the client, and how to use the call context for passing extra data from the client to the server along with each call, without having to change the object model.

Chapter 28, “Enterprise Services - This chapter explores the .NET component services - in particular, transaction processing and queued components.

Chapter 29, “Network Programming - This chapter takes a look at working with some of the networking protocols that are available to you in your development and how to incorporate a wider network into the functionality of your applications.

Chapter 30, “Windows Communication Foundation - This chapter looks at the new way to build service-oriented components that allow for standards-based communications over a number of protocols. WCF is Microsoft’s new answer for component communications within and outside of the enterprise.

Chapter 31, “Windows Services - This chapter examines how Visual Basic is used in the production of Windows Services. The creation, installation, running, and debugging of Windows Services are covered.

Chapter 32, “Visual Basic and the Internet - This chapter looks at how to download resources from the Web, how to design your own communication protocols, and how to reuse the Web browser control in your applications.

Appendix A, “The Visual Basic Compiler - This appendix looks at the Visual Basic compiler vbc.exe and the functionality it provides.

Appendix B, “Visual Basic References - This appendix provides a short list of VB resources available to you.




Professional VB 2005 with. NET 3. 0
Professional VB 2005 with .NET 3.0 (Programmer to Programmer)
ISBN: 0470124709
EAN: 2147483647
Year: 2004
Pages: 267

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net