Skip to main content

Questions tagged [.net-core-3.1]

Use this tag for question specifically about .NET Core 3.1, the Long Term Support version of .NET Core 3.0.

.net-core-3.1
-1 votes
0 answers
13 views

301 Redirect dynamic urls from database in .NET Core 3.1

I have thousands of links which need to be redirect to new URL using 301 Permanent Redirect. I have all these urls in the Database table. I would like to know where should be these URLs should be ...
gomnam gomnam's user avatar
0 votes
1 answer
56 views

Dockerfile upgrade from .NET Core 3.1 to .NET 8 which includes SQL Anywhere 17

I'm in the process of upgrading my API project to .NET 8, but I'm having issues including SQL Anywhere 17 drivers, which is an upgrade from SQL Anywhere 17 in my image. In .NET Core 3.1, it works fine,...
Gericke's user avatar
  • 2,219
0 votes
0 answers
17 views

Multiple IDS not hitting redirect controller action method in ASP.NET Core 3.1 MVC

I am using multiple IDP in mvc core using Microsoft.Identity.Ui & Web packages for SSO. I am able to sign-in with two IDPS but after sign-in Azure b2c and Azure AD servevice both are not hitting ...
shashank patel's user avatar
0 votes
0 answers
29 views

How do I prevent function-data overlap when multiple independent threads are trying to execute 1 function?

I am trying to create a depth tree in c# (.NET CORE 3.1) for a chess program. I use a branching technique that uses multiple functions, but 1 function is used very often. The process goes repeat to a ...
iWECHAMPIONSi's user avatar
0 votes
1 answer
32 views

Return messaging with Pulsar

I am currently modifying a program written in C# (.net core 3.1) that originally communicated with TIBCO to now use Pulsar (2.10) since TIBCO is EOL. With TIBCO, the API has mechanism for reply ...
DinoWrangler's user avatar
0 votes
2 answers
90 views

How to serialize all exceptions to JSON in ASP.NET Core 3.1

This is how I did in ASP.NET Core 2.1 var jsonExceptionMiddleware = new JsonExceptionMiddleware( app.ApplicationServices.GetRequiredService<IHostingEnvironment>()); Any assistance will be ...
Korir Cornelius's user avatar
0 votes
2 answers
100 views

how to run a pre-configured command when new terminal is created in vs code for only opened folder

Actually the problem I'm having right now is same as Process terminated. Couldn't find a valid ICU package installed on the system in Asp.Net Core 3 - Ubuntu. To solve this, I need to run export ...
livan3li's user avatar
  • 581
0 votes
2 answers
94 views

'NavigationExpandingExpressionVisitor' failed. This may indicate either a bug or a limitation in EF Core in .NET Core 3.1

When I upgrade the project from .NET Core 2.2 to .NET Core 3.1, LINQ doesn't work. These are my entity models: public class Offer { public Guid Id { get; set; } public string Name { get; set; }...
Dilakshan AT's user avatar
1 vote
2 answers
297 views

The collection type 'System.Collections.Generic.Dictionary`2[System.Guid,System.String]' is not supported. in .net core 3.1

I have project .net core 2.2. in 2.2 my controller's return type is List<Dictionary<Guid, string>>. When I upgrade my project to 3.1 it returns the error message. System....
Dilakshan AT's user avatar
1 vote
1 answer
362 views

Merge appsettings.{env}.json into appsettings.json in .NET Core 3.1

I understand the default behavior in .NET Core 3.1 is that when you publish your solution, it copies over all your appsettings.{env}.json files into the final package, and it is up to your environment ...
Behrooz's user avatar
  • 1,945
0 votes
0 answers
44 views

Identity Server 4 ASP.NET Core 3.1 MVC unable to render JavaScript

I have an Identity Server 4 with an ASP.NET Core 3.1 MVC project and would like to add an external script into the _Layout.cshtml file. The JS file is being ran, however it is not working as expected. ...
userlkjsflkdsvm's user avatar
0 votes
2 answers
161 views

injecting a service into a queue consumer using MassTransit

I have a consumer that is configured like follows .ConfigureServices((hostContext, services) => { services.AddMassTransit(cfg => { cfg.AddConsumer <Consumers>(); ...
blu3f1rest0rm's user avatar
0 votes
0 answers
56 views

My WPF application is not taking snapshot using LibVLC library

I'm taking snapshot using LibVLC library. I'm using following code to save VlcVideoSourceProvider public Dictionary<string, VlcVideoSourceProvider> sourceProvider; Then using following code to ...
Towhid's user avatar
  • 2,050
0 votes
0 answers
62 views

How to force Chromium download dialog without file being ready

I want to send text file to user while the data is being processed. The user is being notified that the file will start downloading within few minutes but as we know user knows better and after about ...
Tom's user avatar
  • 253
1 vote
1 answer
687 views

ASP.NET Core 3.1 projects in VS 2019 and VS 2022 - Start Without Debugging fails - HTTP Error 500.30 - ANCM In-Process Start Failure

After upgrading VS 2022 to the latest .NET 8 I'm not able to Start Without Debugging ANY ASP.NET Core 3.1 project in VS 2019. The same projects (ASP.NET Core 3.1) do NOT start in VS 2022 either. Start ...
Code4Fun's user avatar
  • 453

15 30 50 per page
1
2 3 4 5
66