Last post Apr 22, 2019 03:02 PM by matteobortolazzo
Apr 20, 2019 04:07 PM|matteobortolazzo|LINK
I would like to use Razor components only for declaration,
is there a way to parse .razor file in C#?
I searched a lot and tried to look into Blazor code, but it's now that easy.
I need rendered HTML, parameters, methods, etc...
Which classed in the aspnet Core repo are responsible for this?
Thank you very much.
Apr 22, 2019 07:48 AM|Sherry Chen|LINK
Hi matteobortolazzo ,
Is your scenario in asp.net core 3.0 with VS2019 ?
What do you exactly want to get by parsing the .razor file?
Could you share more details about your scenario and expected result ?
Best Regards ,
Apr 22, 2019 11:12 AM|matteobortolazzo|LINK
I "just" want to target a different platform with Razor components, something different from WebAssembly.
Probably digging into the Components solution in the aspnetCore repo can help me understand if it's possible.
Apr 22, 2019 02:21 PM|bruce (sqlwork.com)|LINK
Apr 22, 2019 03:02 PM|matteobortolazzo|LINK
Now it makes more sense, I need to write a renderer like the server one. Thank you