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 @@ - + + + +