All Questions
97
questions
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 ...
1
vote
1
answer
549
views
Deploying Cloud Function: Default STARTUP TCP probe failed 1 time consecutively for container "worker" on port 8080. The instance was not started
I am trying to deploy a Google Cloud Function with .NET 6 Framework, and I keep getting this error when I try to deploy. I have tried deploying manually with a zip file, and by using the gcloud tool. ...
0
votes
0
answers
34
views
UserID null when trying to connect from .NET 6 to SQL Server through docker
When trying to run my API through docker, I'm getting the following error message:
2024-03-18 11:50:22 Unhandled exception. System.ArgumentNullException: Value cannot be null. (Parameter 'User ID')
...
0
votes
1
answer
104
views
Setting up Dockerfile and Docker Compose for full stack project
I'm trying my hand at a full stack project using .Net 6 for the backend API with a react FE.
My project structure is this:
.
├── MySolution.sln
├── docker-compose.yml
└── api
├── MyApi.csproj
└...
-1
votes
1
answer
62
views
No Performance Gain from Increasing CPUs in Docker Container for Parallel API Requests
In order to solve a performance problem at work. I have created a very simple set up. I have hosted a .NET 6 API on docker on my computer. ie. Intel® Core™ i3-6100 CPU with 2 cores and 4 logical ...
0
votes
1
answer
294
views
Running alpine docker container deployed to Azure App Service does not respond to pings after deployment
I am trying to deploy a docker image running a C# .Net 6 Web API to an Azure App Service (for containers). The service currently works using FROM mcr.microsoft.com/dotnet/aspnet:6.0 base image but I ...
0
votes
0
answers
41
views
Microservice Portal restarted after executing my endpoint
I have an endpoint that is used to generate invoices. Essentially, this endpoint first retrieves the invoice data from the database. After certain validation, it generates the invoice in the ...
0
votes
0
answers
43
views
How to Backup & Restore Dockerize postgres database from Dockerize .NET 6 application programmatically
I have a postgres database in docker container and .NET 6 Web API in docker container. Both are deployed in linux system. I am able to take backup and restore of postgres database by executing pg_dump ...
0
votes
3
answers
426
views
I can't connect my postgresql docker container to my .NET 6 container
I have implemented an application with REST interfaces in C# on .NET 6. When the URLs are called, then the data is fetched from a Postgresql database and returned. The application is implemented as ...
0
votes
1
answer
77
views
Dotnet build don't stop in docker build command in bitbucket
I've got a docker task in a bitbucket pipeline that's running in a loop, or at least taking much longer than usual. It's going to the end of the 2h maximum time limit for bicbucket pipelines. In the ...
0
votes
0
answers
64
views
GRPC service not running inside docker
I have a GRPC service built with .net 6 and the docker file is also created using visual studio docker generation tool.I have created a docker-compose file for the same and the docker compose file is ...
0
votes
1
answer
297
views
Docker with .net 6 + multiple projects = long time restore
I have .NET 6 project with a structure like this:
root:
DockerFile
.dockerignore
Project.sln
-src
--Project1
---*.csproj
--Project2
---*.csproj
--Project3
---*.csproj
--Project4 //library
--Project3 //...
0
votes
1
answer
97
views
Building net6 project with BundlerMinifier on Docker - Object reference eception
I faced "object reference" exception while dockerizing net6 app. I am using BundlerMinifier to bundle specific js files.
my bundleconfig.json
[
{
"outputFileName": "wwwroot/...
0
votes
1
answer
740
views
RabbitMQ client inside a docker container cannot connect to RabbitMQ server inside another docker container by SSL+PLAIN
I'm going crazy... I am spending hours trying to configure my RabbitMQ client within a .net 6 asp.net web service with HTTPS/AMQP/SSL.
I have made several attempts on both server and client side.
The ...
0
votes
0
answers
154
views
How to request an API into the .NET 6 console app with docker-compose?
I have a .NET 6 console app with docker-compose. The compose file is:
version: '3.4'
services:
rms:
image: ${DOCKER_REGISTRY-}rms
build:
context: .
dockerfile: rms/Dockerfile
...