This is a practice project for ASP.NET MVC4 (moved here from repo from old github account, https://github.com/jboyflaga/StudInfoSys.AspNetMvc4)
NOTE (August 18, 2020): To be able to run the project, you need to download and install SQLServer Express 2012 LocalDb from https://www.sqlshack.com/install-microsoft-sql-server-express-localdb/ (the file named SqlLocalDB.MSI
, the one with a size of 33.0 MB)
NOTE2 (August 18, 2020): This was the project I submitted to show that I can code when I applied for my second job :)
-
Repository and Unit of Work patterns
I created a repository interface and a repository class for each entity type in the model
I also created a generic RepositoryBase class which contains concrete implementations of the methods that are common in all repository classes - defined in Irepository interface
-
I used StructureMap as my Dependency Injection Container
-
I used Moq to create mocks in my unit tests
-
I defined ViewModels and used them in creating or editing entity objects to prevent overposting attacks