Wonder.Refit.Attributes 8.0.0-alpha

This is a prerelease version of Wonder.Refit.Attributes.
dotnet add package Wonder.Refit.Attributes --version 8.0.0-alpha
                    
NuGet\Install-Package Wonder.Refit.Attributes -Version 8.0.0-alpha
                    
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="Wonder.Refit.Attributes" Version="8.0.0-alpha" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Wonder.Refit.Attributes" Version="8.0.0-alpha" />
                    
Directory.Packages.props
<PackageReference Include="Wonder.Refit.Attributes" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Wonder.Refit.Attributes --version 8.0.0-alpha
                    
#r "nuget: Wonder.Refit.Attributes, 8.0.0-alpha"
                    
#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.
#addin nuget:?package=Wonder.Refit.Attributes&version=8.0.0-alpha&prerelease
                    
Install Wonder.Refit.Attributes as a Cake Addin
#tool nuget:?package=Wonder.Refit.Attributes&version=8.0.0-alpha&prerelease
                    
Install Wonder.Refit.Attributes as a Cake Tool

Wonder Studio

Refit Attributes

We have added new attributes for the Refit library, which make it possible to write the path to the endpoint without a '/' at the beginning of the path. This is especially useful when you use constants to write paths and reuse them in both clients and controllers.

Sample

public interface IWeatherForecastsClient
{
    [WonderGet(ApiStore.WeatherForecasts.GetRandom)]
    Task<IEnumerable<WeatherForecast>> GetUser(int number);
}
Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net9.0

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
8.0.0-alpha 61 2/19/2025