8:04. I would like to know where to code comes from. The last part isnt even shown, it's just ctrl + c.
@jimbenson6769 Жыл бұрын
He wants you to pay for it
@adam-xt8te5 ай бұрын
Hey, what about performance? There is SignalR communication plus API requests. Isn't it slow?
@imadabab Жыл бұрын
Perfect. I have subscribed. Thanks a lot.
@SupraStututututu Жыл бұрын
Thanks for the video! Maybe stupid question - but why do we need to do API calls within one application? Can't we just inject some service that will return needed data directly to component?
@Te3Que Жыл бұрын
say you serve the users only with a website you could do that, but if your service expands into multiple websites or, you develop an app to ease the ux for mobile users. An api to serve the information is the better solution, since you can then maintain the api instead of all the individual services when there is a change.
@nene19642 жыл бұрын
This was so helpful. Thank you!
@philibertande30972 жыл бұрын
I have a very important question, thank you for your concern letting me know aabout it. Very often we need to use for blazor a scoped service, I used the addhttpclient using this factory, instead of the classic httpclient by default that can cause socket exhaustion, like in your video, but the problem is that the addhttpclient
@CodingJackpot2 жыл бұрын
do you want to use both http client and the service in builder.Services.AddScoped ?
@cissemy Жыл бұрын
Let say I have web api identity .How can do authentication and authorization by calling the associated api ?
@bereketadmassu83992 жыл бұрын
If you have more than one service say 10 , how to call only once the base address, your way needs to call it 10 times how to configure so that HttpClient has only once the BaseUrl
@j-bubble73352 жыл бұрын
I have been wondering how to use web api without making it a startup project. Ini this tutorial I find the answer, instead of having two or three, you create one project (blazor in one) .. But if I still have 3 projects, web api, blazorapp, models. Can I have only one startup project which is blazorapp but still able to call web api ???
@CodingJackpot2 жыл бұрын
if the port number is different then we need to have two startup projects but if it is same then we can have just one startup project
@j-bubble73352 жыл бұрын
@@CodingJackpot thank you
@FrigginM16 Жыл бұрын
How do you publish this website? I tried to host the website but it only publishes 1 project, the frontend is not linked to the backend where the business logic is.
@CodingJackpot Жыл бұрын
Where did you try to deploy it .. on azure cloud web app ?
@FrigginM16 Жыл бұрын
@@CodingJackpot I published it by Web Deploy on a VPS Windows basic host.
@basselbakkar47432 жыл бұрын
Thank you very much. why should we install the package httpclient.blazor? is there another way without to install this package?
@CodingJackpot2 жыл бұрын
This package is required for calling APIs it's official package from .net team
@basselbakkar47432 жыл бұрын
@@CodingJackpot Thanks for your reply
@dhirenpathak2 жыл бұрын
Can i Use Same Tricks on Make MAUI Blazor App ????
@CodingJackpot2 жыл бұрын
Yes you can use the same way for .Net MAUI
@dhirenpathak Жыл бұрын
Can you please make us for sample ??
@mukailarashid54282 жыл бұрын
Very helpful tutorial. But can you please give a github link to the source codes?