Tag Archives: .NET

Editing Variable Length Reorderable Collections in ASP.NET MVC – Part 2: jQuery Templates

In Part 1 of this series I discussed the problems that we face when implementing an editor for a variable length, reorderable collection and reuse our server-side ASP.NET MVC views, model binding and validation. And while the solution provided in Part …

Read more »

Editing Variable Length Reorderable Collections in ASP.NET MVC – Part 1: ASP.NET MVC Views

Introduction I have decided to write a short series of blog posts on editing collections and more specifically variable length collections in ASP.NET MVC. I will take two different implementation approaches: In Part 1 I look at implementing collection editing …

Read more »

Logging JavaScript Errors with ELMAH in ASP.NET MVC

One final piece of information I wanted to add to my last blog post about setting up ELMAH for ASP.NET MVC is how to log Client Side/JavaScript errors with ELMAH. To do that we need to: 1. Because ELMAH works …

Read more »

ASP.NET MVC Magical Error Logging with ELMAH

If you aren’t using ELMAH (Error Logging Modules and Handlers) you should be - http://code.google.com/p/elmah/ It’s the best thing since sliced bread for logging ASP.NET errors with practically zero effort. It basically plugs into the ASP.NET pipeline and logs all unhandled exceptions thrown and …

Read more »

Storing Date and Time in UTC and the definition “Today”

Storing date and times in UTC on the server side is all nice and dandy, however there are a few gotchas, one of which the definition of “Today” when you a dealing with time zones. Say we are dealing with …

Read more »

PicasaUploader 0.5: Upload videos

I have released version 0.5 of PicasaUploader – the simple PicasaWeb uploader tool. Changes: Add support for uploading videos. Supported files are: .avi, .mpeg, .mpg, .wmv, .3gp, .asf, .mp4, .mov. However PicasaWeb can still reject any of those if it …

Read more »

Three new featurelets for Fluent NHibernate

Lately I have been using Fluent NHibernate and NHibernate respectively for my ORM (Object-Relational Mapping) when working on my top secret pet project. Simply put – it’s great. Mapping is done using a fluent C# interface which makes use of …

Read more »

How to avoid passing property names as strings using C# 3.0 Expression Trees

Referencing property names via strings is evil. Consider this simplistic example: If at some point the property gets renamed the code will compile fine but a bug will be introduced as all those strings that contain the property name will …

Read more »

HowTo Disable the Unsigned Security Warnings on Windows Mobile

The security warnings when deploying unsigned applications from Visual Studio to a real Windows Mobile device can get very annoying. Thankfully they can be disabled with a hack and here is how. Using the Remote Registry Editor supplied with Visual …

Read more »

Visual Studio 2008 jQuery IntelliSense Fix

I am tinkering with ASP.NET MVC and jQuery and making my first baby steps in a whole new horrible world of web development. I found out that the JavaScript IntelliSense in Visual Studio 2008 is broken out of the box. …

Read more »