I have old legacy MVC app that uses Identity 2.0. Also recently I have created .Net 6 API with Identity 6.0 (AspNetCore.Identity.EntityFrameworkCore). Note: The
I am trying to build a DotNetCore project and push the package to Azure Artifacts. The Azure-Pipelines.yml I have is the following: trigger: - master pool:
.NET Core configuration allows so many options to add values (environment variables, json files, command line args). I just can't figure out and find an answer
I am currently implementing an ASP.NET Core app with Angular as described here. With the help I got in this question, I was already able to get the application
I'm new in ASP.NET. Environment: Ubuntu 18.04 Visual Studio Code .NET SDK 2.2.105 I'm in trouble with some command running. I was reading tutorial at https
Is it possible to use Google's OpenID API from an application that is being served in an intranet (accessed with a VPN but has access to the internet)? I assume
I have an Asp.net Core method with below definition. [HttpPost] public IActionResult Upload(IFormFile file) { if (file == null || file.Length == 0)
I've created an ASP.NET core 2.1 project in VS2017 and run it successfully from VS2017. The question is, What is the easiest way to run the above configuration
I am using package Microsoft.AspNet.StaticFiles and configuring it in Startup.cs as app.UseStaticFiles(). How can I change the headers of the delivered files ?
So, I have a mapping ObjectFrom to ObjectTo. ' All mappings can be done ObjectFrom.propX -> ObjectTo.propX2. But there is also a property in ObjectTo that ne
When attempted to run a scaffold command I am now receieving the exception noted below. It may be important to note that this stopped working all of a sudden. C
I dont understand why do I always see statusText as OK for StatusCode 401, whereas expecting "Unauthorized" for 401. Below is my code snippit. Please help me to
I set composite primary key using fluent API, it is still an error, when I'm trying to create ClassesController (MVC Controller with Views Using Entity Framewor
I have WEB API developed in .net core (VS 2017). I need to deploy this api in IIS. This is the procedure I have followed. Open VS 2017, open the project -> r
I'm working on a project where everything is done through a mediatR pipeline. To make things easy the pipeline is this : -> Validation -> Handler The Vali
I have an Asp.Net Core app with Entity Framework Core that I initialize as follows: services.AddDbContext<ApplicationDbContext>(options => o
I deploy a .NET Core 5 app with settings: And the website shows an error: HTTP Error 500.30 - ASP.NET Core app failed to start Common solutions to this issue:
I have a problem and I can't find a solution... I try to build docker image in a pipline with docker actions. My docker image build an ASP.NET core 5.0 app. All
At the moment our config on .net core looks like this "RouteClaimsRequirement": { "Claim": "settings_read" }, Is it possible to add more claims like below. "Rou
I have a class that I want injected into some controllers. It has a few dependencies that I want to be automatically injected. Specifically this class requires