Skip to content

Team-MIKA/vigilant-potato

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

.NET

vigilant-potato

This is the repository for group MIKA's P7 project

Feature folder structure

image

Commands

1 integrator nede

docker build . -t my-web-app -f .\Integrator\Dockerfile
dotnet ef migrations add "message"
dotnet ef database update

HTTPS (rider and windows)

dotnet dev-certs https -ep $env:USERPROFILE\.aspnet\https\Integrator.pfx -p mikapassword

Trust certificates: linux: https://stackoverflow.com/questions/55485511/how-to-run-dotnet-dev-certs-https-trust windows: dotnet dev-certs https --trust

dotnet user-secrets set "Kestrel:Certificates:Development:Password" "mikapassword"
docker build -t <image_tag> . && docker run -p 5000:80 -p 5001:443 -v C:\Users\kaspe\AppData\Roaming\Microsoft\UserSecrets:/root/.microsoft/usersecrets -v C:\Users\kaspe\.aspnet\https:/root/.aspnet/https --env ASPNETCORE_ENVIRONMENT=Development --env ASPNETCORE_URLS=https://+:443;http://+:80 --name API <image_tag> 
docker build -t <image_tag> . && docker run -p 5000:80 -p 5001:443 -v C:\Users\kaspe\AppData\Roaming\Microsoft\UserSecrets:/root/.microsoft/usersecrets -v C:\Users\kaspe\.aspnet\https:/root/.aspnet/https --env ASPNETCORE_ENVIRONMENT=Development --env ASPNETCORE_URLS=https://+:443;http://+:80 --name API --network random <image_tag> 

image

image image.png image.png

Issues

Mysql in docker https://stackoverflow.com/questions/66670789/net-core-application-in-docker-cannot-connect-to-mysql-server

About

This is the repository for group MIKA's P7 project

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published