Subscribe to this Blog
If you liked this blog post then please
subscribe
to this blog.
TDD - Stephen Walther on ASP.NET MVC
Stephen Walther on ASP.NET MVC
Sign in
|
Join
Home
Contact
About
RSS
Atom
Comments RSS
Search
Tags
AJAX
Application Building
ASP.NET
ASP.NET MVC
ASP.NET Unleashed
Books
JavaScript
Talks
TDD
Tips
Sponsors
advertise here
Navigation
Home
Blogs
Archives
September 2008 (5)
August 2008 (17)
July 2008 (16)
June 2008 (16)
April 2008 (2)
March 2008 (11)
February 2008 (3)
Blogs I Read
Object Mentor
Browse by Tags
All Tags
»
TDD
(
RSS
)
Application Building
ASP.NET
ASP.NET MVC
Books
Tips
ASP.NET MVC Application Building: Forums #3 – Post Messages
by
swalther
In this series of blog entries, I build an entire ASP.NET MVC forums application from start to finish. In this blog entry, I add the functionality to the Forums application that enables users to post new messages and replies. Before reading this blog...
Filed under:
ASP.NET MVC
,
ASP.NET
,
TDD
,
Application Building
ASP.NET MVC Application Building: Forums #2 – Create the First Unit Test
by
swalther
In this series of blog entries, I build an entire ASP.NET MVC Forums application from scratch. In this blog entry, I create my first unit test for the Forums application and implement the code necessary to pass the test. Before reading this blog entry...
Filed under:
ASP.NET MVC
,
ASP.NET
,
TDD
,
Application Building
ASP.NET MVC Tip #30 – Create Custom Route Constraints
by
swalther
In this tip, I show how you can create custom route constraints that prevent you from accessing a URL unless you are local and authenticated. I show you how you can create a LocalConstraint and an AuthenticatedConstraint. I also demonstrate how you can...
Filed under:
ASP.NET MVC
,
ASP.NET
,
TDD
,
Tips
ASP.NET MVC Tip #28 – Test If Caching Is Enabled
by
swalther
In this tip, I demonstrate how you can test if the OutputCache attribute is present on a controller action. I also demonstrate how you can test if the OutputCache attribute is set with a particular duration. Caching is the most effective way to improve...
Filed under:
ASP.NET MVC
,
ASP.NET
,
TDD
,
Tips
ASP.NET MVC Tip #27 – Create ASP.NET MVC Specific Visual Studio Add-Ins
by
swalther
In this tip, I discuss Eric Hexter’s TDD Class Generator Add-In for Visual Studio. This Add-In enables you to generate a class, an interface, and a test class by entering a single keyboard shortcut. Eric Hexter -- who has done valuable work on the...
Filed under:
ASP.NET MVC
,
ASP.NET
,
TDD
,
Tips
ASP.NET MVC Tip #25 – Unit Test Your Views without a Web Server
by
swalther
In this tip, I demonstrate how you can unit test ASP.NET MVC views without running a Web server. I show you how to unit test views by creating a custom MVC View Engine and a fake Controller Context. The more of your web application that you can test,...
Filed under:
ASP.NET MVC
,
ASP.NET
,
TDD
,
Tips
ASP.NET MVC Tip #13 – Unit Test Your Custom Routes
by
swalther
In this tip, I demonstrate how you can create unit tests for the routes in your ASP.NET MVC applications. I show how to test whether a URL is being mapped to the right controller, controller action, and action parameters. If you are being virtuous about...
Filed under:
ASP.NET MVC
,
ASP.NET
,
TDD
,
Tips
ASP.NET MVC Tip #12 – Faking the Controller Context
by
swalther
In this tip, I show you how to test ASP.NET intrinsics when building unit tests for an ASP.NET MVC application. I show you how to create a standard set of fake objects that enables you to fake the current user, the current user roles, the request parameters...
Filed under:
ASP.NET MVC
,
ASP.NET
,
TDD
,
Tips
An Introduction to xUnit.net for ASP.NET MVC Developers
by
swalther
The purpose of this blog entry is to provide you with an introduction to the xUnit.net unit testing framework, the newest unit testing framework for the .NET framework. I want to demonstrate how you can use the xUnit.net framework when practicing test...
Filed under:
ASP.NET MVC
,
ASP.NET
,
TDD
TDD : Introduction to Moq
by
swalther
In this post, I provide an introduction to Moq which is the newest of the Mock Object Frameworks. Moq is promoted by its creators as easier to learn and use than other Mock Object Frameworks such as Rhino Mocks and TypeMock Isolator. ...
Filed under:
ASP.NET MVC
,
ASP.NET
,
TDD
More Posts
Next page »