LAUNCH EFFECT

Blazor .Net 5 How to Create Services in Client Side Apps



We are upgrading our Blazor App Tour Of Heroes with Services! This will allow the components to keep state even when we navigate away along with creating some reusable code for our apis. If you like this video please subscribe and let me know you would like to see more. Based of Tour of Heroes section 4.

timestamps

0:00 Intro
1:00 Creating a Blazor Service
3:40 Adding Dependancy Injection for our Blazor Service
5:24 Messaging Service – Creating a Blazor service that holds state between screens
9:19 Dependancy Injection of a Singleton
12:57 Create App Messages Component

Trying to write better code? Subscribe to this channel or check out this sweet book Code Complete. (I’m not the author) It is like the coding bible. No matter how many times I read it, there are always great new lessons. It can take you from entry level to Senior Programmer in no time.

Looking for something to do until the next video? Try Amazon Prime free for 30 days and watch video Amazon Video or order some sweet books with 2 day shipping.

The above is an affiliate link that I may receive a percentage of sales from Amazon if you purchase anything.
#Blazor #.NET5

source

×

privacy policy.

Your email will never be shared with a third party. We'll only use it to notify you of our launch and of special events taking place in your city. You'll have the opportunity to unsubscribe at any time, immediately, once you receive your first email.