.NET Gotachas

Index

[SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [L] [M] [N] [O] [P] [R] [S] [T] [U] [V] [W] [X]

C#

     class with mixed case members

    code examples

         Abort

         Aliases 2nd

         Apartment 2nd

         Array 2nd 3rd

         ArrayList 2nd

         BackgroundAbort

         BeginInvoke

         CatchOrder

         ClassInterfaceType 2nd 3rd 4th

         COMInterfaces

         ControlThread 2nd

         CopyingObjects 2nd 3rd 4th 5th 6th 7th 8th 9th 10th

         DataSetXMLSpeed

         DefaultApartment

         Delegate 2nd

         DifferInCase

         DisposeFinalize

         DivByZero 2nd

         EnumSafety 2nd

         ES 2nd

         ESAutoComplete 2nd

         ExceptionInDeriving 2nd 3rd 4th

         ExceptionInThread

         ExceptionInThread, client-side code 2nd

         ExceptionInThread, server-side code

         Finalize

         GetType 2nd

         GUID

         HandleException

         HandleException, client code

         HandleException, library code

         HidingMess

         Initialization

         Interrupt

         IsBackground

         JoinAbort

         KnowTheExit

         MethodSignature 2nd

         MultipleWSCalls

         MultipleWSCalls, client side

         MultipleWSCalls, server side

         NotToFinalize 2nd

         Optional 2nd 3rd

         OptionStrict

         ParamThreadSafety 2nd 3rd 4th 5th 6th

         PolymorphismTooSoon

         RaisingEventThreadSafety

         RefactoredWrapper

         ReflectionToSerialize 2nd 3rd 4th

         RememberMarkOverride

         ResetAbortMethod

         ResourceHold

         Rethrow

         ReturningValueType 2nd

         RTTI 2nd 3rd 4th

         SettingApartment 2nd

         Shared

         SingletonAppDomain 2nd

         StringAppend

         SuppressingFinalize

         Synchronizing 2nd 3rd 4th

         SynchWithIntent 2nd

         TestPrivate 2nd

         ThouShaltReleaseObject

         ThreadFromPool

         Typeof 2nd

         Using

         ValueReferenceTypes

         ValueTypeConstructor

         VirtualInDerived

         Warnings

         WarningSideEffect

         WhatsInAName 2nd

         XMLSerializer 2nd

C# code examples (continued)

     communicating with the root object

     creating arrays

     deriving a C# class from a VB.NET class

     Dispose design pattern

     example to raise event with thread-safety

     executing thread for different Timers and Delegate

     FAQs web site

     lost exception in asynchronous call, Web service

     lost exception in asynchronous call, Web service client

     multiple calls on web service, client side

     multiple calls on web service, server side

     not setting STAThread or MTAThread

     reflection to serialize and deserialize

     serialization example

     templates

     transactions in Enterprise Services

     Treat Warnings As Errors

     unboxing in MSIL translated from

C++

     forgetting to call Release( )

case sensitivity in names

casting code

Catch

     inconsistent ordering

     order

     reversing order of

catching exception after call to EndInvoke()

Clark, Jason

classes

     exposing functionality through

     with different relationships with its contents

     with identifier

ClassInterface options

     AutoDispatch

     AutoDual

     ClassInterfaceType.None

clean up

     right way to

cleanup

     missed

Clone( ) method

     fixing to maintain unique id

     limitations

     problem with readonly and

CLR Profiler - Managed Code Performance Tool web site

CLR/Framework gotchas

     struct - class anomaly

     type aliases mismatch

CLS compliance 2nd 3rd

CLSCompliant attribute

CoCreateInstance( )

COM

     .NET capabilities not supported by

     exposing public classes for

     façades and

     wrapper classes and

COM component

     working with multiple interfaces of

COM components

     interacting with

     isolating access to

     multiple interfaces

     preventing access

     scripting

COM Interop

     improperly exposing assembly for

COM interoperability

     exposing .NET object for

COM objects

     problem releasing

COM Registration information for .NET component

commit, safely communicating intent to

Common Language Infrastructure (CLI)

Common Language Specification (CLS)

Common Object Operations web site

Common Type System (CTS)

compiler warnings

compiler, configuring

components

     late binding to communicate with

COMVisible(false) attribute

concurrency

constructors of class, making protected or private

CookieContainer property 2nd

copy constructor

     deep copy

     extensibility of

     public

     shallow copy

copy constructor, writing

copy constructors

     public

copying incorrectly

crashes

Cruise Control .NET web site

CTS types and aliases in VB.NET

Категории