Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 844 Bytes

File metadata and controls

23 lines (17 loc) · 844 Bytes

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.