I want to restrict a view after a user login into system. Example: I have a register view. After a user login into system I want to block access to register vie
I am using the latest version of VS Code. I have the following launch.json: "serverReadyAction": { "action": "openExternally",
I have a Web API and I'm trying to log messages into Graylog, using Serilog. Now matter what I do, no messages are shown in my Graylog application. This is what
Hi I have 3 tables: Role , Permission , RolePermission In my Razor page view I want to show each permission that is true for a special role with marking the che
I am receiving this error, Microsoft.AspNetCore.Server.IISIntegration.IISMiddleware: Error: 'MS-ASPNETCORE-TOKEN' does not match the expected pairing token, req
I asked something similar recently and it got solved by using AsQueryable: How to save time when pulling data from DB using Entity Framework Core in controller
I have an API that can return an csv or json, deppending on the Accept header mimetype. I've decorated the method with [Produces("application/json","text/csv")]
We are building a project management web application using those main technologies:- ASP.NET Core MVC SQL Server + Entity Framework HTML, CSS & Bootstrap Th
I am trying to register dependencies but one thing that is strange is when using specific handlers. For example, take a simple scenario like: using Microsoft.As
I have an ASP.NET Core Web API hosted in Azure. When I'm trying to make a fetch request from my web app hosted on Vercell, I'm getting this error: Access to fe
I am trying to create a asp.net core 2.1 razor website that will load two tables on the one page. Below i have defined my classes ItemMasters and DealMasters. I
This is a follow-up to OData AspNetCore support for long URLs useing $query is not working. OData 8.0.4 In startup, I have app.UseODataQueryRequest() My Control
This is sort of strange. As soon as I add docker orchestration in Visual Studio 2019 my Web Application stops working. These are the exact steps that I am takin
I have a Blazor webasemmbly app, it's using asp.net core as backend and Blazor wasm as frontend. I have a class that can check the HTTP issues like notfound, Ba
I'm trying to do a simple user authentication with the following code public async Task<IActionResult> OnPostAsync() { if (!ModelState
I'm using IdentityServer4 as a centralized auth server. I have a mvc app that acts as a client and works as expected unless I open a modal. When the user presse
I have a very simple TagHelper which will add the current CSP nonce to a specified tag. This is all working fine until I start using asp-append-version along wi
I wrote Create() method to create a Test and I input that data- 1)choose from dropdownlist ,for which Course I want to add this Test 2)name 3)description I have
I desire an efficient solution to iterate through large files located on blob storage in C#. I want to use the blob storage as a local storage. In my research I
After noticing that nobody has signed up for a site of mine for a week I tried signing up myself only to be greeted with an error message. Then I tried signing