Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Current »

This article demonstrates how to run MID locally

Instructions

  1. Clone or download the project (Solution in Visual Studio 2022)

    1. Check here for the repo location: MIC_CAM

  2. Need necessary permissions on Azure Active Directory.

  3. Setup User Secret to each project in MIC_CAM:

    1. Go to this link ncdmidkv01 - Microsoft Azure

    2. image-20240208-165228.png
image-20240208-165320.png

c. Click to view the secret, then copy by using the 'clipboard' icon:

image-20240208-165350.png

d. Then navigate to VisualStudio, and open the appropriate project, in the examples above, we're using MID API. Right click and select 'User Secrets'

image-20240208-165406.png

e. That should open up a blank json file in a new tab, like this:

image-20240208-165432.png

f. Paste the contents of the clipboard into this file, ensure that proper JSON formatting is kept, and no corrupt characters (possible encoding issues) are present.  Save and you're done!

g. Repeatedly do it for every project in Azure.

h. This will need to be done for: DigitalSignature API, MID API, MID Website, MIUA Website, MIUS API and MIUS WinForm Legacy. Note: For MIUA Website (External) once the secrets copied, make sure to update your email address in the secrets and also uncomment lines For Dev properties and comment out the Prod once.

i. MIUS WinForm Legacy is VB and does things a little different. Instead of a user secret file, we have a secureconfig\secrets.config:

image-20240208-165544.png

h. Similar steps to above, except do NOT include that file within source control.  We've set up GIT IGNORE so that file is excluded from source control

NOTE: we are currently in the processing of uploading the secrets right now, so they're not all available

  1. Add your user account into GC Notify

  2. Add your user account into DocuSign

  3. Once in visual studio, right click on MIC_CAM solution and click "Configure StartUp Project…"

image-20240208-194552.png

  1. Rebuild the solution to check if there is any package missing

  2. Click Start and two application pages will open

  3. Need to check the latest keyvault in user secrets. need to check if the active config is for DEV not PROD

image-20240222-133739.png

  • No labels