.NET Programming: A Practical Guide Using C#

.net programming: a practical guide using c#

more information about .NET Programming: A Practical Guide Using C#

.NET Programming: A Practical Guide Using C#

Editorial Reviews
Book Description
Introduction Computing lifestyles and development needs change with time. Over the years, a number of paradigms and programming methodologies have been offered to support the needs of the developers and software vendors. In the mid 1990s we saw monolithic applications being broken into smaller applications that communicated with each other. To facilitate code reusability and application communication across compiler boundaries and programming language boundaries, Microsoft introduced a framework called Component Object Model (COM). To further facilitate the communication across machine boundaries, Microsoft extended the model to Distributed COM (DCOM). The late 1990s witnessed an incredible explosion of the Internet that caused a revolution in the way information was made available to the users. In developing enterprise systems, the traditional client/server model was replaced by a three-tier programming model, enhanced for Internet applications. Developing such enterprise systems was a time- and resource-consuming affair, as the systems had to meet extra enterprise-level requirements such as scalability, robustness, security, transaction support, and so on. To help developers meet these challenges, Microsoft introduced COM+, an advanced runtime environment that ran on Microsoft Windows 2000. Developers could now leverage the services provided by COM+ instead of building the services themselves. In the new millennium, the Internet is evolving from a collection of isolated Web sites and applications into a general "communication bus" for distributed applications that can run on various hardware and operation system (OS) platforms. Microsoft's .NET platform is based around this vision. As part of the .NET initiative, Microsoft has provided a framework and some tools that developers can use to build applications targeting .NET platform. Although .NET achieves many of the same goals that COM does, make no mistake .NET is a radically new platform. The programming model has been an evolution over COM, but the framework implementation is completely different. However, the enterprise system needs (e.g., scalability, transaction support, etc.) haven't changed much. Therefore, many COM+ services have found their way into .NET. This book focuses on understanding .NET architecture from a developer's perspective and building .NET applications primarily using C#, a new programming language that offers the flexibility of C++ and the simplicity of Visual Basic. About This Book The purpose of writing this book is twofold: To help you understand .NET architecture in detail. To explore the services provided by the .NET Framework in building enterprise-level applications. To achieve the first goal, a hands-on approach is employed in this book. As we progress through unfolding .NET technology, I present a key concept, accompanied by code samples as necessary. The second goal is to use .NET productively in building enterprise-level applications. Enterprise-level requirements include security, transaction support, scalability, dealing with concurrency, distributed three-tier computing, dealing with legacy code, and so on. This book seeks to do the following: Provide an in-depth analysis of all aspects of .NET technologies related to enterprise-level application development. Provide ideas to develop robust .NET applications. Provide programming code to achieve common .NET programming tasks. Provide concise, complete sample programs to illustrate the concepts presented. I have tried to present the material such that it makes interesting reading for developers. Not only can developers gain an in-depth knowledge of .NET platform, but they can also get familiar with programming in other related technologies such as SOAP, XML, ADO.NET, and ASP.NET. The book starts with an overview of .NET platform from a nontechnical perspective. Then I progress through unfolding the .NET architecture and services. Wherever applicable, code samples are provided to illustrate and explain the concepts. This book provides enough sample code to enable readers to be more productive and to carry out further research. Intended Audience The intended audience includes the following groups: Software developers and engineers who are involved in developing software products for the Windows platform and typically use C++ or Visual Basic as their programming language. Managers who actively supervise a software product. Computer science students. Today, more and more companies expect job candidates to understand COM and COM+ technologies. Senior students and graduate students are becoming more aware of COM technology as a software engineering discipline. The next logical step for them would be to start programming in .NET. Choice of Programming Language A vast majority of the .NET programming community will be using C# for developing .NET applications. As a matter of fact, a large part of the .NET Framework has been developed in C#. Hence, I chose C# to present samples in most cases. However, in some instances I have used Visual Basic.NET or another language that is appropriate for the given situation. Prerequisites The most important prerequisite for this book is a willingness to learn. The book is written for intermediate to advanced developers. It is assumed that readers have a working knowledge of the following: C++ or Java programming languages. Windows 2000 operating system. Note that knowledge of C# is helpful but not mandatory, as long as you are familiar with C++ or Java. As we go through developing sample code, I am confident readers will automatically pick up adequate information about the language. Sample Code All the examples provided in the book are concise and complete. For brevity, I sometimes show only the relevant code sample in the book. However, complete source code is available on the companion Web site (www.phptr.com/tapadiya/dotnet/). All the examples and tools have been compiled with Microsoft Visual C# 1.0 and the .NET Framework Software Development Kit (SDK), and have been tested on Windows 2000 SP2 and Windows XP. The samples are organized by chapters. Each sample is built as a separate project. A project can be compiled either from Visual Studio .NET or from the command-line makefile. The makefile can be found in the bin directory under each project, except for Chapter 2. In order to illustrate some key compiler concepts, Chapter 2 contains the makefile in the same directory as the project. Note that Visual Studio .NET requires that a project belongs to a solution. The project file has an extension .csproj and the solution file has an extension .sln. In order to build the projects from the command line, you need to set up proper paths in the environment. If you have installed Visual Studio .NET, then you can use the command-line link that is provides called the "Visual Studio .NET Command Prompt." This link initializes the environment for the command window such that the .NET Framework SDK tools can be accessed from the command line. References This book frequently refers to other books, Microsoft's Knowledge Base articles, articles from various journals, and Microsoft's Developers Network (MSDN) Library. All the references for a particular chapter are listed at the end of that chapter. Each reference entry is indexed by a keyword that uses a combination of author's last name and year the reference was published. For example, Don Box's book Essential COM , which was published in 1998, is indexed as Box-98. In the book, each time I cite a reference, I use the relevant keyword. Chapter Organization The book is divided into two parts. The first part, Chapters 1-5, focuses on the fundamentals of .NET Programming Model and shows how to develop .NET-based applications. The second part, Chapters 6-10, focuses on the services provided by .NET. Each chapter focuses on a specific aspect of .NET. These chapters are largely independent of each other. Chapter 1: What is .NET? .NET is Microsoft's new initiative for building applications regardless of the platforms or languages in use. The .NET label applies to three distinct but related items: a vision for how information technology (IT) will evolve, a software platform to build .NET applications, and an application-hosting business designed to support the vision and market the platform. In this chapter, we inspect each of these items from a fairly nontechnical perspective. By the end of the chapter, the readers will have a good idea of where Microsoft is going with the .NET initiative and will understand the terminology, features, and services offered by the .NET Framework, the software platform for .NET applications. Chapter 2: From C++ to C# This chapter focuses on various stages of building .NET applications-from development to debugging and deploying. You will write simple C# programs to explore common programming paradigms under the .NET Framework. In the process, you will learn the differences and similarities between C++ and C#. By the end of the chapter, readers will understand many key concepts of the .NET Framework and will be fairly comfortable developing simple .NET applications using C#. Chapter 3: Assemblies Under .NET, assemblies form the fundamental building block of program components. In defining the format for the assembly, .NET had many goals. These goals included interoperability among different programming languages, side-by-side execution of multiple versions of the same assembly, performance enhancements, and so on. In this chapter, we take an in-depth look at the assemblies and examine how these goals were achieved. By the end of the chapter, you will have a good knowledge of the assembly internals and the packaging and deployment model under .NET. Chapter 4: Essentials of the .NET Framework In this chapter, we examine the facilities that the .NET Framework provides to load and execute the code and provide services to the executing code. We start with an overview of various components that constitute the .NET Framework. Then we look at the overall process of managed code execution. We will see ho...

Book Info
Takes a straightforward, hands-on approach to explain everything you need to know from development to deployment and maintenance for this platform-all from a developer's perspective. Softcover. CD-ROM included.

.NET Programming: A Practical Guide Using C#

.NET Programming: A Practical Guide Using C#,Pradeep Tapadiya,Prentice Hall PTR,0130669458,C (Programming Language),C# (Computer program language),Computer Books: General,Computers,Computers - Languages / Programming,Electronic Commerce,Hardware - Personal Computers - General,Microcomputer Application Software,Microsoft .NET,Programming - General,Programming Languages - C,Programming Languages - C#,Computers / Programming Languages / C#

Hot Books:

  1. Network Administrators Survival Guide
  2. Network Algorithmics : An Interdisciplinary Approach to Designing Fast Networked Devices (The Morgan Kaufmann Series in Networking)
  3. Network Flows: Theory, Algorithms, and Applications
  4. Networking All-in-One Desk Reference For Dummies (For Dummies (Computer/Tech))
  5. Networking and Internetworking with Microcontrollers
  6. Oracle PL/SQL 101
  7. Performance by Design : Computer Capacity Planning By Example
  8. Photoshop 5 for Windows for Dummies
  9. Photoshop CS2 Bible, Professional Edition
  10. PMP Exam Cram 2 (2nd Edition) (Exam Cram 2)

Hot Books

Hot Books

Recommended Books

  1. Fashion People
  2. Princess of Darkness
  3. VideoHound's Groovy Movies: Far-out Films of the Psychedelic Era
  4. Upgrading and Repairing Laptops
  5. Training : Research and Practice
  6. Uranus
  7. Transition Metal Sulfur Chemistry : Biological and Industrial Significance
  8. Transverse Spin Physics
  9. Wind and Stone
  10. Values in a Time of Upheaval
  11. Toy Train Memories
  12. Time-Saver Standards for Architectural Lighting
  13. Vietnam: An American Ordeal
  14. The Tos Handbook of Texas Birds
  15. Washington, D.C. : A Photographic Tour