Welcome to MSDN Blogs Sign in | Join | Help

Simon Ince's Blog

Ramblings of an Application Development Consultant in the UK

Browse by Tags

The Microsoft Ajax Content Delivery Network (CDN)
I keep looking for the URL’s to get Microsoft Ajax, jQuery, the MVC Ajax libraries and more from our new shiny CDN (check here if you’ve not heard of it)... and I can never remember where they are. So this post is for my benefit, not yours J The links Read More...
Loading Scripts Late
On the ASP.NET ScriptManager control there is a useful little property that very few people have heard of called “LoadScriptsBeforeUI”. What does it do? Well, simply put... · When “true” (the default) it will render <script> tags for each script Read More...
Executing JavaScript after a Partial Render
I had a fun day debugging some ASP.NET plus jQuery this week, and came across something I’ve known is possible for some time, but that I’ve never actually needed to do... and that was to ensure a bit of JavaScript ran once an UpdatePanel had refreshed Read More...
Do you need web client development help?
Then tell us what you need! Blaine has blogged a link to a survey that patterns & practices will use to help them understand what challenges that are affecting you the most... so that they can choose the right areas to focus effort in providing guidance. Read More...
Monitor your ASP.NET Cache API Behaviour
Recently I was working on diagnosing a performance issue with a customer’s web site with a colleague (this is one of our favourite engagement types so if you need some help let me know J ), and we found that items were being trimmed very regularly from Read More...
Detecting Server.Transfer
How do you know when a page is being rendered as the result of a Server.Transfer, rather than a Response.Redirect or the user browsing directly to a page? Actually it’s quite easy, assuming you’re using the default ASP.NET pipeline. In reality the “thing” Read More...
Enforcing Unobtrusive JavaScript
Unobtrusive JavaScript is a concept that’s been around for quite a while, but it’s now finally starting to make its way into the mainstream. The basic idea is that you should separate your JavaScript from your HTML – so instead of; < a href ="Default.aspx" Read More...
String.Unformat: I've created a monster
I don’t know if you’re the same, but when coding away I often find myself wishing for a String.Unformat function – call it the evil twin of String.Format . With String.Format I can build up strings like this; var result = String .Format( "http://{0}:{1}/{2}" Read More...
Running two Visual Studio 2008 configurations side-by-side
Recently I’ve come across a requirement to easily switch between two Visual Studio 2008 configurations. I might need these two configurations open at the same time (so can’t just manually edit settings in Tools->Options), and don’t want any lengthy Read More...
Using Anchor Links with AJAX History
A customer asked me about doing this the other day, and I’d never come across it, although it seems obvious now! If I have a page that makes use of ASP.NET’s server-side ScriptManager AJAX history features but also want to link to an anchor on that page, Read More...
Blueprints Update
This is late news as I’ve been busy recently, but if you’ve been following Blueprints make sure you read Michael’s post here . They’re evolving into something else, that I’m sure will be even more exciting... I’ll be staying tuned so no doubt I’ll shout Read More...
Using ASP.NET Dynamic Data in an existing Web Site
One of the tasks I used to hate when building a new system was adding admin pages to allow simple create/update functionality for lookup data. For example, maintaining a simple list of Products. It takes ages to write, and is very boring – even if you Read More...
foreach keyword or ForEach<T> extension method?
Is this a question of taste, or something more serious? [ Warning : this post won’t change your life J ] I found myself writing the following extension method yet again the other day; public static void ForEach<T>( this IEnumerable <T> source, Read More...
Flattening XML Data in SQL Server
If you’ve got some XML data in a SQL Server column, how can you flatten it out and query it or present it as though it was relational data? It turns out this is quite easy... Setup Let’s create a simple table to hold our data; CREATE TABLE XmlSourceTable Read More...
Visual Studio Team System 2010: Tick, tock, tick, tock...
As the beta 1 drop of Visual Studio Team System 2010 approaches, Brian Harry has a great little summary of the high level new feature areas we’re delivering. Check it out here . There are some great nuggets in there, so I’m really looking forward to RTM Read More...
More Posts Next page »
Page view tracker