Releases: skybrud/Skybrud.Essentials.AspNetCore
v1.0.0-alpha006
New alpha release 🎉
Installation
Via NuGet:
dotnet add package Skybrud.Essentials.AspNetCore --version 1.0.0-alpha006
or:
Install-Package Skybrud.Essentials.AspNetCore -Version 1.0.0-alpha006
Changelog
-
Introduced new
NewtonsoftJsonOnlyConfigurationAttribute
class and related logic (see 16f7f37)
The attribute may be added to API controllers, in which case the output will be serialized using Newtonsoft.Json instead of the default System.Text.Json. -
Classes with
Json
prefix should useNewtonsoftJson
prefix instead (see 0542fff)
TheJsonBody
,JsonMetaData
andJsonNetResult
classes have now been marked as obsolete, and theNewtonsoftJsonBody
,NewtonsoftJsonMetaData
andNewtonsoftJsonResult
classes have been added to replace them. -
Added extra null check to
GetRemoteAddress
extension method (see 1223277)
Since enabled C# 10 for the package, the compiler now reports that theRemoteIpAddress
property is nullable, so we should check whether it's value is null before callingToString()
on it. -
Updated Skybrud.Essentials dependency (see 81ff290)
The dependency has been updated fromv1.1.38
tov1.1.41
.
v1.0.0-alpha005
New alpha release 🎉
Installation
Via NuGet:
dotnet add package Skybrud.Essentials.AspNetCore --version 1.0.0-alpha005
or:
Install-Package Skybrud.Essentials.AspNetCore -Version 1.0.0-alpha005
Changelog
v1.0.0-alpha004
New alpha release 🎉
Installation
Via NuGet:
dotnet add package Skybrud.Essentials.AspNetCore --version 1.0.0-alpha004
or:
Install-Package Skybrud.Essentials.AspNetCore -Version 1.0.0-alpha004
Changelog
-
Fixed port issue in
GetUri
extension method (see 389fe81)
The method will determine the URI of aHttpRequest
, but if a port number wasn't explicitly specified, the method would mix up port 443 and port 80 😢 -
Updated the Skybrud.Essentials dependency (see 122cc44)
The dependency has now been updated v1.1.36 to v1.1.38 😎
Skybrud.Essentials.AspNetCore v1.0.0-alpha003
New alpha release 🎉
Installation
Via NuGet:
dotnet add package Skybrud.Essentials.AspNetCore --version 1.0.0-alpha003
or:
Install-Package Skybrud.Essentials.AspNetCore -Version 1.0.0-alpha003
Changelog
- Added missing
this
keyword to parameter inQueryStringExtensions.ToUrlEncodedString
method (see f9a7265)
It's not really an extension method without thethis
keyword. Good thing releases are free 🙄
Skybrud.Essentials.AspNetCore v1.0.0-alpha002
New alpha release 🎉
Installation
Via NuGet:
dotnet add package Skybrud.Essentials.AspNetCore --version 1.0.0-alpha002
or:
Install-Package Skybrud.Essentials.AspNetCore -Version 1.0.0-alpha002
Changelog
- Added new
ToUrlEncodedString
extension method forIQueryCollection
(see 395ec7e)
Since ASP.NET Core doesn't appear to have a method for converting anIQueryCollection
to an URL encoded string, this release adds an extension method for doing that.
Skybrud.Essentials.AspNetCore v1.0.0-alpha001
First alpha release 🎉
Installation
Via NuGet:
dotnet add package Skybrud.Essentials.AspNetCore --version 1.0.0-alpha001
or:
Install-Package Skybrud.Essentials.AspNetCore -Version 1.0.0-alpha001