skip to Main Content

The 'Access-Control-Allow-Origin' header contains multiple values '*, *', but only one is allowed. cors error not resolving – Asp.net

Access to XMLHttpRequest at 'https://apicredit2fa.devserver.co.in/api/adminaccount/signin' from origin 'http://localhost:3000' has been blocked by CORS policy Response to preflight request doesn't pass access control check: The 'Access-Control-Allow-Origin' header contains multiple values '*, *', but only one is allowed. I cofigured the default…

VIEW QUESTION

Unable to run Docker .NET 6 console image – Debian

Hi I have below dockerfile for .NET 6 console app FROM mcr.microsoft.com/dotnet/runtime:6.0 AS base WORKDIR /app FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build WORKDIR /src COPY ["MyProj/MyProj.csproj", "MyProj/"] RUN dotnet restore "MyProj/MyProj.csproj" COPY . . WORKDIR "/src/MyProj" RUN dotnet build "MyProj.csproj" -c Release…

VIEW QUESTION
Back To Top
Search