Posts Tagged ‘bestpractice’

October 4, 2008 0

ADO.NET Data Access Template

By 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) { ds = (DataSet)HttpContext.Current.Cache[cacheKey]; } else { using (SqlConnection [...]

Tags: ,

February 2, 2008 0

10 ASP.NET Performance and Scalability Secrets

By 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 [...]

Tags: ,

January 16, 2008 1

C# Coding Standards and Best Programming Practices

By 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 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: ,