|
Starting with Visual C++.NET, the standard C++ language has
been extended to provide support for managed programming.
Managed Extensions for C++ are mainly comprised of a set of
keywords and attributes. Managed code development in Visual
C++ is supported by several newly added keywords as well as
extensions made to the C++ compiler for targeting the .NET
environment that are enabled with the /CLR compiler switch.
Managed C++ can be used to develop .NET assembles and to
create amazing new desktop programs, web applications, and
web services. Unmanaged C++ can also be used to build ATL
Server based Web sites and services.
To whom this book aimed for?
This book “.NET Architecture and Programming Using Visual
C++” gives an innovative dimension of realistic approach to
building Windows and Web system with the power of Visual
C++. This book is the part of The
Integrated .NET Series from Object Innovations and Prentice
Hall PTR. This book is proposed for the experienced
C++ programmers. The book is very practical, with many
examples, and includes a case study that is used to as a
realistic demonstration that continues through many of the
chapters.
Organization of the book:
One of the excellent ways to present a book is to have an
excellent organization of the book that enables easy
navigation and a good thought process flow. With that in
mind, this book is organized into five major parts.
The first part of the book deals with the programming model
of the .NET Frame work. The first chapter begins with an
introduction to .NET. It’s the first solid step, which will
enable Microsoft dominant the Internet Age. The .NET has
really dived deep into the problems faced by today's
programmers and tried to give solution to these in the new
platform. To the Beginners this second chapter will give an
obvious picture over .NET.
The second part, Chapter 3 to 5, covers programming with
managed C++. One can gain information such as how C++
managed extensions can be used to write programs and
components for the .NET platform from the third chapter. The
chapter 4 reviews the rudiments of Object-oriented
programming aspects of managed C++ with, with a highlighting
on abstraction and inheritance. The chapter 5 explores the
several important interactions between managed C++ and the
.NET framework. This chapter begins with the root class
named Object in the System names space then move to
Collections, Interfaces, Delegates and events.
The third part, chapter 6 to 9, walks around important
fundamental topics in the .NET framework. Chapter 6 covers
user interface programming using the Windows forms classes.
With the help of Assemblies, the problems relating to
deployment are conveniently solved. As I already said the
Microsoft’s new software-development model .NET will
increase the programmer productivity and decrease
development time. The chapter 7 explains the above said
assemblies and deployment in a detailed manner. The chapter
8 introduces important .NET Frame work classes, including
the topics of metadata, serialization, threading,
attributes, asynchronous programming, remoting, and memory
management.
The framework database programming classes are referred to
as ADO.NET. ADO.NET is the most recent in a long line of
database access technologies that began with the Open
Database Connectivity (ODBC) application programming
interface (API). Access to data sources in ADO.NET is
maintained by managed providers. There are two central
components of ADO.NET that accomplish data access: the
DataSet, and the .NET data provider, which is a set of
components including the Connection, Command, DataReader,
and DataAdapter objects. The Chapter 9 provides the needed
information regarding Data access in .NET.
The fourth part of the book provides an in-depth
introduction to web programming using ASP.NET. ASP.NET
offers a novel programming model and infrastructure that
facilitates a powerful new class of applications. ASP.NET is
a compiled. NET-based environment, so one can author
applications in any .NET compatible language, including
Visual Basic, C# and Jscript.NET. Web Forms permits us to
build powerful forms-based Web pages. When building these
pages, we can use Web Forms controls to create common UI
elements and program them for common tasks. These controls
permit us to rapidly build up a Web Form. Even though the
visual studio development environment doesn’t support form
designer for VC++, you can do all this with hand written
code. The chapter 10 discuss the above said ASP.NET
fundamentals and Web Forms.
The Web Services can be used as reusable building blocks by
the clients. A Web Service is a programmable entity that
offers a particular element of functionality, such as
application logic, and is accessible to any number of
potentially dissimilar systems through the use of Internet
standards, such as XML, SOAP and HTTP. The chapter 11 covers
the above said topics, Web services and SOAP. Chapter 12
shows how to program with the ATL Server template library to
create both Web services and Web servers.
The final part of the book covers supplementary important
topics in the .NET Frame work. The chapter 13 covers the
topic of security in detail, including code access security,
declarative security, and securing of Web applications and
services. Chapter 14 looks at the debug and trace classes
provided by .NET. Chapter 15 covers interoperability of .NET
with COM and with Win32 applications.
As a conclusion this book is intended for experienced C++
developers and provides all the practical insight they need
to build Windows and Web Systems for Microsoft’s .NET
Platform using VC++. |