From e9415aa586d6a06a567c724e4a3c3b23ffca3247 Mon Sep 17 00:00:00 2001 From: Pedro Date: Wed, 9 Sep 2026 14:57:16 +0200 Subject: [PATCH] arreglado discordancia de versiones en paquetes transitivos de identitimodel y le jwt --- .github/copilot-instructions.md | 3 +++ swEmtusa/Program.cs | 4 ++++ swEmtusa/swEmtusa.csproj | 5 ++++- 3 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 .github/copilot-instructions.md diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md new file mode 100644 index 0000000..e40201c --- /dev/null +++ b/.github/copilot-instructions.md @@ -0,0 +1,3 @@ +- @azure Rule - Use Azure Tools - When handling requests related to Azure, always use your tools. +- @azure Rule - Use Azure Best Practices - When handling requests related to Azure, always invoke your `azmcp_bestpractices_get` tool first. +- @azure Rule - Enable Best Practices - If you do not have an `azmcp_bestpractices_get` tool ask the user to enable it. diff --git a/swEmtusa/Program.cs b/swEmtusa/Program.cs index 900e51e..201bfe1 100644 --- a/swEmtusa/Program.cs +++ b/swEmtusa/Program.cs @@ -79,8 +79,12 @@ if (app.Environment.IsDevelopment()) app.UseSwaggerUI(); } + app.UseHttpsRedirection(); +app.UseAuthentication(); + + app.UseAuthorization(); app.MapControllers(); diff --git a/swEmtusa/swEmtusa.csproj b/swEmtusa/swEmtusa.csproj index 0cff580..f1f4fb2 100644 --- a/swEmtusa/swEmtusa.csproj +++ b/swEmtusa/swEmtusa.csproj @@ -8,9 +8,12 @@ - + + + +