App_Code vs. ascx: Differences you should know

October 23, 2008 No comments yet

Will you ever need to pass relative paths to your control? Does your control function as a container for markup? If so, you should subclass Control instead of using a .ascx file.

Referencing stylesheets, scripts from content pages

August 8, 2008 No comments yet

The ability to reference style sheets and scripts from within content pages is greatly needed, but link and meta tags only work in the root master page. Here’s how to add full link, meta, and script parsing to your entire application.

Image Resizer Documentation

August 8, 2008 2 comments

Installation and configuration instructions for the Image Resizer

Image Resizer License

August 6, 2008 No comments yet

License agreement for the Image Resizer

Server-side Image Resizing Module for ASP.NET, ASP, & PHP/IIS

August 6, 2008 No comments yet

Server-side image resizing is one of those tiny features that can have incredible ROI. It can save webmasters several hours each day, and gives you the ability to change the resolution of an image without having to hunt up the original.

Image Resizer 1.0 – Web.config

August 6, 2008 No comments yet

Making required changes in web.config

Types of ASP.NET paths

June 9, 2008 No comments yet

ASP.NET is primarily concerned with “virtual paths”, the portion of the path following the hostname or port number. When working with ASP.NET, you must understand the following types of URIs thoroughly, and know how they are handled by ASP.NET and the browser.

Using a custom VirtualPathProvider can cause OutOfMemoryExceptions

June 6, 2008 No comments yet

Virtual path providers are awesome – you can serve a site from a .zip file, perform XSLT transformations to generate .aspx files as the compiler reads them, and do all sorts of unusual things. However, using them can make the StaticFileHandler buffer entire downloads in memory before sending the data to the client.

The Query String

May 20, 2008 No comments yet

The query string is handled differently from the rest of the virtual path. It is neither URL decoded or case-normalized before it reaches ASP.NET, although each name-value pair is URL decoded before being stored in the Request.QueryString collection.

PathInfo Woes

May 19, 2008 No comments yet

ASP.NET introduces a new URI component to the equation: PathInfo. It’s not very well known, possibly due to poor implementation and consequent lack of usefulness. However, it is important that you understand how it can affect you.