The solution is written in C# using the .NET 6.0 and uses EntityFramework 6.0.4.
A jenkins pipeline deploys docker containers accessible through nginx reverse proxy. The applications are hosted in the containers by the Kestrel Web server.
It is a razor page project.
- Smart.FA.Catalog.Shared
- Smart.FA.Catalog.Showcase.Domain
- Smart.FA.Catalog.Showcase.Infrastructure
- Smart.FA.Catalog.Showcase.Localization
Showcase uses SMart database running on Microsoft SQL Server. It can be accessed via Microsoft SQL Server Management Studio with Active Directory Windows authentication (sometimes also called Integrated security or Trusted connection).
Environment | SQL Server |
---|---|
production | SERVSQL3 |
stage | SRVWSTGSQL\SQLSTG |
Showcase uses sql views :
- [Cfa].[v_TrainerDetails]
- [Cfa].[v_TrainerList]
- [Cfa].[v_TrainingDetails]
- [Cfa].[v_TrainingList]
All scripts can be found in Smart.FA.Catalog.Showcase.Infrastructure.Data.Scripts
Showcase is manually deployed through Jenkins.
Environment | URL |
---|---|
stage | [COOP-STAGE/job/smart-cfa.STAGE] (https://jenkins.smartbe.be/view/stage/job/COOP-STAGE/job/smart-cfa.STAGE/) |
prod | [COOP-PROD/job/smart-cfa.PROD] (https://jenkins.smartbe.be/view/production/job/COOP-PROD/job/smart-cfa.PROD/) |
In the Showcase LaunchSettings.json file, edit the environment to use (this will affect target databases and
services. The possible values are Development
, PreProduction
, Production
:
"profiles": {
"Smart.FA.Catalog.Showcase.Web": {
[...]
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
},
"IIS Express": {
[...]
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
Debugging is possible through breakpoints with your preferred IDE (Visual Studio, Rider, ...).
W>hen running the app in Local
local, we cannot access PreProduction
or Production
environments.
The domain credentials must have permission to PreProduction
or Production
environments in order to connect to DB.
Each environment is accessible on their domains:
Environment | Web service domain |
---|---|
production | learning.smart.coop |
stage | learning-stage.smartcoop.dev |
local | localhost:7019; localhost:5019 |
#Users and rights
Application has no special rights.