SlySoft.RestResource.AspNetCoreUtils 1.0.0.12-Beta

This is a prerelease version of SlySoft.RestResource.AspNetCoreUtils.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package SlySoft.RestResource.AspNetCoreUtils --version 1.0.0.12-Beta                
NuGet\Install-Package SlySoft.RestResource.AspNetCoreUtils -Version 1.0.0.12-Beta                
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="SlySoft.RestResource.AspNetCoreUtils" Version="1.0.0.12-Beta" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SlySoft.RestResource.AspNetCoreUtils --version 1.0.0.12-Beta                
#r "nuget: SlySoft.RestResource.AspNetCoreUtils, 1.0.0.12-Beta"                
#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 SlySoft.RestResource.AspNetCoreUtils as a Cake Addin
#addin nuget:?package=SlySoft.RestResource.AspNetCoreUtils&version=1.0.0.12-Beta&prerelease

// Install SlySoft.RestResource.AspNetCoreUtils as a Cake Tool
#tool nuget:?package=SlySoft.RestResource.AspNetCoreUtils&version=1.0.0.12-Beta&prerelease                

RestResource.AspNetCoreUtils

Utility for returning RestResource objects from controller methods respecting the Accept header of the request

Getting started

Install from Nuget.Org, and add the following in the start up code:

builder.Services.AddControllers(options => {
    options.OutputFormatters.Insert(0, new ResourceHalJsonFormatter());
    options.OutputFormatters.Insert(1, new ResourceHalXmlFormatter());
    options.OutputFormatters.Insert(2, new ResourceHtmlFormatter());
    options.RespectBrowserAcceptHeader = true;
});

Prerequisites

Requires SlySoft.RestResource, SlySoft.RestResource.Hal, and SlySoft.RestResource.Html SlySoft.RestResource.Client contains utilities for communicating with web services created using RestResource

Usage

Find examples of how to use RestResource.AspNetCoreUtils at my blog.

Additional documentation

More comprehensive documentation is also at my blog.

Feedback

Contact me for questions, issuess, or collaboration at sylvesterjj@gmail.com

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.

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
1.0.0.19-Beta 49 11/27/2024
1.0.0.18-Beta 67 11/22/2024
1.0.0.17-Beta 36 11/17/2024
1.0.0.15-Beta 91 11/1/2024
1.0.0.14-Beta 40 11/1/2024
1.0.0.13-Beta 37 11/1/2024
1.0.0.12-Beta 41 11/1/2024
1.0.0.9-Beta 64 10/19/2024
1.0.0.8-Beta 92 10/9/2024
1.0.0-Beta 104 7/13/2023

This is a beta version.