Skip to content

uk-gov-mirror/SkillsFundingAgency.das-public-sector-reporting

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

Digital Aprenticeship Service

Public sector reporting

Developer Setup

Requirements

  1. Install [Visual Studio] with these workloads:
    • ASP.NET and web development
    • Azure development
    • .NET desktop development
  2. Install [SQL Server Management Studio]
  3. Install [Azure Storage Explorer]
  4. Administator Access
  5. Optional - Install Redis (please configure session storage as applicable)

Setup

Open the solution
  • Open Visual Studio as an administrator
  • Open the solution
  • Set SFA.DAS.PSRService.Web as the startup project
  • Running the solution will launch the site in your browser
Publish the databases

Steps:

  • Right click on the db project in the solution explorer (SFA.DAS.PSRService.Database)
  • Click on publish menu item
  • Click the edit button
  • Select Local > ProjectsV13
  • Add the project name in again as the Database name (i.e. SFA.DAS.PSRService.Database)
  • Click publish
Add configuration to Azure Storage Emulator

The configuration is loaded from azure table storage.

  • Run the Azure Storage Emulator
  • Clone the das-employer-config repository
  • Clone the das-employer-config-updater repository
  • Run the das-employer-config-updater console application and follow the instructions to import the config from the das-employer-config directory
  • Populate the employer account api config section of the config in table storage. Values will need to be obtained from devops for the environment of the account you wish to login with. Otherwise the account api could be run locally from das-employerapprenticeshipservice repository.

The two repos above are private. If the links appear to be dead make sure you are logged into github with an account that has access to these (i.e. that you are part of the Skills Funding Agency Team organization).

How to configure session storage

There are two different storage for session information which can be configured by editing the config stored in Azure Storage. The two options are:

  • 'Default' - This stores all session data in cookies. This can cause issues when using internet explorer due to the cookie length exceeding the maximum length
  • 'Redis' - This stores the session in the Redis cache and stores a pointer to the Redis data in the cookie, reducing the cookie size significantly.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 60.6%
  • CSS 23.2%
  • HTML 6.4%
  • JavaScript 5.1%
  • Gherkin 3.7%
  • TSQL 1.0%