Handling errors with jQuery.load

I’ve just posted a very simple walkthrough of the different ways to handle errors when you’re using jQuery’s “.load” function to do partial rendering… it’s on our team blog so check it out here; http://blogs.msdn.com/ukadc/archive/2010/02/12/handling-errors-with-jquery-load.aspx


How much does Bing Maps cost?

I’ve been asked this a few times by people thinking about integrating the Bing Maps platform into their apps. Disclaimer: Consult the documentation as the authority, not my blog! Links inline… So the answer is – “it could be free for you”. In the licensing FAQ it states that one of the pricing models for…

4

How to do Claims-Based Security in .NET

Windows Identity Foundation has been around for a while now, and “Claims Based Security” is the cool kid that everyone wants to be friends with. The problem is that everyone (except Zulfiqar who speaks SAML natively) seems to think this stuff is impenetrably difficult to do… Enter stage left: “A Guide to Claims-Based Identity and…

1

Packaging UI Components in MVC

Something I get asked by most customers starting out with ASP.NET MVC is how they should package, group, factor, and reuse their UI components. We’re all used to thinking about User Controls, Custom Controls, and other Web Forms approaches. But rest assured, MVC provides a wealth of options. The thoughts below describe how I see…


Generic or Specific Routes?

A topic of discussion I’ve heard a few times when using Routing in ASP.NET concerns whether you should use the default generic route pattern for most of your controllers, or whether you should specify individual routes for every action. (this applies primarily to ASP.NET MVC today, but as routing is likely to be adopted more…

5

View Models in ASP.NET MVC

Q: Should I have a view Model in my ASP.NET MVC architecture? A: Yes. Well, that was a short post! J Being more serious, this is an interesting topic that the advisors and p&p team discussed a few times while they were building the Reference Implementation for the soon-to-be-complete Web Client Guidance, and it is…

41

Check out the Web Client Guidance

If you’ve not come across the Web Client Guidance that patterns & practices have been working on, now is the time to head on over to their CodePlex site; http://webclientguidance.codeplex.com/ The team have been really busy pulling together resources, advice, and guidance on a lot of topics related to web client development, including ASP.NET MVC…


Know what your SQL Database is doing

Ryan Simpson is one of my colleagues in the UK ADC team… and he has recently blogged a great little post about some of the tools we use with customers when we have them in Reading for a scalability or performance lab. Make sure you check it out here; http://rynsim.spaces.live.com/blog/cns!1DA5A63F849536B6!734.entry These tools do a lot…


Silverlight Binding Catastrophe

You can tell it’s the first day back after a 2 week vacation/holiday/beer-and-food-fuelled-break when it takes you an hour to work out why something like this isn’t working… but on reflection, I decided that this was actually very tricky to spot once I’d made the original blooper, and nothing showed up when I “binged” it,…

7

Closure Exposure: A JavaScript Scope Trick

You might have seen some JavaScript is wrapped up in funny looking functions, such as this screen shot, and wondered why – even parts of the Microsoft Ajax Framework previews use such an approach. At first it can seem very strange, but don’t worry – it’s actually very simple, and equally useful. Scope First of…

9