StandIn.Client
0.1.0-preview.2
See the version list below for details.
dotnet add package StandIn.Client --version 0.1.0-preview.2
NuGet\Install-Package StandIn.Client -Version 0.1.0-preview.2
<PackageReference Include="StandIn.Client" Version="0.1.0-preview.2" />
<PackageVersion Include="StandIn.Client" Version="0.1.0-preview.2" />
<PackageReference Include="StandIn.Client" />
paket add StandIn.Client --version 0.1.0-preview.2
#r "nuget: StandIn.Client, 0.1.0-preview.2"
#:package StandIn.Client@0.1.0-preview.2
#addin nuget:?package=StandIn.Client&version=0.1.0-preview.2&prerelease
#tool nuget:?package=StandIn.Client&version=0.1.0-preview.2&prerelease
StandIn
Benutzer während der Entwicklung simulieren: ein gepflegter Nachfolger von RimDev.Stuntman für ASP.NET Core ab .NET 8.
Status: Funktionsumfang komplett (Phase 1 bis 5), Release-Vorbereitung läuft. Noch nicht auf NuGet veröffentlicht.
Pakete
| Paket | Zweck |
|---|---|
StandIn.AspNetCore |
Handler, Benutzerquellen, Endpunkte, User Picker für MVC/Razor Pages, Token-Endpunkt |
StandIn.Blazor |
Picker-Komponente, AuthenticationStateProvider, Token-Handling (Server, WASM, Auto, Hybrid) |
StandIn.Client |
HttpClient-Handler für MAUI, WPF, WinForms, Konsole, Worker |
StandIn.Testing |
Hilfen für WebApplicationFactory-Integrationstests |
Ziel-Frameworks: net8.0 und net10.0. .NET 8 und 9 sind seit dem 10.11.2026 nicht mehr
von Microsoft unterstützt, net8.0 bleibt für Bestandsprojekte im Paket.
Schnellstart
builder.Services.AddAuthentication().AddStandIn(builder.Environment, options =>
{
options.AddUser(new StandInUser("admin", "Local Admin").AddRole("Administrator"));
options.AddUsersFromJson("stuntman-users.json");
});
app.UseAuthentication();
app.UseAuthorization();
app.MapStandIn();
In Views (MVC, Razor Pages) steht der User Picker mit @Html.StandInUserPicker() bereit; app.UseStandInPicker() blendet ihn zusätzlich in jede HTML-Seite ein.
AddStandIn ist nur in Development aktiv. In allen anderen Umgebungen tut es nichts, in Production lässt es sich nicht einschalten. Die Endpunkte liegen unter /stuntman.
Wohin als Nächstes
| Ich will ... | Lesen |
|---|---|
| von RimDev.Stuntman wechseln | docs/migration.md |
| eine REST-API per Bearer-Token testen | samples/MinimalApi |
| MVC mit Cookie und Picker | samples/Mvc |
| einen Client (MAUI, WPF, Blazor WASM) gegen die API anmelden | StandIn.Client, AddStandInClient; Blazor: AddStandInBlazor |
| Integrationstests als bestimmter Benutzer | factory.CreateStandInClient("admin") aus StandIn.Testing |
| Sicherheitsregeln und Entwurf | docs/concept.md |
Lizenz
MIT. Teile basieren auf RimDev.Stuntman (MIT, © 2018 Ritter Insurance Marketing), siehe THIRD-PARTY-NOTICES.md.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. 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. net9.0 was computed. 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. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Microsoft.Extensions.Http (>= 10.0.15)
-
net8.0
- Microsoft.Extensions.Http (>= 8.0.1)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on StandIn.Client:
| Package | Downloads |
|---|---|
|
StandIn.Blazor
StandIn for Blazor WebAssembly, Auto and Hybrid: user picker component, AuthenticationStateProvider and token handling. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.1 | 101 | 11/14/2026 |
| 1.0.0 | 95 | 11/14/2026 |
| 0.1.0-preview.2 | 65 | 11/14/2026 |
| 0.1.0-preview.1 | 75 | 11/14/2026 |