NetCoreUsefullEndpoints 6.2022.722.712

There is a newer version of this package available.
See the version list below for details.
dotnet add package NetCoreUsefullEndpoints --version 6.2022.722.712
NuGet\Install-Package NetCoreUsefullEndpoints -Version 6.2022.722.712
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="NetCoreUsefullEndpoints" Version="6.2022.722.712" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NetCoreUsefullEndpoints --version 6.2022.722.712
#r "nuget: NetCoreUsefullEndpoints, 6.2022.722.712"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install NetCoreUsefullEndpoints as a Cake Addin
#addin nuget:?package=NetCoreUsefullEndpoints&version=6.2022.722.712

// Install NetCoreUsefullEndpoints as a Cake Tool
#tool nuget:?package=NetCoreUsefullEndpoints&version=6.2022.722.712

NetCoreUsefullEndpoints

Usefull Endpoints for .NET Core

What it does

Register endpoints for

  1. See environment variables
  2. See current user
  3. Throw error ( with ILogger or without )

Usage

Add this reference

<ItemGroup>
    <PackageReference Include="NetCoreUsefullEndpoints" Version="6.2022.722.712" />
  </ItemGroup>

then use it in program.cs

using UsefullExtensions;
//code
var app = builder.Build();
app.MapAllUsefull();

The list of API endpoints is

GET ⇒ /api​/usefull​/user

GET ⇒ ​/api​/usefull​/environment

GET ⇒ ​/api​/usefull​/errorWithILogger

GET ⇒ ​/api​/usefull​/errorPure

GET ⇒ ​/api​/usefull​/graph​/text

Enjoy!

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net6.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
7.2023.1216.1825 835 12/19/2023
7.2023.916.1715 305 9/16/2023
7.2023.402.1715 303 4/2/2023
7.2023.223.1815 1,502 2/23/2023
7.2023.219.2234 275 2/16/2023
7.2023.219.2134 258 2/15/2023
7.2023.219.2034 249 2/14/2023
7.2023.219.1934 337 2/10/2023
7.2023.219.841 286 2/10/2023
7.2023.207.2230 320 2/7/2023
7.2023.126.700 328 1/26/2023
7.2022.1231.1100 318 12/31/2022
7.2022.1203.1551 372 12/3/2022
6.2022.1231.1100 319 12/31/2022
6.2022.1203.1551 309 12/3/2022
6.2022.1026.2112 398 10/26/2022
6.2022.1012.712 591 10/12/2022
6.2022.722.712 483 7/22/2022
6.2022.721.1154 408 7/22/2022