Tag Archive: MVC

jQuery Tip: Brute Force Dirty Form Detection

If you disable your “save” button on your MVC views when the page first loads and want them to be auto-enabled when any input on the form changes, you can do that with the following jQuery snippet. This is sort of a hack*, but it works. With this HTML and this javascript: You’ll “enable” the…

No IE6 ActionFilter for ASP.NET MVC

*** Update ***: I’ve also created a cheap jQuery plugin for this as well. See the bottom of the post There’s a lot of talk on Twitter today about IE6. I’m building a web application in my free time and I didn’t want to support IE6. Will I lose users? Yes, a few, but I…

ASP.NET MVC REST API WINDSOR CONTROLLER FACTORY

I’m using the ASP.NET MVC REST Toolkit for a REST API I’m building for a mobile infrastructure. Long story short, it will be responsible for service hundreds of thousands (if not millions) of users through their mobile phones and rich applications (Android, iPhone and eventually the WP7 Phones). The one thing that the Toolkit did…

My CODE Magazine Article Is Live

My first article with CODE Magazine is live. You can read it here. I cover ASP.NET MVC with the Spark View Engine. I cover a wide range of things and go in depth with examples with topics that include: Inline Code Element Constructs Partials Layouts and more … I hope you enjoy it! I enjoyed…

Medium Trust is a PITA

There. I said it. Medium Trust is PITA. I wont be surprised if someone replies with  one of the following: “Well, not really, you only have to do x, y and z and your code is compatible with medium trust environments” or “It’s there (Medium Trust) because code needs boundaries within controlled scenarios such as…