Initial Blazor support in ReSharper and Rider 2018.2 EAP
A brief look at Blazor
Even though Blazor is declared experimental for now, we’ve added initial support for this promising framework in both ReSharper 2018.2 EAP and Rider 2018.2 EAP. For instance, code completion includes all the possible directives, like page (routing), inject (service injection) and function (component members):
Blazor allows to compose components from other components with simple HTML tags, which turns out to be a very flexible approach. For instance, when decorating a member with
ParameterAttribute, we can set this member from any other component with a HTML attribute.
ParameterAttribute is not yet supported, but for completeness, let’s see how this works:
Of course, we can also do more complex things, like subscribing to a button’s
onclick event and execute a delegate – an actual .NET method where we can use all the C# language magic:
We are looking forward to support more Blazor features as the framework continuous to evolve.
Download ReSharper 2018.2 EAP now! Or give Rider 2018.2 EAP – our cross-platform IDE – a try! We’d love to hear your feedback!
Subscribe to Blog updates
Thanks, we've got you!