Excellent tutorial! Thank you for this! I like that is a simple direct example, it quickly shows the point of the matter ! Keep them coming.👍 Just a comment though, the blazor httpclient used to call the api is no longer maintained.
Hello Thanks for this , this is a nice structure , I've followed just u can split the pages and service in a share class library (rcl) in oreder to be easy if u want to switch from blazor server to Wasm I'have on question how can I authenticate and authorize the user in this approach (if u can provide me an example as I searched a lot but need to knw the best practice ) thanks in advance
We are developing a demo for login and register with authenticate and authorize, we will upload the demo this week. Let us know if you need any other help
Hello, very good video and intuitive. A query just in case there is an example that uses the same structure. Web API separate from blazor but in authentication. I mean that the API provides JWT and BLAZOR consumes said API.
"Microsoft.AspNetCore.Blazor.HttpClient" is no longer available. use "System.Net.Http.Json" instead. Replace: "return await HttpClient.GetFromJsonAsync("api/product/getProducts");" with "return await HttpClientJsonExtensions.GetFromJsonAsync(this.httpClient, "api/product/getProducts",CancellationToken.None);"
Maybe the best 17m of tutorial I've ever seen. Outstanding. Thanks.
Man! You did bring the bread to the table! Many thanks for this! A great help for understanding Blazor+WebAPI relation. Super thanks!
succinctly explained, thank you very much for your tutorial
Glad that you liked the video and it was useful to you
Nice, thats awesome how simply you explain that!
cant find class library (.net core) either, is it the same as class library (.net framework) ?
Excellent tutorial! Thank you for this! I like that is a simple direct example, it quickly shows the point of the matter ! Keep them coming.👍
Just a comment though, the blazor httpclient used to call the api is no longer maintained.
Glad it was helpful!
Excellent tutorial - to the point.
Good, do you have a tutorial for submiting things via json, not just reading them?
package Microsoft.AspNetCore.Blazor.HttpClient has been discontinued :(
Can you suggest something as simple as this package?
Hello Thanks for this , this is a nice structure , I've followed just u can split the pages and service in a share class library (rcl) in oreder to be easy if u want to switch from blazor server to Wasm
I'have on question
how can I authenticate and authorize the user in this approach
(if u can provide me an example as I searched a lot but need to knw the best practice
)
thanks in advance
We are developing a demo for login and register with authenticate and authorize, we will upload the demo this week. Let us know if you need any other help
@@CodingJackpot wait that quckly please
Thanks in advance
@@CodingJackpot is this what I talk about it
Role base security
In blazor server with isolated api
Project?
Would be great if you could explain what you do, instead of just ctrl+c ctrl+v the start of the function, so that we know why certain things are done.
edit: ok a "swagger" tab also appears with different port (to the hello world one), my api does work from here!..
Thank you! You realy helped me!)))
ok i started again, got further, but visiting the api url i see Sorry, there's nothing at this address.... grr
thanks, tho i cannot find blazor app, i see blazor web app and server app.
Thank you.!! for your service..Blazor.. :)
i don't understand..why not uncheck "Configure for HTTPS" play time 1:41 ...
can you explane...?
On my local computer it was giving some errors while running the website in browser so if its working for you then you can use HTTPS in Blazor
Hello, very good video and intuitive. A query just in case there is an example that uses the same structure. Web API separate from blazor but in authentication. I mean that the API provides JWT and BLAZOR consumes said API.
will create a video for Web API authentication with token using Blazor
"Microsoft.AspNetCore.Blazor.HttpClient" is no longer available.
use "System.Net.Http.Json" instead.
Replace:
"return await HttpClient.GetFromJsonAsync("api/product/getProducts");"
with
"return await HttpClientJsonExtensions.GetFromJsonAsync(this.httpClient, "api/product/getProducts",CancellationToken.None);"
Please refer this .net 6 video ruclips.net/video/cqRqkJaLgls/видео.html