goo.gl/bPcyXW : Buy me a Coffee bit.ly/36IA1cH : Latest Video on This Same Topic bit.ly/3muhseC : CRUD without EF in AspNet Core MVC bit.ly/3Pn2S7y : Expense Tracker App in AspNet Core MVC bit.ly/403lUVC : MVC Login & User Registration bit.ly/2yEPlpB : Convert MVC App to Single Page bit.ly/39B6xdh : Image Upload in AspNet Core MVC bit.ly/3MkPZex : A to Z about AspNet Core Identity with .Net Core API
@blackclover55616 жыл бұрын
Can you please show us how to make and use Data Transfer Objects and actually explain them how they work? Greetings from Macedonia!
@sayedbintaher26642 жыл бұрын
I was given an assignment for the job I applied to and I had no experience with C# before. Glad I got this video. Thanks alot for uploading a detailed CRUD video.
@ngocthinh39354 жыл бұрын
first all of. I am really thank you for your video. I am a third-year student in VietNam and I am starting learning dotnet core mvc web application. so I really appreciate your video and this very helpful for me. Thank you for creating an excellent course
@peytonnaomi4 жыл бұрын
This was an excellent course. Thank you for explaining the reason behind the code to bring all the concepts together. I've paid for courses that were not this well thought out. Awesome job!
@CodAffection4 жыл бұрын
Thanks for the wonderful feedback.
@default6325 жыл бұрын
Your accent is very clear sir, good job. And you explain nicely
@mihaistoian_5 жыл бұрын
Thank you very much! This video helped me pass my Web Applications Design lab exam. It is very hard to find a good and really helpfully video like this. Thank you again!
@milyyybarrrr92164 жыл бұрын
Thank you very much!!! I would be very happy if you were my teacher! You explain very well and you follow the logic of code construction. Continue to do like this!
@CodAffection4 жыл бұрын
Glad I could help! Thanks for your wonderful feedback.
@gaganmudvari15535 жыл бұрын
thank you for this mvc core with EF core Crud operation. please make series of this mvc core . thanks alot for this. waiting for your complete series of this MVC core 2 series. god bless you. takecare
@مطورويب-ش7د6 жыл бұрын
Thanks a lot . we need more in .net core and angular
@CodAffection6 жыл бұрын
sure. I'm working on it.
@ShivamSingh-wh9jj5 жыл бұрын
@@CodAffection I'm waiting for it
@CodAffection5 жыл бұрын
@@ShivamSingh-wh9jj don't you get the notification about my yesterday video - angular inline table editing
@ShivamSingh-wh9jj5 жыл бұрын
@@CodAffection Oh sorry 😅
@kvsnvsnk29693 жыл бұрын
thanks! sir for the awesome very useful video on asp.net ef core, very clear and immaculate presentation
@jonathanascano3 жыл бұрын
Please keep making videos, This helps a lot. Thank you
@bhaskarmanna80774 жыл бұрын
thank you so much sir, this is an awesome tutorial on .net core
@sourabhpanchal98196 жыл бұрын
This tutorial is awesome .... please record full .net core tutorial session .. Thanks a lot for this tutorial
@CodAffection6 жыл бұрын
Glad you found the tutorial helpful.
@jackfrost89693 жыл бұрын
if you are using .net core 3 then you will need these two extra packages: Microsoft.EntityFrameworkCore.SqlServer -> to use UseSqlServer Microsoft.EntityFrameworkCore.Tools -> to use migration commands It's a hassle with all these new versions. To save youself from potential errors just install these packages before beginning the tutorial.
@raymondorenda73854 жыл бұрын
Nice Video there. Please upload videos on ways to add new column or delete one dynamically with MVC without having to recode the view model.
@kjin38265 жыл бұрын
Thank you so much for the good tutorial! Keep up the awesome work
@Foodie3635 жыл бұрын
Code affection u r legend! and those who are using Core 3.0 guys u need to install Microsoft.EntityFrameworkCore.Tools at nuget package mangers
@abdullaalblooshi24065 жыл бұрын
I think no need, it was already installed for me
@cedricparfait48545 жыл бұрын
Really Helpful thank you very much for this clear explanation, hope for more videos
@BladeSlayerr5 жыл бұрын
You've possibly saved my project :). i tried to do this using your other video on MVc Framework, but i was so confused on what to do and where. thank you so much.
@CodAffection5 жыл бұрын
thanks for your wonderful feedback.
@savyayadav1915 жыл бұрын
Thank you so much for this video. it's awesome for MVC beginners.
@CodAffection5 жыл бұрын
glad you found the video helpful.
@hiraawan34304 жыл бұрын
great video. I created my first project so easily..
@CodAffection4 жыл бұрын
Keep it up
@omarayub12955 жыл бұрын
Brilliant Good Going bro...learned a lot thanks.......
@kuldeepnarayanminj3 жыл бұрын
Thankyou so much, one of the best tutorial out there.
@CodAffection3 жыл бұрын
Glad you think so!
@frankponte72615 жыл бұрын
Excellent! You helped me to begin work with this framework. Thank you!!!!
@CodAffection5 жыл бұрын
thanks for the comment. glad you found it helpful.
@smirceageorge50575 жыл бұрын
Real nice mate! I appreciate your videos a lot!
@AdityaSingh-yb3ii3 жыл бұрын
Wonderful explanation. Thank you
@FranciscoBurgos303 жыл бұрын
Hi! Excelent tutorial. But I've a Question. What happend if I've a project with identity and alredy exist an authDBContext and SQL DB? we will work with separately DB and conext or we use de same DB with a new context?
@CodAffection3 жыл бұрын
Not tried the same DB with multiple contexts. if you are using a single DB for both, it would be better not to create more than one DB context. might be a problem with the concurrent operation (not sure). If you are keeping separate DBs, then you must need two separate contexts. you can avoid mixing identity tables with yours. but you also need to consider the expense it comes with - cost, ram usage, separate backup schedule, etc. Use one DB and one context if you developing a smaller application. if you don't want to mix the table with identity and you are fine with extra works, you can have two DBs. Following StackOverflow, Answers might be helpful. stackoverflow.com/a/24712033/4133590 stackoverflow.com/a/50379005/4133590
@nournote5 жыл бұрын
Again, very instructive. Just excellent! Can you please another project with: - roles and permissions management, preferably Active Directory based as it is the most in use in corporate environment - master-detail Thanks again. PS. A cup of coffee :)
@saifchamsi84125 жыл бұрын
Thank you so much we want more content with this quality
@CodAffection5 жыл бұрын
sure.
@DmitriMironov4 жыл бұрын
@@CodAffection I'd like to thank you so much. For sharing this onformation. Please keep recording new videos. I follow your tutorials and put the project on a github
@agustinmoragues1914 жыл бұрын
Watchout on 19:37. I think it is an edition mistake. The 'TypeName' suddenly disappears. Must go on each attribute.
@omarbousbia69165 жыл бұрын
thank you so much, good and simple and straight forward tutorial
@CodAffection5 жыл бұрын
thanks for the comment .let me know if you have any video suggestion in asp.net core.
@ahmedshaabanelbehairy84174 жыл бұрын
I love all of your tutorials, You Have a great Work, Thank You
@CodAffection4 жыл бұрын
Glad you like them!
@shauncs4 жыл бұрын
Simply explained. Appreciate your effort. Thanks!
@SYO1Star5 жыл бұрын
Hey I think the create database part, you jump into the "microsoft SQL Server Management Studio" without showing how you actually connect to that?
@peytonnaomi4 жыл бұрын
He covered how to connect to SQL server near the beginning of the video around the 12 min mark
@osempo5 жыл бұрын
Thanks a lot, well explained and very wasy to understand. Im now subscribed and hope you upload some more ASP.NET Core tutorials.
@CodAffection5 жыл бұрын
Sure.
@zhouleeke87063 жыл бұрын
AddorEdit function is really useful.
@AshProgHelp5 жыл бұрын
very helpful video. clear to understand.
@lukehoKim6 жыл бұрын
Very NICE tutorial. Thanks a lot.
@CodAffection6 жыл бұрын
Glad you found the video helpful.
@roshanzaid7654 жыл бұрын
This man is marvelous.
@MartinFarouk4 жыл бұрын
Hi, Thanks for that useful & helpful content. But I have one question; while adding Employee.Controller (scaffholding) in 23:30; It always comes up with error "Package restore failed. Rolling back package changes...". I tried some online solutions but nothing worked out hence I am still stuck at that point. If you may help in that It would be great. Thanks again.
@coolnavjot312 жыл бұрын
Good explaination thank you
@ammarmahmoud44226 жыл бұрын
Can you share video haw to create USER with permission roles
@thobanishezi29564 жыл бұрын
Did you found help?
@MauroBernal4 жыл бұрын
You have one example?
@venkateshsana8895 жыл бұрын
i am not using any sql servers in my local pc. now while creating the DB we are unable create the tables so which DB we have to prefer according to the above video and what DB we have to install for the mvc
@nickeax5 жыл бұрын
Thank you very much CodAffection, you have been a huge help!
@elhaftaabdelaziz72725 жыл бұрын
Awesome tutorial thank you , can you publish Asp.Net Core MVC Web App CRUD with EF Core and modal bootstrap ??
@azadabdullahshaheed6 жыл бұрын
ASP.NET Core MVC and ASP.NET Core Razor are the same? Can I only learning ASP.NET Core MVC?
@mubassiruddinfurqhan1874 жыл бұрын
even after getting nuGet package Microsoft.EntityFrameworkCore.Tools, when I iplement the concept shown at 20:58 I see this PM> Add-Migration "InitialCreate" Build started... Build failed. PM>
@MrMubasit5 жыл бұрын
Excellent Tutorials . its Simple to understand nice work May God bless you. May we build complete simple website with some basic functionalities using Asp Core.
@CodAffection5 жыл бұрын
I will try that with a practical example.
@vikaswilliam34074 жыл бұрын
nice video...will try it soon..
@muralidharan44375 жыл бұрын
thanks for the Awesome Tutorial
@MauroBernal4 жыл бұрын
Hi. You are best!! One question: I usually have the result of the entity framework in one layer (AppData), then the CRUD in a different layer (Models), and in the controller call the model to perform the actions of the Crud. This allows me to separate the logics, and not give it a function that does not correspond to the controller such as directly calling the context such as to delete the record. In the same way then I can call the model from another controller, which saves me code. Now I see your video, and from experience I see that many programmers put the CRUD in the controller. Wouldn't this be wrong?
@uwebraun88934 жыл бұрын
Beautiful clarity
@loveyoukrishna24105 жыл бұрын
Thanks for such a great video . At 8.00 you have told only code first approach is available for ef core, i think we can use db first approach too.
@CodAffection5 жыл бұрын
sorry for that. thanks for watching and commenting the video.
@Naughty5953 жыл бұрын
Super explained. Thanks for the great effort! Would like know if the font-awesome has autocomplete & preview in VS 2019 ?
@muftaract3 жыл бұрын
One of the bests. Thanks
@МаксЛеонов-е6ж2 жыл бұрын
Impressive, very nice.
@manolisgkoulias82904 жыл бұрын
Man your videos are great!
@ManushaAmal3 жыл бұрын
Thank you soo much
@bluerose2344 жыл бұрын
At 12:39 Can I add 'localhost' as Server ???
@Pakistaniwheelers4 жыл бұрын
At 9:41. Alt ctrl what is the third key
@CodAffection4 жыл бұрын
It is a snippet 'ctor' for class constructor. then just hit 'Tab'. did I answer your question?
@daalwada5 жыл бұрын
Great Explanation sir!
@chiku0176754 жыл бұрын
Thanks for the video.
@himadrisenapu25435 жыл бұрын
In Package Manege Console i write update-database+Enter. But my database is not created and this error message is coming. Error Message: 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: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) What will i do now. Please replay me
@saulgamba15 жыл бұрын
You have the services of SQL Server down or stringconnection is wrong
@starwarriorsZ5 жыл бұрын
I had this error as well, make sure you have sql server installed and make sure the connection string is correct for the database you're trying to connect to
@hendroprasetyo9305 жыл бұрын
same with this problem, i sure SQL Server running n string connection is correct, but still failed
@SYO1Star5 жыл бұрын
same here. same error. I cannot continue from here. I think somehting wrong with the connection string "DevConnection": "Server=(local)\\sqlexpress;Database=EmployeeDB;Trusted_Connection=True;MultipleActiveResultSets=True;"
@SYO1Star5 жыл бұрын
I had fixed it This is what i did. I downloaded Microsoft SQL Server Management Studio 1. I run it and it by default connect to something called the 'DESKTOP-ROB3NFJ\TEW_SQLEXPRESS' 2. I go to appsettings.json 3. this tutorial tell us to type "ConnectionStrings": { "DevConnection": "Server=(local)sqlexpress;Database=EmployeeDB;Trusted_Connection=True;MultipleActiveResultSets=True;" 4. I change it to "ConnectionStrings": { "DevConnection": "Server=DESKTOP-ROB3NFJ\\TEW_SQLEXPRESS;Database=EmployeeDB;Trusted_Connection=True;MultipleActiveResultSets=True;" and then i did a update-database at package console manager
@PraveenKumar-ft2kr4 жыл бұрын
Awesome 👌👌
@MrWasap.4 жыл бұрын
in the controller, if i want to create a method to return a filter register. how i can do it? ill try .where(p => p.idOthers == id) id is from parameter.
@honeesh16 жыл бұрын
Thank you so much Again thank you from the depths
@shubhamkGupta4 жыл бұрын
Hi, I really appreciate your efforts and love to learn. I request you to please upload some videos using macOS and VS2019 to build an asp.net core or asp.net MVC application. As I am using macOS and there is so much different from windows. I cannot use the MSSQL in macOS. please do the needful... waiting for your positive reply... Thank you in advance!
@tuck5825 жыл бұрын
Why no HTTPS when creating the project? Just curious.
@lukanesek40644 жыл бұрын
would also like to know that
@rayenoueslati88244 жыл бұрын
it worked perfectly , thanks a lot
@gandhisanket164 жыл бұрын
This is very usefull example, Can you show me same example with master and details database.
@notonurnelly4 жыл бұрын
Hi CodAffection, Thank you for this tutorial everything was going great until Minute 20:58 and I get the following error PM> Add-Migration "InitialCreate" Add-Migration : The term 'Add-Migration' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1 + Add-Migration "InitialCreate" + ~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (Add-Migration:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException I am using Visual Studio 2019 - Can Anyone Help??
@nhemgomia10104 жыл бұрын
Get the nuGet package Microsoft.EntityFrameworkCore.Tools
@mubassiruddinfurqhan1874 жыл бұрын
@@nhemgomia1010 even after getting that package it shows this way PM> Add-Migration "InitialCreate" Build started... Build failed. PM>
@sujeewanandhsathasivam52395 жыл бұрын
Thank you and all the best!
@MrMaksuz5 жыл бұрын
Question: When user click on edit, AddOrEdit action will send employee object to the AddOrEdit view right ? how does AddOrEdit view knows how to insert data in form fields ? also how do we get user id when we first click ? i dont get this asp-route-id="@item.EmployeeId" line... thx upfront
@MrMaksuz5 жыл бұрын
how i see it: //Click -> id(tableItemField) -> AddOrEdit -> View(Employee[id] -> AddOrEdit*view -> (use Employee instance ojb) fill data. //Submit -> AddOrEdit*action -> bind data from fields -> to Employee obj -> save... How does controller know when to use AddOrEdit(int) and when to use AddOrEdit(Employee)... ?
@mappingthedots27843 жыл бұрын
Hey, I am getting the below error while running the command "Update-Database" "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: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified
@МаксИльин-в3ф5 жыл бұрын
Hi, I have a question: is there or will there be an example where only the administrator can edit or delete the created entries, such as in this video? ty
@securenet26753 жыл бұрын
On adding emoloyeeController views with EF.. it shows error ''couldnot load file or assembly Microsoft.bcl.asyncInterfaces "?? Can u please help me out
@fabiofocking3825 жыл бұрын
Thank you so much! nice tutorial. well explained !
@ndabenhlesithole44573 жыл бұрын
Evening this video was so insightful thank you very much. I’m working on a school project we’re required to develop a well functioning system. I’ve come across an an error that says “the model item passed into the ViewDataDictionary is of type ‘practiceECD.Program’ but this ViewDataDictionary instance requires a model item of type ‘practiceECD.Models.Program’ Can you please help me solve this error
@alexpetruco13483 жыл бұрын
you Great Man Thank you so much
@agustinmoragues1914 жыл бұрын
Great video man! You helped me understand the basics of Injection!!! Is there any exercise book you recommend me for practising?
@itissahithi3 жыл бұрын
When I tried creating a asp.net core application, the page where we need to select MVC did not show to me. As an alternative, what can I do?
@tuck5825 жыл бұрын
Why not build models, then scaffold with reference to the context, and then migrate/update via that context? Most of what you did in the first 20 minutes is done automatically if that convention is followed. It will build DB, update Db via context, modify appsettings, and I believe it modifies Startup too. Are you trying to avoid automation to better demonstrate dependency injection?
@CodAffection5 жыл бұрын
yes I was trying to show what actually happens during DI.
@tuck5825 жыл бұрын
@@CodAffection I see, you did a perfect job in that case! Just wanted to make sure. Thank you for publishing your videos. There are not many .Net/Angular experts with good content on KZbin :)
@ramkumar123443213 жыл бұрын
How to implement ADFS SAML Assertion Consumer with Redirct binding in .net core razor pages application? Please help
@cariyaputta5 жыл бұрын
Thanks you so much. You're a savior!
@shalukrishnan54465 жыл бұрын
Great job ...Sir can you describe and give example of ViewModel and Repository in MVC core using Database first approach
@ronaldjohnson44705 жыл бұрын
Awesome tutorial, thank you.
@hakannyildirim5 жыл бұрын
You are big man Thnaks For all.
@NevasSridhar4 жыл бұрын
Thanks for the tutorial it was very helpful. If I need another entity in the same project called "Student" should I create a StudentContext similar to Employee Context?
@humbertosilvabarros38276 жыл бұрын
Best 1080p60 resolution.👍
@humbertosilvabarros38276 жыл бұрын
Thank you very much.
@zeuz39614 жыл бұрын
Any similar tutorial but Database approach first?
@nirajzambad71424 жыл бұрын
Hi Sir, I am very good at Asp.net c#, HTML , SQL Server but now i want to learn Asp.net core. I don't know abcd of MVC and .net core so my question is does it require ASP.NET MVC before starting .NET CORE? If not required, please tell me the process i must follow to learn .Net Core in fast and easy way. I tried to look into your video, tutorials from your website but not getting controller and other few concepts. Please let me know
@sebastiancadena4854 жыл бұрын
You can create a simple Hello World console application tha doesn't use MVC pattern. Follow this link: docs.microsoft.com/en-us/dotnet/core/tutorials/with-visual-studio
@davidwolfhart5 жыл бұрын
Thank you for your great tutorial.
@patasmajeris3 жыл бұрын
Guys, the delete function was run via the get method. Isn’t that very unsafe?
@derekj5005 жыл бұрын
Thanks Sir. This video is really helpfull!!!
@maksimoski5 жыл бұрын
Can we use the same db as you?
@prathamk33585 жыл бұрын
when I try to connect .net core API to .net core web, I got 502 error connection refused. can you please suggest me.
@dkyosk75016 жыл бұрын
This is a great tutorial, thanks. As a follow up, can you show how to do identity and token-based authentication that may involve web api or just asp.net core identity?
@CodAffection6 жыл бұрын
already done that with asp.net web api and angular sign up : kzbin.info/www/bejne/nmmYkHqKa5d-bKM sign in : kzbin.info/www/bejne/m2mlnYiIo5uGfM0 may be I'll do that with asp.net core web api. I'm not sure about the schedule.
@dkyosk75016 жыл бұрын
@@CodAffection thanks, doing it in asp.ner core will be great, the angular 5 approach has a deprecated {Response}.
@prometec48284 жыл бұрын
Dropdownlist in this form will be great. I have many doubt about o dropdonlist in asp net core. Please help us.
@mettlus4 жыл бұрын
What about if you have an existing Db
@THWUFAILUZAMAN4 жыл бұрын
Hi iam getting the below error after the command 'Update-Database', can u pls someone help me with this issue 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: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)