Skip to content

Instantly share code, notes, and snippets.

@aaronmu
Last active August 17, 2017 09:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aaronmu/b192ea3082b973b6004ea07f968bc349 to your computer and use it in GitHub Desktop.
Save aaronmu/b192ea3082b973b6004ea07f968bc349 to your computer and use it in GitHub Desktop.
public class PrimeWebDefaultRequestShould
{
private readonly TestServer _server;
private readonly HttpClient _client;
public PrimeWebDefaultRequestShould()
{
// Arrange
_server = new TestServer(new WebHostBuilder()
.UseStartup<Startup>());
_client = _server.CreateClient();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment