I am trying to implement Data Protection in my .net core application. The implementation is pretty straightforward, use IXmlRepository and store the Keys in Postgres DB. This works fine when I run it on my local system, the key gets stored in the DB and with every request it gets checked. The problem surfaces when ..
In windows container, how to graceful shutdown asp.net core application? I want use external process(ex: bash,powershell,dotnet core console application) to update my external module dll(be using by Assembly.Load). So I need to stop my application to avoid dll file be lock. I wish stop by graceful shutdown. My production environment has windows and Linux versions. ..
I’m using the template from microsoft’s docs for creating a docker container which should run my simple spa https://docs.microsoft.com/en-us/visualstudio/containers/container-tools-react?view=vs-2019 This is the file #See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging. FROM mcr.microsoft.com/dotnet/core/aspnet:3.1-buster-slim AS base WORKDIR /app EXPOSE 80 RUN curl -sL https://deb.nodesource.com/setup_10.x | bash – ..
Container is working all the time: When I run an app in Visual Studio debugger: I can access my page normally on url https://localhost:49170/ – everything works fine. However if I close debug and try to access it ( containter is running all the time ), page is not available. I tried to search for ..
I pulled the latest docker image for sonarqube and the image runs fine. The sonarqube server is listening at localhost:9000. When I run the dotnet sonarscanner begin to analyze asp.net Core 3.1 project, after some time, I get timeout error. Below is the log from the command Using the .NET Core version of the Scanner ..
I am trying to use System.Drawing in my .NET Core application. I had it working in 2.2 but after upgrading to 3.1, I am getting the error "Unable to find an entry point named ‘GdipCreateFromXDrawable_linux’ in shared library ‘libgdiplus’" when running in my Docker container. I was getting the error "Could not open display (X-Server ..
I’ve an Azure function V3 with queue trigger written in .net core 3.1. My function is containerized and goes straight to ACR. Inside of the function I am doing some heavy work (uploading/downloading file from Azure blob and doing some computations). Now the issue is, in case of huge computations my function sometimes run out ..
I’m building an ASP.NET Core 3.1 application which uses IBM.Data.DB2.Core-lnx to access the DB of a legacy application. It works when using the normal Debian images. But I’d like to use Alpine instead for smaller images. I had some errors about missing files: Error loading shared library libpam.so.0: No such file or directory (needed by ..
I’m trying to test the release version of my application inside a docker container on my local machine, and I keep getting the warning below when I spin up the container, and it refuses the requests: Unable to bind to http://localhost:5000 on the IPv6 loopback interface: ‘Cannot assign requested address’. I’ve checked this post, and ..
Hi im having an issue with docker,im new with it, im trying to upload a file in an specific folder but when i do it docker automatically adds "/app" to the path direction even when im not using it. I just want to know if i can change that because i really dont need it. ..