Blazor server crud tutorial

  Рет қаралды 22,839

Ravindra Devrani

Ravindra Devrani

Күн бұрын

Пікірлер: 37
@ravindradevrani
@ravindradevrani Жыл бұрын
use hot reload option
@jennasyeda6613
@jennasyeda6613 8 ай бұрын
Outstanding....very simple way of delivering info, please make a video for how to design blazor application
@buredabby
@buredabby Жыл бұрын
A brilliant tutorial, Ravindra. Thank you. Can you build off this one and make more, please? I want to learn how to make a profile page, so people can add and save profile pictures and the difference between storing images in local, database and cloud and how to do it. I would be grateful!
@ravindradevrani
@ravindradevrani Жыл бұрын
May be in future.. the thing is I really don't use blazor. I more into .net + ja frameworks. I have created few tutorials on blazor server / blazor wasm crud, authentication in blazor. I found it quite similar to razor pages. If you are saving images, then save them in a local(if u are in development) and in server or cloud storage, and save their name in database (in production mode). Dont save them in database, they will increase the size of db.
@buredabby
@buredabby Жыл бұрын
@@ravindradevrani yeah, there is hardly any tutorials on how to do it properly and the code seems to have changed for saving in a cloud since you can't use the memory method. Thanks for the tutorials!
@ravindradevrani
@ravindradevrani Жыл бұрын
Don't worry you will figure out eventually. Everything is much similiar in every type of .net core app. Do you think blazor is used in production. It's seems to me it's not there. Microsoft is trying to promote it, influencer are promoting it. But are they using it?
@mrt7948
@mrt7948 Жыл бұрын
that was good, for beginners. please do a master detail, that would be really helpful.
@razamzai
@razamzai Жыл бұрын
Amazing and clear.
@kubraaydn3451
@kubraaydn3451 10 ай бұрын
Merhaba hocam, benim export.razor ve export.razor.cs classim var.. export.razor.cs bir config classini miras alıyor yani ComponentBase'i değil. Export.razor içerisinde bu Config classi inherits ettim ama ne yazikki export.razor.cs den bir dynamic listi bu export.razor da kullanamıyorum. Ne yapmalıyım? Export.razor.cs Config i miras alıyor config ise ComponentBase i miras alıyor..
@mdsafikulislam7430
@mdsafikulislam7430 Жыл бұрын
Hello Sir, please make a project with Authentications & Authorizations.
@ravindradevrani
@ravindradevrani Жыл бұрын
I will try to make in future
@mdsafikulislam7430
@mdsafikulislam7430 Жыл бұрын
@@ravindradevrani Thanks in advanced! Please make employee management and API Projects
@cissemy
@cissemy Жыл бұрын
Thanks Can you add pagination and filter?
@ravindradevrani
@ravindradevrani Жыл бұрын
sorry... it's not possible for me to make changes in this project. But I will try to add one of these future in next blazor video, which I am planning to make in blazor wasm
@dhirenpathak
@dhirenpathak Жыл бұрын
Great
@dhirenpathak
@dhirenpathak Жыл бұрын
Tray to make more video on MAUI Blazor also
@ravindradevrani
@ravindradevrani Жыл бұрын
To be frank, right now,I dont have any knowledge of maui and I never made a mobile app in my life..thats one regret I dont like to make any false promises. May be in future I would like to try.. Maui and wpf related stuff. But don't have any plans yet..
@dhirenpathak
@dhirenpathak Жыл бұрын
@@ravindradevrani Ok No Problem But Can you Put Video Blazor Server CRUD using WEB API ????
@ravindradevrani
@ravindradevrani Жыл бұрын
I have already made a video on blazor wasm..That is using web api.. Blazor server is not much different from blazor wasm, You can use the same approach with blazor server. Checkout that video in blazor playlist.
@dhirenpathak
@dhirenpathak Жыл бұрын
Or can we use Entity Freamwork Core in MAUI Blazor ??? becz. we can use it in Blazor Server
@ravindradevrani
@ravindradevrani Жыл бұрын
I dont have any idea.. But blazor webassembly cant use ef core,only blazor server can. Check the microsoft docs..they should have mentioned
@raffaelecascella3916
@raffaelecascella3916 Жыл бұрын
Hello there I got this error: Error Number:2,State:0,Class:20 "A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)" Know how to solve?
@ravindradevrani
@ravindradevrani Жыл бұрын
seems like problem in connection string, provide correct server name, it should same as your sql server.. open sql management studio, at beginning it will prompt a dialog box, at top of it you can find the server name, use that server name in your connection string, "data source=your_server_name"
@raffaelecascella3916
@raffaelecascella3916 Жыл бұрын
​@@ravindradevrani thanks, I solved by simply modifying the conn string in json file like follows: "data source=localhost;initial catalog=BlazorCRUD;integrated security=true;TrustServerCertificate=True" Thank u!
@ravindradevrani
@ravindradevrani Жыл бұрын
👍
@uwejadick4550
@uwejadick4550 Жыл бұрын
Thank you for this tutorial. It is very helpful. I would rahter like to work with dapper to be able to connect to different databases and use stored procedures. But that would be one of the next steps anyway. Keep up the good work.
@ravindradevrani
@ravindradevrani Жыл бұрын
Yes dapper is good...sql gives more control. I have made few tutorials with dapper. You can check it, if you need.
@uwejadick4550
@uwejadick4550 Жыл бұрын
@@ravindradevrani Thank you. I will certainly do that.
@dotnetdevni
@dotnetdevni Жыл бұрын
Ur doing way to much code in ur razor should be subclass that out
@ravindradevrani
@ravindradevrani Жыл бұрын
Agree..
@ambreenalfarooq
@ambreenalfarooq Жыл бұрын
GET TO THE POINT!!!!!!!!!!!!!!!!
@uwejadick4550
@uwejadick4550 Жыл бұрын
I have an application with ef core that runs very well but as soon as i try to access one record the application crashes telling me that the table has no keys. According to SSMS both fields in that record are defined as keys. How can I change the class (definition of the entity) to get access to my table?
@ravindradevrani
@ravindradevrani Жыл бұрын
It seems to me that you have defined a key in database but not in model class for that table. Are you using a primary key made with multiple columns eg (Name, Address) or you are using single column (eg `Id`) as primary key. I hope you are not making primary key directly in database and generating it through migration commands. you can check this article: learn.microsoft.com/en-us/ef/core/modeling/keys?tabs=fluent-api
@uwejadick4550
@uwejadick4550 Жыл бұрын
@@ravindradevrani The table in the database was created via visual studio via migration and update-database, both fields in that table are defined as key fields. I can see that in SSMS. Meanwhile I found that I can use [key] before the first field in the class. But I can only declare one field as key field in C#, which is according to the table structure not correct.
@ravindradevrani
@ravindradevrani Жыл бұрын
m not sure, since i have not used two keys as a primary key ever. But it should have an option to create composite key.
@uwejadick4550
@uwejadick4550 Жыл бұрын
@@ravindradevrani I am not sure if I understand what you mean. I am trying to access the system generated tables AspNetUserRole but my application crashes because it has no keys. This error message is wrong because the table has two fields and both of them are created as keay fields.
@ravindradevrani
@ravindradevrani Жыл бұрын
Aspnetuserrole is auto generated table, it should have a primary key Id. Since it is not generated by you so there should not be any problem. I can't understand what's the issue here and why it has two keys.
Blazor WebAssembly CRUD, filter & pagination with .dot net 7 web api
2:02:36
Entity Framework Core + Blazor - Tutorial for Beginners
52:47
Nick Proud
Рет қаралды 20 М.
Family Love #funny #sigma
00:16
CRAZY GREAPA
Рет қаралды 25 МЛН
When mom gets home, but you're in rollerblades.
00:40
Daniel LaBelle
Рет қаралды 122 МЛН
CRUD with Blazor in .NET 7 🔥
43:35
Patrick God
Рет қаралды 29 М.
Making Minecraft 100x faster (by rewriting it in Rust)
17:02
Theo - t3․gg
Рет қаралды 37 М.
Why Your Job Rejections Aren’t Just Bad Luck
10:55
Marina Wyss - Gratitude Driven
Рет қаралды 277
.NET 7  💥 -  Blazor CRUD with Web API
1:36:25
Mohamad Lawand
Рет қаралды 20 М.