“Transforming” App.Config Files in a TFS Build

by 

|

|  

in

Do you develop using your production or staging SQL server? If so, please don’t. If not, great! How do you keep track of which Web.Config is pushed to your server? VS2010 has an improved Web Deploy process that allows you to use config transforms to adjust your Web.Config files based on the build configuration. Scott…

Read more…

Testing Session in MVC in Four Lines of Code

by 

|

|  

in

Controller testing in the model-view-controller (MVC) is simple. ?The level of difficulty is increased with the use of Session in the controller, but only slightly. In this post I show how to simply test controllers which use Session. Let’s try testing this controller method: The following code (in a test project) will throw a null…

Read more…

Custom Plugin Modules

by 

|

|  

in

By far my favorite feature of .NET reflection is the ability to easily implement custom plugin libraries. Whenever you have a nice generic business class that suddenly needs custom functionality for a particular scenario or customer, you usually have three choices: Implement the custom code in the library itself. This is the quick and dirty…

Read more…

Welcome!

by 

|

|  

in

Whew! We finally have our website and blog in place. Now we can get down to business. Early on, we knew we wanted to share our experience and thoughts about software engineering, development tips/tricks, and entrepreneurship. We thought it only made sense that we set up a blog so we could regularly share our thoughts…

Read more…