14 September 2010 - 12:40 AM / by Dominic Pettifer. 2 Comments for How to get a Reference to all Assemblies in the \bin Folder.
Technical Article - Something I’ve been stuck on for a while is a reliable way to get a list of all Assemblies (DLL files) that are located in the ASP.NET website’s \bin folder. I’ve frequently needed this for IOC style Controller registration code (find all types in all Assemblies that implement IController for instance), or for my ASP.NET Bootstrapper pattern (find all types that implement IBootstrapperTask). Relying on AppDomain.CurrentDomain.GetAssemblies () can be dangerous as I’ll discuss.
10 March 2010 - 11:35 PM / by Dominic Pettifer. 3 Images for IHttpModule Gotchas – The Init() Method Can Get Called Multiple Times. 3 Comments for IHttpModule Gotchas – The Init() Method Can Get Called Multiple Times.
Development Gotchas - When creating and registering IHttpModules, some people mistakenly think that only a single instance of the IHttpModule is created, and that the Init() method is only called once. I’ll explain how and why this is incorrect, and how this misunderstanding can lead to subtle bugs in your ASP.NET web application.
9 May 2009 - 4:21 AM / by Dominic Pettifer. 4 Comments for Stop IIS AppDomain Restarts When a Folder is Deleted.
Technical Article - I show you how to prevent IIS web server, and the ASP.NET worker process, from restarting your websites AppDomain whenever a folder is deleted (either programmatically or manually) in your web sites folder hierarchy.
15 May 2008 - 2:23 PM / by Dominic Pettifer. 12 Comments for GZip compress your website's HTML/CSS/Script in code.
Cool C# Snippets - Dynamically GZIP compress the HTML response of your website in code, without having to configure IIS directly. Make massive savings on your websites bandwidth.
18 December 2006 - 1:00 PM / by Dominic Pettifer. 3 Comments for JavaScript/CSS and Custom Controls.
Technical Article - This guide will show you how to implement JavaScript code in your custom ASP.NET server controls, and implement them in such a way to decouple your custom control from the web application implementation. We’ll also look at CSS for your custom controls.
11 December 2006 - 11:43 PM / by Dominic Pettifer. 4 Comments for Get a<HEAD> with ASP.NET 2.0.
Technical Article - New in ASP.NET 2.0 is the ability to add runat="server" to the pages <head> tag. This lets you programmatically modify the head element and other elements inside it such as, Title, adding JavaScript code and style attributes, plus many more. Here I show how this is done.
27 November 2006 - 7:57 PM / by Dominic Pettifer. 6 Comments for Measuring Page Execution Times for ASP.NET Pages.
Technical Article - Someone asked me about the page execution time shown at the bottom of this (and every) page. So I thought I would post an article on how to incorporate a page execution timer in your own ASP.NET pages. It’s fairly simple but requires an understanding of the ASP.NET page life cycle.
Result of Stored Procedure using output params and a recordset (from the blog Output Parameters AND Recordsets From a Stored Procedure )
And YouTube still auto-fucking-plays videos!! This is TWO-THOUSAND-AND-FUCKING-TWELVE FFS!!!
about 20 hours ago from webOn a side-note, YouTube's commenting system is god-awful atrocious dreadful horrible horrible horrible!! Constant meaningless error messages
about 20 hours ago from webJavaScript is slow mmmkay http://t.co/NbB4eQjw - Actually, no, it's not http://t.co/kpGEIoPO #nodejs
about 20 hours ago from webTFS: It's super expensive, so it must be brilliant, right? Like Sharepoint #tekpubtfstitlesuggestion
5:22 PM February 3rd from web