For context I am coming onto a new project that is using ASPNET Core 7. I am trying to create a custom authorizationHandler for Role management. This ...
For context I am coming onto a new project that is using ASPNET Core 7. I am trying to create a custom authorizationHandler for Role management. This ...
I meet some problems with my aspnetcore API's and Linux's environment. I have an Angular project et 5 .net projects (API's and Worker Services) deplo ...
I've noticed a strange behavior for ASPNETCORE_ENVIRONMENT when i set it to Development, my application fails (as it should) due to some services' ...
I am following below Microsoft link to change the Tag Helper element font. https://learn.microsoft.com/en-us/aspnet/core/mvc/views/tag-helpers/intro?v ...
I'm working on a yaml deployment. I am trying to define the aspnetcore_environment. I have tried two ways. One is in the yaml file itself (see below), ...
I am in the process of writing some aspnetcore integration tests that run against an instance of SQL Server running on docker. I plan to use xUnit col ...
I am working on ASP.NET Core 6.0 WebAPI and I need to get data from a CRM system (Sales Logix) using Sage SData API. We have different CRM environment ...
I am using MVC aspnetcore dotnetcore 6.0 I do an authorization with a LoginController. When it is success i want to redirect the user into HomeContro ...
Working with abp.io (free framework version), how to add custom properties to User profile ? Such a BirthDate, Gender etc. I saw this doc about Extra ...
How to persist IMemorycache when I start and stop the website/debugging?. I was under the impression that IMemorycache is stored on the server and doe ...
I have searched for this on internet but couldn't find any suitable answer. i have a partial view in which there are three different dropdown lists. I ...
I have defined below structure in my project. Program.cs I want server to read stage specific appsettings file. But all environments are reading ...
I've recently come across the below Microsoft.Identity class that can be used as a way to provide 2FA generation and validation to users that are logg ...
I tried referring the solution suggested on https://docs.microsoft.com/en-us/aspnet/core/fundamentals/environments?view=aspnetcore-3.1 with the sectio ...
I would like to be able to use appsettings.json, appsettings.Testing.json to retrieve appropriate connection string for my blazor application. On test ...
I have the following simple console application that contains a hosted service: It works with my database and it means that it requires connection ...
I know that AddSingleton() creates a single instance of the service when it is first requested and reuses that same instance in all the places where t ...
Is it possible to set HTTPS and Self-Signed Certificates in AspNetCore 3.1 server on raspberry pi with Win 10 iot? I found only some solutions for lin ...
Has anyone successfully used Octopus to set the system environment variable ASPNETCORE_ENVIRONMENT ? ...