Hi! This project is to quickly get familiar with Asp.Net MVC.The basic point is to get familiar Asp.Net MVC some basic use,the homework is to check your result.
- Action Result
- Razor View
- Authorization
- Session
- Coookie
- Route
- Life Cycle
doc:https://www.jianshu.com/p/5f6156cacc76
You can search "basic points " in this project to finish it
code is in the BasicASP.NETMvc.Controllers.ActionResultController
TestCase is in the BasicASP.NETMvc.Controllers.Tests.ActionResultControllerTests
Please modify code and pass TestCase
doc: https://www.cnblogs.com/supersnowyao/archive/2018/01/15/8287775.html
BasicASP.NETMvc.Controllers.AuthController.Page() will be authorized in Basic point part
cshtml is in the BasicASP.NETMvc.Views.Auth
code is in the BasicASP.NETMvc.Controllers.RazorViewController
Please modify .cshtml and .cs files to achieve the desired effect
Reference doc:
https://www.cnblogs.com/JoeSnail/p/8250231.html
https://blog.csdn.net/slowlifes/article/details/79521680
code is in the BasicASP.NETMvc.Controllers.RouteController
Please modify cshtml files to achieve the desired effect
doc:
https://docs.microsoft.com/en-us/aspnet/mvc/overview/getting-started/lifecycle-of-an-aspnet-mvc-5-application
https://www.cnblogs.com/xiao-bei/p/5165884.html
I have fininshed all above at 2021-08-02
First,you should finish the task in the part of Basic Point
Then you can search "# homework " in this project to finish it
- You need to use the property 'MovieDBContext' of MoviesController to help you finish this homework,it can help you do some CRUD action
- You need to hack the authorization result page redirection, to jump to the homework movie index page
- You need to read data from local-db for display on the movies site
- You need to add a button for redirect create movie site
- You need to finish the create logic in action
- You need to finish the edit logic in action
- You need to finish the delete logic in action
- You need to add the search logic
- When you finish it ,you will have a simple movie manage system
- When you finish homework(1,2,3),you can see this page

- When you finish homework(4,5),you can see this site and create new movie data

- When you finish homework(6),the index site will be this

- When you finish homework(7),you can use the search
- When you have completed the homework, you can perform additions, deletions, and changes.