ASP.Net Page Properties

​Below is an example of how I like to use properties to access HTML items from code-behind.  It allows you to have strongly-typed objects and a single point of access to HTML items.

Read more…

Dodgeball and Coding: More Alike Than You Think

by 

|

in

Recently, one of our intern teams and two full-timers got to hop down to the Boys & Girls Club for some volunteering. It wasn’t your usual volunteer outing; they got to play dodgeball with the kids! The teams ended up being the young kids vs. the “old folks”, but it was a surprisingly even match….

Read more…

SELECT Build Deploy from TFS 2010

by 

|

in ,

TFS has always provided great ways to build your projects and solutions: Builds are easily started and reviewed by different members on the team Builds are automatically versioned and backed up Work items and bugs can be associated with individual builds Deploying a web application is a slightly tricky matter. These apps are easily deployed…

Read more…

ClickOnce: Revisited

Recently we’ve received a couple comments on my blog post ClickOnce Publish and Deploy from Team Foundation Server 2010 so I thought we should do a follow-up post to share what we’ve learned. One of our readers, Anye, was having some trouble getting the build to copy the published ClickOnce application over into the ClickOnce…

Read more…

ClickOnce Publish and Deploy from Team Foundation Server 2010

Overview ClickOnce technology is a very powerful way to distribute your applications to end users. It is especially nice for easily distributing updates to your application. Even if you don’t plan to distribute your application using ClickOnce technology, it is still a great tool for deploying daily updates for QA during development. However, publishing and…

Read more…

March Madness with Infer.NET

by 

|

in ,

As a “joint venture” (over a few drinks) with our friend from Hudl, Kyle Deterding, we decided to use the Halo-style matchmaking algorithm to predict the NCAA tournament. The algorithm uses Microsoft Reasearch’s Infer.NET framework to handle the math and statistics that go into these models. Kyle wrote a great introduction post explaining it at…

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…