Pro Visual C++/CLI and the .NET 3.5 Platform (eBook)
1080 Seiten
Apress (Verlag)
978-1-4302-1054-2 (ISBN)
strongStephen R.G. Fraser/strong has over 15 years of information technology experience working for a number of consulting companies, ranging from the large consulting firms of Electronic Data Systems and Andersen Consulting (Accenture) to a number of smaller e-business companies. His IT experience covers all aspects of application and web development and management, ranging from initial concept all the way through to deployment. Stephen resides with his beautiful wife, Sarah, and daughter, Shaina, in the Silicon Valley.
Pro Visual C++/CLI and the .NET 3.5 Platform is about writing .NET applications using C++/CLI. While readers are learning the ins and outs of .NET application development, they will also be learning the syntax of C++, both old and new to .NET. Readers will also gain a good understanding of the .NET architecture. This is truly a .NET book applying C++ as its development language-not another C++ syntax book that happens to cover .NET.
strongStephen R.G. Fraser/strong has over 15 years of information technology experience working for a number of consulting companies, ranging from the large consulting firms of Electronic Data Systems and Andersen Consulting (Accenture) to a number of smaller e-business companies. His IT experience covers all aspects of application and web development and management, ranging from initial concept all the way through to deployment. Stephen resides with his beautiful wife, Sarah, and daughter, Shaina, in the Silicon Valley.
A table of contents is not available for this title.
.NET Application Development Realms (S. 48-49)
.NET application development falls primarily into one of five realms: Web applications, Web services, Windows applications, Windows services, and console applications. Using languages such as C#, Visual Basic 2008, and C++/CLI in conjunction with Visual Studio provides a simple, powerful, and consistent environment to develop all five. Unfortunately, for C++/CLI, only four are supported completely: console applications, Windows applications, Windows services, and Web services. Web applications, though supported, takes a little more effort.
¦ Note
In the previous version of this book I said that coding a Web application was not possible. I later found out I was wrong and I will show you how in Chapter 17. Console Applications Console applications are basically extinct as a final software delivery in the Windows world. Okay, developers and administrators still use them a lot, but the average nontechnical user has GUI-based applications as their final delivery. For developer tools, there is nothing like them. If you need to figure out how to do something, write out a console application.
There is nothing simpler and nothing with less overhead. This book is full of console applications for just those reasons. The key elements of all console applications are the main() function and the System::Console::WriteLine() method. In fact, that is almost all you need to write a console application. Windows Applications Windows applications may be the biggest change for C++/CLI programmers. C++/CLI does not directly support the Microsoft Foundation Class (MFC) library. Wow, don’t panic—believe it or not, the .NET Framework has a better solution. It’s called Windows Forms, and I’m sure you’ll think, as I do, that it’s a godsend. With Windows Forms, you get the ease of Visual Basic along with the power of C++/CLI when you develop Windows applications. I cover Windows applications in Chapters 10 and 11.
¦ Note
Since .NET version 2.0, you can use MFC and Windows Forms somewhat interchangeably, but if you do, the generated assembly will be classified as unsafe. When you create Windows Forms, you will use the massive System::Windows::Forms namespace. Though this namespace is large, it is consistent and well laid out. It will not take you long to get good at using it.
Just to add some variety to your Windows applications, .NET also provides a new and improved Graphical Device Interface (GDI) called, conveniently, GDI+. With GDI+, you can play with fonts, change colors, and, of course, draw pictures. GDI+ is almost worth learning just for one class, System::Drawing::Image, which allows an application to load almost any commonly supported graphic file formats, including GIF, JPEG, and BMP, into memory, where they can be manipulated and drawn to the screen. To implement GDI+ in the .NET Framework, you need to explore the System::Drawing namespace. I cover GDI+ in Chapter 12.
Erscheint lt. Verlag | 18.1.2009 |
---|---|
Zusatzinfo | 1080 p. |
Verlagsort | Berkeley |
Sprache | englisch |
Themenwelt | Informatik ► Programmiersprachen / -werkzeuge ► C / C++ |
Informatik ► Software Entwicklung ► Objektorientierung | |
Mathematik / Informatik ► Informatik ► Web / Internet | |
Schlagworte | C++ programming language • Database • object • programming • Web Services • XML |
ISBN-10 | 1-4302-1054-0 / 1430210540 |
ISBN-13 | 978-1-4302-1054-2 / 9781430210542 |
Haben Sie eine Frage zum Produkt? |
Größe: 14,2 MB
DRM: Digitales Wasserzeichen
Dieses eBook enthält ein digitales Wasserzeichen und ist damit für Sie personalisiert. Bei einer missbräuchlichen Weitergabe des eBooks an Dritte ist eine Rückverfolgung an die Quelle möglich.
Dateiformat: PDF (Portable Document Format)
Mit einem festen Seitenlayout eignet sich die PDF besonders für Fachbücher mit Spalten, Tabellen und Abbildungen. Eine PDF kann auf fast allen Geräten angezeigt werden, ist aber für kleine Displays (Smartphone, eReader) nur eingeschränkt geeignet.
Systemvoraussetzungen:
PC/Mac: Mit einem PC oder Mac können Sie dieses eBook lesen. Sie benötigen dafür einen PDF-Viewer - z.B. den Adobe Reader oder Adobe Digital Editions.
eReader: Dieses eBook kann mit (fast) allen eBook-Readern gelesen werden. Mit dem amazon-Kindle ist es aber nicht kompatibel.
Smartphone/Tablet: Egal ob Apple oder Android, dieses eBook können Sie lesen. Sie benötigen dafür einen PDF-Viewer - z.B. die kostenlose Adobe Digital Editions-App.
Zusätzliches Feature: Online Lesen
Dieses eBook können Sie zusätzlich zum Download auch online im Webbrowser lesen.
Buying eBooks from abroad
For tax law reasons we can sell eBooks just within Germany and Switzerland. Regrettably we cannot fulfill eBook-orders from other countries.
aus dem Bereich