Making a Web ToDo List with ASP.NET MVC - Part 2

preview_player
Показать описание
In this video we start building controller classes for our web application. We also add logic to ensure users only see the ToDo lists they have created.

Рекомендации по теме
Комментарии
Автор

These tutorials has been a very helpful to me. Straight forward and very informative. I needed this. Went through 3-4 different resources, in essence waisting my time to figure out how to link my databases and make my asp.net mvc database driven and user specific. I had the database driven part down but making it user specific troubled me. Your videos bridged the gap and will benefit me for years to come! Exciting. Thank you!

jimcab
Автор

OMG!!! Still saving Frustrated beginners in 2021 trying to figure out how to link the User to whatever Model we need to link together in our database tables!! Thank you so much for this!!
Earned an auto subscription from me Dr. Walton!

shollymore
Автор

One of the best explanations paired with overall functionality from a tutorial. so good.

tuckerward
Автор

I really appreciate your tutorials, very well explained, I understand 100% of what you're explaining and can follow easily, i'll keep going trough all parts of this tutorials! Added you to my youtube "follow" list! Thanks!

raphjutras
Автор

This is awesome! Totally helpful! Hope I can get through the rest!

Cfernando
Автор

Your doing really well. I enjoyed your videos. Keep making more, Thumbs up.

davidssezibwa
Автор

wow awesome ..very helpful information ..thank you!!

zamiachowdhury
Автор

Hey Pill, thank you very much for these tutorials :-) Currently studying Advanced Programming in University, and we need to develop web app. Before working on my assignment I am watching your tutorial. Just finished Part 2 :D . Some tips: Add a water mark to your videos, you can do so from the Creators Studio, also, if we would see your face in the top right corner, that might be more engaging and bring more subscribers.

Good luck!!

OrSNCucumber
Автор

Additional information: Multiple object sets per type are not supported. The object sets 'ToDos' and 'ToDoes' can both contain instances of type 'ToDoList.Models.ToDo'.

oleglarionov
Автор

Nice tutorials I love them. Since I am quite new I am a bit confused, it's seems to me that that there is way to much features already created when you start the project. Is it good, is it bad ?

ahmadinejad
Автор

Hi, can you get some advice, when run the project I have such exception

oleglarionov
Автор

Great Video, there barely Video tutorials on this

yoboicliff
Автор

Ok, I understood why I have had such exception, when we did migration and added DbSet<ToDo> ToDos { get; set; } at IdentityModel, visual studio automatically created another DBSet connection - public ToDoes { get; set; }, that`s why I`ve got exception. I just commented it, and it`s works.

oleglarionov
Автор

While trying to repeat code samples from your video, I have error in following code:
public ActionResult Index()
{
string currentUserId = User.Identity.GetUserId();
ApplicationUser currentUser = db.Pages.FirstOrDefault
(x => x.Id == currentUserId); //<-error in this string
return => x.User == currentUser));
}
My system configuration:
MS Visual Studio 2015
Please, help me.

СергійДмитрієв-хх
Автор

Hello Sean !!
Your videos are pretty good and informative.
A quick question - why did you add the User property in ToDo model as an ApplicationUser type ? We ultimately want to link each ToDo item to a user id, so wont a string do ? Also, this can save us from writing the extra bit of code in controller where we are retrieving the User object from the current user id.

pavantej
welcome to shbcf.ru