Monthly Archives: September 2007

Using .ToString(string Format) in C#

Read more Formatting on the "Formatting Overview" on MSDN (http://msdn2.microsoft.com/en-us/library/26etazsy(VS.71).aspx), or take a look in the Customer Numeric Format Strings section below (Original text here: http://msdn2.microsoft.com/en-us/library/0c899ak8(VS.71).aspx) Custom Numeric Format Strings If the standard numeric format specifiers do not provide the … Continue reading

Posted in Development | Tagged , | Leave a comment

Using SQL Cache Dependencies

Original post here: http://www.asp.net/learn/data-access/tutorial-61-cs.aspx — Introduction The caching techniques examined in the Caching Data with the ObjectDataSource and Caching Data in the Architecture tutorials used a time-based expiry to evict the data from the cache after a specified period. This … Continue reading

Posted in Development | Tagged , , , , | Leave a comment

Caching Data in the Architecture

Original post here: http://www.asp.net/learn/data-access/tutorial-59-cs.aspx — Introduction As we saw in the preceding tutorial, caching the ObjectDataSource’s data is as simple as setting a couple of properties. Unfortunately, the ObjectDataSource applies caching at the Presentation Layer, which tightly couples the caching … Continue reading

Posted in Development | Tagged , , , | Leave a comment

Caching Data with the ObjectDataSource

Original post here: http://www.asp.net/learn/data-access/tutorial-58-cs.aspx — Introduction In computer science, caching is the process of taking data or information that is expensive to obtain and storing a copy of it in a location that is quicker to access. For data-driven applications, … Continue reading

Posted in Development | Tagged , , | Leave a comment

How Do I: Debug ASP.NET AJAX Applications Using Visual Studio 2005?

Original post here: http://www.asp.net/learn/ajax-videos/video-167.aspx — In this video we learn how to use Visual Studio 2005 to debug ASP.NET AJAX applications. We are shown how the ScriptManager is used to access the JavaScript created by the ASP.NET AJAX server controls, … Continue reading

Posted in Development | Tagged , , , , | Leave a comment

How Do I: Build a Custom ASP.NET AJAX Server Control?

Original post here: http://www.asp.net/learn/ajax-videos/video-170.aspx — Learn how to create a custom Web server control with ASP.NET AJAX functionality using the AJAX extensions in the Microsoft AJAX Library. This video walks you through both the server-side .NET code and the client-side … Continue reading

Posted in Development | Tagged , , | Leave a comment

Building a Vista Sidebar Gadget

Part 1, Getting Started Original post here: Building a Vista Sidebar Gadget – Part 1, Getting Started — Vista gadgets exist in the Sidebar and provide quick and easy access to useful functions such as customised searching, currency conversion or … Continue reading

Posted in Development | Tagged , | Leave a comment

ASP.NET 2.0 Tips, Tricks, Recipes and Gotchas

Well ScottGu’s Blog got everything http://weblogs.asp.net/scottgu/pages/ASP.NET-2.0-Tips_2C00_-Tricks_2C00_-Recipes-and-Gotchas.aspx

Posted in Development | Tagged | Leave a comment

Using different Web.Config for development, test and production

Read more here: http://weblogs.asp.net/scottgu/archive/2007/09/21/tip-trick-automating-dev-qa-staging-and-production-web-config-settings-with-vs-2005.aspx   Or here: http://www.hanselman.com/blog/ManagingMultipleConfigurationFileEnvironmentsWithPreBuildEvents.aspx

Posted in Development | Tagged , , | Leave a comment

Upgrading VS 2005 Web Site Projects to be VS 2005 Web Application Projects

Original post here: http://webproject.scottgu.com/csharp/migration2/migration2.aspx — Step 1: Create a New VS 2005 Web Application Project The best strategy to migrate an existing VS 2005 Web Site Project is to first create a new blank VS 2005 Web Application Project in … Continue reading

Posted in Development | Tagged , , , | Leave a comment