-
Notifications
You must be signed in to change notification settings - Fork 31
Bump to Net 9.0 and Headless UI #31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
adambarath
wants to merge
43
commits into
IdentityManager:master
Choose a base branch
from
adambarath:headless-ui
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…rable. TitleNavBarLinkTarget: make title link to point to custom target
…rable. TitleNavBarLinkTarget: make title link to point to custom target
…, just patching neccessary files
rc.2 is failing miserably with impossible RCL error (dotnet/aspnetcore#42629) and requirement of some additional package reference to fix. Crazy but rc.1 works. Tests still failing on Inkball SignalR. Weird.
…ptions/options.JsonSerializerOptions.TypeInfoResolverChain combo
gulp ESM modules migration and rework fixing the JS code after eslint validation preparation for further enhancing
Updated all projects to target .NET 9.0, upgrading from .NET Core 3.1. Replaced IdentityServer4 with Duende IdentityServer due to IdentityServer4's end-of-life. Updated package references, namespaces, and related code to reflect the migration.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Headless UI API Architecture and .NET 9.0 Upgrade
Overview
This PR introduces a major architectural refactoring of IdentityManager2, separating concerns between API and UI layers while upgrading the entire solution to .NET 9.0.
Key Changes
1. Headless UI API Layer
IdentityManager2.Apisproject: A standalone API layer that exposes identity management operations through RESTful endpointsUsersController): CRUD operations, claims, and role managementRolesController): Role CRUD and property managementMetaController): Discovery of available operations and configuration[EndpointName],[EndpointSummary],[ProducesResponseType],[Tags]) for automatic API documentation generation2. Separated UI Project
IdentityManager2UI project: Contains all Razor Pages and front-end assetsEmbeddedHtmlResult3. .NET 9.0 Target Framework
<TargetFramework>net9.0</TargetFramework>)Benefits
✅ Flexibility: Build custom UIs (React, Angular, Blazor, mobile apps) using the headless API
✅ Maintainability: Clear separation makes both API and UI easier to maintain and test
✅ Modern stack: .NET 9.0 provides performance improvements and latest framework features
✅ API-first approach: RESTful design enables integration with any HTTP client
✅ Backward compatibility: Existing UI functionality preserved in separate project
Migration Notes
For developers upgrading from previous versions:
IdentityManager2.ApisnamespaceAddIdentityManagerApi()andMapIdentityManagerApi()Testing
Hosts.IdentityServerAuthentication) updated and tested