Click here to Skip to main content
Click here to Skip to main content
Articles » Web Development » ASP.NET » General » Revisions
 

MVC Test Driven Developement: Session Variables

, 12 Aug 2011
When you write a controller which is unit testable, it would be better to avoid any dependency to the HttpContext to make things easier. If you are using any of the session variables in your controller, it will make your controller difficult to test.
This is an old version of the currently published article.

This article is still being written and is not currently available for general viewing.

Please go to the ASP.NET Table of Contents to view the list of available articles in this section.
| Advertise | Privacy | Mobile
Web03 | 2.8.140821.2 | Last Updated 12 Aug 2011
Article Copyright 2011 by Russell Aboobacker
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid