public OfflineHttpContext(Uri baseUri, string virtualPath) { var builder = new UriBuilder(baseUri); builder.Path = virtualPath; var uri = builder.Uri; request = new OfflineHttpRequest(uri); response = new OfflineHttpResponse(); }