Testing TempData, and Mocking SessionState(aaronlerch.com)
submitted by
aaronlerch(1670) 4 years, 2 months ago
About a month and a half ago Ben Scheirman wrote about testing TempData in ASP.NET MVC. While I can easily understand what Ben’s code is doing, what I couldn’t figure out is why it worked. ... So, while Ben’s code will definitely work, here’s an extension method that can help with mocking out the session a little more “correctly”: read more...
|category: ASP.NET
|Views: 38
tags:
ASPNETMVC ASP.NET another
Everyones tags:
Your Tags: