Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
57 views

I want to be able to bring up and takedown a Wi-Fi hotspot in Windows 11 from a .NET framework application. I know it's possible to use the loopback adapter (and some powershell script), but we want ...
Matt Ellen's user avatar
  • 11.6k
0 votes
1 answer
126 views

I have a couple of classes (simplified): internal class OrderItem { public string Name { get; set; } public Order Order { get; set; } } internal class Order { public IReadOnlyList<...
bairog's user avatar
  • 3,539
2 votes
0 answers
139 views

I use VS code (not VS cause i have linux) and have been trying to run my c# template from run and debug in VS code but it does not works and returns this error in output. -----------------------------...
Lazare Janiashvili's user avatar
Best practices
0 votes
0 replies
62 views

I have a question about messaging in our system. We have three services: Order, Cart, and Monitoring. We usually work with communication in such a way that each project has its own contracts, and ...
pietro's user avatar
  • 221
Best practices
1 vote
3 replies
65 views

I have a question about sharing contracts between services using a message broker (more specifically, Azure Service Bus). I searched for it in various articles and asked a chatbot, but I didn't get a ...
pietro's user avatar
  • 221
0 votes
1 answer
164 views

It's no problem to set the position of the new WinForm inside the monitor where the main window is displayed. For example: Form1 form = new Form1(); form.Show(); form.StartPosition = FormStartPosition....
vsm's user avatar
  • 69
0 votes
0 answers
30 views

Hey i was building a DeviceService to know Connected Devices to an account after i builded every thing now i got issue with revoking device Main Confusion : that i decided to use IMemoryCache to ...
Braa gamer's user avatar
1 vote
1 answer
32 views

Microsoft's feature management documentation implies that the correct format for config for feature management is the following: { "feature_management": { "feature_flags&...
Ruskin's user avatar
  • 6,241
2 votes
1 answer
87 views

I am creating my first template for a .NET solution. For the most part it works, but I have a string "MyService" at some places in the Program.cs that I would like to replace with "...
Myrkjartan's user avatar
4 votes
1 answer
92 views

I'm attempting to deserialize an XML response from an API. The data is as follows (I have only included a small chunk for the sake of a small post): <ns1:alerts xmlns:ns1="http://gov.fema....
alexjusti's user avatar
1 vote
2 answers
87 views

I have a request (going to an APIM endpoint.) From Postman the test runs just fine, but from my code it fails with a 400. I looked at the requests in fiddler and the only difference is this: // This ...
Fraser Orr's user avatar
Best practices
3 votes
3 replies
87 views

I have the following application architecture: FrontEnd → ApiServer 1 → ApiServer 2 → Database So, the frontend calls a web server, which calls multiple API which make query on database. What is the ...
Massimo Lavermicocca's user avatar
-1 votes
0 answers
87 views

I have a C# installer app that needs to identify which user session to target. The application fails to identify the correct user when deployed via Microsoft Intune. For example, when deployed via ...
Bob22's user avatar
  • 7
0 votes
1 answer
208 views

I'm working on a high-performance ASP.NET Core Web API where each request can return hundreds of entity records. Each entity includes multiple navigation properties and nested objects. Currently, I’m ...
Mina Golzari Dalir's user avatar
1 vote
1 answer
69 views

I have a page Product.aspx that has a master page Main.master, both pages are in the root of the project (they don't belong to any folder). The problem is that the tilde path only works for the Main....
franko_camron's user avatar
0 votes
1 answer
69 views

There are two pages in my app: Page1.razor (home) and Page2.razor. There is no problem rendering first page. But when I navigate to second page, there is flicker problem. I put 1000 ms sleep to better ...
shmowzow's user avatar
-1 votes
0 answers
84 views

This question has been bouncing around my head for a few years and I wanted to finally ask it. The question is: how does the CLR implement static fields in generic types? Under the hood, where are ...
Corey Kosak's user avatar
  • 2,633
2 votes
1 answer
55 views

I would like to set a file size limit in uploads through multipart upload in my application, but my problem is, using pre-signed-url, I can't check the file size of each part and all the options I ...
Luiz Kohler's user avatar
1 vote
0 answers
68 views

I am creating a lib to listen to server notifications (more than 100,000 requests per hour), when using WebSocketSharp it is receiving all 100,000 notifications but there is memory leak (server goes ...
MSD86911's user avatar
4 votes
0 answers
212 views

I have a solution with many projects. When I run dotnet test, it selects all my xUnit projects and seems to correctly execute all of them. But at the last line of what dotnet test prints, the number ...
FluidMechanics Potential Flows's user avatar
0 votes
0 answers
27 views

I am developing an application based on .NET Framework 4.8 and using the Falcon library version 6.1.6264. I have also tested the same functionality with .NET 6, .NET 7, and .NET 8 using the latest ...
Berkan Çelik's user avatar
2 votes
2 answers
130 views

I am currently creating a custom .NET router. It is working as it should, but one thing that bothers me is that I don't get the same level of syntax highlight in rider as I get with other more ...
munHunger's user avatar
  • 3,117
1 vote
1 answer
84 views

I'm upgrading from protobuf-net 2.2.1.0 to 3.2.26, and I've noticed that callback methods decorated with [ProtoBeforeSerialization] and [ProtoAfterDeserialization] are no longer invoked during ...
Sudheer Kumar's user avatar
0 votes
0 answers
91 views

I hope you’re all doing well. I’m reaching out because I’m facing an issue with my setup. I have a .NET application and a Laravel system integrated via API. The .NET application sends payloads to the ...
minhaj ur rehman's user avatar
1 vote
1 answer
50 views

When you add an appsettings.json file to a project, the following is inserted in its .csproj file: <ItemGroup> <None Update="appsettings.json"> <CopyToOutputDirectory>...
Ian Kemp - SO dead by AI greed's user avatar