Skip to main content
0 votes
0 answers
2 views

ASP.NET XML Docs with implied 'summary' tag

I want my ASP.NET (C#) project to show the XML Docs comments in Swagger UI. This is working but I also want there to be an implicit <summary> tag on my comments. E.g. I want this to work /// ...
Peter L's user avatar
  • 3,391
0 votes
0 answers
2 views

C# 14 Extension members for static classes

Recently, C# introduced extension members in version 14. Can extension methods be written for static classes like Path, File or Directory? In the previous proposal (roles and extensions), something ...
HamedFathi's user avatar
  • 3,989
-5 votes
0 answers
29 views

What's the difference between using `var` and explicitly declaring the type in C#? [duplicate]

They both seem to do the same thing in this case. Is there any practical difference between using var and explicitly writing the type like int, string, etc.? When is it recommended to use var, and are ...
MehdiAvazniya's user avatar
0 votes
0 answers
9 views

Using late binding to run AdvancedSearch in Outlook in .NET8?

I'm trying to use the AdvancedSearch feature from Outlook in my .NET 8 application, but I haven't been able to make it work. I'm currently using Restrict when I need to filter by a specific sender or ...
Winderson Soares's user avatar
0 votes
0 answers
10 views

Best practices of configuring a .NET 8 Web API using AWS

I’m building a .NET 8 Web API and want to centralize all of my application settings—both sensitive and non-sensitive—while keeping secrets out of source control and preserving a smooth local ...
Askish's user avatar
  • 97
0 votes
0 answers
10 views

DataTable is always empty in ASP.NET MVC

I am working with jQuery datatables, but the datatable is always empty when the page loads. On inspecting the network tab, the request returns an empty response but when debugging the controller ...
Adam Lukman's user avatar
-3 votes
0 answers
22 views

How can I safely update a MySQL database record using C# and HTTP PUT without exposing SQL injection risks? [closed]

I'm currently learning C# and working on a project where I update a MySQL database record through a web application. I'm using an HTTP PUT method in my controller, and I pass updated data from a form ...
Yaqoob Zahoor's user avatar
0 votes
0 answers
21 views

How to read the public key's exponent and the modulus using System.Formats.Asn1.AnsReader in C#

The goal is to read a certificate and parse the ASN.1 elements for further use. I managed to instantiate the reader as follows with no issues: AsnReader readerAll = new AsnReader(new ReadOnlyMemory&...
Tamil Shenbaga Selvi's user avatar
0 votes
0 answers
13 views

There were problems loading project grpc-client.csproj. See log for details

When I try to hit the save button for the file grpc-client.csproj on my Code Editor. It shows the error: There were problems loading project grpc-client.csproj.See log for details. The content of my ...
bibashmanjusubedi's user avatar
0 votes
0 answers
16 views

Avalonia UI on Arch Linux (Hyprland) - Android/iOS builds fail with [NETSDK1139] error - Workaround?

I’m trying to run a cross-platform Avalonia UI app on Arch Linux (Hyprland). The desktop (Linux) and browser versions work fine, but the Android and iOS versions fail to launch with the following ...
Ali-Muhammad Zakaryaev's user avatar
1 vote
1 answer
35 views

How to document what the generic type parameters of a Func are?

Suppose you have a property which is a Func<T1, T2, TResult>. How do you provide inline documentation for what T1 and T2 are? Example: public class MyClass { /// <summary>Checks ...
Rush Frisby's user avatar
  • 11.5k
1 vote
0 answers
23 views

Setting DNS IP4 using WMI C#

I am trying to set the IP settings in my method using WMI public static GULErrorCode ApplyIPSettingsByFriendlyName(string friendlyName, Dictionary<string, JToken> complexData) { ...
0___________'s user avatar
  • 68.5k
0 votes
0 answers
24 views

Discrepancy between the USPS data attribute on the google API site and the data returned when we call the Google API

API in Use: We're using the Google Address Validation API(https://developers.google.com/maps/documentation/address-validation/overview), specifically the v1:validateAddress endpoint. Google's ...
Baljinder Singh Sandhu's user avatar
0 votes
1 answer
20 views

How to locate popup via Selenium

I am trying to programmatically download a file from a webpage. I can navigate to the page and click the 'Download' button, but that button opens a new window to set the download location and click ...
TS-'s user avatar
  • 376
1 vote
0 answers
15 views

How do I grab a program's DWM thumbnail from it's process handle in .NET 6.0 WPF C#

I am trying to recreate the Flip3D feature from Windows Vista (pictured below), but now I need to get the DWM thumbnails from each program. I already have each program's process handle, but now I need ...
Eric William's user avatar

15 30 50 per page
1
2 3 4 5
108336