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

Questions tagged [.net]

Do NOT use for questions about .NET Core - use [.net-core] instead. The .NET framework is a software framework designed mainly for the Microsoft Windows operating system. It includes an implementation of the Base Class Library, Common Language Runtime (commonly referred to as CLR), Common Type System (commonly referred to as CTS) and Dynamic Language Runtime. It supports many programming languages, including C#, VB.NET, F# and C++/CLI.

0 votes
0 answers
9 views

Blazor WebAssembly in Docker: Client Shows 'This page isn’t working right now' Error

I have a project with two parts: a server using ASP.NET Core Web API and a client using Blazor WebAssembly (PWA). I'm trying to containerize both parts using Docker. While the build and run processes ...
Keshish's user avatar
  • 13
0 votes
0 answers
12 views

How do assembly reference version numbers work?

How are reference version numbers (i.e. minor version numbers) interpreted by .NET? I have a reference to Newtonsoft.Json (for example) 13.0.3 in my project (library). However if I compile this and ...
komodosp's user avatar
  • 3,466
0 votes
0 answers
18 views

Is it possible to write AWS Lambda function with streamed response in C#

I want to make a lambda function that returns a 12-13mb files. According the docs, for regular functions response payload limit is 6mb - for streamed - 20mb. I found a documentation with streamed ...
Alex Zaitsev's user avatar
  • 2,726
0 votes
0 answers
12 views

IIS 10 Configuration .Net Core/Angular and .Net Framework ASPX.Net issue

I am setting up a new Windows 2019 server with IIS 10. I am trying to configure two web applications within the server. One is a .Net Core/Angular 16 application, the other is a .Net Framework ASP.Net ...
awdorrin's user avatar
  • 295
0 votes
0 answers
19 views

.NET 8 Rate Limiting via Policy

I am trying to run the .NET 8 Rate Limiting Middleware, with a global rate limit, as well as a specific policy for certain endpoints. The global policy is working as expected, but I cannot get the ...
Chris Pressley's user avatar
0 votes
1 answer
32 views

How to rename projectname.exe.config file to userdefined?

I have got a project in Visual Studio 2022 using C#. It uses an external library I included to that project. Now I want all dlls to be in a separate folder, so I need the projectname.exe.config file. ...
chs2311's user avatar
  • 15
0 votes
0 answers
41 views

How to extract full monitor manufacturer/vendor ID in Windows? (as same as Linux hwinfo --monitor command)

I´m stuck with extracting hardware information of my monitor manufacturer ID in this format: xxxxx_xxxxxxx Basically, format which provides Linux command hwinfo --monitor as "vendor" ...
Zdeneik's user avatar
0 votes
0 answers
30 views

inotify limit reached in Docker (k8s)

We have an dotnet6 app that has been running in k8s for quite some time and only recently it started producing the following error, but only on some of the pods. System.IO.IOException: The configured ...
Swifty's user avatar
  • 1,422
0 votes
0 answers
14 views

Is there any alternative other than Graph API to take Facebook's datas in .net?

After my research it is very hard to pass this(I mention below) step to use Graph API. Business verification This is required to get access to data from users (for some apps this is called advanced ...
user26029025's user avatar
0 votes
0 answers
12 views

Upgraded upgrade from 13 to 14 error: An item with the same key has already been added. Key: title

After upgrading website from Umbraco 13 to 14 this error happens every time I try to add new item: An item with the same key has already been added. Key: title A fatal server error occurred. If this ...
Menahem Gil's user avatar
-1 votes
0 answers
13 views

Apollo Graphql when refreshing token the whole page refreshes [closed]

In my app, I am using the redux to store the jwtToken used in my queries. Once the token is expired, the api returns a new token to be used to update the jwtToken variable in redux, and then be used ...
Grace's user avatar
  • 1
0 votes
0 answers
11 views

LDAP DirectoryEntry connection suddenly failing

We've been successfully using the techniques described https://www.codemag.com/article/1312041/Using-Active-Directory-in-.NET for years. A few months ago we started getting "Server not ...
Tonya's user avatar
  • 11
1 vote
1 answer
53 views

Combine classes which are different only in async/sync method calls

I want to remove the code duplication, I have a base abstract class A defined in a separate assembly and derived classes B, C (each in a separate assembly), which are different only by calling a sync ...
the_it_guy's user avatar
0 votes
1 answer
29 views

Is it possible to fail a build if .NET 8 project references a Windows specific library?

I migrated a large code base to .NET8 that was previously running on Windows. Now it has to run on Linux. I would like for build process to fail if there is an Windows specific library that will not ...
zoran's user avatar
  • 1,082
0 votes
2 answers
39 views

Id not binding in controller

Im doing a dontnet website and am having issues with a method in my controller. This is the method in my user controller to allow users to view all their timecards. I tried logging to the terminal and ...
molly1312's user avatar

15 30 50 per page