Version 1.0.0-alpha006

Alpha
Date 2022-06-30 (877 days ago)
Downloads 860 downloads
NuGet View on NuGet
GitHub View on GitHub
Target Frameworks .NET 5

New alpha release 🎉

#installation">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">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 use NewtonsoftJson prefix instead (see 0542fff)
    The JsonBody, JsonMetaData and JsonNetResult classes have now been marked as obsolete, and the NewtonsoftJsonBody, NewtonsoftJsonMetaData and NewtonsoftJsonResult 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 the RemoteIpAddress property is nullable, so we should check whether it's value is null before calling ToString() on it.

  • Updated Skybrud.Essentials dependency (see 81ff290)
    The dependency has been updated from v1.1.38 to v1.1.41.