
8750e825f27d77a16755a7b14a9622fe6d4653ceaab2dd5645bbc89b5702fa1d
*********************************************
Updating Microsoft CODE editor
Download the .deb file for 64 bit
execute it
sudo dpkg -i code_1.8.1-1482159060_i386.deb



HANDLEBARS
=-=-=-=-=-
Install:
sudo npm install -g handlebars

Build handlebars template:
handlebars -m wwwroot/js/templates/> wwwroot/js/templates/templates.js




3rd party Packages used:
JWT JSON web token support using jose-jwt found here:
https://jwt.io/#libraries

Mailkit (supposedly system.net.mail will be ported in v2.0 of .net core but for now mailkit is the shit):
 <!-- NOTE: bouncycastle needed for license gen but mailkit brings a slightly different one in so there is a conflict but just removing bouncycastle works because the license code uses teh mailkit bouncycastle-->
    <!--PackageReference Include="bouncycastle.netcore" Version="1.8.1.3" /-->



DEVICE METRICS LIST
https://material.io/devices/

John phone 411px wide (dp)
Joyce s7 360px wide (dp)


***********************
HOW TO DEPLOY TO IIS
https://stackify.com/how-to-deploy-asp-net-core-to-iis/

1) SET VERSION

RENAME ?plvx.x parameter in index.html to the new version so all files update on mobile 

2) PUBLISH
publish command line from rockfishCore folder:

//this will build a release version which is what we use on the server now
dotnet publish -c Release -o ./../publish/

//This is what I have seen online, not sure why the -f is necessary or useful, the build is the exact same size as above, have a question in to stackoverflow about it
dotnet publish -f netcoreapp2.1 -c Release  -o ./../publish/

//if need a debug version
dotnet publish -o ./../publish/

3) COPY
Copy over to production server, only need the .dll and the wwwroot folder contents, 
remember not to delete the folders on the server only replace their contents because there are Windows file permissions set


