4,180 questions with Developer technologies | .NET | Other tags

Sort by: Updated
1 answer

How can I build a calorie calculator app with .NET 8?

I’m learning .NET 8 and want to make a small app as practice. The idea is a Link removed I’m not sure how to start this project: Should I make a desktop app, web app, or mobile app in .NET 8? How do I create a simple form where a user chooses a drink,…

Developer technologies | .NET | Other
Developer technologies | .NET | Other

Microsoft Technologies based on the .NET software framework. Miscellaneous topics that do not fit into specific categories.

4,180 questions
asked 2025-09-06T14:41:10.1566667+00:00
Hailey Frod 0 Reputation points
answered 2026-09-26T18:33:04.9733333+00:00
Heinrich Klaaseen 0 Reputation points
3 answers

C# SCROLLINFO not working on Chrome window

I am attempting to retrieve scroll information from the window handle, but I keep getting a value of 0. I am pursuing this approach because my goal is to capture a complete scrolling screenshot of the window. The intention is to enable automatic…

Windows development | Windows API - Win32
Developer technologies | .NET | Other
Developer technologies | .NET | Other

Microsoft Technologies based on the .NET software framework. Miscellaneous topics that do not fit into specific categories.

4,180 questions
Developer technologies | C#
Developer technologies | C#

An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.

11,819 questions
asked 2023-08-13T10:53:38.2166667+00:00
Ankur Tripathi 1 Reputation point
edited an answer 2026-09-21T21:04:11.46+00:00
JuliaMarvin 23,005 Reputation points Volunteer Moderator
2 answers

what is the difference between constructor and properties

i mean in case we should declare a field as private is it better to declare a public property or using constructor? why? and if NO what is the usage of property? thank you very much :)

Developer technologies | .NET | Other
Developer technologies | .NET | Other

Microsoft Technologies based on the .NET software framework. Miscellaneous topics that do not fit into specific categories.

4,180 questions
Developer technologies | C#
Developer technologies | C#

An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.

11,819 questions
asked 2023-02-04T08:18:06.5933333+00:00
mohammad hoseini 0 Reputation points
edited a comment 2026-09-16T20:22:33.5566667+00:00
Umair Ahmed 0 Reputation points
2 answers One of the answers was accepted by the question author.

I am trying to install .NET 3.5 on a client's Windows Server 2025 - where can I find the Features on Demand for 2025

Downloading failed and Gemini has recommended getting the Features on Demand ISO but not having any luck finding it. Any help would be appreciated.

Developer technologies | .NET | Other
Developer technologies | .NET | Other

Microsoft Technologies based on the .NET software framework. Miscellaneous topics that do not fit into specific categories.

4,180 questions
asked 2026-09-01T20:00:03.4766667+00:00
Karl Pozmann 40 Reputation points
accepted 2026-09-04T14:00:20.4766667+00:00
Karl Pozmann 40 Reputation points
5 answers

Visual studio installer project code signing issue

I've been trying to get my .NET core program signed (the executable and dlls) with Visual Studio. In the build directory everything works fine: the properties of the files show my digital signature. However when I use the Visual Studio Installer…

Developer technologies | .NET | Other
Developer technologies | .NET | Other

Microsoft Technologies based on the .NET software framework. Miscellaneous topics that do not fit into specific categories.

4,180 questions
asked 2022-08-03T11:30:14.767+00:00
jesdev7 6 Reputation points
edited an answer 2026-09-04T12:03:25.9666667+00:00
Becker, W 66 Reputation points
1 answer

WebView2 stops working after 2 - 3 days with HRESULT 0x8007139F in WinForms application

We have a VB.NET WinForms application that uses five WebView2 controls on the same form. A client is experiencing the following problem: WebView2 works normally for approximately 2–3 days. After that, the application only shows the loading state and…

Developer technologies | .NET | Other
Developer technologies | .NET | Other

Microsoft Technologies based on the .NET software framework. Miscellaneous topics that do not fit into specific categories.

4,180 questions
asked 2026-08-26T12:10:17.6733333+00:00
test code 21 Reputation points
commented 2026-09-03T02:18:42.55+00:00
Danny Nguyen (WICLOUD CORPORATION) 8,890 Reputation points Microsoft External Staff Moderator
1 answer One of the answers was accepted by the question author.

How to solve System.NullReferenceException?

Hello, I want to Insert data into a MySQL table through a WCF service. My app is a WPF application. I can insert through Mysql and through WCFtestClient, but when I try to insert data from WPF app I get this error. How to check in details to see what is…

Developer technologies | Windows Presentation Foundation
Developer technologies | .NET | Other
Developer technologies | .NET | Other

Microsoft Technologies based on the .NET software framework. Miscellaneous topics that do not fit into specific categories.

4,180 questions
Developer technologies | C#
Developer technologies | C#

An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.

11,819 questions
asked 2023-07-03T20:59:51.5733333+00:00
B M-A 361 Reputation points
answered 2026-09-02T20:30:31.99+00:00
Ronil Fernandes 0 Reputation points
3 answers One of the answers was accepted by the question author.

Could Playwright for .NET leave a connection to the website open?

Tonight I was in a Starbucks. I wanted to test an application I wrote using Playwright for .NET which test a website I wrote. It has worked fine in the past, when I developed the app on my Windows 11 desktop. But when I cloned the repo to my laptop at…

Developer technologies | .NET | Other
Developer technologies | .NET | Other

Microsoft Technologies based on the .NET software framework. Miscellaneous topics that do not fit into specific categories.

4,180 questions
asked 2026-08-22T02:34:29.5233333+00:00
Rod Falanga 1,176 Reputation points
accepted 2026-08-28T02:17:58.69+00:00
Rod Falanga 1,176 Reputation points
3 answers One of the answers was accepted by the question author.

Problem on server after upgrad from .NET 4.6 to .NET 4.8 (site is KO)

Hello, We have just updated the version of an asp.net MVC project from .NET framework 4.6 to .Net 4.8. Following this, the solution compiles and works well locally whereas this is not the case after deploying the site. it no longer works on the server…

Developer technologies | .NET | .NET Runtime
Developer technologies | .NET | .NET Runtime

.NET: Microsoft Technologies based on the .NET software framework. Runtime: An environment required to run apps that aren't compiled to machine language.

1,338 questions
Developer technologies | .NET | Other
Developer technologies | .NET | Other

Microsoft Technologies based on the .NET software framework. Miscellaneous topics that do not fit into specific categories.

4,180 questions
Developer technologies | ASP.NET Core | Other
asked 2024-02-01T15:19:42.1+00:00
Wassim GHARSALLAOUI 20 Reputation points
commented 2026-08-24T07:48:05.46+00:00
muhammad shahbaz 0 Reputation points
1 answer

How to prevent Visual Studio Editor from reformatting my line?

When I enter lines in Visual Studio I like to have certain items line up. For example, btnAccumulate.Hide (); labelResultList.Hide (); lbResultList.Hide (); labelResult.Show (); tbResult.Show …

Developer technologies | .NET | Other
Developer technologies | .NET | Other

Microsoft Technologies based on the .NET software framework. Miscellaneous topics that do not fit into specific categories.

4,180 questions
Developer technologies | Visual Studio | Other
Developer technologies | Visual Studio | Other

A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.

5,843 questions
asked 2024-02-07T22:56:05.7933333+00:00
Nicholas Piazza 546 Reputation points
commented 2026-08-23T19:26:13.5366667+00:00
Yet Another Developer 0 Reputation points
2 answers

Securing .Net 10 WebApi to be called by Windows Application

Hello everyone and thanks for the help in advance. I am developing a .Net 10 WebApi that will be called by a Windows application. When searching for solutions I am confused if the calling application changes how the api is secured. Any help would be…

Developer technologies | .NET | Other
Developer technologies | .NET | Other

Microsoft Technologies based on the .NET software framework. Miscellaneous topics that do not fit into specific categories.

4,180 questions
asked 2026-07-18T01:48:31.2233333+00:00
Kmcnet 1,421 Reputation points
commented 2026-08-07T12:05:27.16+00:00
AgaveJoe 31,706 Reputation points
1 answer One of the answers was accepted by the question author.

.NET SDK10 Roslyn Analyzer Diagnostics `IDE0130` likely buggy

Description IDE0130 makes sure declared C# namespace matches the corresponding folder structure. Issue IDE0130 seems to work as expected in most cases. However, when a partial implementation with a corresponding generated source is analyzed, the analyzer…

Developer technologies | .NET | Other
Developer technologies | .NET | Other

Microsoft Technologies based on the .NET software framework. Miscellaneous topics that do not fit into specific categories.

4,180 questions
asked 2026-08-06T06:43:22.4066667+00:00
bic 25 Reputation points
commented 2026-08-06T15:16:18.64+00:00
bic 25 Reputation points
2 answers One of the answers was accepted by the question author.

Playwright for .NET Recorder/Inspector is giving me several problems.

I am certain that I ran playwright.ps1 from .\bin\Debug\net10.0\playwright.ps1, but every time I tried to run the codegen command, it always complained: .\bin\Debug\net10.0\codegen: The term '.\bin\Debug\net10.0\codegen' is not recognized as a name of a…

Developer technologies | .NET | Other
Developer technologies | .NET | Other

Microsoft Technologies based on the .NET software framework. Miscellaneous topics that do not fit into specific categories.

4,180 questions
asked 2026-08-03T17:39:21.4833333+00:00
Falanga, Rod, DOH 1,230 Reputation points
accepted 2026-08-05T14:09:52.4566667+00:00
Falanga, Rod, DOH 1,230 Reputation points
2 answers

How can I generate accurate code coverage reports using Coverlet in .NET projects?

I'm looking for the best way to generate accurate code coverage reports in a .NET application using Coverlet. I want to integrate code coverage into my testing workflow and CI/CD pipeline while ensuring reliable reporting across multiple projects. I've…

Developer technologies | .NET | Other
Developer technologies | .NET | Other

Microsoft Technologies based on the .NET software framework. Miscellaneous topics that do not fit into specific categories.

4,180 questions
asked 2026-07-29T05:59:15.5566667+00:00
ANEEZA RAJPUT 0 Reputation points
commented 2026-08-05T02:59:20.1166667+00:00
Danny Nguyen (WICLOUD CORPORATION) 8,890 Reputation points Microsoft External Staff Moderator
0 answers

Error using ClientWebSocket: The 'Connection' header value 'Upgrade,Keep-Alive' is invalid. .NET Framework 4.7.2

Hi, Im using .NET Framework 4.7.2 trying to connect to a WebSocket as a client, however I keep getting the same error over and over: System.Net.WebSockets.WebSocketException (0x80004005): The 'Connection' header value 'Upgrade,Keep-Alive' is invalid. …

Developer technologies | .NET | Other
Developer technologies | .NET | Other

Microsoft Technologies based on the .NET software framework. Miscellaneous topics that do not fit into specific categories.

4,180 questions
asked 2024-06-17T23:05:28.7633333+00:00
Marcelo Cantú 0 Reputation points
commented 2026-08-03T16:52:09.63+00:00
Harini B 0 Reputation points
1 answer One of the answers was accepted by the question author.

Having problems making Playwright for NET click a button

I am very new to Playwright. I'm using Playwright for NET, because I know .NET much better than I do JavaScript. I'm writing a Playwright for NET class to test a simple web application we've finished recently. A lot of the problems I'm having is I'm not…

Developer technologies | .NET | Other
Developer technologies | .NET | Other

Microsoft Technologies based on the .NET software framework. Miscellaneous topics that do not fit into specific categories.

4,180 questions
asked 2026-07-30T21:24:16.7666667+00:00
Falanga, Rod, DOH 1,230 Reputation points
accepted 2026-07-31T14:55:32.96+00:00
Falanga, Rod, DOH 1,230 Reputation points
1 answer One of the answers was accepted by the question author.

What approach should I adopt when beginning to use Playwright for NET?

Over the years I've written several unit tests, first using MSTest, and the last 5 years using xUnit. I'm used to the AAA pattern (Arrange/Act/Assert). Now I am trying to learn how to use Playwright. I know that initially it was probably written to work…

Developer technologies | .NET | Other
Developer technologies | .NET | Other

Microsoft Technologies based on the .NET software framework. Miscellaneous topics that do not fit into specific categories.

4,180 questions
asked 2026-07-29T20:24:28.4466667+00:00
Falanga, Rod, DOH 1,230 Reputation points
commented 2026-07-31T03:58:02.96+00:00
Taki Ly (WICLOUD CORPORATION) 5,630 Reputation points Microsoft External Staff Moderator
9 answers

VB.Net application query

Hi, One of the Application user lost his Admin access on one VB.Net application. No admin settings defined in db tables. Nothing set up in web. config. Can't find the reason. We have no Visual studio/Asp.net installed on the server. Can only open in …

Developer technologies | .NET | Other
Developer technologies | .NET | Other

Microsoft Technologies based on the .NET software framework. Miscellaneous topics that do not fit into specific categories.

4,180 questions
asked 2026-06-22T11:59:48.43+00:00
Chacko, Santhosh 10 Reputation points
commented 2026-07-14T18:02:27.9266667+00:00
Senthil kumar 2,580 Reputation points
2 answers One of the answers was accepted by the question author.

"Add your story" form on dotnet.microsoft.com shows an access denied.

The "Add your story" form on https://dotnet.microsoft.com/en-us/platform/customers shows an access denied error. Could you please fix this?

Developer technologies | .NET | Other
Developer technologies | .NET | Other

Microsoft Technologies based on the .NET software framework. Miscellaneous topics that do not fit into specific categories.

4,180 questions
asked 2026-06-29T20:11:45.21+00:00
Zoltán Lehóczky 80 Reputation points MVP
commented 2026-07-11T00:08:58.46+00:00
Maira Wenzel 81 Reputation points Microsoft Employee
3 answers One of the answers was accepted by the question author.

Migrating C# Visual Studio 2022 (17.8) from .NET 4.7 to .NET 8

How do I migrate my C3 project from .NET 4.7 to .NET 8? Google says to use .NET Upgrade Assistant, but I did not find this component in Extensions Manager.

Developer technologies | .NET | Other
Developer technologies | .NET | Other

Microsoft Technologies based on the .NET software framework. Miscellaneous topics that do not fit into specific categories.

4,180 questions
asked 2026-07-05T18:57:48.3233333+00:00
Saga 506 Reputation points
accepted 2026-07-06T23:58:46.52+00:00
Saga 506 Reputation points