Skip to main content
Filter by
Sorted by
Tagged with
1 vote
3 answers
2k views

I just installed Visual Studio 2026. However, whenever I try to run my project, I constantly get an Internal Server Error. The error shows up both inside the IDE and in the browser. If I close and ...
Muhammed YILMAZ's user avatar
1 vote
1 answer
45 views

I have some code connecting to elastic that I'm moving and I thought it would be a good time to migrate from NEST 7.17.4 to Elastic.Client.Elasticsearch 8.19.5 since NEST isn't supported anymore and ...
Matt Burland's user avatar
  • 45.3k
1 vote
2 answers
139 views

How do I use Reverse to reverse the order of the results of a LINQ to Entities query? Something like: var result = dbContext.Users.Where(a => a.Name != null).Reverse();
Protector one's user avatar
0 votes
0 answers
45 views

TLDR:Dockerised app redirects me to docker network URL instead of localhost. Objective: Redirect user to identity provider (localhost:6067) while communicating with it at (mcro.identity) from Razor ...
Hashed's user avatar
  • 93
0 votes
0 answers
70 views

I have downloaded HashiCorp Vault, integrated it with my C#/.NET/MVC application and I can start it in development mode with command: vault server -dev It stores secrets in memory in this mode and ...
Amazing User's user avatar
  • 3,563
0 votes
0 answers
19 views

I have .net 8 program docker base and in that I cant call SSAS , based on microsoft document I run IIs and host msmdpump.dll and from my app call it but problem is in that response , that is not ...
Ali Tanha's user avatar
0 votes
1 answer
101 views

I'm in a .NET 6 web application with EFCore, and I have these boilerplate abstract classes and interfaces for defining entities. I know it's quite a number of complexity layers, but it really helps me ...
Davide Vitali's user avatar
2 votes
1 answer
85 views

I'm in C# and Visual Studio as an IDE. I have several executables which use different features, say ProductA referencing LibFeatureA and LibFeatureC and ProductB referencing LibFeatureA and ...
Marcel's user avatar
  • 638
1 vote
0 answers
110 views

I have some code that does something like this: public async Task<Foo?> FactoryMethodToGetFoo(string someParam) { // Do something to get foo, or return null } public async ...
Webreaper's user avatar
  • 648
0 votes
1 answer
62 views

Considering elements as a list of objects (already loaded in memory, not a DB query) and given the following portion of code: var filteresElements = elements.Where(el => el.Flag == true).Select(el....
hello-there's user avatar
0 votes
1 answer
79 views

I recently upgraded a net8 MAUI app over to net10-preview7. All targets (Android, iOS, MacCatalyst, ...) launch successfully except Windows which crashes on startup with the following cryptic error: ...
XDS's user avatar
  • 4,284
0 votes
0 answers
35 views

I have a .net Android application (migrated from xamarin) and inside it there is a webView that displays a web app and also I have an Android Foreground Service that periodically is making a call to ...
Pavel Marius's user avatar
5 votes
1 answer
100 views

The logging library .dlls, like Serilog.dll or Nlog.dll are not digitally signed by any code signing certificate from CA. I have been trying to find an info if in a case of commercial application, ...
Kon's user avatar
  • 53
0 votes
0 answers
78 views

I am attempting to setup a project with Aspire and DAPR. I want to register a sidecar in my API and Frontend application that will use pubsub. The pubsub should come from a DAPR yaml component file. I ...
Seany84's user avatar
  • 5,596
0 votes
1 answer
129 views

I have an C# .NET app that I tried packaging both as appxbundle and msix to use as a Kiosk application. Both works when launched normally but fails to load when run after setting up assigned access. I ...
Adhil Chalil's user avatar
0 votes
0 answers
38 views

x-y problem I need to deploy a ASP.NET application, and due to Microsoft not having a method to have an unattended .NET runtime install to use in my provision scripts (yes I know they have this for CI/...
Jeroen3's user avatar
  • 935
0 votes
2 answers
97 views

I have a .NET 4.7.2 console application that uses .NET Generic Host and has 2 background services. One of them (dependent) should start its work only after another one (base) has completed its ...
bairog's user avatar
  • 3,539
0 votes
0 answers
108 views

Here's my example code. It's of no use, but it's short. I have an array to switch on or off the creation of Exceptions at different parts of my code and two functions. The first (Level 0) is an ...
Nostromo's user avatar
  • 1,294
2 votes
1 answer
157 views

Does anyone see what I'm doing wrong? Why can't I download a calendar file from outlook.com using HttpClient? Whatever I try, Outlook will throw a http 302 error and redirect to an OWA error page ...
steb's user avatar
  • 662
1 vote
0 answers
131 views

Over the past few days, I’ve been developing a project in C# (.NET 4.8) that scrapes and validates hundreds of HTTP/S proxies. I’ve experimented with multiple approaches to confirm whether a proxy is ...
Trenton Hill's user avatar
1 vote
0 answers
54 views

I have this code, but I want to simplify object construction. I have a base class with common properties but based on a condition create another type that inherits from the base with an additional ...
Dr Schizo's user avatar
  • 4,478
0 votes
1 answer
53 views

I want to use a custom cursor (.cur file) in a .NET MAUI Windows app. Changing to built-in cursors (like Hand, Arrow) works fine, but when I load a custom .cur file, the cursor only changes in the ...
Murad Ahmed's user avatar
0 votes
0 answers
28 views

below is a kakfa .net consumer program: class Program { static void Main(string[] args) { var config = new ConsumerConfig { BootstrapServers = "localhost:9092&...
user25521292's user avatar
0 votes
1 answer
49 views

I am attempting to implement a redirect to login on unauthorized pages. I think I have removed all hardcoded values that redirect to Account/Login?returnUrl=... but blazor insists on redirecting to ...
jdev9487's user avatar
  • 161
-1 votes
1 answer
72 views

I have dockerized API & PostgreSQL database, when I locally execute dotnet ef migrations add InitialCreate -p MyProject1 -s MyProject2 It successfully creates initial migration. When I try to ...
michaelbane's user avatar

1
3 4
5
6 7
6816