Google Analytics Alternative Browse by Tags - UK Premier Support for Developers - Site Home - MSDN Blogs

UK Premier Support for Developers

Your dev. Our passion.

Browse by Tags

Tagged Content List
  • Blog Post: Immersive MVC and jQuery: Project Silk

    Patterns and Practices have just released their latest round of guidance for developing web applications - “Project Silk”. I’ve been watching what they generate closely and I think you’ll be impressed. To quote the landing page; “Project Silk provides guidance for building...
  • Blog Post: Adding Client-Side Script to an MVC Conditional Validator

    In a previous post I covered how to write a conditional validator to work with ASP.NET MVC, and a little gotcha to avoid. However, I didn’t include any details on how to wire up this validator with some client side JavaScript. This post is tacks some script onto that approach! It wasn’t as...
  • Blog Post: jQuery.validate and Html.ValidationSummary playing nice together

    A customer recently asked me how to get MVC with the MVC Futures project’s MicrosoftMvcJQueryValidation.js adapter file to play nicely with the Validation Summary HTML helper. It turns out that this functionality isn’t built into the adapter script file. They also pointed me at this post by Soe Tun that...
  • Blog Post: Client Script Patterns: Predictive Fetch

    Why do you write JavaScript? It's probably for one of two major reasons – Responsiveness or Richness. Richness we know about – it's the flying, sliding, flashing, and sometimes annoying UI features we see J But Responsiveness is much less tangible – it's about how an application feels to use. Does it...
  • Blog Post: jQuery + MVC = Progressive Enhancement

    If you write a lot of JavaScript, you really should consider adopting Progressive Enhancement as the standard way that you work. This is basically whereby you write a web site without script, and then enhance it with script. The result is a site that does not rely on JavaScript (and hence works with...
  • Blog Post: Ajax Control Toolkit Coding Standards are Live

    Two of our ADCs ( Simon Ince and Stuart Leeks ) have been coordinating work with people across Services and various product groups to produce a comprehensive set of coding standards for the Ajax Control Toolkit. This was in direct response to requests from the ADC team’s customers for such documentation...
  • Blog Post: JavaScript Prototypes versus Closures

    Recently I've been coordinating and authoring some JavaScript best practice documentation, and one area that came up which I thought was interesting was the reason for using prototypes instead of constructors to define JavaScript class members. Thanks to Bertrand , Dave , and Stephen for assistance with...
  • Blog Post: A JavaScript Event Bus

    I was working on a Proof of Concept recently that needed to support loosely coupled Ajax components. The idea is a common one – components need to be able to hook into an existing page without detailed knowledge of how the page works, and immediately start responding appropriately. This is basically...
  • Blog Post: 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. ...
  • Blog Post: 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" onclick ="alert('Sorry, that is unavailable...
  • Blog Post: 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 you reference using the ScriptManager at the...
  • Blog Post: Error handling with WebHttpBinding and Microsoft Ajax

    Here I talked about a technique to convert SOAP faults into JSON objects for AJAX scenarios. The post was primarily around using WCF extensibility to send back exception details as JSON object with a particular HTTP status code . The code will only works with native XMLHttpRequest object or with a library...
  • Blog Post: AJAX Script Patterns: Service Agent

    I’ve been thinking for a while about how people tend to build AJAX applications, as there seems to be something a lot of people have forgotten. This post examines how applying a pattern you probably know very well to AJAX could help – and leaves it to you to decide whether this is useful. Let me know...
Page 1 of 1 (13 items)