This article demonstrates how to run MID locally
Instructions
Clone or download the project (Solution in Visual Studio 2022)
Check here for the repo location: MIC_CAM
Need necessary permissions on Azure Active Directory.
Setup User Secret to each project in MIC_CAM:
Go to this link ncdmidkv01 - Microsoft Azure
c. Click to view the secret, then copy by using the 'clipboard' icon:
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'
e. That should open up a blank json file in a new tab, like this:
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:
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
Add your user account into GC Notify
Add your user account into DocuSign
Once in visual studio, right click on MIC_CAM solution and click "Configure StartUp Project…"
Rebuild the solution to check if there is any package missing
Click Start and two application pages will open
Need to check the latest keyvault in user secrets. need to check if the active config is for DEV not PROD