Skip to content

Latest commit

 

History

History
67 lines (50 loc) · 3.61 KB

File metadata and controls

67 lines (50 loc) · 3.61 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-Data-Recipient batch file to build and run the required projects to start the Mock Data Recipient,
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,

1. Select the project to start.

Start the projects

2. Then start the project (Ctrl + F5 or F5 or Debug > Start Debugging).

Projects running

An output window will be launched for the selected project started.
This will show the logging messages as sent to the console of the running project.

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

1. Select the project you want to debug and place the appropriate breakpoints as desired.

Place breakpoint(s) in the projects

2. Start a new debug instance for the selected project (F5 or Debug > Start Debugging).

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

Start a new debug instance

The browser window will be started with the Mock Data Recipient solution.

Newly started output window