romiller.com

Program Manager on the .NET team at Microsoft

Skip to content
  • Home
Search

Testing

Testing With a Fake DbContext

February 14, 2012November 16, 2016 / romiller.com

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 … Continue reading Testing With a Fake DbContext

Programmatic ASP.Net Post Back

February 18, 2009November 16, 2016 / romiller.com

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 … Continue reading Programmatic ASP.Net Post Back

ASP.Net Website Tests using Web Dev Server

October 31, 2008November 16, 2016 / romiller.com

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 … Continue reading ASP.Net Website Tests using Web Dev Server

Programmatically generating web service calls

May 30, 2008November 16, 2016 / romiller.com

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 an … Continue reading Programmatically generating web service calls

Blog at WordPress.com.
  • Subscribe Subscribed
    • romiller.com
    • Join 262 other subscribers
    • Already have a WordPress.com account? Log in now.
    • romiller.com
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
 

Loading Comments...