advertisement

Articles

Build an RSS feed using LINQ to XML

posted by Jeff
Using LINQ, you can generate an RSS feed with clean code and less work than with traditional XML classes.

Load user data once with an HttpModule

posted by Jeff
Instead of creating a new object with user data every time you need it, go back to the well and avoid having to write caching code.

Build a news or blog site in five minutes with CliqueSite® NewsBlog

posted by Jeff
This simple ASP.NET v2.0 application allows the site owner to post news or blog entries, categorize them, syndicate them and allow for comments.

Rewriting the URL using IHttpHandlerFactory

posted by Jeff
RewritePath() is messy. Using the IHttpHandlerFactory interface allows you to take the requested URL and execute an entirely different page.

Using parameterized SQL queries

posted by Jeff
Save yourself from SQL injection attacks and other nasty problems by passing along data in parameters.

Understanding event wire-ups in ASP.NET and Visual Studio

posted by Jeff
There are two approaches to making something happen in an ASP.NET page, and if you use Visual Studio .NET, you should know about both.

Using a PagedDataSource and your own data pager links

posted by Jeff
You aren't restricted to just using a DataGrid when you want your data paged. The PagedDataSource class lets you bind just the data you want to display, and lets you build your own pager links.

Performance doesn't matter

posted by Jeff
Just because you can calculate the exact date of the Big Bang with your Web application doesn't mean you need to.

Building an RSS feed made simple

posted by Jeff
Those little orange XML icons are everywhere. How much will people think you suck if your site doesn't have one? Syndicate your content today or be the target of jokes at your next party.

Use an HttpHandler to stop bandwidth leeching of your images

posted by Jeff
HttpHandlers make it easy to handle certain file types with a simple interface that anyone can write code for.

Building a custom data class, part two

posted by Jeff
In part two, we improve our data class so that it caches data in memory and avoids hitting the database for frequently retrieved data.

Building a custom data class, part one

posted by Jeff
Through simple object-oriented techniques, you can write your data access code once and use it everywhere.