dotnet

    [C#] ASP.NET API Cors 전체 허용

    ASP.NET API Cors 허용 UseCors 설정 http, https 허용 # Program.cs var app = builder.Build(); app.UseCors(x => { x.AllowAnyHeader(). AllowAnyMethod(). AllowAnyOrigin(). SetIsOriginAllowed(origin => true). WithOrigins("http://*"). WithOrigins("https://*"). AllowCredentials(); });

    [GitLab] GitLab Runner 구성 - GitLab CI/CD With .NET 6.0

    GitLab Runner Install GitLab Runner in Docker Container Install GitLab Runner docker run -d --name gitlab-runner gitlab/gitlab-runner Register GitLab Runner # connect gitlab-runner container docker exec -it gitlab-runner bash # install sudo apt-get update apt-get install sudo -y # register gitlab-runner # --url [GITLAB_URL] \ # --registration-token [REGISTRATION_TOKEN] \ sudo gitlab-runner regis..

    [BaGet] NuGet Package 삭제

    Delete Nuget Package # NuGet CLI # Nuget delete [Package Name] [Package Version] [-s [Server]] -k [API Key] Nuget delete TestLibrary 1.0 -s https://baget.test.com -k aaapppiiikkkeeeyyy # Dotnet CLI # dotnet delete [Package Name] [Package Version] [-s [Server]] -k [API Key] dotnet nuget delete TestLibrary 1.0 -s https://baget.test.com -k aaapppiiikkkeeeyyy