bwfc-identity-migration
SolidMigrate ASP.NET Web Forms Identity and Membership authentication to Blazor Server Identity. Covers OWIN to ASP.NET Core middleware, login page migration, BWFC login controls, role-based authorization, and cookie auth under Interactive Server mode. WHEN: "migrate identity", "login page migration", "OWIN to core", "cookie auth blazor", "LoginView migration".
API & Backend 449 stars
78 forks Updated 1 weeks ago MIT
Install
Quality Score: 89/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# Web Forms Identity → Blazor Identity Migration
This skill covers migrating ASP.NET Web Forms authentication (Identity, Membership, FormsAuthentication) to Blazor Server using ASP.NET Core Identity.
**Related skills:**
- `/bwfc-migration` — Core markup migration (controls, expressions, layouts)
- `/bwfc-data-migration` — EF6 → EF Core, data access, architecture decisions
---
## Overview
Web Forms authentication typically uses one of three systems. The migration path depends on which one:
| Web Forms Auth System | Era | Blazor Migration Path |
|----------------------|-----|----------------------|
| ASP.NET Identity (OWIN) | 2013+ | ASP.NET Core Identity (closest match) |
| ASP.NET Membership | 2005-2013 | ASP.NET Core Identity (schema migration required) |
| FormsAuthentication | 2002-2005 | ASP.NET Core Identity or cookie auth |
---
## ⚠️ Cookie Auth Under Interactive Server Mode
> **CRITICAL:** When using `<Routes @rendermode="InteractiveServer" />` (global interactive server mode), `HttpContext` is **NULL** during WebSocket circuits. This means cookie-based authentication operations — login, register, logout — **cannot** be performed via Blazor component event handlers (e.g., `@onclick`). They will silently fail: no exception is thrown, but no cookie is set.
**Why this happens:** After the initial HTTP request, Blazor Server communicates over a WebSocket (SignalR circuit). There is no HTTP response to attach a `Set-Cookie` header to. `SignInAsync()` called inside...
Details
- Author
- FritzAndFriends
- Repository
- FritzAndFriends/BlazorWebFormsComponents
- Created
- 6 years ago
- Last Updated
- 1 weeks ago
- Language
- C#
- License
- MIT
Integrates with
Similar Skills
Semantically similar based on skill content — not just same category
AI & Automation Listed
blazor
Target: .NET 8.0+ with Blazor Server/WebAssembly
10 Updated 2 days ago
FortiumPartners AI & Automation Listed
blazor-patterns
Blazor component patterns — v2 placeholder for Server and WebAssembly render modes, state management, and JS interop.
3 Updated 4 days ago
zdanovichnick API & Backend Listed
authentication
JWT bearer auth, ASP.NET Identity, OIDC, and policy-based authorization patterns for ASP.NET Core APIs.
3 Updated 4 days ago
zdanovichnick