Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [.net-4.8]

For questions specific to the usage and features of version 4.8 of Microsoft's .Net framework.

0 votes
0 answers
24 views

Various confusing compilation errors after updating Microsoft.IdentityModel libraries in ASP.Net Web Site

I have inherited some maintenance tasks on an older ASP.Net Web Site (not web project). One of the tasks I'm working on is updating all vulnerable libraries. This has been mostly smooth except for ...
Conure's user avatar
  • 150
1 vote
1 answer
41 views

Is there a defined constant for In .NET Framework 4.8 Stream.CopyToAsync() method

The .NET Framework 4.8 Stream.CopyToAsync() method has a default buffer size of 81,920. I think that buffer size is fine but I also want to pass a cancellation token. To pass a token I also have to ...
JHJ's user avatar
  • 335
0 votes
0 answers
35 views

Visual Studio 2022 : dataset with new tableadapters are not listed in datagridviews

Project in C#, Winforms .NET framework 4.8. I take a dataset with 4 table adapters, delete 2, added 4, now I have 6. So, when I came to desired form, and try to relation a datagridview with a table ...
HanakoTecnologia's user avatar
-1 votes
0 answers
110 views

How to Target Both .NET Framework 4.8 and .NET 8.0 in a Single Project?

I have a project currently targeting .NET Framework 4.8, and I want to extend its compatibility to also target .NET 8.0. Is there a way to set up my project so that it can be built and run on both ...
vichondrias maquilang's user avatar
3 votes
1 answer
43 views

FileInfo behaves differently on .NET 2 and .NET 4.8

I have converted a legacy application from .NET 2 to .NET 4.8 and found that the FileInfo API behaves differently on the 2 platforms. .NET 2: new FileInfo("C:\a \b").FullName -> "C:\...
William's user avatar
  • 2,037
0 votes
0 answers
50 views

Rotate an object around a fixed point calculated from mouse click position

My model keeps jumping around my monitor screen after these steps: Select a point. Rotate. Select another point. I wonder if there is anything wrong with my transformations. Here is how it looks: ...
nghia_pham's user avatar
0 votes
0 answers
10 views

How to manage session state using a custom session ID in ASP.NET Web API?

I am developing an ASP.NET Web API application where I need to manage session state based on a session ID sent from an Angular application. The session ID should be created if it does not exist, and ...
Meir's user avatar
  • 61
0 votes
1 answer
74 views

How to set debug environment variables for ASP.NET Web API project on .NET 4.8?

I am building an ASP.NET Web API project on .NET 4.8 and also deploying it to Azure. I use Environment.GetEnvironmentVariable to get variable values. In Azure, this is easy to configure because they ...
omega's user avatar
  • 42.9k
2 votes
1 answer
49 views

Why does my Designer Generated Code (InitializeComponent()) Not Generate an Object Instantiation Line For my Custom Control?

Enviroment details: .NET 4.8 Visual Studio 2022 Designer interface (if that's what it's actually called) I've created a custom form called WeatherBox which inherits from another custom form ...
when-cowz-fly's user avatar
0 votes
2 answers
53 views

Can you use Identity Server 4 with .NET Framework 4.8?

I have an existing project that was built with .NET Framework which has an output of class library which has Identity Server 3 installed on it. I want to know if its possible to install IDS 4 on the ...
Denzhe's user avatar
  • 9
1 vote
2 answers
77 views

How to produce multiple outputs in TPL Dataflow block before completion

I have this case where I am trying to build a pipeline using TPL Dataflow that could process a big number of items. At some point in the pipeline I need to batch items and send to the next block after ...
Arturio's user avatar
  • 446
0 votes
0 answers
52 views

ASP.NET / VB.NET: compile errors when migrating to .NET 4.8

I have tried to migrate my ASP.NET solution written in VB.NET from .NET 4.0 to .NET 4.8 and organize my solution by creating projects. The new project has been created using Visual Studio 2019 -> ...
Cookie Monster's user avatar
-1 votes
0 answers
12 views

migrating old framework project to new .net

i was wondering if some people could help me think, and/or confirm I am going in the right direction. We have a large solution with a lot of projects. We have made Repo's and domainlogic for most of ...
Thierry Verhaegen's user avatar
0 votes
0 answers
40 views

Could not load file or assembly 'System.Threading.Tasks.Extensions, Version=4.2.0.0, Culture=neutral, PublicKeyToken=xxxx' or one of its dependencies

Encountered this infamous DLL issue. Unable to resolve it even after following different steps. Could not load file or assembly 'System.Threading.Tasks.Extensions, Version=4.2.0.0, Culture=neutral, ...
pradeep's user avatar
  • 305
0 votes
2 answers
80 views

Writing repeating parallel loops for animation, avoiding System.Threading.Tasks.Parallel.For

I am writing a plugin to Rhino which animates some ray-traced data. Rhino handles all the drawing; I just have to provide it with something to draw. The following Animate function is called from the ...
NoseHornScribe's user avatar

15 30 50 per page
1
2 3 4 5
82