Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify to configure default MVC settings for HypermediaApi #2

Open
andresmoschini opened this issue Oct 15, 2015 · 0 comments
Open

Comments

@andresmoschini
Copy link
Member

Maybe we could simplify services.AddMvc and app.UseMvc in something like this:

public void ConfigureServices(IServiceCollection services)
{
    services.AddHypermediaApi()
    //...
}

public void Configure(IApplicationBuilder app, IApplicationEnvironment appEnv)
{
    app.AddHypermediaApi();
    //...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant