5.0-pre01
Pre-release
Pre-release
Breaking
- Internal framework restructure and rewrite (http request and response handling related functionality and metadata rewritten from scratch). Can affect any customizations to related functionality
Added
- Version 2 controllers
- Built-in Json response using System.Text.Json
- Built-in JSON model binder (enabled by default)
- Switchable measurements (StopwatchProvider), disabled by default
Removed
- .NET Framework 4.8 explicit support
UseSimplifyWebWithoutRegistrations
andUseSimplifyWebNonTerminalWithoutRegistrations
IApplicationBuilder
methodsISimplifyWebSettings
override viaRegisterSimplifyWebSettings
IConfiguration
override viaOverrideConfiguration
orRegisterConfiguration
- 400 special controller attribute
Changed
UseSimplifyWeb
andUseSimplifyWebNoNTerminal
now require passingtrue
to automatically register it's own bootstrapper registrationsRegisterSimplifyWeb
now extension method ofIDIRegistrator
instead ofIDIContainerProvider
, custom internalIDIContainerProvider
can be passed via method parameter, if required- Internal
IConfiguration
registration override viaRegisterSimplifyWeb
- Static files disabled by default (when disabled, static files IOC container registrations will be skipped)
Environment
split toEnvironment
andDynamicEnvironment
- V1 controllers RouteParameters defaulted to empty ExpandoObject to avoid NRE
SimplifyWebSettings
loading thru binder- Controllers search on execution optimized
- XML comments revisited/updated
Fixed
- Multiple one route controllers handling
- Multiple middlewares having same
IsTerminal
status
Dependencies
- Switched to explicit Simplify.System 1.6.2 instead of internal Simplify.System.Sources
- Microsoft.Extensions.Configuration.Json bump to 8.0.0
- Microsoft.Extensions.Configuration.Binder 8.0.1 added
- Simplify.Templates bump to 2.0.2
- Internal Simplify.Xml.Sources bump to 1.4