Top ".net" questions

Do NOT use for questions about .NET Core - use [.net-core] instead.

Adding new line of data to TextBox

I'm doing a chat client, and currently I have a button that will display data to a multi-line textbox when …

c# .net winforms user-interface textbox
ASP.NET MVC Global Variables

How do you declare global variables in ASP.NET MVC?

c# .net asp.net asp.net-mvc global-variables
The remote server returned an error: (407) Proxy Authentication Required

I'm getting this error when I call a web service: "The remote server returned an error: (407) Proxy Authentication Required". I …

c# .net proxy-authentication http-status-code-407 machine.config
How to create an installer for a .net Windows Service using Visual Studio

How do I create an installer for a Windows Service that I have created using Visual Studio?

c# .net visual-studio windows-services windows-installer
How do I get and set Environment variables in C#?

How can I get Environnment variables and if something is missing, set the value?

c# .net .net-2.0 environment-variables
ERROR : [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified

While connecting .net to sybase server I got this error message: [Microsoft][ODBC Driver Manager] Data source name not found …

.net visual-studio-2005 odbc datasource
How to deserialize a JObject to .NET object

I happily use the Newtonsoft JSON library. For example, I would create a JObject from a .NET object, in this …

.net json exception serialization json.net
Find all controls in WPF Window by type

I'm looking for a way to find all controls on Window by their type, for example: find all TextBoxes, find …

c# .net wpf
HttpClient.GetAsync(...) never returns when using await/async

Edit: This question looks like it might be the same problem, but has no responses... Edit: In test case 5 the …

c# .net asynchronous async-await dotnet-httpclient
How to loop through all the files in a directory in c # .net?

I want to get the files in folder and also in its subfolders.The following code does not get the …

c# .net