This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[credential] | |
helper = /mnt/c/Program\\ Files/Git/mingw64/libexec/git-core/git-credential-manager-core.exe | |
# or | |
# $ git config --global credential.helper "/mnt/c/Program\ Files/Git/mingw64/libexec/git-core/git-credential-manager-core.exe" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Add source | |
dotnet nuget add source C:\dev\nuget\local | |
-- pack a package | |
dotnet pack --no-build --no-restore /p:Version=0.1.23-prerelease-01 | |
-- publish | |
dotnet nuget push -s C:\dev\nuget\local .\src\<project>\bin\Debug\<project>.0.1.23-prerelease-01.nupkg |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// TODO: REMOVE | |
app.Use(async (ctx, next) => { | |
var logger = app.ApplicationServices.GetRequiredService<ILogger>(); | |
var path = ctx.Request.Path; | |
logger.LogInformation($"Path = {path}"); | |
foreach (var header in ctx.Request.Headers.ToList()) | |
{ | |
string value = string.Join(':', header.Value.ToList()); | |
logger.LogInformation($"Header '{header.Key}' = '{value}'"); | |
} |
OlderNewer