193 reputation
8
bio website careers.stackoverflow.com/…
location Littleton, CO
age 39
visits member for 3 years, 8 months
seen Apr 14 at 21:58

Highly motivated Programmerr who is currently enjoying:

  • ASP.Net MVC
  • Entity Framework
  • Linq
  • BootStrap
  • T4 Templates
  • Google APIs (Maps, Contacts, Email, Calendar)
  • Bing Maps APIs
  • SQL Server (with Geography and FileStreams)
  • SQL Server Compact / Sql LocalDb
  • Windows Phone
  • Amazon API
  • Linq2Sql
  • EBAY API
  • ChannelAdvisor.Com API
  • Bronto.Com API
  • PayPal API
  • Breathing

Feb
13
comment Design caching system
the library is not an ASP.net library.. yes I said... it won't have anything to do with ASP.Net's cache, following this example in creating your own should be beneficial. Did read my post?
Feb
13
awarded  Editor
Feb
13
revised Should the expected value be hard-coded into the Assert
added 4 characters in body
Feb
12
answered Design caching system
Feb
12
awarded  Scholar
Feb
12
accepted Should the expected value be hard-coded into the Assert
Feb
12
awarded  Custodian
Feb
12
reviewed Approve Should the expected value be hard-coded into the Assert
Feb
12
awarded  Student
Feb
12
comment Should the expected value be hard-coded into the Assert
I'm having trouble trying to find an edge case where I wouldn't want to use the TestCaseAttribute, but it seems like an insanely proficient way to create tests.
Feb
12
comment Should the expected value be hard-coded into the Assert
It would look like [TestCase("Philips", Result = "Mr. Philips")] and return actual;.
Feb
12
revised Should the expected value be hard-coded into the Assert
edited tags
Feb
12
comment Should the expected value be hard-coded into the Assert
Ok, wow, using NUnit for the first time, and that seems completely the right direction. Assuming I can't use the TestCaseAttribute... :)
Feb
12
asked Should the expected value be hard-coded into the Assert
Mar
14
comment In ASP.NET MVC3 controllers, where do you instantiate your DataContext?
It may be a static function, but the storage of the DBContext is in the (assumed) thread safe HttpContext.Items which is a HttpContext per calling thread. If one thread had access to another threads HttpContext, there would be bigger problems then thread problems (security).
Mar
1
awarded  Caucus
Dec
29
comment In ASP.NET MVC3 controllers, where do you instantiate your DataContext?
You can do it manually by implementing the global.asax Application_EndRequest, or don't dispose of it.
Apr
26
awarded  Supporter
Apr
26
answered In ASP.NET MVC3 controllers, where do you instantiate your DataContext?
Aug
26
awarded  Teacher