Category : asp.net-core

I set up my project on ASP.NET Core 5 and Angular 10. I try to publish app with Docker Here is the github of this project (branch "prod") https://github.com/TheLamed/Khrystyna-Kvyk Here is my dockerfile: FROM mcr.microsoft.com/dotnet/aspnet:5.0 AS base WORKDIR /app EXPOSE 80 EXPOSE 443 FROM mcr.microsoft.com/dotnet/sdk:5.0 AS build WORKDIR /src COPY ["KhrystynaKvyk.Web.csproj", "KhrystynaKvyk.Web/"] COPY . "KhrystynaKvyk.Web/" ..

Read more

I’ve written a little proxy ASP.NET Core Web API app (see here) that is running on my Raspberry Pi within a Linux Docker container. The app runs under http://raspberry.fritz.box:5200/joplin and forwards all requests to https://nas.fritz.box:9815. Using XCA, I’ve created a custom Root CA and a HTTPS certificate for nas.fritz.box. I’ve successfully registered the custom Root ..

Read more

I’m trying to deploy an asp.net-core spa to a docker container but I’m having troubles in doing that. This is the image that I’m using FROM mcr.microsoft.com/dotnet/aspnet:5.0-buster-slim AS base WORKDIR /app EXPOSE 80 EXPOSE 443 FROM mcr.microsoft.com/dotnet/sdk:5.0-buster-slim AS build RUN apt-get update -yq && apt-get install curl gnupg -yq && curl -sL https://deb.nodesource.com/setup_10.x | bash ..

Read more

I have created a sample .NETCORE web API, and I’m trying to deploy to docker, I get below errors, could some one help on how to resolve this. Below screenshot of docker file and error from Visual Studio code 1 List of asp.net core runtimes Installed in my local machine 2 Source: Docker..

Read more

The project is written in ASP NET Core C #, the function described below is launched. Its essence is to iterate over all pdf files in the folder and recognize the text on them. Recognition is performed using the IronOcr library. This process takes up a lot of RAM, and when running on local PC ..

Read more

I am fairly new to docker and running some tutorials at the moment. I have craeted a docker file through VSCode Extension and I have the following :- FROM mcr.microsoft.com/dotnet/aspnet:5.0 AS base WORKDIR /app EXPOSE 80 FROM mcr.microsoft.com/dotnet/sdk:5.0 AS build WORKDIR /src COPY ["CatalogDotNet5.csproj", "./"] RUN dotnet restore "CatalogDotNet5.csproj" COPY . . WORKDIR "/src/." RUN ..

Read more