Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 427577
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T19:35:25+00:00 2026-05-12T19:35:25+00:00

We are using Asp.Net 2.0 and planning to move to TDD so that middle

  • 0

We are using Asp.Net 2.0 and planning to move to TDD so that middle tier can be developed and tested while others in the team take care of UI and DataBase area.

Can anyone kindly let me know the pre-requisites for TDD and which one is the best tool for .net?
Thanks…

[UPDATE]

Thanks everyone for your answers and help.

  • I was reading an article about TDD and ASP.NET and it said “ASP.NET is not very TDD-friendly and ASP.NET MVC framework is alternative way to build your application which is more testable than form=based application.”
    Should I switch/change to ASP.NET MVC?

  • What book(s) do you recommend about TDD /Test?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T19:35:25+00:00Added an answer on May 12, 2026 at 7:35 pm

    Unit testing & mocking

    I suggest you combine NUnit and Moq for object mocking. It will take more effort from you to do unit testing in a web forms application though.

    • NUnit is well established, alive project and widespread.
    • Moq on the other hand uses latest language capabilities, is easy to use and is also used by the community.

    The thing is, you can’t miss with these two.

    Switch to MVC if early in the project

    If you’re in an early stage of the project I suggest you do switch to Asp.net MVC, because it will make your life lots easier with unit testing. But beware of the learning curve here, because MVC is not just a superset on Asp.net Web forms. It’s a completely different paradigm and development platform. But I doubt you’ll regret switching to it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have an intranet system developed using asp.net webforms. We are kind of planning
I'm planning to design simple website using ASP.NET MVC new technology. Many concepts are
Planning to create a new website for our product using ASP.NET MVC 4. Site
Using ASP.NET MVC 2.0, I have an actionlink that is used for comments on
We are planning on using ASP.Net MVC3 to create a JSON API. For handling
I am using ASP.NET and C#.I can able to get the document height using
I am using asp.net mvc and have a section where a user can upload
I'm planning on using MEF within ASP.NET looking for some insight into thread safety
Currently I'm working on Web project that is built using ASP.NET Web Forms. We
I working on a Saas application that will be using ASP.NET MVC 4 &

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.