Solhigson.Framework.Core 10.31.0

dotnet add package Solhigson.Framework.Core --version 10.31.0
                    
NuGet\Install-Package Solhigson.Framework.Core -Version 10.31.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="Solhigson.Framework.Core" Version="10.31.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Solhigson.Framework.Core" Version="10.31.0" />
                    
Directory.Packages.props
<PackageReference Include="Solhigson.Framework.Core" />
                    
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 Solhigson.Framework.Core --version 10.31.0
                    
#r "nuget: Solhigson.Framework.Core, 10.31.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 Solhigson.Framework.Core@10.31.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=Solhigson.Framework.Core&version=10.31.0
                    
Install as a Cake Addin
#tool nuget:?package=Solhigson.Framework.Core&version=10.31.0
                    
Install as a Cake Tool

Utility Library

Product Compatible and additional computed target framework versions.
.NET 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.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Solhigson.Framework.Core:

Package Downloads
Solhigson.Admin

Admin screens for Solhigson apps as Razor components, rendered on the server. An app owns its routes; the package ships no page.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
10.31.0 97 11/22/2026
10.30.0 101 11/20/2026
10.29.0 103 11/19/2026
10.28.0 88 11/18/2026
10.27.0 112 11/17/2026
10.26.0 96 11/16/2026
10.25.0 94 11/16/2026
10.24.0 91 11/16/2026
10.23.0 91 11/15/2026
10.22.0 96 11/15/2026
10.21.0 95 11/14/2026
10.20.0 108 11/14/2026
10.19.0 97 11/12/2026
10.18.0 460 11/12/2026
10.17.0 94 11/11/2026
10.16.0 181 11/11/2026
10.15.0 210 11/7/2026
10.14.0 100 11/5/2026
10.13.0 102 11/4/2026
10.12.0 100 11/3/2026
Loading failed

10.31.0: an authenticator code is accepted once per account, and the current-password check (Solhigson.Framework.Identity). AddSolhigsonTwoFactor now registers the framework's authenticator token provider (UsedAuthenticatorStepTokenProvider, internal, closed over the user store's types) under Identity's own name, TokenOptions.DefaultAuthenticatorProvider, over Identity's AuthenticatorTokenProvider for the builder's user type, so every check of an authenticator code under that name passes through it: TwoFactorSignInAsync (through Identity's TwoFactorAuthenticatorSignInAsync), TwoFactorManager's CompleteEnrolmentAsync and DisableAsync, and an app's own UserManager.VerifyTwoFactorTokenAsync under that name; an app that checks codes through Identity's own provider without AddSolhigsonTwoFactor stays replayable. The new public static class UsedAuthenticatorStep describes the guard and holds its constants and StepAt, the time step an instant falls in. A code is checked as Identity checks it (HMAC-SHA1 over the Base32 key, 30-second steps, six digits, two steps either side of now); one whose latest matching step is at or before the step the account last used is refused with one Warning, and each caller answers and counts it as a wrong code: the sign-in Rejected, counted toward lockout; the disable CodeNotValid, counted; the enrolment CodeNotValid, uncounted. Through 10.30.0 a code replayed inside Identity's window was accepted, so a code typed at sign-in could also turn two-factor off. A right code has its step saved in the account's user-token row (LoginProvider [Solhigson], TokenName AuthenticatorLastStep, the step as invariant digits, in clear; no migration) through UserManager.SetAuthenticationTokenAsync before the check answers: an Identity update of the account, which runs its validators, rotates its concurrency stamp and carries its concurrency check, so of two posts of one code only one is accepted. That save is Identity's UpdateAsync, so it saves the scope's whole context, every change a caller has staged on it included, and joins a transaction the app already began on that context (EF's CurrentTransaction, or an ambient TransactionScope the connection enlisted in), whose rollback undoes it and leaves the code usable again in its window: a caller checks the code before it stages writes, or begins a transaction, of its own on that context. A step that cannot be read or saved (a write Identity refuses, one lost on the concurrency stamp, a throw) refuses the code, fail closed, with one Warning naming Identity's error codes or the exception's type, the unsaved changes on the account and its token rows put back, a put-back that throws writing one Error under the same logger, Two-factor change failed for user {UserId} at step DiscardUnsavedWrites: {ExceptionType}; a stored step that is not invariant digits refuses every code, with one Warning, until a reset removes it; a server clock set back past a stored step refuses every code until it passes that step again. A cancellation is rethrown, the changes put back. Within one DI scope a code once refused stays refused and one once accepted stays accepted, its line and its save not repeated, remembered by account, key (its SHA-256) and step; an interactive server circuit is one scope, so a code asked again there is accepted again, and an app asking a code before each act in an interactive component checks each in a fresh scope or asks once per circuit. The lines go under the logger Solhigson.Framework.Identity.AuthenticatorStep (UsedAuthenticatorStep.LoggerCategory), naming the account's id only: Authenticator code refused for user {UserId}: its time step is at or before the last one the account used (event SolhigsonAuthenticatorStepReused); ... its time step could not be recorded ({Reason}) (SolhigsonAuthenticatorStepNotRecorded); ... the last time step stored for the account cannot be read (SolhigsonAuthenticatorStepUnreadable). DisableAsync and ResetAsync remove the step's row in the key's own save, so a factor enrolled again starts with no used step. The host now also fails at start (OptionsValidationException) when IdentityOptions.Tokens.AuthenticatorTokenProvider names a provider whose code check is still Identity's AuthenticatorTokenProvider's for the builder's user type: Identity's provider itself (its token providers registered again after AddSolhigsonTwoFactor, or under another name) or a subclass whose ValidateAsync is still Identity's, read through the interface map; a host's own provider with a code check of its own is kept, unguarded, only under a name of its own named in IdentityOptions.Tokens.AuthenticatorTokenProvider, and one registered under the default name before AddSolhigsonTwoFactor is replaced by the guarded one. The check reads only the provider type registered last under the authenticator name, whatever user type it is for, so a host that registers Identity's token providers for a second user type after AddSolhigsonTwoFactor can leave this user type's user manager resolving Identity's unguarded provider unseen: such a host calls AddSolhigsonTwoFactor after every other token-provider registration. Changes to existing members: a right code at CompleteEnrolmentAsync and DisableAsync makes one more save, the step's, first; a right code whose step save Identity refuses, loses on the concurrency stamp (an out-of-date copy of the account, read before another request's save, which a double post of the code can be) or throws now answers CodeNotValid, where a refused, lost or thrown write of a right code answered Failed: uncounted at CompleteEnrolmentAsync; at DisableAsync counted as a wrong code, with EndSessions when Identity's count cannot be saved, as on an out-of-date copy, or NotEnrolled, uncounted, when the account read again has two-factor off; at TwoFactorSignInAsync such a code answers Rejected, counted; at DisableAsync a caller's unsaved changes to the account are saved by the step's save, before the removal's transaction and outside it, where they were saved inside it; and at TwoFactorSignInAsync a right code whose sign-in lost its save to a parallel request is used up all the same. SolhigsonIdentityManager gains CheckPasswordAsync(user, password), the one current-password check, which ChangePasswordAsync now runs by the same code, for an act a session alone must not make (enrolling a second factor, say). In order: an unusable user store and a request store holding changes not yet saved answer Failed with one Error, nothing checked, so a caller stages nothing before the call; a disabled account Failed with one Warning; one with no password NoPassword; one locked before the call LockedOut, nothing counted, no line; a blank password CurrentNotValid with one Warning, uncounted; else SignInManager.CheckPasswordSignInAsync with lockout on failure: an account Identity may not sign in (IsNotAllowed, an unconfirmed email where one is required) CurrentNotValid with one Warning, uncounted, its password not checked; a wrong password CurrentNotValid with one Warning, counted toward lockout as a wrong sign-in is, the one that locks the account LockedOut with one Warning, and a right one the new PasswordOutcome.Proved, with an empty Message and no line. Identity's own writes in its check (a count, a lockout, a rehash that rotates the security stamp) stand; one it leaves unsaved is put back and answers Failed with one Error. Without a request, an account with two-factor on answers Failed at step CheckPasswordSignInAsync. Nothing throws but the caller's cancellation, read as the call begins. Each call adds one to the password counter under the new method tag check (PasswordDiagnostics.CheckMethod), the outcome proved for Proved (PasswordDiagnostics.Text), and every line names the method check. PasswordResult gains LockedByThisAttempt: true only for a LockedOut change or check whose own wrong password locked the account, false for one locked before the call, so a caller records the lockout once; a change's locking attempt now sets it. TwoFactorManager gains CanEnrol(user), the enrolment methods' own first refusal with no side effect: false with two-factor switched off, for an account with two-factor on, and on a host that cannot store a key encrypted; it reads nothing from the database and writes, counts and logs nothing, and throws when the host's two-factor switch throws. UpdateLastLoginTimeAsync now puts back a write Identity refuses or that throws, the account's entry, owned values included, left as last read or saved, so a later save of the request's store writes none of it: a refused write, silent before and left for a later save to write, writes one Error under Solhigson.Framework.Identity, Sign-in: last login time of account {UserId} not written: Identity refused it: {ErrorCodes}, and throws nothing; a throw goes on as before. The new public TimeFloor (its constructor, Start, Clock, Span, Remaining, WaitAsync and MaxSpan) is the floor under a call's duration RequestPasswordResetAsync used privately; that floor is unchanged. Minor bump: beside the changes named, every type and member is new, but a consumer's own type named UsedAuthenticatorStep or TimeFloor, brought into a file by a using directive alongside Solhigson.Framework.Identity, is ambiguous there (CS0104) until the local copy is renamed or the use qualified; and a switch over PasswordOutcome that throws on a value it does not name meets Proved only from CheckPasswordAsync. 10.30.0: the password flows (Solhigson.Framework.Identity). SolhigsonIdentityManager gains RequestPasswordResetAsync, IssuePasswordResetAsync, ResetPasswordAsync and ChangePasswordAsync. None throws but on the caller's cancellation: a step that throws answers Failed with one Error naming the method, the step and the exception's type, never its message. Every call adds one to the counter password on the meter Solhigson.Framework.Identity, tagged method (request_reset, issue_reset, reset, change) and outcome (PasswordDiagnostics.Text of the outcome, or cancelled), and the lines go under the logger name Solhigson.Framework.Identity.Password, naming a user by its id, never by an address, a token or a password. RequestPasswordResetAsync(email), for a page anyone can reach, answers a PasswordResetRequest: Outcome, the new enum PasswordResetOutcome (Send, NoSend, InvalidEmail, Failed), and, for Send only, UserId, Email (the address the store holds, the one the link is mailed to, never the one typed) and Token, Identity's reset token. The framework builds no link: the app builds its scheme and host from its own configured public address, never from the request's Host or forwarded headers. The address, trimmed, that is blank, longer than 256 characters or refused by EmailAddressAttribute answers InvalidEmail with nothing read. The users whose NormalizedEmail is the address normalized are read, two at most, in one query: none, or one not Enabled or with no address, answers NoSend; two answer NoSend with one Warning naming both, and neither is sent a link. A locked-out account is sent its link. A user is sent at most three links in a fixed hour from the first counted, counted in the ICounterStore: past three it answers NoSend with one Warning. A count the store answers unavailable, one not answered by 50 milliseconds before the floor's end, and no store registered each let the link go uncapped, the first two written once while they last, no store once per logger factory. Every request returns no sooner than 400 milliseconds after it was called, on the services' TimeProvider, TimeProvider.System when they hold none, but where the floor's own delay throws, which answers Failed at once. IssuePasswordResetAsync(userId), for an administrator sending a link to a known user, answers Send for an enabled user holding an address and NoSend otherwise, with no floor and no cap. ResetPasswordAsync(userId, token, newPassword) and ChangePasswordAsync(user, currentPassword, newPassword) answer a PasswordResult: Outcome, the new enum PasswordOutcome (None, never answered; Done, TokenNotValid, PasswordRefused, Failed, NoPassword, LockedOut, CurrentNotValid, PasswordUnchanged), Message (a PasswordMessages sentence, empty for Done), Errors (Identity's, for PasswordRefused), EndSessions, HadTwoFactor and StillLockedOut. A reset answers TokenNotValid, one sentence, alike in answer, not in time, for an id that does not parse, a missing or disabled user and a token Identity refuses, the token checked before anything of the account changes; PasswordRefused for a new password the app's password validators refuse, the breached-password check among them when registered; else one save through UserManager.ResetPasswordAsync sets the password, rotates the security stamp, so a token is used once, sets RequirePasswordChange false, and clears the lockout end and the failed count only for an account with two-factor off. Two-factor stays on, and an account with it on keeps its lockout, which StillLockedOut reports. A change answers NoPassword for an account with none; LockedOut for one locked before the call; CurrentNotValid for a wrong or blank current password, a wrong one counted toward lockout through SignInManager.CheckPasswordSignInAsync, and LockedOut for the one that locks the account; PasswordUnchanged for the current password again; PasswordRefused; else one save of the new hash, RequirePasswordChange false and a new security stamp, answered Done, and the request's own sign-in, when it is the user's, is refreshed so this device stays signed in. It answers Failed, nothing checked, for a disabled account and while the request's context holds a change not yet saved, which Identity's saves in the current-password check would commit. Done sets EndSessions (a change's: the user's other sessions), as does a Failed whose save could not be read back, since the password may be set. A reset and a change write only through Identity's EF UserStore, or a subclass, saving with each write, and answer Failed on any other store, or with none. Outside the new methods: UpdateLastLoginTimeAsync given no time stamps the manager's TimeProvider's now, not DateTime.UtcNow; and the account's context, which the wrong-code lockout and UnlockAsync's put-back write through, is the user store's own for any store derived from Identity's ten-parameter EF UserStore, the one AddEntityFrameworkStores registers, where 10.29.0 matched the four-parameter UserStore only and used the manager's context otherwise. Minor bump: every type and member is new, beside those two changes, but a consumer's own type named PasswordResetRequest, PasswordResetOutcome, PasswordResult, PasswordOutcome, PasswordMessages or PasswordDiagnostics, brought into a file by a using directive alongside Solhigson.Framework.Identity, is ambiguous there (CS0104) until the local copy is renamed or the use qualified or aliased. 10.29.0: the role screens' reads and a safer create (Solhigson.Framework.Identity). HeldPermission gains Removable, an init property: on HeldPermissionsAsync's answer it is true for a grant RemoveGrantsOutsideOfferAsync would remove, set from the same permission-group reconciler verdict the removal judges by, the one rule both read: a grant outside its group (OutsideGroup), one naming an undeclared permission that is no menu root, and one naming no stored permission (Missing). It is false for an offered grant, for a NoDeclaration grant the removal keeps (an undeclared menu root, or a name the store's collation matches to a declaration allowing the group), for a grant in an unknown group, and for every grant when no permission groups are registered; the removal judges each grant again when it runs, so a page counts what it would take from Removable, never from Class. RoleAdministration.PermissionsAsync(actingUserId) answers a PermissionCatalogue: every stored permission, enabled or not, in the role editor's order, the one OfferedPermissionsAsync gives an offer, as a CataloguedPermission (its id, name, description and parent id; the parent's name and description, joined in the store, null for a parent id naming no stored permission; the role groups its declaration allows, as GetAllowedGroupsAsync reads them, null when it has no valid declaration and for every permission when no permission groups are registered; and the roles holding a stored grant of it, each once as a CataloguedRole, its key as text and its name, ordered by name ordinally, a role stored with no name last by id, a grant naming no stored role naming none), with GroupsRegistered, whether the app registers permission groups. It refuses NoRules and ActorRefused as ListAsync does and otherwise answers any stored, enabled actor whatever it may grant, so the app gates who may view the permissions page. It makes three reads after the caller's load, whatever the number of permissions, grants or roles, an app's query filter on the roles applying, and is counted and logged under the method permissions, a catalogue answered writing no line. CreateAsync now refuses InTransaction, with no line, when the scope's context has a transaction open or an ambient one is, checked after MayCreateRoleAsync, as SetPermissionsAsync, RemoveGrantsOutsideOfferAsync and DeleteAsync refuse: the create commits its own, and its read back must see only a committed role. Once Identity's save has stored the role, the read back takes no token, so a caller that goes away after the save still gets Done, the create's Information line and a summary its audit can follow. Where a cancelled save throws an OperationCanceledException (SQLite, PostgreSQL), it is checked with no token: a role stored under its id answers Done, anything else rethrows the cancellation, and a check that throws answers Failed. On SQL Server EF wraps the cancellation in a DbUpdateException, which takes the name check with the caller's token: a cancelled caller's create is rethrown as a cancellation, though the role may be stored, and one whose request token fired while the caller's is live may answer IdentityFailed with DuplicateRoleName for the role it stored. A Failed create may also have stored the role: its Error under RoleAdministration names the role's id only once the role is known stored (the save returned, or a cancelled save's check found it) and the summary read failed, and names the role new otherwise, so the app looks the role up by name before treating a Failed or cancelled create as no role. A cancellation before the save is rethrown, as before. Minor bump: every member is new; a create inside a transaction now answers InTransaction, and one cancelled after its save Done, as is one whose save the cancellation interrupts where it throws as one. 10.28.0: role administration (Solhigson.Framework.Identity). RoleAdministration<TUser, TRole, TContext, TKey> is registered scoped by both AddSolhigsonIdentityManager overloads and answers through the app's IUserAdministrationRules, the registration user administration needs: with none, every call answers NoRules. Every method answers a UserAdministrationResult<T> with its payload in Value, never throws but on the caller's cancellation, reads the database for each call, never a cache, and is counted on role_administration, tagged method and outcome, and logged under RoleAdministration by ids, never a role's name (a create's Done line also names the stored group): an Error is a fault, a Warning an attempt outside reach. ListAsync answers every stored role as a RoleSummary (id, name, group, whether the group is a known one, the holders in every tenant past any query filter, the stored grants, whether the caller holds it, and CanEdit by CanEditRoleAsync's rule), ordered by group then name; GetAsync answers one role by its normalized name. Both, and HeldPermissionsAsync, answer any stored, enabled actor, holder counts in every tenant included, so the app gates who may view the role pages. CreateAsync trims the name and refuses InvalidName (blank, over MaxRoleNameLength, 64, a control or format character, a space other than U+0020 or two in a row, a lone surrogate or U+FFFD, a slash or a backslash, or text not in NFC), GroupNotFound, RoleExists, and GroupOutOfReach, with one Warning, unless the new IUserAdministrationRules.MayCreateRoleAsync answers true: it is given the actor, its roles, the trimmed name and the stored group's own name, and answers false by default, so an app that does not override it creates no role. An app whose rules or role checks work by role name refuses there a privileged name nobody has stored yet, or one a delete has freed. The role is created with no grant. OfferedPermissionsAsync answers the permission manager's offer for a role the caller may edit as OfferedPermission records, ordered by the top ancestor's menu index and name, then depth; Grantable is true when the caller's Grant answer is All, or when it holds the permission as a check with enforcement on sees it, so a grant its role's group does not admit never counts. HeldPermissionsAsync answers every stored grant of a role, whether or not the caller may edit it, as HeldPermission: Class is Offered or, by the permission-group reconciler, OutsideGroup, NoDeclaration, UnknownGroup or Missing, and Grantable holds only on a role the caller may edit. SetPermissionsAsync saves the whole posted set through SetRolePermissionsAsync in one transaction under the execution strategy, refusing InTransaction under an open transaction; Stale when the role's offered grants are not the page's loaded set, or the manager staged other rows than planned; PermissionOutOfReach, with one Warning, when an id to add is not grantable; and RoleOutOfReach, rolled back, when the Grant answer, asked again with the grants as written, no longer lets the caller edit the role. A rule that ranks roles by their grants reads them uncached through the scope's TContext. RemoveGrantsOutsideOfferAsync removes, through the tracker in one save, the grants the reconciler judges outside the role's group, undeclared and no menu root, or naming no stored permission: Revoked names them, and RolePermissionChange.RemovedMissingIds holds the ids of the last kind; with no permission groups registered it answers Unchanged. DeleteAsync deletes a role no user holds in any tenant, answering a RoleDeletion (the summary as it was, RemovedPermissionNames and RemovedMissingIds), or RoleInUse with the holder count; the role's claims go with it by Identity's cascade. It writes the role first, then counts its holders with a read that waits for an assignment in flight: FOR UPDATE on PostgreSQL, at READ COMMITTED, its default; READCOMMITTEDLOCK on SQL Server; the write lock on SQLite. On any other provider it answers Failed. A save, a removal or a delete that is done waits up to two seconds for every instance's cache to be told: CacheConfirmed false means another instance may honour the old grants until its cache recovers. No call ends a session, and a deleted role's name can be created again, which a live session carrying that role claim then matches. UserAdministrationResult<T> now takes any T, with User kept as an alias of Value, and the outcome enum gains InvalidName, GroupNotFound, RoleExists, GroupOutOfReach, PermissionOutOfReach, Stale and RoleInUse, each with its UserAdministrationMessages sentence and counter text. Minor bump: every member is new, UserAdministrationResult<T>'s change is compatible, and MayCreateRoleAsync has a default. 10.27.0: a host names the build it runs, in its logs and at its /api root (Solhigson.Framework.Web, and the package's build targets). The package now carries Solhigson.Framework.Core.targets under build/ and buildTransitive/, so the file reaches every project that references Core, directly or through another package, and it does nothing unless that project sets SolhigsonStampBuildTime to true. A project that sets it gets its UTC build time, to the minute, as the BuildTime AssemblyMetadata, written dd-MM-yyyy HH:mm through the invariant culture whatever the build machine's culture, calendar or time zone, and recompiles whenever the minute has changed, so a host sets the switch in each host project only. The new ServiceRelease reads a host's own assembly: ServiceRelease.Of(assembly), or Of<T>() for the assembly that defines T, a type of the host (never the entry assembly nor Core's own), answers one shared immutable instance per assembly, held no longer than the assembly, and never throws, an assembly whose attributes cannot be read answering as one that carries neither. Commit is the 40-hex-digit commit the SDK writes after the informational version's last +, null when there is none (a SourceRevisionId override that is not a commit, such as a date, or a build that saw no .git); Built is the BuildTime stamp, null when the project did not set the switch; Text is [Built], else the informational version's text after its first + in brackets, else [unknown], the form a version line shows. ServiceRelease.Answer<T>() is a host's /api answer, a successful ResponseInfo<ServiceRelease> with the message Ok, returned through HttpOk(); FailedAnswer<T>() is the failed envelope with the default failed message and code, still carrying the release, so a caller tells a host that is down from one running an old commit, and goes out with a 5xx status, never through HttpOk(), which answers 200 whatever the envelope holds. The release serializes as {"built": ..., "commit": ...}, both written even when null and Text left out, under System.Text.Json and Newtonsoft alike, whatever the caller's naming, null or default-value handling; it has no public constructor, so it is written but not read back: a reader such as a monitor parses it into its own type or a JsonNode. Minor bump: every member is new and no existing behaviour changes, but a consumer's own type named ServiceRelease, brought into a file by a using directive alongside Solhigson.Framework.Web, is ambiguous there (CS0104) until the local copy is renamed or the use qualified or aliased. 10.26.0: an operator saves and resets declared settings by key and removes undeclared rows (Solhigson.Framework.Services, Solhigson.Framework.Infrastructure.ApplicationSettings). SolhigsonConfigurationService gains SaveDeclaredSettingAsync, ResetDeclaredSettingAsync and RemoveUndeclaredRowAsync, each answering the new SettingSaveResult: Outcome, the new enum SettingSaveOutcome (Saved, Unchanged, NotDeclared, NotEditable, ChangedElsewhere, Refused, Failed, NoDefault); Key; Message, which never quotes a value; PreviousShown and NewShown, the mask for a Secret, a row stored sensitive or a Personal value (a removal masks a row stored sensitive or under a secret-looking name, and gives any other raw); and CacheConfirmed. Each judges as ListDeclaredSettingsAsync does, against the configuration passed (pass ConfigurationWrapper.Configuration), so an editor reads the listing's Kind, Editable and Resettable and the calls hold to them: a save of a line not Editable answers NotEditable with its NotEditableReason, and a reset removes a row exactly when the listing's Resettable rule allows. A save (the key matched ignoring case and trailing white space) updates the one matched row or creates one under the key through UpdateApplicationSettingAsync or CreateApplicationSettingAsync and their rules; given the new SettingLoad (HadRow, RowValue) from a write-session listing, it answers ChangedElsewhere when the stored text changed since the load (a row holding the Default counting as none). A save of a Secret or of a row stored sensitive is last-write-wins, and a blank for either keeps the stored value, Refused when none is stored. A reset removes each matched row no read sees, and the row a read finds too when a Default or configuration answers without it; NoDefault when that row is its only one and neither answers. A removal takes only a row the listing names among UndeclaredRows, by exact name. A reset or a removal that would remove a row is Refused while the context holds an unsaved AppSetting edit. After Saved, CacheConfirmed is whether every instance's settings cache was told within two seconds; false, also inside an ambient System.Transactions scope, means other instances may serve the old value until their cache entry expires; null inside a transaction begun on the context, or with no cache provider. A Failed reset or removal whose SaveChanges EF did not wrap in its own transaction or savepoint may have removed its rows: do not commit after it. None checks who may edit or writes an audit row: the caller checks before it calls and writes the audit row from the result. Minor bump: every member is new, and two existing calls change their refusals: UpdateApplicationSettingAsync refuses a row the caller's context holds pending Added or Deleted; and each CreateApplicationSettingAsync and UpdateApplicationSettingAsync refusal that logs a Warning (a declaration's rule, the encryptor rule, the secret-name rule, an unsaved edit) now logs and answers the setting name, and the unsaved settings' names, with control and format characters, line and paragraph separators and lone surrogates removed and cut to 200 characters. 10.25.0: an Autofac host with OTLP log export on starts, the exporter refuses redirects, and the settings listing says what can be edited (Solhigson.Framework.Logging.Export, Solhigson.Framework.Infrastructure, Solhigson.Framework.Infrastructure.ApplicationSettings). OpenTelemetry.Exporter.OpenTelemetryProtocol and OpenTelemetry.Extensions.Hosting are pinned at 1.20.1, up from 1.15.3: from 10.18.0 to 10.24.0 a host built on Autofac with export on, an OTLP endpoint set over http/protobuf and an IHttpClientFactory registered failed at start with Autofac's DependencyResolutionException, and on 1.20.1 it builds and starts; a grpc host was not affected, since the SDK takes the factory's client only for http/protobuf. The exporter's clients refuse a redirect on every path: the SDK's own client, and the OtlpLogExporter, OtlpTraceExporter and OtlpMetricExporter clients a host's IHttpClientFactory gives it, whose primary handler has redirects turned off on that instance (a primary instance shared across clients has them off for every client sharing it; no other client of the host changes). An endpoint answering a redirect is an export failure, written as one SolhigsonLogExportFailed Warning through NLog when it is registered, so set the endpoint to its final address; a batch first exported while the host is disposed, to a redirecting endpoint, is lost with no Warning. A host's primary handler of a type the framework cannot make refuse redirects (one of another type, a DelegatingHandler around one included, or one that has already sent a request) is kept as the host set it, with its certificate checks, client certificates and proxy, and one Warning a process, SolhigsonLogExportRedirectsKept, names the client and the handler's type, never the endpoint or a header. SolhigsonAutofacModule registers ApiTraceMiddleware with PreserveExistingDefaults, so an Autofac host keeps an app's own ApiTraceMiddleware registration. The settings listing (SolhigsonConfigurationService.ListDeclaredSettingsAsync): each DeclaredSettingLine gains Kind, the new public enum SettingValueKind (Text, Switch, Int32, Int64, Decimal, Double, Duration, List), beside the Type text; HasRow and StoredSensitive; RowValue, the value of the row a read finds by the exact key, shown as Value is, also when configuration overrides it; Editable and NotEditableReason (read from configuration only, naming the source; a configuration value is set; several rows match; its row is under a name no read finds; secret and sensitive saves refused under the legacy encryptor); and Resettable and NotResettableReason. No reason quotes a value. A read of a Table setting takes the first row by id among those the database's comparison finds (ConfigurationWrapper), and the listing reports that same row. Minor bump: the package's OpenTelemetry floor rises to 1.20.1, so a consumer that pins any of OpenTelemetry, OpenTelemetry.Api, OpenTelemetry.Api.ProviderBuilderExtensions, OpenTelemetry.Exporter.OpenTelemetryProtocol or OpenTelemetry.Extensions.Hosting lower gets NU1605 at restore and raises those five to 1.20.1 or later; instrumentation packages version apart. Azure Monitor 1.3.0 is untested against 1.20.1. 10.24.0: the menu reads the admin kit needs (Solhigson.Framework.Dto, Solhigson.Framework.Identity). SolhigsonPermissionDto gains Enabled and Id, which the permission manager's menu reads (GetMenuPermissionsForRoleCachedAsync, each overload) fill from the stored permission, so a reader can drop a disabled parent's children and name a permission by its id. PermissionManager.RolesOf(ClaimsPrincipal?) answers the role read the [Permission] gate makes: every ClaimTypes.Role value that is not blank, in claim order, a role claimed twice listed twice, and none for no principal; VerifyPermissionAsync(permission, principal) and GetMenuPermissionsForRoleCachedAsync(principal) now read the roles through it, with the same answers as before. Minor bump: every member is new, and a consumer that serialises SolhigsonPermissionDto sees two more fields, Enabled and Id.