最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

asp.net core 8 - Route constraints in Blazor Webassembly standalone - Stack Overflow

programmeradmin1浏览0评论

My project is a standalone Blazor Wasm application. According to the AI, the routing in this kind of app is different from the server-side router, hence there is no way to extend the constraint map. (I am using route constraints without issues in WebAPI apps.) After everything is registered similar to the server-side approach, the DefaultInlineConstraintResolver complains.

I am a little bit confused, as I got a comment here that it should work:

I haven't found any authoritative documentation that makes an explicit statement about this being or not being supported. Does this necessitate different setup steps as on the server side, or it is completely unsupported?

发布评论

评论列表(0)

  1. 暂无评论