SFB Web API is the first initial implementation in providing the Department of Education's products a micro-service oriented architectural approach.
This service has decoupled existing functionality, upgraded the framework infrastructure using .Net Core in addition to decoupled reusable functionality into Nuget packages and referenced them through this Web API service.
The API has been integrated into the existing SFB infrastructure and is being consumed through a number of UI implementations.
Additional consolidation and functional specification is in progress.
Install the prerequisites:
- .NET 6
- Docker
You will also need to authenticate with Azure DevOps in order to resolve packages from the private package feed.
Right-click on project in Visual Studio and select Manage User Secrets or in Rider, click Tools > Manage .NET Secrets. Populate the following in the secrets.json
file:
{
"Secrets:endpoint": "https://cm-t1dv-sfb.documents.azure.com:443/",
"Secrets:authkey": "•••",
"Secrets:database": "sfb-dev",
"Secrets:emCollection": "20210318000000-EM-2021-2022",
"Secrets:sadCollection": "SADBandingTest",
"Secrets:redisConnectionString": "127.0.0.1:6379",
"Secrets:sadSizeLookupCollection": "SizelookupTest",
"Secrets:sadFSMLookupCollection": "FSMlookupTest",
"Secrets:cosmosConnectionMode": "Gateway"
}
To start the local Redis container run:
docker-compose up