StandIn.AspNetCore 1.0.0

There is a newer version of this package available.
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
                    
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="StandIn.AspNetCore" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="StandIn.AspNetCore" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="StandIn.AspNetCore" />
                    
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 StandIn.AspNetCore --version 1.0.0
                    
#r "nuget: StandIn.AspNetCore, 1.0.0"
                    
#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.
#:package StandIn.AspNetCore@1.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=StandIn.AspNetCore&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=StandIn.AspNetCore&version=1.0.0
                    
Install as a Cake Tool

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • 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