ServiceComposer.AspNetCore

Upgrade guide from v2.0.0 to 2.1.0

Contents

Write support

Starting with version 2.1.0, write support is enabled by default in ServiceComposer.AspNetCore. To disable it, use the following configuration option:

public void ConfigureServices(IServiceCollection services)
{
    services.AddViewModelComposition(options => options.DisableWriteSupport());
}

snippet source | anchor

When write support is disabled, ServiceComposer.AspNetCore will only respond to get requests.