All Questions
1,744
questions
0
votes
1
answer
30
views
Does not contain a static 'main' method suitable for an entry point when running docker build
Does not contain a static 'main' method suitable for an entry point
using CountryAPI.Models;
public class Program
{
public static void Main(string[] args)
{
var builder = ...
0
votes
0
answers
12
views
Blazor WebAssembly in Docker: Client Shows 'This page isn’t working right now' Error
I have a project with two parts: a server using ASP.NET Core Web API and a client using Blazor WebAssembly (PWA). I'm trying to containerize both parts using Docker. While the build and run processes ...
0
votes
0
answers
32
views
inotify limit reached in Docker (k8s)
We have an dotnet6 app that has been running in k8s for quite some time and only recently it started producing the following error, but only on some of the pods.
System.IO.IOException: The configured ...
0
votes
0
answers
14
views
Authentication failed through - GSSAPI operation failed with error
I am trying to containerization of a web application in docker, which connect net.tcp WCF call from the application, which was working perfectly. Bu when I try to run the application through Docker,I ...
0
votes
0
answers
21
views
HttpListener in .NET 8 Docker Container Not Accessible Externally
I have a .NET 8 application that uses HttpListener and runs inside a Docker container. The Docker image I'm using is mcr.microsoft.com/dotnet/sdk:8.0.
Here's the issue I'm encountering:
When I ...
0
votes
1
answer
57
views
Is it possible to use the artifact generated by my Azure Pipeline to build a Docker image? [duplicate]
I have an Azure pipeline that does a dotnet restore, a dotnet build, and a dotnet publish.
Originally, we published the artifact to an Azure App Service.
We would like to switch to Docker. Therefore, ...
0
votes
0
answers
50
views
Discrepancies Between .NET dotnet-dump Report and Docker Container Memory Usage
I have a .NET 6 WebAPI running as a Docker container. Recently, I've encountered an issue where the memory usage of this container continuously increases over time as it serves HTTP requests. ...
0
votes
0
answers
51
views
Azurite in docker response 403 when i trying to access through to web browser
When I try to access the Azurite blob using edge I meet the error like this - the logs of docker container:
https://i.sstatic.net/F7QEWnVo.png
But I still can upload a file from my blob service in ....
0
votes
1
answer
149
views
Dockerfile: deploy Azure Function error gRPC channel URI 'http://:' could not be parsed
I try to create a docker image of an Azure function and to run it in a container on docker desktop (and AKS later).
I cannot change the project type, it must be an Azure function running on .net 8.
...
0
votes
1
answer
141
views
Puppeteer: Failed to launch browser! chrome_crashpad_handler: --database is required
I was running a job in an Alpine image on Kubernetes, which is a c# program which uses the Puppeteer library, and I'm encountering the following error when trying to launch the browser:
Failed to ...
0
votes
1
answer
29
views
How to create conditional compilation symbol in .NET to indicate build is from Docker?
My C# project can be built and hosted with and without Docker. Inside Program.cs, I need to know if the build is for Docker or not. How can I do something like this:
#if DOCKER
#endif
0
votes
0
answers
53
views
Bearer error. Token is invalid. Possible docker-compse setup issue?
I have seen this question asked before, but none of the answers have resolved my issue or helped me understand what the issue actually is.
So I would be grateful for any help. As mentioned in the ...
0
votes
0
answers
43
views
C# Functional Test Automation via CI/CD
I have a C#.NET-based solution for a console application, which includes two projects: "hotel" and "library." The "hotel" project initiates execution and utilizes ...
0
votes
1
answer
74
views
Setting C# language version used by Docker to build my project
I have a net6.0 project with <LangVersion> set to latest, allowing us to use latest C# features (I realize now this is probably bad practice?).
It all builds fine from within Visual Studio, but ...
0
votes
1
answer
66
views
Connection refused between Docker containers with SSL in .NET
I have two ASP.NET Core 8 Web API projects in C#, named FrontEnd and DataLayer. DataLayer connects to a database and FrontEnds connects to DataLayer.
Both projects and database are in Docker in local ...