reklama - zainteresowany?

.NET Gotchas. 75 Ways to Improve Your C# and VB.NET Programs - Helion

.NET Gotchas. 75 Ways to Improve Your C# and VB.NET Programs
ebook
Autor: Venkat Subramaniam
ISBN: 978-14-493-6270-6
stron: 396, Format: ebook
Data wydania: 2005-05-24
Księgarnia: Helion

Cena książki: 118,15 zł (poprzednio: 137,38 zł)
Oszczędzasz: 14% (-19,23 zł)

Dodaj do koszyka .NET Gotchas. 75 Ways to Improve Your C# and VB.NET Programs

Tagi: .NET - Programowanie | C# - Programowanie

Like most complex tasks, .NET programming is fraught with potential costly, and time-consuming hazards. The millions of Microsoft developers worldwide who create applications for the .NET platform can attest to that. Thankfully there's now a book that shows you how to avoid such costly and time-consuming mistakes. It's called .NET Gotchas.The ultimate guide for efficient, pain-free coding, .NET Gotchas from O'Reilly contains 75 common .NET programming pitfalls--and advice on how to work around them. It will help you steer away from those mistakes that cause application performance problems, or so taint code that it just doesn't work right.The book is organized into nine chapters, each focusing on those features and constructs of the .NET platform that consistently baffle developers. Within each chapter are several "gotchas," with detailed examples, discussions, and guidelines for avoiding them. No doubt about it, when applied, these concise presentations of best practices will help you lead a more productive, stress-free existence.What's more, because code examples are written in both VB.NET and C#, .NET Gotchas is of interest to more than 75 percent of the growing numbers of .NET programmers. So if you're a .NET developer who's mired in the trenches and yearning for a better way, this book is most definitely for you.

Dodaj do koszyka .NET Gotchas. 75 Ways to Improve Your C# and VB.NET Programs

 

Osoby które kupowały ".NET Gotchas. 75 Ways to Improve Your C# and VB.NET Programs", wybierały także:

  • Gray Hat C#. JÄ™zyk C# w kontroli i Å‚amaniu zabezpieczeÅ„
  • ASP.NET Core 6. Kurs video. Rozwijaj aplikacje webowe z Entity Framework Core
  • Testowanie automatyczne w .NET. Kurs video. Zastosowania frameworka nUnit
  • Programowanie asynchroniczne i równolegÅ‚e w C#. Kurs video. Poziom podstawowy
  • Technologia LINQ. Kurs video. Warsztat pracy z danymi z różnych źródeÅ‚

Dodaj do koszyka .NET Gotchas. 75 Ways to Improve Your C# and VB.NET Programs

Spis treści

.NET Gotchas. 75 Ways to Improve Your C# and VB.NET Programs eBook -- spis treści

  • .NET Gotchas
  • Dedication
  • SPECIAL OFFER: Upgrade this ebook with OReilly
  • A Note Regarding Supplemental Files
  • Preface
    • Who This Book Is For
      • How This Book Is Organized
        • CLR/FRAMEWORK GOTCHAS
        • VISUAL STUDIO AND COMPILER GOTCHAS
        • LANGUAGE AND API GOTCHAS
        • LANGUAGE INTEROPERABILITY GOTCHAS
        • GARBAGE COLLECTION GOTCHAS
        • INHERITANCE AND POLYMORPHISM GOTCHAS
        • MULTITHREADING GOTCHAS
        • COM-INTEROP AND ENTERPRISE SERVICES GOTCHAS
    • What You Need to Use This Book
    • Measure of Performance
    • Conventions Used in This Book
    • Using Code Examples
    • Comments and Questions
    • Safari Enabled
    • Acknowledgments
  • 1. CLR/Framework Gotchas
    • GOTCHA #1 Type alias size doesnt match what youre familiar with
      • IN A NUTSHELL
      • SEE ALSO
    • GOTCHA #2 struct and class differ in behavior
      • IN A NUTSHELL
      • SEE ALSO
    • GOTCHA #3 Returning value types from a method/property is risky
      • IN A NUTSHELL
      • SEE ALSO
    • GOTCHA #4 You cant force calls to your value-type constructors
      • IN A NUTSHELL
      • SEE ALSO
    • GOTCHA #5 String concatenation is expensive
      • IN A NUTSHELL
      • SEE ALSO
    • GOTCHA #6 Exceptions may go unhandled
      • IN A NUTSHELL
      • SEE ALSO
    • GOTCHA #7 Uninitialized event handlers arent treated gracefully
      • IN A NUTSHELL
      • SEE ALSO
    • GOTCHA #8 Division operation isnt consistent between types
      • IN A NUTSHELL
      • SEE ALSO
    • GOTCHA #9 Typeless ArrayList isnt type-safe
      • IN A NUTSHELL
      • SEE ALSO
    • GOTCHA #10 Type.GetType() may not locate all types
      • IN A NUTSHELL
      • SEE ALSO
    • GOTCHA #11 Public key reported by sn.exe is inconsistent
      • IN A NUTSHELL
      • SEE ALSO
  • 2. Visual Studio and Compiler Gotchas
    • GOTCHA #12 Compiler warnings may not be benign
      • IN A NUTSHELL
      • SEE ALSO
    • GOTCHA #13 Ordering of catch processing isnt consist across languages
      • IN A NUTSHELL
      • SEE ALSO
    • GOTCHA #14 Type.GetType() might fail at run-time
      • IN A NUTSHELL
      • SEE ALSO
    • GOTCHA #15 rethrow isnt consistent
      • IN A NUTSHELL
      • SEE ALSO
    • GOTCHA #16 Default of Option Strict (off) isnt good
      • IN A NUTSHELL
      • SEE ALSO
    • GOTCHA #17 Versioning may lead to Serialization headaches
      • IN A NUTSHELL
      • SEE ALSO
    • GOTCHA #18 Creating Web apps can be painful
      • IN A NUTSHELL
      • SEE ALSO
    • GOTCHA #19 Naming XML documentation for IntelliSense support isnt intuitive
      • IN A NUTSHELL
      • SEE ALSO
  • 3. Language and API Gotchas
    • GOTCHA #20 Singleton isnt guaranteed process-wide
      • IN A NUTSHELL
      • SEE ALSO
    • GOTCHA #21 Default performance of Data.ReadXMLData.ReadXML
      • IN A NUTSHELL
      • SEE ALSO
    • GOTCHA #22 enum lacks type-safety
      • IN A NUTSHELL
      • SEE ALSO
    • GOTCHA #23 Copy Constructor hampers exensibility
      • IN A NUTSHELL
      • SEE ALSO
    • GOTCHA #24 Clone() has limitations
      • IN A NUTSHELL
      • SEE ALSO
    • GOTCHA #25 Access to static/Shared members isnt enforced consistently
      • IN A NUTSHELL
      • SEE ALSO
    • GOTCHA #26 Details of exception may be hidden
      • IN A NUTSHELL
      • SEE ALSO
    • GOTCHA #27 Object initialization sequence isnt consistent
      • IN A NUTSHELL
      • SEE ALSO
    • GOTCHA #28 Polymorphism kicks in prematurely
      • IN A NUTSHELL
      • SEE ALSO
    • GOTCHA #29 Unit testing private methodstesting private methods
      • IN A NUTSHELL
      • SEE ALSO
  • 4. Language Interoperability Gotchas
    • GOTCHA #30 Common Language Specification Compliance isnt the default
      • IN A NUTSHELL
      • SEE ALSO
    • GOTCHA #31 Optional parameters break interoperability
      • IN A NUTSHELL
      • SEE ALSO
    • GOTCHA #32 Mixing case between class members breaks interoperability
      • IN A NUTSHELL
      • SEE ALSO
    • GOTCHA #33 Name collision with keywords breaks interoperability
      • IN A NUTSHELL
      • SEE ALSO
    • GOTCHA #34 Defining an array isnt consistent
      • IN A NUTSHELL
      • SEE ALSO
  • 5. Garbage Collection Gotchas
    • GOTCHA #35 Writing Finalize() is rarely a good idea
      • IN A NUTSHELL
      • SEE ALSO
    • GOTCHA #36 Releasing managed resources in Finalize() can wreak havoc
      • IN A NUTSHELL
      • SEE ALSO
    • GOTCHA #37 Rules to invoke base.Finalize() arent consistent
      • IN A NUTSHELL
      • SEE ALSO
    • GOTCHA #38 Depending on Finalize() can tie up critical resources
      • IN A NUTSHELL
      • SEE ALSO
    • GOTCHA #39 Using Finalize() on disposed objects is costly
      • IN A NUTSHELL
      • SEE ALSO
    • GOTCHA #40 Implementing IDisposable isnt enough
      • IN A NUTSHELL
      • SEE ALSO
    • GOTCHA #41 Using the Dispose Design Pattern doesnt guarantee cleanup
      • IN A NUTSHELL
      • SEE ALSO
  • 6. Inheritance and Polymorphism Gotchas
    • GOTCHA #42 Runtime Type Identification can hurt extensibility
      • IN A NUTSHELL
      • SEE ALSO
    • GOTCHA #43 Using new/shadows causes hideous hiding
      • IN A NUTSHELL
      • SEE ALSO
    • GOTCHA #44 Compilers are lenient toward forgotten override/overrides
      • IN A NUTSHELL
      • SEE ALSO
    • GOTCHA #45 Compilers lean toward hiding virtual methods
      • IN A NUTSHELL
      • SEE ALSO
    • GOTCHA #46 Exception handling can break polymorphism
      • IN A NUTSHELL
      • SEE ALSO
    • GOTCHA #47 Signature mismatches can lead to method hiding
      • IN A NUTSHELL
      • SEE ALSO
  • 7. Multithreading Gotchas
    • GOTCHA #48 The Thread classThread class
      • IN A NUTSHELL
      • SEE ALSO
    • GOTCHA #49 Foreground threads may prevent a program from terminating
      • IN A NUTSHELL
      • SEE ALSO
    • GOTCHA #50 Background threads dont terminate gracefully
      • IN A NUTSHELL
      • SEE ALSO
    • GOTCHA #51 Interrupt () kicks in only when a thread is blocked
      • IN A NUTSHELL
      • SEE ALSO
    • GOTCHA #52 ThreadAbortExceptiona hot potato
      • IN A NUTSHELL
      • SEE ALSO
    • GOTCHA #53 Environment.Exit() brings down the CLR
      • IN A NUTSHELL
      • SEE ALSO
    • GOTCHA #54 ResetAbort() may lead to surprises
      • IN A NUTSHELL
      • SEE ALSO
    • GOTCHA #55 Abort() takes time to clean up
      • IN A NUTSHELL
      • SEE ALSO
    • GOTCHA #56 Calling Type.GetType() may not return what you expect
      • IN A NUTSHELL
      • SEE ALSO
    • GOTCHA #57 Locking on globally visible objects is too sweeping
      • IN A NUTSHELL
      • SEE ALSO
    • GOTCHA #58 Threads from the thread pool are scarce
      • IN A NUTSHELL
      • SEE ALSO
    • GOTCHA #59 Threads invoked using delegates behave like background threads
      • IN A NUTSHELL
      • SEE ALSO
    • GOTCHA #60 Passing parameters to threads is tricky
      • IN A NUTSHELL
      • SEE ALSO
    • GOTCHA #61 Exceptions thrown from threads in the pool are lost
      • IN A NUTSHELL
      • SEE ALSO
    • GOTCHA #62 Accessing WinForm controls from arbitrary threads is dangerous
      • IN A NUTSHELL
      • SEE ALSO
    • GOTCHA #63 Web-service proxy may fail when used for multiple asynchronous calls
      • IN A NUTSHELL
      • SEE ALSO
    • GOTCHA #64 Raising events lacks thread-safety
      • IN A NUTSHELL
      • SEE ALSO
  • 8. COM-Interop and Enterprise Services Gotchas
    • GOTCHA #65 Release of COM object is confusing
      • IN A NUTSHELL
      • SEE ALSO
    • GOTCHA #66 Using interface pointers after calling ReleaseComObject() will fail
      • IN A NUTSHELL
      • SEE ALSO
    • GOTCHA #67 Cross-apartment calls are expensive
      • IN A NUTSHELL
      • SEE ALSO
    • GOTCHA #68 Default apartment of main thread is inconsistent across languages
      • IN A NUTSHELL
      • SEE ALSO
    • GOTCHA #69 STAThread attribute may have no effect on your methods
      • IN A NUTSHELL
      • SEE ALSO
    • GOTCHA #70 Spattering access to COM components makes code hard to maintain
      • IN A NUTSHELL
      • SEE ALSO
    • GOTCHA #71 Auto-generating GUID for your classes leads to versioning woes
      • IN A NUTSHELL
      • SEE ALSO
    • GOTCHA #72 All but one of the ClassInterface options are ineffective
      • IN A NUTSHELL
      • SEE ALSO
    • GOTCHA #73 Simply tur ning the switch for COM interop is dangerous
      • IN A NUTSHELL
      • SEE ALSO
    • GOTCHA #74 ServicedComponents implemented inconsistently on XP and 2003
      • IN A NUTSHELL
      • SEE ALSO
    • GOTCHA #75 AutoComplete comes with undesirable side effects
      • IN A NUTSHELL
      • SEE ALSO
  • A. Resources
    • Bibliography
    • On the Web
      • Agile Developer
      • CLR Profiler - Managed Code Performance Tool
      • Common Object Operations
      • Cruise Control .NET
      • C# FAQs
      • C# Language Specification
      • Design Guidelines for Class Library Developers
      • Dont Lock Type Objects!
      • Draco.NET
      • ECMA-CLI
      • Equals vs. ==
      • Exploring the Singleton Design Pattern
      • FxCop
      • Garbage Collection
      • Groups @ Google
      • Gotdotnet
      • Hashcode
      • Implementing Finalize and Dispose to Clean Up Unmanaged Resources
      • Implementing the Singleton Pattern in C#
      • Languages Available in .NET
      • MSDN
      • MSDN Magazine
      • NAnt
      • NDoc
      • NUnit
      • PInvoke.net
      • Reflector
      • ReleaseComObject() Issues
      • Test Driven Development
      • Unexpected Errors in Managed Applications
      • VB FAQs
      • VS.NET Tips and Tricks
  • Index
  • About the Author
  • Colophon
  • SPECIAL OFFER: Upgrade this ebook with OReilly
  • Copyright

Dodaj do koszyka .NET Gotchas. 75 Ways to Improve Your C# and VB.NET Programs

Code, Publish & WebDesing by CATALIST.com.pl



(c) 2005-2024 CATALIST agencja interaktywna, znaki firmowe należą do wydawnictwa Helion S.A.