Click here to Skip to main content
15,882,658 members
Articles / Web Development / Blazor

Matching Services with the Blazor Component Scope

Rate me:
Please Sign up or sign in to vote.
5.00/5 (1 vote)
24 Jan 2023CPOL3 min read 7.7K   5  
An article describing how to create services that have the same scope as a Blazor Page/Form
There's no DotNetCore service scope or container that matches the scope of a Blazor component. This articles explores the issue and how to solve it.

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Retired Cold Elm
United Kingdom United Kingdom
Ex Geologist, Project Manager, Web Hoster, Business Owner and IT Consultant. Now, a traveller to places less travelled. And part time developer trying to keep up!

If you feel like saying thanks, the next time you see a charity request, DONATE. No matter how small, no matter who, it'll count. If you have a choice in the UK, Barnados.

Comments and Discussions