C
C#3mo ago
Eple

Background Service and Blazor

Hi all, I wish to create a Service and a Blazor interface. Can someone help me get started? That is a Service doing some work and a Blazor interface communicating with it. I need help to choose the right project types.
7 Replies
Jimmacle
Jimmacle3mo ago
what have you done so far?
Eple
Eple3mo ago
I have not done anything yet. I need help to choose the right project types. I apologize for not mentioning it. Appreciate you reaching out. Using Rider on macOS but I think it is interchangeable with VS for Windows.
Jimmacle
Jimmacle3mo ago
there is a lot of documentation and some tutorials here https://learn.microsoft.com/en-us/aspnet/core/blazor/?view=aspnetcore-8.0
Eple
Eple3mo ago
Thank you – I've created the Blazor server side app now. I need to create a Service which fetches data at intervals.
Jimmacle
Jimmacle3mo ago
you could use anything from a hosted service with a timer to Hangfire or other job scheduling system
Eple
Eple3mo ago
I'll be sure to check out hosted services, Hangfire and also to research other job scheduling systems. Appreciate your help. I need the Service to be running all the time. Do you know if this would be an issue if it is running under a Blazor app?
Jimmacle
Jimmacle3mo ago
it depends on the hosting model IIS can shut the site off after a period of inactivity unless you configure it not to
Want results from more Discord servers?
Add your server
More Posts
ASP.NET Core - DbContext UOW with strict n-tier architectureI am using Entity Framework Core with an n-tier architecture (persistence, business & application la✅ Which Nuget ASP.NET Core Versioning package to choose?Hi, I need to do some versioning on an API with ASP.NET Core (.NET 6), but I don't know which packagHelp to import class.Hi i'm a super noob and i need help. I had done my first console app with C#, so i wanna put my clasAfter updating to v17.9.3 Visual Studio IDE closes at start with error message [FIXED]VS 2022 Community was running flawlessy for a month. Two days ago I was notified there was the updatDocker container hosting dotnet 6 api on port 80 instead of mentioned portDocker hosting dotnet 6 api on port 80. Attached is the images of docker compose,dockerfile,appsetti✅ Looking for experienced dev to do a quick live code reviewHello, is there any experienced dev here interested in doing a live code review with me to review mysimple calculatori want to code an simple calculator and i want if i type an anything than number console says enter Pagination with C# (DotNet) + Angular problem.Hey gyus first of all thanks for anyone who gonna help me 🙂 I tried to implement pagination with c#✅ Anyone recommend a book, or online course?Hey guys, anyone have a book or video course they'd recommend for learning asp.net mvc and blazor? I✅ Need help with recursive solution on vjudge Homer Simpson UVA - 10465 problem with CI am trying to solve https://vjudge.net/problem/UVA-10465 or at least get "Time exceeded" (3000ms) i