Skip to content

feat: ASHX/AXD middleware handling + deprecation guidance docs#478

Merged
csharpfritz merged 4 commits intoFritzAndFriends:devfrom
csharpfritz:feature/docs-middleware-reports
Mar 19, 2026
Merged

feat: ASHX/AXD middleware handling + deprecation guidance docs#478
csharpfritz merged 4 commits intoFritzAndFriends:devfrom
csharpfritz:feature/docs-middleware-reports

Conversation

@csharpfritz
Copy link
Collaborator

Summary

Adds ASHX and AXD URL handling to the \UseBlazorWebFormsComponents\ middleware and creates deprecation guidance documentation for Web Forms patterns.

Changes

Closes

csharpfritz and others added 4 commits March 17, 2026 06:54
- Add EnableAshxHandling and EnableAxdHandling options (default: true)
- Add AshxRedirectMappings dictionary for custom .ashx redirects
- AshxHandlerMiddleware: 410 Gone default, 301 redirect with mapping
- AxdHandlerMiddleware: 404 for most .axd, 410 Gone for ChartImg.axd
- Existing .aspx rewriting behavior unchanged

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…s#438)

Document migration guidance for runat=server, ViewState, UpdatePanel,
Page_Load/IsPostBack, ScriptManager, and 3 additional patterns.
887-line guide with before/after code examples.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
)

TestServer-based tests covering .ashx→410, .axd→404, ChartImg→410,
custom redirect mappings, options toggling, .aspx regression guards,
and edge cases (mixed case, query strings, substrings).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@csharpfritz csharpfritz merged commit 8c18567 into FritzAndFriends:dev Mar 19, 2026
4 checks passed
@csharpfritz csharpfritz deleted the feature/docs-middleware-reports branch March 19, 2026 02:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add deprecation guidance docs for runat=server, ViewState, UpdatePanel Add ASHX and AXD URL handling to UseBlazorWebFormsComponents middleware

1 participant