Fraser | Pro Visual C++/CLI and the .NET 3.5 Platform | E-Book | sack.de
E-Book

E-Book, Englisch, 1080 Seiten, eBook

Fraser Pro Visual C++/CLI and the .NET 3.5 Platform


1. Auflage 2009
ISBN: 978-1-4302-1054-2
Verlag: APRESS
Format: PDF
Kopierschutz: 1 - PDF Watermark

E-Book, Englisch, 1080 Seiten, eBook

ISBN: 978-1-4302-1054-2
Verlag: APRESS
Format: PDF
Kopierschutz: 1 - PDF Watermark



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.
Fraser Pro Visual C++/CLI and the .NET 3.5 Platform jetzt bestellen!

Zielgruppe


Popular/general


Autoren/Hrsg.


Weitere Infos & Material


The C++/CLI Language.- Overview of the .NET Framework.- C++/CLI Basics.- Object-Oriented C++/CLI.- Advanced C++/CLI.- .NET Framework Development in C++/CLI.- The .NET Framework Class Library.- Integrated XML Documentation.- Collections.- Input, Output, and Serialization.- .NET Configuration File Programming.- Basic Windows Forms Applications.- Advanced Windows Forms Applications.- Graphics Using GDI+.- ADO.NET and Database Development.- XML.- Windows Services.- Web Applications.- Web Services.- Multithreaded Programming.- Network Programming.- Assembly Programming.- Security.- Unsafe/Unmanaged C++/CLI.- Unsafe C++ .NET Programming.- Advanced Unsafe or Unmanaged C++ .NET Programming.- The C++ Support Library.


.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.


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.



Ihre Fragen, Wünsche oder Anmerkungen
Vorname*
Nachname*
Ihre E-Mail-Adresse*
Kundennr.
Ihre Nachricht*
Lediglich mit * gekennzeichnete Felder sind Pflichtfelder.
Wenn Sie die im Kontaktformular eingegebenen Daten durch Klick auf den nachfolgenden Button übersenden, erklären Sie sich damit einverstanden, dass wir Ihr Angaben für die Beantwortung Ihrer Anfrage verwenden. Selbstverständlich werden Ihre Daten vertraulich behandelt und nicht an Dritte weitergegeben. Sie können der Verwendung Ihrer Daten jederzeit widersprechen. Das Datenhandling bei Sack Fachmedien erklären wir Ihnen in unserer Datenschutzerklärung.