Simon Ince's Blog

Ramblings of a gadget freak

Posts
  • Simon Ince's Blog

    I've changed role

    • 1 Comments
    Well it's happened; a short while ago I left the UK PSfD (Premier Support for Developers) team for new horizons. I had an awesome time in that team, and learned a lot from some very clever people - so if you fancy it check out the Microsoft careers site...
  • Simon Ince's Blog

    Injecting Custom HTML Attributes in ASP.NET MVC

    • 0 Comments
    Recently Stuart Leeks and I have developed a worrying pattern of having the same ideas at the same time. I’m starting to doubt we’re different people. Except he’s about a foot taller so maybe that’s aspirational from my side. ...
  • Simon Ince's Blog

    Templated Razor Delegates combined with Partial Views

    • 0 Comments
    I was with a customer in Germany this week, and just before I left one of the (rather talented I might say) developers asked me about passing markup into an HtmlHelper extension. It turns out this is pretty easy, as covered by Phil Haack under Templated...
  • Simon Ince's Blog

    Mvc.ValidationTookit Alpha Release: Conditional Validation with MVC 3

    • 16 Comments
    Update : I've not forgotten about this everyone, apologies for the delay. My attempt to get approval to publish failed due to vacations (mine and others) so as soon as I can I'll try again. My blog posts on doing conditional validation in MVC have...
  • Simon Ince's Blog

    Immersive MVC and jQuery: Project Silk

    • 0 Comments
    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...
  • Simon Ince's Blog

    Project Silk: Patterns and Practices do Rich Web Apps

    • 1 Comments
    My blog has been quiet of late – because our team is busy I think. We’re recruiting by the way Something I’ve been wanting to blog about for a while now is “Project Silk”. This is Patterns & Practices latest round of web development guidance. Karl...
  • Simon Ince's Blog

    JavaScript Architecture

    • 10 Comments
    No, that isn’t meant to be an oxymoron. But something I’ve noticed recently is that people’s approach to JavaScript seems to be diverging down two common paths. This blog post is designed to encourage you to adopt the one you probably aren’t planning...
  • Simon Ince's Blog

    What’s My Day Job?

    • 2 Comments
    If you’re wondering what it is I do all day, the UK TechNet Blog have just published an interview with me as part of their “day in the life” series, which looks at the various technical roles within Microsoft UK. Be sure to check the others out too! On...
  • Simon Ince's Blog

    Detecting which button was clicked in MVC

    • 7 Comments
    I’ve seen a few hacks in the past to try and work out which button caused a form POST in ASP.NET MVC, but the truth is it is pretty easy. Step 1 : Inside your form, add two Submit buttons. Add a name attribute to both (note it isn’t added by MVC by default...
  • Simon Ince's Blog

    Conditional Validation in ASP.NET MVC 3

    • 25 Comments
    Update: If you like this, you'll like Mvc.ValidationTookit even more - check out this post ! Some time ago I blogged on Conditional Validation in MVC , and Adding Client-Side Script to an MVC Conditional Validator . A number of people have asked me...
  • Simon Ince's Blog

    ASP.NET MVC 3 Optional Parameter Routing Issue

    • 4 Comments
    Update : Phil Haack has now blogged on this under Routing Regression With Two Consecutive Optional Parameters . When upgrading the Labs and Demo code for a course I run from MVC 2 to MVC 3 I discovered some odd behaviour with one of the routes. We...
  • Simon Ince's Blog

    Unit Testing ASP.NET MVC Routes

    • 1 Comments
    Two things I always encourage customers to do are; Always delete the default route pattern after a File –> New project. This helps you focus on designing your routes throughout your site, and helps reduce SEO-unfriendly routes etc. Always unit test...
  • Simon Ince's Blog

    Optimising ASP.NET Performance

    • 1 Comments
    Something I do a lot with customers is improving their ASP.NET Web Site performance. Most people spend hours looking at server-side performance, but just don’t realise what kind of gains you can get by looking at often-overlooked settings. I’ve seen cases...
  • Simon Ince's Blog

    Unobtrusive jQuery and HTML 5 MSDN Flash Article

    • 0 Comments
    If you don’t get the UK edition of MSDN Flash delivered to your inbox, you might want to head over to the latest edition to check out the jQuery article I wrote for this month; MSDN Flash feature article: Unobtrusive JavaScript with jQuery, HTML 5 Style...
  • Simon Ince's Blog

    View Model versus Domain Entity Validation with MVC

    • 1 Comments
    I blogged way back in January about what I see as the three variants of View Model usage in ASP.NET MVC. If you’ve not read that post, check it out here and report back! The Problem What I’ve started to see is that many other developers like my approach...
  • Simon Ince's Blog

    What is hard to do in Web Development?

    • 7 Comments
    Patterns and Practices are spinning up their next round of guidance soon, and they want to know what to focus on… so go and answer their incredibly short survey if you want your chance to make a difference to what they produce! Check out Karl and Don...
  • Simon Ince's Blog

    Different Routes for Different Hosts Using Constraints

    • 0 Comments
    I had the pleasure of visiting some guys in Munich this week to talk about ASP.NET MVC. Well, the time with them was a pleasure, but I did have two awful airport experiences due to snow in 48 hours! Something we discussed that I’ve come across before...
  • Simon Ince's Blog

    Offline Data Cache in Windows Phone 7

    • 1 Comments
    I’ve been building a Windows Phone 7 application that basically lets a user create records offline, and then pushes those up to a cloud service when network connectivity is available. These offline records are not as offline as I would like though – it...
  • Simon Ince's Blog

    Bubbling PropertyChanged Events in Silverlight

    • 1 Comments
    I’ve been working with Silverlight (specifically for Windows Phone 7) recently and something I’ve found useful is the ability to “bubble” PropertyChanged event up. So for example; 1: public class MainPageViewModel : INotifyPropertyChanged 2: { ...
  • Simon Ince's Blog

    Controller Action Design in MVC

    • 2 Comments
    Validate, Act, Translate, and Respond. That’s about it. I’ve been trying to come up with a nice acronym for how to structure code in Actions for some time now, and this is the best I have managed. I wish it spelt a nice word – so...
  • Simon Ince's Blog

    Comparing Architectural Options

    • 0 Comments
    Often when I speak with people that are planning a new solution they have a few different products or platforms in mind. To compare these options, most try something like a “capability matrix” (which goes by many names). Roughly these end...
  • Simon Ince's Blog

    Adding Client-Side Script to an MVC Conditional Validator

    • 6 Comments
    Update: If you like this, you'll like Mvc.ValidationTookit even more - check out this post ! 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...
  • Simon Ince's Blog

    Conditional Validation in MVC

    • 21 Comments
    Update: If you like this, you'll like Mvc.ValidationTookit even more - check out this post ! Recently I put together samples for different types of validation for some customers, and one of those was Conditional Validation – that is “this...
  • Simon Ince's Blog

    jQuery.validate and Html.ValidationSummary playing nice together

    • 4 Comments
    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...
  • Simon Ince's Blog

    JavaScript Coding Standards

    • 5 Comments
    About six months ago a few customers asked me about coding standards when writing custom JavaScript using Microsoft’s frameworks… it turned out that we didn’t really have any publicly available standards. To address this myself and Stuart Leeks set...
Page 1 of 5 (124 items) 12345