razor
razor copied to clipboard
Add route string syntax to Razor pages and Blazor
Fixes https://github.com/dotnet/razor-compiler/issues/352
I've hacked this in. There are things todo:
- Is this the right way to detect whether a Razor document is a Razor Page or Blazor page?
- I was surprised when I ran the unit tests and nothing failed. It appears the razor compiler unit tests aren't in the solution file? If they're somewhere in the repo then I still need to update them.
It works:
🥳 🎈 🚀 🎉
cc @CyrusNajmabadi
It does look like there are some test failures.
Done review pass (commit 2)
At least we know CI seems to build the compiler bits on PRs.. I honestly wasn't sure :)
@dotnet/razor-compiler for a second review please.
Thanks @JamesNK!