How To Learn Blazor In 2023

How To Learn Blazor In 2023

Introduction

In this section, Tim Corey introduces the video and outlines what he will cover.

  • Blazer is an important tool to learn for C# web developers or aspiring C# developers.
  • Microsoft is investing heavily in Blazer.
  • Tim Corey has been a software developer for over two decades and offers many resources on YouTube and his website.

Frequently Asked Questions about Blazer

In this section, Tim Corey answers frequently asked questions about Blazer.

Can I get a job with Blazer?

  • Companies may not advertise specifically for Blazer developers but rather asp.net core web developers which can include Blazer.
  • Some companies may use older technologies like .NET Framework which does not support Blazer.

Is it worth learning Blazer?

  • Learning Blazer means learning asp.net core which is a powerful ecosystem of tools that can be used together.
  • Companies are using Blazer more frequently now that it has matured.

What are the different flavors of Blazer?

  • There are five different types of applications within asp.net core including MVC, API, Razor Pages, Blazor Server, and WebAssembly.
  • Each type has its own use case depending on the needs of the application.

What order should I learn Blazor in?

  1. Learn C#
  1. Learn HTML/CSS/JavaScript
  1. Learn Razor syntax
  1. Learn how to create components
  1. Learn how to work with data

What is the easiest way to become a good at developing with blazor?

  • Start by building small projects and gradually increase their complexity.
  • Use online resources such as documentation and forums to help solve problems.

Are there any tips or tricks for learning blazor well?

  • Focus on understanding the underlying concepts rather than just memorizing syntax.
  • Practice regularly and build projects to reinforce your knowledge.

Introduction to Blazor

In this section, the speaker introduces Blazor and its popularity among companies. He also talks about how it compares to other frameworks like MVC, Angular, React, and Vue.

Blazor vs. MVC

  • Blazor is a newer technology that has better options for most scenarios.
  • It's built upon ASP.NET Core, which means that learning either one will teach you the underlying core that powers everything.
  • Blazor server is a faster way to create a powerful web application than MVC.

Blazor vs. Angular/React/View

  • There is no "best" framework because it depends on your situation.
  • If you're already investing in learning C#, then learning an entirely different language for front-end development may not be necessary.
  • Learning Blazor can be a better choice than Angular/React/View if you're already familiar with C#.

Benefits of Learning Blazor

  • Learning Blazor will help round out your skills in C# and improve your object-oriented programming skills.
  • It will push and grow your skills in ASP.NET Core, making you a better C# web developer overall.
  • You can become a mid-level or senior developer by going deeper into one technology stack instead of becoming a jack of all trades.

Which Version of Blazor Should I Learn?

  • There are three versions of Blazor: Server-Side, WebAssembly (Client-Side), and Hybrid (Server-Side + Client-Side).
  • The speaker's favorite version is Server-Side because it acts as a client-side app but lives fully on the server side.

Blazor Server vs. Blazor WebAssembly vs. Blazor Hybrid App

In this section, the speaker discusses the differences between Blazor Server, Blazor WebAssembly, and Blazor Hybrid App.

Blazor Server

  • When running a C# MVC application, only HTML and CSS are visible in the browser.
  • With Blazor Server, you can have secure and sensitive information in the code because it never gets sent to the client.
  • The biggest downside of using Blazor Server is that it maintains a tiny connection between server and client at all times.

Blazor WebAssembly

  • With Blazor WebAssembly, your source code is downloaded to the client and runs your application there.
  • It cannot do server-side stuff like directly accessing a database or doing other sensitive and secure stuff because of its source code availability to users.
  • A combination of Blaze WebAssembly plus an API is like a broken-out Blaze Server application.

Blazer Hybrid App

  • This is not a web application but rather a desktop or mobile app powered by .NET Maui.
  • You can use most of the same code from Blaze Server and Blaze WebAssembly when it comes to actual page designs and put it into a native desktop or mobile app.

Changes Coming to Blazor

In this section, the speaker talks about changes coming to Blazor and how it is essential to practice building full applications.

Building a Full Application

  • The speaker recommends building a full application as practice.
  • This will help in understanding how an actual full application gets built.
  • The speaker has multiple courses on building a full application that can help in putting together all the pieces.

Tips and Tricks for Blazor

  • Practice is essential for learning Blazor.
  • Companies don't start with new frameworks right away, so it's important to know how to use mature frameworks like Blazor.
  • Don't skip the easy stuff like HTML when learning Blazor. Companies love to see that you have a good foundation in the basics.

Conclusion

In conclusion, practicing building full applications is essential for becoming proficient in using Blazor. It's also important not to skip the basics and have a good foundation in HTML.

Building Web Applications with .NET Framework and Blazor

In this section, the speaker discusses the importance of building a web application using the correct framework. He emphasizes that companies may not upgrade their framework if it is not built correctly, and that Blazor is a good option for modern web development.

Choosing the Right Framework

  • Companies won't upgrade their framework if it's not built correctly.
  • Blazor is a good option for modern web development.
  • Don't skip out on HTML when building your structure.
  • Stick to the plan and learn in order.

Learning .NET Core

In this section, the speaker discusses whether to learn Blazor or MVC when learning .NET Core. He recommends learning both but prioritizing Blazor due to its modernity.

Learning .NET Core

  • Learn both Blazor and MVC, but prioritize Blazor due to its modernity.
  • It's scary not knowing why something works in production.
  • There are better options for most scenarios with new options available.

ASP.NET Foundation

In this section, the speaker discusses how to build an app from start to finish using ASP.NET Foundation.

Building an App with ASP.NET Foundation

  • Build an app from start to finish using ASP.NET Foundation.
  • Create the same app five times with API foundation then put good pieces on Razer Pages MVC Blazer server and Blaze Web Assembly.

Blazor Flavors and When to Use Each

In this section, the speaker discusses the three flavors of Blazor and when to use each one.

Blazor Flavors

  • There are three flavors of Blazor: Blazor Server, Blazor WebAssembly, and Blazor Hybrid.
  • Blazor Server is the most mature product and is best for web applications that don't require offline access or progressive web application features.
  • Blazor WebAssembly is a newer product that's better suited for situations where offline access or progressive web application features are needed.
  • Blazor Hybrid combines both server-side and client-side components.

When to Use Each Flavor

  • Choose Blazor Server if you don't need offline access or progressive web application features.
  • Choose Blazor WebAssembly if you need offline access or progressive web application features.
  • Choose Blazor Hybrid if you need both server-side and client-side components.

Learning Order for Building with Blazor

In this section, the speaker discusses the recommended learning order for building with Blazor.

Recommended Learning Order

  1. Learn C#
  • Don't start learning C# by learning Blazor because it uses advanced object-oriented programming concepts.
  1. Learn HTML, CSS, and JavaScript
  • Learn these languages before moving on to ASP.NET Core or any other frameworks.
  1. Learn ASP.NET Core
  • This is the foundation for all web projects in C#, so it's important to learn it first.
  1. Learn Blazor Server
  • This is a fast way to create an interactive website that can capture information, display information, manipulate information quickly with little effort.
  1. Learn Blazer WebAssembly
  • This tool should be added after mastering server-side Blazor. It's a great option for situations where connectivity issues may arise or offline access is needed.

Blazor Server vs Silverlight

In this section, the speaker discusses the differences between Blazor Server and Silverlight.

  • Blazor Server is not going away like Silverlight did.
  • Blazor WebAssembly is built upon webassembly which is an industry standard.
  • Blazor Server uses SignalR, which is a wrapper around web standard connectivity methods such as websockets and long polling.

The Importance of Practice

In this section, the speaker emphasizes the importance of practice in learning to code and provides tips on how to effectively practice.

Practice Basics

  • Learn about class instantiation and why it's important.
  • Practice the basics before moving on to more advanced topics.
  • Recreate what you see and figure out any differences.
  • Break stuff in a practice environment to learn what works and what doesn't work.

Repeat

  • Repeat the cycle of practicing, expanding, and playing with options over and over again.
  • Don't skip steps two and three as they are crucial for success.

Easy Path

  • The speaker offers a paid course as an easy path for those who want a step-by-step education that builds upon previous content learned.
  • Proceeds from the course go towards funding more free content for the community.

C# Master Course

In this section, the instructor introduces the C# Master Course and explains that it covers 12 different database types. The course is designed to teach real-world C# that will allow students to walk into a job and start doing the work.

Course Content

  • The course includes building two full practice applications to see how to put what we've learned together into a working application.
  • The course covers all the foundational stuff you need to really be a web developer. It answers questions that sometimes people only realize they have.
  • ASP.NET Core from Start to Finish is another recommended course where the instructor introduces all five project types in ASP.NET Core and then shows how to build the same full CRUD web application with all five.
  • Two smaller courses are also recommended, .NET Core Dependency Injection and .NET Core App Settings, both from start to finish.
  • Blazor Server from Start to Finish is another course that goes into depth on all the different features of Blazor server.

Web Development Master Course

In this section, the instructor introduces the Web Development Master Course which covers HTML, CSS, and JavaScript. The course is designed to teach everything needed for a great foundation in web development.

Course Content

  • The course covers basics of HTML, CSS3, advanced CSS, basics of JavaScript, advanced JavaScript.
  • Creating accessible websites and SEO are also covered in this course.
  • The course includes creating two full practice sites using what we've learned and going over web tools.

.NET Core Dependency Injection

In this section, the instructor introduces the .NET Core Dependency Injection course which goes in-depth into a major piece of .NET Core.

Course Content

  • The course covers not just how to use the basics of dependency injection but also how to go well into the advanced stuff of it.
  • Learning to use a tool you already have is emphasized as people often bring in additional dependencies because they don't know how to use the tool they already had.

.NET Core App Settings

In this section, the instructor introduces the .NET Core App Settings course which goes in-depth into app settings in .NET Core.

Course Content

  • The course covers all five different locations that you can store settings as well as adding new places to look including Azure key vaults and web application settings.
  • Learning to use app settings effectively is important because if you don't know how to use them, you may take an external dependency that's going to hold you back potentially from upgrades and other things.

Blazor Server from Start to Finish

In this section, the instructor introduces Blazor Server from Start to Finish which goes into depth on all the different features of Blazor server.

Course Content

  • The course covers setting up and configuring Blazor server, changing it, and all the rest of stuff that really can make you into a great Blazor server developer.
  • The course is updated for .NET 6 and .NET 7.

I apologize, but I cannot see any transcript provided in the conversation. Please provide me with the transcript so that I can create a comprehensive and informative markdown file from it.

Learning Blazer in 2023

In this section, Tim Corey provides tips on how to learn Blazer effectively.

Stick to the Plan

  • Learn in order and build a solid foundation.
  • Use Blazer with a good foundation underneath to understand what's going on.
  • Stick to the plan and learn in order for better success.

Pace Yourself

  • Don't sprint; take your time and put it on the schedule.
  • Reschedule if you have to skip, but use that as extra motivation to make sure you make the next one.
  • Pace yourself; don't go all-in the first week.

Evaluate Your Progress and Continually Improve

  • Continually look at how you're doing and figure out how you can make things better.
  • Keep a journal of what you learned every day that you study.
  • Look back over your progress to encourage yourself and see how much you've learned.

Overall, Tim Corey provides useful tips for learning Blazer effectively. By sticking to the plan, pacing oneself, evaluating progress, and continually improving, learners can gain confidence in their development skills.

Video description

How do I learn Blazor well in 2023? Is it something I should know? As we start into 2023, if you are a C# web developer or an aspiring C# web developer, Blazor is an important tool to learn. Not only is it a great option in the ASP.NET Core set of tools, but it is also a technology that Microsoft is investing heavily in. In this video, I will start by answering some of the commonly asked questions about Blazor. Then, we will look at the different flavors of Blazor and when to use each. After that, I will outline the order to learn Blazor in, I will go over the steps to take when learning Blazor, I will cover the easiest way to become a Blazor developer, and finally, I will cover some tips and tricks to learning Blazor well. Full Training Courses: https://IAmTimCorey.com Mailing List: https://signup.iamtimcorey.com/ 0:00 Intro 1:31 Blazor FAQs 12:38 Blazor Flavours 24:52 Learning Order 35:51 Learning Steps 40:26 The Easy Path 53:16 Tips & Tricks