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 5 Next »

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.

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 Mid.Website and click "Set as StartUp Project"

  4. Rebuild the project (Mid.Website) to check if there is any package missing

  5. Click run and the application page will open

  • No labels