This is the base code that will be used during the bridge and jumpstart program.
- Open the
.sln
file. ※Use Visual Studio 2022 - Change connection strings on the
appsettings.json
base on your server - Set
ASI.Basecode.WebApp
as the Startup project. - Clean and ReBuild the solution.
ASI.Basecode.Data
- This project contains the repositories and other logics that involves with database.
- Make sure that the repository is for db processing only.
- If it involves additional logic, move the logic into the service file.
ASI.Basecode.Resources
- This project is dedicated to storing messages, labels, and other resources used by the website.
- It serves as a centralized location for managing static content that is displayed to users.
- Store all messages, labels, translations, and any non-code assets required for the site in this project.
ASI.Basecode.Services
- This project contains the services and other processing logics before connecting to the repository.
- This can also contains classes that can be use by the WebApp project with/without db processing.
ASI.Basecode.WebApp
- This project contains the main codes especially the
Controllers
andViews
. - This is where you put the connection logic to the APIs.
- Make sure that the controllers are clean and no other logic should involve.
- If it involves additional logic, move the logic into the service file.
- This project contains the main codes especially the