DEV Community

Discussion on: How Blazor Is Going to Change Web Development

Collapse
 
jeremycmorgan profile image
Jeremy Morgan

Well, sort of. C# can get converted to JS that makes calls into the .NET runtime, and it's possible to make interop calls between JS and .NET, and vice versa. It's still a work in progress.

You can just write C# to do everything you'd need to do but I'm not sure that's the best approach. It depends on what you're trying to accomplish. From what I know at this point, a well designed Blazor application will use components based on the problem you're trying to solve. Does it need a lot of server processing, or client processing? That will determine not only the type of Blazor app you create, but that will dictate the composition of the code as well.