SchoolAccount-Connect is an ASP.NET Core web application that provides the public-facing frontend for the DfE School Account service. It handles user authentication via DfE Sign In and acts as the primary entry point for schools interacting with the platform.
Follow these steps to start the web application locally.
-
Install prerequisites — see Prerequisites for detailed instructions:
- Docker Desktop
- Rider or Visual Studio Code
- .NET 10 SDK
- Related repositories checked out alongside this one
-
Run the appropriate initialization script for your OS. This installs dotnet tools, generates SSL certificates, downloads the DfE VPN root CA, and sets up your
DEV_PAT:macOS / Linux Windows PowerShell ./init.sh.\init.ps1You will be prompted for a Personal Access Token (PAT) if
DEV_PATis not already set in your environment. The script will persist it to your shell profile for future sessions. See Personal Access Token for instructions on generating one. -
Starting the app in Rider:
-
Open the project in Rider
-
Use Rider's run configurations from the toolbar
-
-
Once running, the application is available at
https://localhost:7034/ -
Debugging guidance:
- Set breakpoints in your C# files under
src/SchoolAccount.Web.Connectany of the above run configurations will automatically start the app with debugging enabled. - Structured logs are available in Seq at
http://localhost:5341when running via Compound run configurations.
- Set breakpoints in your C# files under
Use the .NET CLI to build or test the application.
-
To build locally:
dotnet build
-
To run all tests:
dotnet test -
To run a specific test project:
dotnet test tests/SchoolAccount.Application.UnitTests


