Skip to content

Instantly share code, notes, and snippets.

@jrob5756
Last active Sep 29, 2018
Embed
What would you like to do?
// Removed for brevity
namespace JrTech.AspNetCore.Web
{
public class Startup
{
// Removed for brevity
public void ConfigureServices(IServiceCollection services)
{
services.AddFactory<IRandomNumberGenerator, RandomNumberGenerator>();
services.AddMvc();
}
// Removed for brevity
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment