ASP.Net - Hilton Giesenow's Jumbled Mind

Hilton Giesenow's Jumbled Mind

the madness that is...

News

This is my little spot in cyberspace where you will find a collection of random (but mostly software-related) thoughts and ideas that are frightening in their shining brilliance (or something like that ;->).
 
Please enjoy your stay and feel free to Contact Me.
 
Microsoft MVP

.Net Links

BlogRoll

Misc. Links

Syndication

Browse by Tags

All Tags » ASP.Net (RSS)
Winforms JS Minifyer
For Tech Ed recently I did a talk on ASP.NET performance and scalability, and one of the topics we discussed was minifying JavaScript, which basically means getting rid of all of the comments, whitespace, etc. There are a couple of tools out there that do this, probably the most popular of which is Douglas Crockford's JSMin . The only problem is that it's a console app (which is great for automated builds, but not as good for demo'ing on stage). So, I wrote a small winforms wrapper around...
Avoiding a Base Page In ASP.Net
I blogged a while ago about how I'm not comfortable with using a base class that all of your pages inherit from in ASP.Net. In .net 1.x this was really the only way to enforce behaviour and share functionality but it meant all of the developers on the team had to remember to do it, and it was a manual task. There are ways around this, like overriding the default templates in Visual Studio . Of course, you can still choose to use a base page class in ASP.Net 3.5, one that inherits from System...
Top 10 Best Practices for Production ASP.NET Applications
I found a nice series of tips for releasing ASP.Net apps to production via Scott Guthrie's links blog post . It's definitely a worthwhile read if you're working with ASP.Net For some follow up, Scott Mitchell has a great post on the App_offline tip (tip 7) with even more details than Scott Guthrie's post . Also, if you're interested in seeing easily how to encrypt your web.config, check my How Do I: Encrypt My Web.Config File? video Share this post: email it! | bookmark it! |...
Posted: Feb 20 2008, 07:09 AM by hiltong | with no comments
Filed under: ,
Injecting a Page Base Class in ASP.Net
One of the slightly lesser-known features in ASP.Net is the use of ControlAdapters . These are classes that inherit from the base ControlAdapter class, and they allow you at runtime to override certain implementation details for another control. For instance, you could inject the ability to automatically have all textboxes on your site render with red text, but without changing any of the existing testbox code directly in the site. They were originally intended to be used to allow you to easily add...