Тёмный

Blazor route parameters 

kudvenkat
Подписаться 836 тыс.
Просмотров 37 тыс.
50% 1

Опубликовано:

 

20 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 33   
@michaelangelo1950
@michaelangelo1950 4 года назад
This teacher is by far the best I have seen on youtube, very clear and in-depth tutorial, its just superb, you can relate and follow and easy to understand. I give you a standing ovation sir
@ALICEFELIX1
@ALICEFELIX1 2 года назад
Thank you so much such a detailed description of Parameter passing and navigation in Blazor, it is exactly what i was looking for for my Maui Blazor hybrid application. Thanks alot saved me hours of agony
@azkarelsabah8781
@azkarelsabah8781 3 года назад
Thank You Venkat
@jobiraw
@jobiraw 4 года назад
Thumbs Up....Dear venkat will this series include authentication and authorization??
@coolwaterdvr
@coolwaterdvr 4 года назад
Thank you Venkat. 🙏
@ProMakerDev
@ProMakerDev 4 года назад
awesome video you
@upulwaruna.abeysinghe
@upulwaruna.abeysinghe 4 года назад
Great Venkat,
@rdrgox
@rdrgox 4 года назад
Thx, excelente todo el material
@setiadisudrajat5031
@setiadisudrajat5031 3 года назад
thanks for your video i wanna ask you about route in blazor in my case, i have 1 solution with 3 project blazor, 1 main project and 2 additional project how i can route to additional project from main project ? thanks in advance
@vahidalizadeh5836
@vahidalizadeh5836 3 года назад
How can we check if Employees is null and then redirect to NotFound Page?
@aliajmat
@aliajmat 4 года назад
Not expected this... :( Great. But why not You are showing an error or No record found in the EMployeeDetail page ?? why id= id ?? "1" ;
@azkarelsabah8781
@azkarelsabah8781 3 года назад
when he remove id from url page display that there is no route by this url then , he add new route and this code id= id ?? "1" ;
@djedaaa2232
@djedaaa2232 4 года назад
I think that better solution would be to redirect to component on route "/" using NavigationManager, if Id is not specified in url..
@adelashraf1577
@adelashraf1577 2 года назад
when i click view ... display there no thing in this address why ??
@hintsoftware
@hintsoftware 2 года назад
how to pass complex objects as parameter ?
@hamadelmalik8424
@hamadelmalik8424 4 года назад
how can i insert multi record
@jayantlalguru6780
@jayantlalguru6780 4 года назад
The OnInitializedAsync is called twice. This is by design as far as I am aware. This calls the API twice. Is there a way to stop calling the API twice?
@Siemensc01
@Siemensc01 4 года назад
That happened to me also. Apparently, if you have 2 routings in a component, OnInitializedAsync is called twice. Try with only one routing in the component and check again. It does not make any sense to me, but it behaves that way.
@johnnieperez4790
@johnnieperez4790 4 года назад
The same is true with employee public property! in fact, it seems like each time that you use inside (like, name) the debugger goes to EmployeeDetailComponentBase and reads the property like a round-trip. @kudvenkat
@azkarelsabah8781
@azkarelsabah8781 3 года назад
at _Host @(await Html.RenderComponentAsync(RenderMode.ServerPrerendered)) replace RenderMode.ServerPrerendered by RenderMode.Server
@zorigdavaag.8354
@zorigdavaag.8354 4 года назад
NullReferenceException: Object reference not set to an instance of an object. EmployeeManagement.Pages.EmployeeDetails.BuildRenderTree(RenderTreeBuilder __builder at these Layout = null; do you guys getting this Error?
@zorigdavaag.8354
@zorigdavaag.8354 4 года назад
i have to initialize the Employee property like this public Employee Employee { get; set; } = new Employee(); this corrected my issue
@politikusmihaly8716
@politikusmihaly8716 4 года назад
@@zorigdavaag.8354 That's true it solves the problem but why is this? We didn't initilaize the Employees property in the EmployeeListBase class like here and still worked, so why is that?
@politikusmihaly8716
@politikusmihaly8716 4 года назад
Okay I guess it is because we check if it's null at EmployeeList component.
@azkarelsabah8781
@azkarelsabah8781 3 года назад
yes , you must forgot to take an object from Employees public Employees Employee{get; set;} = new Employees()
@armanx2
@armanx2 4 года назад
So basically you need to "recreate" repository pattern at front -end to be able to do some calls, seems to me like it's somewhat a overkill :) here is where Blazor is somewhat disappointing for me...
@BarriDuty
@BarriDuty 4 года назад
how to show department name instead of id
@jobiraw
@jobiraw 4 года назад
@Barri Duty you can Create relationship b/n the two entities then use Include(e => e.Departments); this way you have all the department information.....
@taamcyat
@taamcyat 3 года назад
Venkat you are God!!!🙏
@ypwygk652
@ypwygk652 2 года назад
There is no god but God... Venkat is not a god, rather he is a creature that will die.. But God is alive and does not die.. And rely upon the Ever-Living who does not die, and exalt [ Allah ] with His praise. And sufficient is He to be, with the sins of His servants, Acquainted -
@ivanb8662
@ivanb8662 4 года назад
5:59 protected override async Task OnInitializedAsync()
@diabader6251
@diabader6251 3 года назад
@page "/employeedetails/{id?}" For Optional Parameter :)
Далее
Blazor EventCallback
7:48
Просмотров 35 тыс.
СОВСЕМ НЕ СОБАЧКИ🤷
11:10
Просмотров 62 тыс.
Call REST API from ASP NET Core Blazor
9:58
Просмотров 69 тыс.
Blazor component parameters
6:56
Просмотров 31 тыс.
Compare validation in blazor
8:55
Просмотров 17 тыс.
Blazor data binding
8:15
Просмотров 34 тыс.
СОВСЕМ НЕ СОБАЧКИ🤷
11:10
Просмотров 62 тыс.