This is a two part application with ASP.NET Core MVC
and ASP.NET Core WebApi
.
MVC application calls the webapi for most of the business operations. MVC is mainly
used to server the dynamic front end to the user and from the user browser client
ajax
calls are made to the webapi for data retrieval.
No. | Name | GitHub |
---|---|---|
1. | Somdeep Jana | somdeepjana |
2. | Koustav Mishra | KKMishra1999 |
3. | Deepjyoti Basu | Sherlock2603 |
4. | Rahul Chatterjee | Rahul2698 |
Framework requierment:
ASP.NET 5
Visual studio 2019
- Start .sln solution file with VS2019.
- Set multistartup project and select API & MVC web.
Reason: the MVC application depends on web api.
- Click on run.
Default admin credentials are given below. you can change these in the
appsettings.json
of the webapi, you will find the file at
{BASE_DIRECTORY}/IPTreatmentManagement.Api/appsettings.json
"AdminCredentials": {
"UserName": "admin",
"Password": "Pas$w0rd"
}
-
The MVC application depends on the web api so it needs the running api's url endpoint. API endpoint URL can be provided to the MVC application through
appsettings.json
. look for the below line in{BASE_DIRECTORY}/IPTreatmentManagement.Web/appsettings.json
."IPTreatmentManagement": { "Api": { "BaseUrl": "https://localhost:44345" } }
-
MVC application depends on some js libraries which are not provided in the shipping package for smaller distribution size. By default these packages will be restored on build if you use the vs2019 build option. we are using libman for managing client side packages. you can find the list of client side packages at
{BASE_DIRECTORY}/IPTreatmentManagement.Web/libman.json
. The packages are installed at{BASE_DIRECTORY}/IPTreatmentManagement.Web/wwwroot/lib
.bootstrap
,JQuery
,jquery-validation
andjquery-validation-unobtrusive
packages are provided with the deployment packages.