Designing .NET Apps

Some really cool MSDN articles on .NET architecture and performance: * Designing .NET Application [http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/DesignNetApp.asp] * Application Design Guidelines: From N-Tier to .NET [http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnbda/html/bdadotnetarch001.asp?frame=true]…

Caching of AJAX script files

A hat tip from Ajax.NET Professional on the Caching of AJAX script files [http://weblogs.asp.net/mschwarz/archive/2005/09/01/424228.aspx]: adding the ETag [http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html] value to the HTTP header will allow for the caching of the client script.…

AJaX with SOA

Can Ajax be running partner of Web services? [http://searchwebservices.techtarget.com/originalContent/0,289142,sid26_gci1116318,00.html] Whether or not AJaX [http://www.adaptivepath.com/publications/essays/archives/000385.php] and the Service Oriented Architecture (SOA) can coexist together is yet to be seen with the nature &…

String Enum

Is this a dirty hack or what? Implementing a class to replicate a string enumeration (as by-design enum is numeric only): public class RegLibUDFs { public static string CodeName = "AC"; public static string Version = "AV"; public static string Users = "AU"; public static string CompanyDB = "…

Calling Code Dynamically

I’ve never really fancied Interfaces. But its quite surprising to find out that Interfaces are faster [http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dncscol/html/csharp02172004.asp] for object reference and invocation, as compared to Delegates or .NET Reflection.…

ILMerge

ILMerge [http://www.theserverside.net/news/thread.tss?thread_id=35917] can merge .NET assemblies into a single assembly. ILMerge is packaged as a console application. But all of its functionality is also available programmatically. While Visual Studio does not allow one to add an executable as a reference, the…