<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/asp-net-mvc-tdd-using-visual-studio-2010-2idq1jkmg" -->

---
title: ASP.NET MVC TDD using Visual Studio 2010 | daily.dev
description: A walkthrough demonstrates the new test-driven development workflow for ASP.NET MVC in Visual Studio 2010, showing how to write a controller test first, use...
canonical: https://daily.dev/posts/asp-net-mvc-tdd-using-visual-studio-2010-2idq1jkmg
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: ASP.NET MVC TDD using Visual Studio 2010 | daily.dev
og:description: A walkthrough demonstrates the new test-driven development workflow for ASP.NET MVC in Visual Studio 2010, showing how to write a controller test first, use...
og:url: https://daily.dev/posts/asp-net-mvc-tdd-using-visual-studio-2010-2idq1jkmg
og:image: https://api.daily.dev/og/posts/2idq1jkMg.png
og:image:alt: ASP.NET MVC TDD using Visual Studio 2010
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# ASP.NET MVC TDD using Visual Studio 2010

**[Maarten Balliauw](https://daily.dev/sources/maartenballiauw)** · 2 min read · 0 upvotes · 0 comments

## Summary

A walkthrough demonstrates the new test-driven development workflow for ASP.NET MVC in Visual Studio 2010, showing how to write a controller test first, use CTRL-. to auto-generate the DemoController class and Index action stub, run the failing test, then implement the code to make it pass. The author praises the new tooling while noting it isn't yet as capable as ReSharper.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://blog.maartenballiauw.be/posts/2009-06-10-aspnet-mvc-tdd-using-visual-studio-2010>

## Similar posts on daily.dev

- [Testing ASP.NET Core Web API: WebApplicationFactory and Integration Tests](https://daily.dev/posts/testing-asp-net-core-web-api-webapplicationfactory-and-integration-tests-8chotq6j5) · We Are .NET · 1 upvotes · 0 comments
- [The .NET Tools Blog](https://daily.dev/posts/the-net-tools-blog-tdsv0g0uj) · JetBrains · 6 upvotes · 0 comments
- [How to Upgrade ASP.NET MVC to .NET Step by Step](https://daily.dev/posts/how-to-upgrade-asp-net-mvc-to-net-step-by-step-i3p1uesfs) · C\# Corner · 2 upvotes · 0 comments
- [ASP.NET Core Controllers: A Practical Guide to Building REST Endpoints](https://daily.dev/posts/asp-net-core-controllers-a-practical-guide-to-building-rest-endpoints-qbrdx5rqi) · We Are .NET · 0 upvotes · 0 comments

---

Tags: [#c#](https://daily.dev/tags/c#), [#visual-studio](https://daily.dev/tags/visual-studio), [#tdd](https://daily.dev/tags/tdd)

[View this post on daily.dev](https://daily.dev/posts/asp-net-mvc-tdd-using-visual-studio-2010-2idq1jkmg)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"ASP.NET MVC TDD using Visual Studio 2010","url":"https://daily.dev/posts/asp-net-mvc-tdd-using-visual-studio-2010-2idq1jkmg","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/asp-net-mvc-tdd-using-visual-studio-2010-2idq1jkmg"},"datePublished":"2026-10-04T13:05:45.406Z","dateModified":"2026-10-04T13:11:07.409Z","description":"A walkthrough demonstrates the new test-driven development workflow for ASP.NET MVC in Visual Studio 2010, showing how to write a controller test first, use...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/ca56ec7d7749e1417928ec4e53c5e9d8?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/ca56ec7d7749e1417928ec4e53c5e9d8?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Maarten Balliauw","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Maarten Balliauw","logo":"https://media.daily.dev/image/upload/s--rOTg3VYO--/f_auto,q_auto/v1791119043/logos/maartenballiauw?_a=BAMAMicg0","url":"https://daily.dev/sources/maartenballiauw"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/asp-net-mvc-tdd-using-visual-studio-2010-2idq1jkmg","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"c#,visual-studio,tdd","timeRequired":"PT2M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Maarten Balliauw","item":"https://daily.dev/sources/maartenballiauw"},{"@type":"ListItem","position":3,"name":"ASP.NET MVC TDD using Visual Studio 2010"}]}
```

