Skip to content

Latest commit

 

History

History
73 lines (54 loc) · 3.93 KB

HELP.md

File metadata and controls

73 lines (54 loc) · 3.93 KB

To get started, clone the source code

1. Create a folder called CDR
2. Navigate to this folder
3. Clone the repo as a subfolder of this folder using the following command;
4. Install the required certificates. See certificate details here.
5. Start the projects in the solution, can be done in multiple ways, examples below are from .Net command line and using MS Visual Studio

.Net command line

1. Download and install the free MS Windows Terminal
2. Use the Start-Register batch file to build and run the required projects to start the Mock Register,
this will create the LocalDB instance by default and seed the database with the supplied sample data.

Start projects from .Net CLI

LocalDB is installed as part of MS Visual Studio if using MS VSCode then adding the MS SQL extension includes the LocalDB Instance.

You can connect to the database from MS Visual Studio using the SQL Explorer, or from MS SQL Server Management Studio (SSMS) using the following settings;
Server type: Database Engine
Server name: (LocalDB)\MSSQLLocalDB
Authentication: Windows Authentication

MS Visual Studio

To launch the application using MS Visual Studio, multiple projects must be selected in the solution properties.

Solution properties

1. Navigate to the solution properties.

Projects selected to be started

2. From there select the projects to start.

Start the projects

3. Then start the projects.

Projects running

Output windows will be launched for each of the projects set to start.
These will show the logging messages as sent to the console in each of the running projects.

Debugging the running projects using MS Visual Studio can be performed as follows;


Place breakpoint(s) in the projects

1. Select the project you want to debug.
Stop either the MS Windows Terminal or the Output Window for the selected project to debug above.

Start a new debug instance

2. Start a new debug instance for the selected project to be debugged.

Newly started output window

A new output window for the debug project will be started.