DEV Community

Chris Noring
Chris Noring

Posted on

12 1

Learn Blazor for WebDev and get to use C# in all the layers

 -1- Overview video

This 20 min video gives you a mile high view of Blazor covering component input and output, routing, HTTP and a little on Forms. It's a good place to start

-2- First introduction to Blazor

This article goes through all you need to know to get started but also gives you enough knowledge to keep building out your skills.

 -3- JavaScript interop and Blazor

Sometimes you need to talk to JavaScript, even if you mostly will do C#. This shows how you can include an NPM package as part of your Blazor app.

-4- Routing in Blazor

Routing is an important topic. This article covers different types of routing and also covers router and query parameters.

Image of Datadog

Master Mobile Monitoring for iOS Apps

Monitor your app’s health with real-time insights into crash-free rates, start times, and more. Optimize performance and prevent user churn by addressing critical issues like app hangs, and ANRs. Learn how to keep your iOS app running smoothly across all devices by downloading this eBook.

Get The eBook

Top comments (3)

Collapse
 
shaijut profile image
Shaiju T • Edited

Nice, 😄.

stackoverflow.com/questions/607732...

2 Questions:

  1. I think based on above post, we cannot do a alert using C#, we have to invoke IJSRuntime . So how does this IJSRuntime does the alert ? does it converts C# to Javascript and then runs in browser ?

  2. How is Blazor initial load time after release of .NET 5 ? compared to Angular and React , is it performant ?

Collapse
 
softchris profile image
Chris Noring
  1. I think it becomes WASM, have a look here, technical lead Steve Sanderson is trying to explain how Blazor does things, blog.stevensanderson.com/2018/02/0...
  2. Here's an article explaining that visualstudiomagazine.com/articles/... yrs, performance improving a lot on .NET 5.. As for vs Js SPAs, I don't have exact metrics. One thing I know they ar working on is the initial bundle size, which takes time on first load
Collapse
 
ortonomy profile image
🅖🅡🅔🅖🅞🅡🅨 🅞🅡🅣🅞🅝

shudder

Qodo Takeover

Introducing Qodo Gen 1.0: Transform Your Workflow with Agentic AI

Rather than just generating snippets, our agents understand your entire project context, can make decisions, use tools, and carry out tasks autonomously.

Read full post

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay