Testing

Testing With a Fake DbContext

Posted on February 14, 2012. Filed under: Entity Framework, Testing, Visual Studio | Tags: , , , , , , , |

One of the most popular posts on my blog has been “EF CTP4 Tips & Tricks: Testing With Fake DbContext”. That post was built on a pre-release version of Entity Framework so I thought I’d provide an updated post on top of the DbContext API surface we ended up shipping. In this post we are [...]

Read Full Post | Make a Comment ( 7 so far )

Programmatic ASP.Net Post Back

Posted on February 18, 2009. Filed under: Testing | Tags: , , , |

Introduction This post is somewhat related to my last post that discussed using the Web Dev Server, that ships with VS, to hit ASP.Net web pages from a unit test. In this post I’m going to cover how to fake a user initiated post back from C# code, this example will mimic a button click [...]

Read Full Post | Make a Comment ( 1 so far )

ASP.Net Website Tests using Web Dev Server

Posted on October 31, 2008. Filed under: Testing | Tags: , , |

Introduction One of the great features that came with VS2005 was the Web Dev Server which allows us to run and debug web applications on our development box without the need to install IIS. As with most cool gadgets used by Visual Studio the web dev server is actually also a standalone component that we [...]

Read Full Post | Make a Comment ( 1 so far )

Programmatically generating web service calls

Posted on May 30, 2008. Filed under: Testing | Tags: , , |

Introduction I recently wanted make a call to a third party web service without the use of a proxy class. The code shown in this post will allow you to programmatically build and submit a web service call using the HttpRequest class.  Import Namespaces Add the following lines to import the required namespaces     Build [...]

Read Full Post | Make a Comment ( None so far )

    About

    Rowan works as a Program Manager for the ADO.NET Entity Framework team at Microsoft. He speaks at technical conferences and blogs at http://romiller.com. Rowan lives in Seattle, Washington with his wife Athalie. Prior to moving to the US he resided in the small state of Tasmania in Australia. Outside of technology Rowan's passions include snowboarding, mountain biking, horse riding, rock climbing and pretty much anything else that involves being active. The primary focus of his life, however, is to follow Jesus.

    RSS

    Subscribe Via RSS

    • Subscribe with Bloglines
    • Add your feed to Newsburst from CNET News.com
    • Subscribe in Google Reader
    • Add to My Yahoo!
    • Subscribe in NewsGator Online
    • The latest comments to all posts in RSS

    Meta

Liked it here?
Why not try sites on the blogroll...

Follow

Get every new post delivered to your Inbox.

Join 25 other followers