Questions tagged [asp.net-core-3.1]

Use this tag for questions specifically related to ASP.NET Core 3.1, in addition to using the 'ASP.NET Core' tag.

ASP.NET Core 3.1 is the Long Term Support version of ASP.NET Core running on .NET Core 3.1. It's included in Visual Studio 2019 16.4

See the tag for more information or ASP.NET Core Updates in .NET Core 3.1

2338 questions
0
votes
0 answers

ASP.NET Core API with authorization prompts for sign in

We are using Windows Authentication on one endpoint in our C#/ASPNet Core 3.1 API. It is configured…
0
votes
1 answer

Publishing to IIS ASP.NET Core 3.1

I have an ASP.NET 3.1 project that get published to a windows server. When I run the project locally on my computer, it works fine; however, when I remote desktop into that windows server, I am getting a 500 error in the network tab and the…
Hussam Ahmed
  • 131
  • 11
0
votes
1 answer

.NET Core App 3.1 "The view 'Login' was not found."

I copied the IdentityServer4 quick start views to my project i can confirm the code is breaking in the AccountController. However i cannot for life of me figure our how to resolve this problem The view 'Login' was not found. Searched locations:…
0
votes
0 answers

Real-Time (SignalR) vs State management (Redux)

I just want to know how to combine SignalR and Redux or if I use SignalR do I need still to use Redux? -Backend Asp.Net Core 3.1 -Frontend ReactJS
Marco Torrecampo
  • 143
  • 1
  • 10
0
votes
0 answers

SQL Server Auto Number is not increasing properly?

I am using SQL Server 2019 with Asp.Net Core 3.1. I reset the data increment to start from 1. Data is being entered, and the number is increasing. But sometimes it goes from ID = 56 to Id = 154, or from ID = 126 to ID = 1124.
Sras
  • 515
  • 1
  • 7
  • 15
0
votes
0 answers

How to debug .net core 3.1 to linux x86 on linux x64

EDIT: .net core 3.1 doesn't have 32-bit support for Linux and won't be coming anytime soon. To see what is supported for Linux I have a project consisting of a plugin system. It was written on the Windows 10 x64 operating system and the target…
uyusuk
  • 115
  • 1
  • 12
0
votes
0 answers

Why is the dynamic catch-all route evaluated first in ASP.NET Core using DynamicRouteValueTransformer?

I am trying to setup a dynamic route catch-all so that all routes that do not match the hardcoded routes gets sent to DynamicRouteValueTransformer which tries to find the dynamic route in the database. The issue I'm having is that this catch-all is…
klas mack
  • 589
  • 7
  • 23
0
votes
1 answer

Upgrading to .NET Core 3.1: Replacement for UserManager.NormalizeKey method?

I'm updating an ASP.NET Core project from 2.2 to 3.1. I've sorted out everything else using the migration docs, but it looks like UserManager.NormalizeKey(String) has just disappeared after v2.2, and I can't find any migration docs around…
0
votes
1 answer

"JsonException: The JSON value could not be converted to NodaTime.Instant" NodaTime issue with ASP.NET Core 3.1 Razor Page web application

In ASP.NET Core 3.1 Razor Page pure front end web application I received the below error. Installed the following packages:
0
votes
0 answers

Many PROXY changed dynamically with IHttpClientFactory

Basing on this answer in my Startup.cs I created a list of HttpClient services: public void ConfigureServices(IServiceCollection services) { AddServiceProxyHttpClients(services); (...) } private void…
bakunet
  • 191
  • 10
0
votes
1 answer

Enabling TLS1.2 or TLS1.3 in c# asp.net core 3.1

I am building a web app using asp.net core 3.1. I want to enable TLS1.2 (or TLS1.3 if it works and is backward compatible.) I have a web site running under IIS Express that is failing the SSL certificate. The console shows the following error: I…
tone
  • 1,120
  • 12
  • 38
0
votes
0 answers

How do you inject a repo into a service in ASP.Net Core MVC

I have a really odd problem. I have defined a Repository for a DbSet Called PageHits. This is the interface: public interface IPageHitRepo { IQueryable PageHits { get; } void AddPageHit(PageHit pageHit); void…
Sam
  • 3,203
  • 6
  • 37
  • 67
0
votes
0 answers

Can you dynamically add an http redirect when using UseRewriter in ASP.NET Core 3.1?

In our .NET Core 3.1 MVC web app, we store a list of HTTP redirects in our database. During application startup, I'm setting up these redirects as follows: var redirects = GetRedirectsFromDB... var rewriteOptions = new…
0
votes
0 answers

Razor Pages Application not redirecting to IdentityServer4

I am having trouble getting my .NET Core site to redirect to my identity server for authentication when accessing a page. When I run the site locally this works fine. However, when I deploy the site it no longer works. Here is the code for the…
Michael Sayers
  • 432
  • 1
  • 3
  • 12
0
votes
0 answers

ASP.NET Core 3.1, IIS, no proxy: A connection attempt failed

After deploying my ASP.NET Core 3.1 Web API to the ISS I am facing an exception: One or more errors occured. A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed…
bakunet
  • 191
  • 10
1 2 3
99
100