I run the SOP creation and implementation website Way We Do. It is a multi-tenanted website in as far as each company that signs up chooses their own subdomain and can customize the branding. During the sign up process, we had to be very clear to the non-technical user exactly what choosing a subdomain was …
ASP.NET
Minifying a RequireJS Website During Publish With Visual Studio
I have recently been working on converting my web application to use requirejs. I have been very happy with the benefits of moving to a modular approach but optimizing using r.js during the deploy to test/production did not seem very elegant. Most solutions suggest building your javascript into a release folder within your project and …
TFS Build And Multiple Websites In One Web Role On Azure
Since the 1.3 sdk update, setting up multiple websites on a single web role is pretty straight forward. However, there is a little bit of a gotcha when using TFS build to compile and publish the packages. The problem is that when you combine two or more website projects into a single role, the azure …
Using a Resource File for NHibernate Validation Messages
I have recently started using NHibernate for a project because I wanted something that would work in Mono on linux and coupled with Fluent NHibernate, seemed like the best choice to work with MySql. It wasn’t long before I began to use the NHibernate Validator framework to provide some validation on my models. Using it …
Mocking Session in ASP.NET with Moq and VB.NET
It has been a few years since I have had the chance to explore the latest enhancements to ASP.NET. The development in my day job was locked into traditional ASP.NET forms just before MVC 1.0 was released and there has not been any opportunity to change. TDD, dependency injection and inversion of control containers all …
IIS7 WordPress and Friendly URLs
As a developer who uses Vista as their main OS, I have always found developing php sites a little bit awkward. Php never liked to play nicely with IIS and unless you installed and used Apache, friendly URLs were even more difficult to get working. I use IIS extensively for ASP.NET development and I never …
Windows Server 2008, ASP.NET, Pre-compiling and Virtual Directories
There has been an interesting problem at work over the last couple of weeks. We are in the process of preparing to move service providers and at the same time upgrading all our servers to run Windows Server 2008 and SQL Server 2008. In preparation for this move, we have been upgrading our staging and …
Thanks for Breaking Things ASP.NET 3.5 Team
I have just spent an intense few hours crawling all the JavaScript files in our application (and there are a quite a few) fixing an issue introduced with our upgrade to the .NET framework 3.5. The entire afternoon in fact was spent fixing a single issue: our AJAX calls had stopped working. The first hurdle …
Captcha Audio with ASP.NET
The subject of captcha images has been well covered. There are plenty of available resources for creating those warped letters. I created such a control that is a combination of quite a few different ideas and was quite proud of it until not thirty seconds after demonstrating it, someone asked whether it had a ‘play …
jQuery Inline Confirm
I have been using Delicious social bookmarking service ever since Blinklist degraded and finally lost the plot with their new design. When I first started using Delicious, a feature of their interface really leapt out at me and I could not wait to include it into a project. The feature I am talking about is …