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

λ ~/ dotnet --version 10.0.100 λ ~/ system_profiler SPSoftwareDataType SPHardwareDataType Software: System Software Overview: System Version: macOS 26.1 (25B78) Kernel Version: ...
Booshwa's user avatar
  • 35
0 votes
0 answers
36 views

I am trying to write an incredibly simple C# console application that will just post a single tweet on my twitter on my behalf. I have a developer account and read the reference, including the parts ...
user107586's user avatar
0 votes
0 answers
54 views

hi everyone first of all i did what i all know but it doesnt work services: hotelreservationapi-presentation: image: hotelreservationapi-presentation:latest build: context: ./...
Heansy PG's user avatar
0 votes
0 answers
12 views

I have a project where I need to dynamically create .resx files based on other input files that are coming from somewhere else. These created .resx files then need to be compiled and embedded in the ...
Marcel V.'s user avatar
  • 302
1 vote
0 answers
62 views

I'm trying to read a log file that was written from a custom ILoggerProvider in a dotnet application: HostApplicationBuilder builder = Host.CreateApplicationBuilder(); builder.Logging.ClearProviders();...
Paul's user avatar
  • 3,974
1 vote
2 answers
104 views

I tried this code: CREATE OR REPLACE FUNCTION public.t4(in iid int, OUT n1 text, OUT n2 text) LANGUAGE plpgsql AS $function$ BEGIN SELECT DISTINCT n1=l.name, n2=l.comment from ...
Yarr's user avatar
  • 47
Best practices
0 votes
4 replies
102 views

I need to process a list of FileStream objects with the DoSomethingWithFileStreams method like below. If I write code like this, I am concerned that the list of FileStream gets disposed before they ...
Tom's user avatar
  • 192
-3 votes
1 answer
70 views

I draw triangles in OpenGL using DrawArrays(): public void DrawTriangle( Vector2 a, Vector2 b, Vector2 c, ShapeOptions shapeOptions = null) { shapeOptions ??= PresentationConsts.Shape....
Neomaster's user avatar
0 votes
1 answer
51 views

I have a main project of type console, and it references other library-type projects in the application. When I build the solution, it compiles normally, but when I run it in debug mode, it tries to ...
João's user avatar
  • 1
0 votes
1 answer
52 views

When I generate a data mapper library using Liquid Data Mapper, it always binds to .NET Framework 4.6.2, but I need it to target .NET 8. How can I change this functionality? My source is a CSV file ...
safepage's user avatar
-1 votes
1 answer
57 views

My project is able to build and run, but when I want to publish the project, I get this : Warning As Error: Detected package downgrade: System.Net.NameResolution from 4.3.0 to 4.0.0. Reference the ...
hmmmmm's user avatar
  • 1
0 votes
0 answers
59 views

I'm working on a C# .NET Framework 4.8 SDK-style project (WPF, Sdk=Microsoft.NET.Sdk). I want to pass command-line arguments to my project when running from Visual Studio. I created a launchSettings....
韩吉斯's user avatar
1 vote
0 answers
41 views

I am working with a .NET + Angular WebApp Project I added Angular Aria to the Angular project hoping to use their Autocomplete feature for a Select Box. I copied the code directly from the first ...
freedomdev's user avatar
1 vote
1 answer
21 views

Can you tell me what I need to do to get the APK through the console? How do I check that all the needed tools are installed? And which command or set of commands will create the APK file? I can ...
tunkimi's user avatar
  • 11
1 vote
0 answers
44 views

I am using OPCFoundation.NetStandard.Opc.Ua.Server (version 1.5.377.22) and would like to: Create a structure data type on the server. Create a variable node of that data type on the server. Set ...
Tobus's user avatar
  • 105
0 votes
1 answer
35 views

I'm building a dotnet maui application. One of the targets that I am using is Mac OS X maccatalyst. My app consists of a hybrid web control that goes into the safe area with negative top margin so ...
chris's user avatar
  • 83
1 vote
0 answers
65 views

I have a stdio mcp server running locally. The mcp server builds and runs. I have created 3 basic mcp tools that I will use for context when I prompt in Copilot however my tools are just not ...
Harold_Finch's user avatar
1 vote
0 answers
29 views

I encountered a problem when deploying a socket application using signalr. I connect with the longpolling method and it still works, but the websocket gives an error: Error: Failed to start the ...
Nguyễn Trường Phước's user avatar
1 vote
1 answer
103 views

I am trying to run my database code, but I keep getting this error and I've done whatever I can think of to fix it, whether it is random posts, or chatgpt, but I can't seem to figure it out. The ...
Hockaj's user avatar
  • 11
0 votes
0 answers
32 views

SignalR hub running as an EKS pod handles 700 VUs via ALB but fails at 720+, yet successfully handles 1000 VUs via kubectl port-forward with 85% free CPU and 43% free memory. This confirms the ...
Jeet 1234's user avatar
1 vote
0 answers
55 views

We use an internal Artifactory NuGet feed inside our organization. Here is my NuGet.Config: <?xml version="1.0" encoding="utf-8"?> <configuration> <...
Aisa Asghari's user avatar
-3 votes
0 answers
65 views

I have just started learning C# from its official tutorial in Microsoft Learn. In the record type section I saw this code: public record Point(int X, int Y); public static void Main() { Point pt = ...
Amr's user avatar
  • 7
0 votes
1 answer
93 views

I’m using the AWS S3 .NET SDK (Amazon.S3 + TransferUtility) to download files from an S3 bucket. Most file types download correctly (.txt, .zip, .webm, .ogv), but .mp4 and .mp3 always fail with this ...
RONNY's user avatar
  • 41
0 votes
0 answers
62 views

I am working with DevExpress v24.1 in a C# Windows Forms application. I am facing an issue where my DevExpress report only displays a single row of data, even though the assigned data source contains ...
ahmed barbary's user avatar
0 votes
0 answers
44 views

I have a DataTable read from a csv file: ID,ItemCode,ItemDescription 1,Test0,test item 2,Test2,second test item When I try to create an additional column as in https://learn.microsoft.com/en-us/...
NeartCarp's user avatar
  • 227
0 votes
1 answer
76 views

I have an ASP.NET Core 8.0 web application. In the appsettings.json I have a connection string defined. One pointing to a local database and one pointing to another database. "ConnectionStrings&...
user834252's user avatar
0 votes
1 answer
49 views

I was able to create a neat context menu that controls visibility of columns and wanted to show values of hidden ones in a tooltip, but I'm unable to, because somehow the very same binding is ...
KwarcPL's user avatar
  • 85
-1 votes
0 answers
23 views

i'm having trouble initializing Cef since i updated its version, we are using the version 89.0.170 and we upgraded to 140.1.140. the scenario is a follow: internal static class Program { ...
Marcelo's user avatar
Tooling
0 votes
0 replies
38 views

In the OSDP.Net library there is ControlPanel class representing control panel (ACU), which communicates with one or several PD (card readers). Class has RawCardDataReplyReceived event, which is ...
apdevelop's user avatar
  • 607
0 votes
1 answer
89 views

I tried experimenting with the new C#14 extension syntax. As an example, I wanted to implement a simulation of function currying using the << operator. public static class Curry { extension&...
Levente Bokor's user avatar
2 votes
1 answer
107 views

I have a list of records, by multiple UserID's. TableID UserID Status ------------------------ 1 3 3 2 4 3 3 3 4 4 4 3 5 5 4 6 ...
Sherry8212's user avatar
0 votes
0 answers
52 views

I am trying to run my .NET project in Visual Studio, but whenever I start the application—whether using Debug or Run—I get an error popup saying: This project doesn't know how to run the profile with ...
Nikhil Rao's user avatar
Advice
0 votes
0 replies
38 views

We have several applications built in .NET Framework 4.7.2 that uses .NET Identity for authorisation and authentication. I am trying to implement a session timeout, in line with OWASP recommendations. ...
Martin Vaughan's user avatar
-1 votes
1 answer
60 views

I have C# code that executes a Dapper Query, creates a temporary table, and uses a parameter to pass a value. In a subsequent query temp table is not available and will throw an error Invalid object ...
Akshay Chile's user avatar