bwfc-identity-migration

Featured

Migrate 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 448 stars 77 forks Updated 4 days ago MIT

Install

View on GitHub

Quality Score: 91/100

Stars 20%
88
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

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
4 days ago
Language
C#
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

DevOps & Infrastructure Solid

dotnet-core-expert

Use when building .NET 10 applications with minimal APIs, clean architecture, or cloud-native microservices. Invoke for Entity Framework Core, CQRS with MediatR, JWT authentication, AOT compilation.

97 Updated 2 days ago
baotoq
Web & Frontend Featured

lifecyclemigrate-from-nextjs

Step-by-step migration from Next.js App Router to TanStack Start: route definition conversion, API mapping, server function conversion from Server Actions, middleware conversion, data fetching pattern changes.

14,498 Updated today
TanStack
DevOps & Infrastructure Featured

azure-active-directory-b2c

Expert knowledge for Azure Active Directory B2C development including troubleshooting, best practices, decision making, architecture & design patterns, limits & quotas, security, configuration, integrations & coding patterns, and deployment. Use when designing custom policies/user flows, MFA & IdP sign-in, app/API registration, CI/CD deployments, or Sentinel logging, and other Azure Active Directory B2C related development tasks. Not for Azure Information Protection (use azure-information-protection), Azure Role-based access control (use azure-rbac), Azure Security (use azure-security), Azure Portal (use azure-portal).

558 Updated today
MicrosoftDocs
Web & Frontend Featured

appinsights-instrumentation

Guidance for instrumenting webapps with Azure Application Insights. Provides telemetry patterns, SDK setup, and configuration references. WHEN: how to instrument app, App Insights SDK, telemetry patterns, what is App Insights, Application Insights guidance, instrumentation examples, APM best practices.

1,085 Updated today
microsoft
Web & Frontend Listed

install-wsl-auto

Installs and validates WSL on Windows with guided automation for modern and legacy installation paths. Use when a user asks to install WSL, set up Linux on Windows, or fix a broken WSL install.

15 Updated today
X-School-Academy