No video

Blazor route parameters

  Рет қаралды 37,040

kudvenkat

kudvenkat

Күн бұрын

Route parameters in blazor with an example.
Text Article and Slides
www.pragimtech...
Healthy diet is very important for both body and mind. We want to inspire you to cook and eat healthy. If you like Aarvi Kitchen recipes, please support by sharing, subscribing and liking.
/ @aarvikitchen5572
Blazor tutorial for beginners
• Blazor tutorial for be...
Blazor Blog
www.pragimtech...
Angular, JavaScript, jQuery, Dot Net & SQL Playlists
www.youtube.co...
Let's gift education together
/ kudvenkat

Пікірлер: 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
@ProMakerDev
@ProMakerDev 4 жыл бұрын
awesome video you
@upulwaruna.abeysinghe
@upulwaruna.abeysinghe 4 жыл бұрын
Great Venkat,
@jobiraw
@jobiraw 4 жыл бұрын
Thumbs Up....Dear venkat will this series include authentication and authorization??
@azkarelsabah8781
@azkarelsabah8781 3 жыл бұрын
Thank You Venkat
@coolwaterdvr
@coolwaterdvr 4 жыл бұрын
Thank you Venkat. 🙏
@rdrgox
@rdrgox 3 жыл бұрын
Thx, excelente todo el material
@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..
@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
@taamcyat
@taamcyat 2 жыл бұрын
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 -
@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...
@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
@vahidalizadeh5836
@vahidalizadeh5836 3 жыл бұрын
How can we check if Employees is null and then redirect to NotFound Page?
@ivanb8662
@ivanb8662 3 жыл бұрын
5:59 protected override async Task OnInitializedAsync()
@hintsoftware
@hintsoftware 2 жыл бұрын
how to pass complex objects as parameter ?
@adelashraf1577
@adelashraf1577 2 жыл бұрын
when i click view ... display there no thing in this address why ??
@hamadelmalik8424
@hamadelmalik8424 3 жыл бұрын
how can i insert multi record
@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.....
@diabader6251
@diabader6251 3 жыл бұрын
@page "/employeedetails/{id?}" For Optional Parameter :)
Display data from two or more related tables in Blazor
6:33
kudvenkat
Рет қаралды 37 М.
Blazor component parameters
6:56
kudvenkat
Рет қаралды 31 М.
АЗАРТНИК 4 |СЕЗОН 1 Серия
40:47
Inter Production
Рет қаралды 1,1 МЛН
Whoa
01:00
Justin Flom
Рет қаралды 53 МЛН
Gli occhiali da sole non mi hanno coperto! 😎
00:13
Senza Limiti
Рет қаралды 24 МЛН
Люблю детей 💕💕💕🥰 #aminkavitaminka #aminokka #miminka #дети
00:24
Аминка Витаминка
Рет қаралды 1,2 МЛН
Brutally honest advice for new .NET Web Developers
7:19
Ed Andersen
Рет қаралды 168 М.
Compare validation in blazor
8:55
kudvenkat
Рет қаралды 17 М.
Blazor EventCallback
7:48
kudvenkat
Рет қаралды 34 М.
Blazor: Why 2024 Is The Year Of Blazor 🚀
9:40
Coder Foundry
Рет қаралды 25 М.
Blazor Dependency Injection
17:01
Coding Tutorials
Рет қаралды 3,3 М.
Blazor multiple cascading parameters
7:00
kudvenkat
Рет қаралды 13 М.
Delete confirmation dialog in Blazor
12:18
kudvenkat
Рет қаралды 25 М.
What is AutoMapper and using it in ASP NET Core
9:03
kudvenkat
Рет қаралды 35 М.
Blazor cascading values and parameters
6:22
kudvenkat
Рет қаралды 23 М.
АЗАРТНИК 4 |СЕЗОН 1 Серия
40:47
Inter Production
Рет қаралды 1,1 МЛН