Using TDD with ASP.NET MVC

This sample goes with the tutorial Using TDD with ASP.NET MVC. You can download a quick start project (in C# or VB ) here to follow the tutorial. The downloads provided here are the completed project.

 
 
 
 
 
(9)
13,784 times
Add to favorites
3/9/2011
E-mail Twitter del.icio.us Digg Facebook
Sign in to ask a question


  • How to test the Edit function
    1 Posts | Last post September 13, 2012
    • How to test the Edit function?
  • Where the d comes from
    1 Posts | Last post June 01, 2011
    • Hi I've been tryin to follow & there is something I do not quite understand?
      I keep getting these errors
      Where does the d in "db.Contacts.FirstOrDefault(d => d.Id == id);" is supposed to come from ?
      Error	3	The name 'd' does not exist in the current context	....2010\Projects\vcContacts\MvcContacts\Controllers\NotTDDController.cs	22	55	MvcContacts
      
      
      ECannot implicitly convert type 'MvcMvcContacts.Models.Contacts' to 'MvcMvcContacts.Models.Contact'	...\Projects\MvcContacts\MvcContacts\Controllers\NotTDDController.cs	22	27	MvcContacts