0

How to Code .NET

eBook - Tips and Tricks for Coding .NET 1.1 and .NET 2.0 Applications Effectively

Erschienen am 22.12.2007, Auflage: 1/2007
33,95 €
(inkl. MwSt.)

Download

E-Book Download
Bibliografische Daten
ISBN/EAN: 9781430202424
Sprache: Englisch
Umfang: 232 S., 11.54 MB
E-Book
Format: PDF
DRM: Digitales Wasserzeichen

Beschreibung

What is good code? Writing good code is really a question about what the code is trying to solve. (And good code is not to be confused with patterns because not all pieces of good code are patterns.) We debate about good code because there is not just a single piece of good code, but so many good pieces of code. And each good piece of code depends on the context in which it is used.

How to Code .NET: Tips and Tricks for Coding .NET 1.1 and .NET 2.0 Applications Effectively provides solutions to certain problems. That is, specific problems. This book provides detailed, authoritative explanations of good .NET coding techniques. It's based on award-winning material that authorChristian Gross has previously presented at conferences throughout the U.S. and Europe. What's more, the author is at the forefront of the .NET technology wave and an acknowledged expert on the subject of .NET coding style and techniques.

Autorenportrait

Christian Gross is a consultant with vast experience in the client/server world. He has consulted for Microsoft on DNA solutions, and he has held consulting positions with Daimler Benz, Microsoft, NatWest, and other major corporations. Gross was a contributor to Professional Active Server Pages, Professional SQL Server 6.5 Administration, Professional NT Internet Information Server Administration, and Programming Microsoft Windows 2000 Unleashed. He is the author of A Programmer's Introduction to Windows DNA.

Inhalt

What This Book Is About.- .NET Runtime and Framework Related Solutions.- Value Types and Reference Types Can Be Confused.- What are Delegates?- What Does the Yield Keyword Really Generate?- Versioning Assemblies.- Loading Assemblies Without Any Hassles Using A Utility Class.- Dynamically Loading and Unloading Assemblies.- Implementing GetHashCode Properly.- Think of .NET Generics as Black Boxes.- Figuring Out What Generic Methods Do.- Why For .NET Generics Do You Need the New and Class Keyword?- Text Related Solutions.- Converting a String to an Array and Vice Versa.- Parsing Numbers from Buffers.- When To Use StringBuilder.- Finding a Piece of Text within a Text Buffer.- Always Implement ToString.- Using a Disposable Type to Iterating the Results of Finding Multiple Pieces of Text within a Text Buffer.- Making ToString Generate Structured Output.- C# and Code Related Solutions.- Inheritance can be Used Effectively (instead of Interfaces only).- (Almost) Everything You Ever Wanted To Know About Implementing Interfaces.- Defining a Namespace, Class, and Interface Naming Convention.- Understanding the Overloaded Return Type and Property.- Null Is Not Always A Null.- Architecture, and Pattern Related Solutions.- Abstract Class Bridge Pattern Variation.- Nested Private Class Bridge Pattern Variation.- How to Effectively Deal with Placeholder Interfaces or Base Classes.- A Null Value is Not Always a Null State.- All the Essentials You Ever Wanted To Know About The Factory Pattern.- Don't Expose the Internal State of a Class.- Designing Consistent Classes.- Immutable Types are Scalable Type.- Understanding and Using Functors.- Avoiding Constructors Parameters without Identity.- Understanding and Implementing Singletons.- Testing Hard To Test Classes Using Mock Objects.

Informationen zu E-Books

E-Books können Sie bei uns im Geschäft kaufen oder bequem per E-Mail an mail@huebener.de bestellen.

Alle hier erworbenen E-Books können Sie in Ihrem Kundenkonto in die kostenlose PocketBook Cloud laden. Dadurch haben Sie den Vorteil, dass Sie von Ihrem PocketBook E-Reader, Ihrem Smartphone, Tablet und PC jederzeit auf Ihre gekauften und bereits vorhandenen E-Books Zugriff haben.

Um die PocketBook Cloud zu aktivieren, loggen Sie sich bitte in Ihrem Kundenkonto ein und gehen dort in den Bereich „E-Books“. Setzen Sie hier einen Haken bei „Neue E-Book-Käufe automatisch zu meiner Cloud hinzufügen.“. Dadurch wird ein PocketBook Cloud Konto für Sie angelegt. Die Zugangsdaten sind dabei dieselben wie die Ihres Kundenkontos in diesem Webshop.

Weitere Informationen zur PocketBook Cloud finden Sie unter www.meinpocketbook.de.

Allgemeine E-Book-Informationen


E-Books in diesem Webshop können in den Dateiformaten EPUB und PDF vorliegen und können ggf. mit einem Kopierschutz versehen sein. Sie finden die entsprechenden Informationen in der Detailansicht des jeweiligen Titels.

E-Books ohne Kopierschutz oder mit einem digitalen Wasserzeichen können Sie problemlos auf Ihr Gerät übertragen. Sie müssen lediglich die Kompatibilität mit Ihrem Gerät prüfen.

Um E-Books, die mit Adobe DRM geschützt sind, auf Ihr Lesegerät zu übertragen, benötigen Sie zusätzlich eine Adobe ID und die kostenlose Software Adobe® Digital Editions, wo Sie Ihre Adobe ID hinterlegen müssen. Beim Herunterladen eines mit Adobe DRM geschützten E-Books erhalten Sie zunächst eine .acsm-Datei, die Sie in Adobe® Digital Editions öffnen müssen. Durch diesen Prozess wird das E-Book mit Ihrer Adobe-ID verknüpft und in Adobe® Digital Editions geöffnet.