|
Project Information
Featured
Links
|
ObremSDKcirca April 2007 by Neil C. Obremski Welcome. Someday I'll write something meaningful here, but until then just go play with my source. C# .NET ConventionsTired of DLL and Assembly hell? Try static linking instead with ObremSDK classes: a daily dose of code gems will keep your application healthy and fit. Copy individual obrem-.cs files into your project tree or share the ObremSDK sub-folder of your choice using the svn:externals property in your project's Subversion repository. - Functionality isolated using classes not namespaces.
- Class source files prefixed with "obrem-".
- Class names are preceded by "Obrem".
- Classes of the same name between different versions (dotnet vs dotnet20 do the same thing; this goes for their members as well.
- Most .NET functions are static.
- The .NET version-specific folders are used only when the implementation of a class must differ between .NET versions. An application must never include both of these, otherwise name conflicts will occur.
- The NET_20 macro will be checked for compiling .NET 2.0-optimized code in the general "dotnet" folder.
- Experimental functions and classes are suffixed with an underscore, i.e. SomeNewFoo.
ASP.NET 2.0 Recommendations- Add obremsdk/dotnet/ and obremsdk/dotnet20/ as svn:externals in your App_Code directory.
|