HRSC Document System Requirements
Added on - 16 Sep 2019
HRSC DocumentSystem Requirements to Run the Project●Any modern computer system●Visual Studio 2017 any edition●Sql server LocalDb●DotNet Framework 4.6 or above●Windows os 7 or above●Any Modern Browser example -chrome, firefox, IEInstructions to Run the Project●Moveto solution file●Open HRSC.sln file inside HRSC folder●Pressctrl+f5or clickdebug>start without debuggingto run●Navigate to different menus.●Admin username: Whitrow●Admin password: Password100000Software Architecture UsedHRSC is based on MVC software architecture. Code is categorised in model (POCO).Repository( Logic) Views(CSHTML pages) and Controllers that interact with cshtml andRepository and transfer data between them.MVC IN ASP.NET: In this section, you will get an overview of MVC architecture. The MVCarchitectural pattern has existed for a long time in software engineering. All most all thelanguages use MVC with slight variation, but conceptually it remains the same.Let's understand the MVC architecture in ASP.NET, MVC stands for Model, View andController. MVC separates application into three components - Model, View and Controller.
Model: Model represents shape of the data and business logic. It maintains the data of theapplication. Model objects retrieve and store model state in a database.Model is a data and business logic.View: View is a user interface. View display data using model to the user and also enables them tomodify the data.View is a User Interface.Controller: Controller handles the user request. Typically, user interact with View, which in-ternraises appropriate URL request, this request will be handled by a controller. The controllerrenders the appropriate view with the model data as a response.Controller is a request handler.The following figure illustrates the interaction between Model, View and Controller.MVC ArchitectureThe following figure illustrates the flow of the user's request in ASP.NET MVC.
○IdentityConfig.cs (Authentication code)○RouteConfig.cs (mvc route configuration)○Startup.Auth (startup configuration)●Model (POCO)○AccountViewModel.cs (User Account ViewModel Classes)○Corder.cs○Customer.cs○DatabaseContext.cs○Depot.cs○IdentityModel.cs○ManageViewModel.cs○Oline.cs○Product.cs○SalesRep.cs○Stock.cs○Supplier.cs●Repository○COrderRepo.cs (Corder database interaction)○CustRepo.cs (Customer database interaction)○DepotRepo.cs (Depot database interaction)○ProductRepo.cs (Product database interaction)○SalesRepRepo.cs (Product database interaction)○SupplierRepo (Product database interaction)●Controllers○HomeController.cs (Action methods for customer role)○ValuesController.cs (Action methods for admin and manager role)○AccountController.cs (User account related Action method)●Views