Call Web Api in .Net 6 Blazor Server HttpClient Rest Api

  Рет қаралды 15,036

Coding Jackpot

Coding Jackpot

Күн бұрын

Пікірлер
@MYGamingCrafters
@MYGamingCrafters 2 жыл бұрын
8:04. I would like to know where to code comes from. The last part isnt even shown, it's just ctrl + c.
@jimbenson6769
@jimbenson6769 Жыл бұрын
He wants you to pay for it
@adam-xt8te
@adam-xt8te 5 ай бұрын
Hey, what about performance? There is SignalR communication plus API requests. Isn't it slow?
@imadabab
@imadabab Жыл бұрын
Perfect. I have subscribed. Thanks a lot.
@SupraStututututu
@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
@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.
@nene1964
@nene1964 2 жыл бұрын
This was so helpful. Thank you!
@philibertande3097
@philibertande3097 2 жыл бұрын
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
@CodingJackpot
@CodingJackpot 2 жыл бұрын
do you want to use both http client and the service in builder.Services.AddScoped ?
@cissemy
@cissemy Жыл бұрын
Let say I have web api identity .How can do authentication and authorization by calling the associated api ?
@bereketadmassu8399
@bereketadmassu8399 2 жыл бұрын
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-bubble7335
@j-bubble7335 2 жыл бұрын
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 ???
@CodingJackpot
@CodingJackpot 2 жыл бұрын
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-bubble7335
@j-bubble7335 2 жыл бұрын
@@CodingJackpot thank you
@FrigginM16
@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
@CodingJackpot Жыл бұрын
Where did you try to deploy it .. on azure cloud web app ?
@FrigginM16
@FrigginM16 Жыл бұрын
​@@CodingJackpot I published it by Web Deploy on a VPS Windows basic host.
@basselbakkar4743
@basselbakkar4743 2 жыл бұрын
Thank you very much. why should we install the package httpclient.blazor? is there another way without to install this package?
@CodingJackpot
@CodingJackpot 2 жыл бұрын
This package is required for calling APIs it's official package from .net team
@basselbakkar4743
@basselbakkar4743 2 жыл бұрын
@@CodingJackpot Thanks for your reply
@dhirenpathak
@dhirenpathak 2 жыл бұрын
Can i Use Same Tricks on Make MAUI Blazor App ????
@CodingJackpot
@CodingJackpot 2 жыл бұрын
Yes you can use the same way for .Net MAUI
@dhirenpathak
@dhirenpathak Жыл бұрын
Can you please make us for sample ??
@mukailarashid5428
@mukailarashid5428 2 жыл бұрын
Very helpful tutorial. But can you please give a github link to the source codes?
@CodingJackpot
@CodingJackpot 2 жыл бұрын
www.buymeacoffee.com/codingjackpot/e/82770
@roberttomlin6565
@roberttomlin6565 2 жыл бұрын
Is it https?
@CodingJackpot
@CodingJackpot 2 жыл бұрын
Yes
Blazor Server .Net 6 Google Map , Search Box Integration
9:00
Coding Jackpot
Рет қаралды 9 М.
Call REST API from ASP NET Core Blazor
9:58
kudvenkat
Рет қаралды 69 М.
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 53 МЛН
Consume REST API from Blazor WebAssembly
20:09
Roozbeh Shad
Рет қаралды 19 М.
Using HttpClient in .NET Core to Connect to APIs in C#
45:03
IAmTimCorey
Рет қаралды 192 М.
.Net 6 Blazor Server CRUD Without Web Api
22:49
Coding Jackpot
Рет қаралды 7 М.
Blazor Server Admin Template LTE Dashboard Theme in .Net 6 BootStrap
24:05
add oil
27:12
Ahmed Mohamed
Рет қаралды 30
CRUD with Dapper in a .NET 6 Web API using SQL Server 🚀
28:21
Patrick God
Рет қаралды 66 М.
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 53 МЛН