Category : asp.net-core

I have simple asp.net core web app and this is a docker containerized app, when I am running it, docker run mcr.microsoft.com/dotnet/core/samples:aspnetapp I am observing below warning. What is this mean and how to get rid of it? warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] No XML encryptor configured. Key {d8e1e1ea-126a-4383-add9-d9ab0b56520d} may be persisted to storage in unencrypted form. Hosting ..

Read more

I want to write logs in MongoDB using serilog-sinks-mongodb package. MongoDB url has ssl=true and we wana use that url to write logs. In IIS everything is going well and logs are getting inside the mongo DB. but on docker, I am getting following error. —> ClusterId : 1, EndPoint : "Unspecified/host:1037" }", EndPoint: "Unspecified/host:1037", ..

Read more

i’m new in Docker, so need some help pls. When run solution see next Build started… 1>—— Build started: Project: docker-compose, Configuration: Debug Any CPU —— 1>docker ps –filter "status=running" –filter "label=com.docker.compose.service" –format {{.ID}};{{.Names}} 1>docker-compose -f "D:plan2ECommercedocker-compose.yml" -f "D:plan2ECommercedocker-compose.override.yml" -f "D:plan2ECommerceobjDockerdocker-compose.vs.debug.g.yml" -p dockercompose12738514252333038748 –ansi never up -d –build –force-recreate –remove-orphans 1>not implemented 1>C:Program Files (x86)Microsoft ..

Read more

This is sort of strange. As soon as I add docker orchestration in Visual Studio 2019 my Web Application stops working. These are the exact steps that I am taking: Launch Visual Studio 2019 (16.11.3) Create new Project Select "ASP.NET Core Web App", and click on Next Accept default Project Name and Location, and click ..

Read more