StandIn.AspNetCore
1.0.0
See the version list below for details.
dotnet add package StandIn.AspNetCore --version 1.0.0
NuGet\Install-Package StandIn.AspNetCore -Version 1.0.0
<PackageReference Include="StandIn.AspNetCore" Version="1.0.0" />
<PackageVersion Include="StandIn.AspNetCore" Version="1.0.0" />
<PackageReference Include="StandIn.AspNetCore" />
paket add StandIn.AspNetCore --version 1.0.0
#r "nuget: StandIn.AspNetCore, 1.0.0"
#:package StandIn.AspNetCore@1.0.0
#addin nuget:?package=StandIn.AspNetCore&version=1.0.0
#tool nuget:?package=StandIn.AspNetCore&version=1.0.0
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
- No dependencies.
-
net8.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on StandIn.AspNetCore:
| Package | Downloads |
|---|---|
|
StandIn.Testing
Test helpers for StandIn: send requests as a user in HttpClient and WebApplicationFactory based integration tests. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.1 | 119 | 11/14/2026 |
| 1.0.0 | 109 | 11/14/2026 |
| 0.1.0-preview.2 | 66 | 11/14/2026 |
| 0.1.0-preview.1 | 70 | 11/14/2026 |