Reynald takes us through the step by step by process of creating a simple MVC project that will be responsible for maintaining a database of students and faculty members. The purpose is to get a basic idea of all the files Visual Studio’s MVC framework generates by default for us before any repository pattern is applied.
- [Voiceover] In the discussion we're gonna have…about applying the repository pattern,…we're going to be looking at an existing MVC application.…The project has lots of files automatically generated…after using Visual Studio to set it up.…So that you're familiar with them,…let's go ahead and create one now.…It'll be a project that maintains…a list of students and faculty…in a database with basic operations…to create, read, update, and delete records.…So let's go to File and start a new Project.…
Make sure that Web is selected under Visual C#,…and then, we choose ASP.NET Web Application.…Let's give the project the name…of StudentDb and click OK.…In the next window, make sure that we select MVC…and that nothing else is selected under it…besides the default MVC, which would be…automatically selected, and on the right-hand side,…confirm that Host in the cloud is not checked.…
Then, for Change Authentication,…make sure that we select No Authentication.…Then click OK and OK move on.…Visual Studio will start generating the project.…
In this course, developer and technologist Reynald Adolphe explains the purpose and effective use of eight design patterns, including six Gang of Four design patterns and two .NET patterns. Gang of Four patterns fall under three categories: structural, creational, and behavioral. Reynald helps you learn about select patterns from each category. He describes each pattern and demonstrates how programmers can leverage them in real-world applications.
- Factory Method
- Abstract Factory
- Singleton pattern
- Decorator pattern
- Iterator pattern
- Observer pattern
- Repository pattern
- Unit of Work pattern
Skill Level Intermediate
2. Factory Method
3. Abstract Factory
4. Singleton Pattern
5. Decorator Pattern
6. Iterator Pattern
7. Observer Pattern
8. Repository Pattern
9. Unit of Work Pattern
Convert to Unit of Work3m 53s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.