Posts Tagged ‘bestpractice’

October 4, 2008 0

ADO.NET Data Access Template

By J in Uncategorized

Here’s a basic ADO.NET data access template with a SqlCacheDependency. Just wanted to post this for my future reference.

public static DataSet GetData(long itemID)
{
DataSet ds = new DataSet();
string cacheKey = Helpers.GetCacheKey(itemID); //Get a cache key unique to this method.

if (HttpContext.Current.Cache[cacheKey] != null)
[...]

Tags: ,

February 2, 2008 0

10 ASP.NET Performance and Scalability Secrets

By J in Uncategorized

Very good article. Covers all the following topics:

ASP.NET Pipeline optimization
ASP.NET Process configuration optimization
Things you must do for ASP.NET before going live
Content Delivery Network
Caching AJAX calls on browser
Making best use of Browser Cache
On demand progressive UI loading for fast smooth experience
Optimize ASP.NET 2.0 Profile provider
How to query ASP.NET 2.0 Membership tables without bringing down the site
Prevent [...]

Tags: ,

January 16, 2008 1

C# Coding Standards and Best Programming Practices

By J in Uncategorized

I was reading a best practices document created by the DotNetSpider team which covered many aspects of programming in .NET. I was really impressed by it and I think its a very good reference document. So I’ve decided to make a series of posts where I’ll post sections of their document covering a specific topic.

Tags: ,

April 27, 2007 0

ASP.NET 2.0 Tips and Tricks

By J in Uncategorized

Some cool tips and tricks posted on Dan Wahlin’s blog.
ASP.NET 2.0 is an awesome framework for developing Web applications. If you’ve worked with it for awhile then that’s no secret. It offers some great new features that you can implement with a minimal amount of code. I wanted to start a list of some [...]

Tags: ,