I’m using MVC4, why do I need Require.js? – or – Why is my JavaScript such a mess?

In the quest to create an elegant web interface using MVC, I had begun to add more and more JavaScript to my views.  Using great tools like jquery, Knockout, AJAX, modernizr, and underscore I began improving the interactivity and responsiveness of my web pages.  At first the UI code seemed fairly simple, and I even … Continue reading I’m using MVC4, why do I need Require.js? – or – Why is my JavaScript such a mess?

Problem Sharing ASP.NET Forms Authentication or A Tale of Two Cryptography Cores

We have multiple web applications on our server farm that share forms authentication.  This makes it possible to have a single login page / functionality that can be shared between the applications.  In order to allow the encrypted forms authentication cookie to be shared between these applications the web.config needs to be setup in the … Continue reading Problem Sharing ASP.NET Forms Authentication or A Tale of Two Cryptography Cores

Name resolution timed out after none of the configured DNS servers responded

A few days ago I was troubleshooting an issue with my laptop when I noticed a large number of errors in the system log that looked like this: Name resolution for the name nrumtznshm.mydomain.org timed out after none of the configured DNS servers responded. This was a warning in the Windows System Event Log with … Continue reading Name resolution timed out after none of the configured DNS servers responded

ASP.NET MVC – Why doesn’t my area route registration work?

Also known as watch the precedence order of your registrations! We have recently begun switching our MVC project to leverage the Areas feature in MVC.  This is a big benefit and allows us to organize our application functionally as opposed to by file type.  As an example it allows us to put everything about updating … Continue reading ASP.NET MVC – Why doesn’t my area route registration work?

Creating Modal Dialogs with Axure

Recently we have been using a tool named Axure to develop quick wireframe throw-away prototypes.  It's a great prototyping tool that makes it quick and easy to mock-up basic user interaction scenarios for web and mobile applications.  The wireframes serve as a basis for discussing workflow and user interactions with customers and development team members … Continue reading Creating Modal Dialogs with Axure

Programmatically Adding Windows Server 2008 Scheduled Tasks

Recently I was trouble shooting an ASP.NET COTS package that utilizes the Windows Task Scheduler to schedule and execute long running tasks asynchronously for users. While troubleshooting, I discovered that the application was using an open source managed wrapper to access the Windows task scheduler API (COM based API from Microsoft). More information on this … Continue reading Programmatically Adding Windows Server 2008 Scheduled Tasks

soapUI:org.apache.http.client.ClientProtocolException

When I downloaded the soapUI Pro official build (4.5.1), the first thing I tried to do was test some of our services on the test environment.  All of our WCF services are protected by NTLM authentication.  Unfortunately I immediately hit a wall.  Every attempt to call a services threw the following un-handled exception: Error getting … Continue reading soapUI:org.apache.http.client.ClientProtocolException

Evaluating soapUI for Web Service Verification

Our team has been building WCF based web services for the last few years to support data integration between disparate systems in the enterprise.  Web services are a natural fit for this type of integration because they offer flexibility for cross-platform exchanges and are easily configurable to traverse firewalls inside of the corporate network.  We’ve … Continue reading Evaluating soapUI for Web Service Verification

Unit Tests: Why quality matters and how to write better tests

This is the first article in a series that I am writing about how to create and maintain better quality unit tests. Over the last few years I have been involved in several different development projects where we have made a valiant effort to unit test our code.  All of the team members saw the … Continue reading Unit Tests: Why quality matters and how to write better tests

ASP.NET MVC4 Bundling and Minification: Where did System.Web.Optimization go?

Recently we upgraded an MVC 3 application to MVC4 and wanted to take advantage of the new bundling and minification functionality for our css and js files.   There are some great articles on the asp.net site about how to use all of these new features: http://www.asp.net/mvc/tutorials/mvc-4/bundling-and-minification Initially I tested it out on a brand new … Continue reading ASP.NET MVC4 Bundling and Minification: Where did System.Web.Optimization go?