Top ".net" questions

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

Why I get 411 Length required error?

This is how I call a service with .NET: var requestedURL = "https://accounts.google.com/o/oauth2/token?code=" + code + "&…

c# .net httprequest http-status-code-411
Making WPF applications look Metro-styled, even in Windows 7? (Window Chrome / Theming / Theme)

I like the window chrome on the new Office Suite and Visual Studio: I'm still developing applications for Windows 7 of …

.net wpf windows-7 windows-8 microsoft-metro
How to parse a query string into a NameValueCollection in .NET

I would like to parse a string such as p1=6&p2=7&p3=8 into a NameValueCollection. What is the …

.net parsing query-string
What does Html.HiddenFor do?

Although I have read the documentation on Html.HiddenFor, I've not grasped what is it used for... Could somebody explain …

.net asp.net-mvc asp.net-mvc-2 html-helper html.hiddenfor
How to deselect all selected rows in a DataGridView control?

I'd like to deselect all selected rows in a DataGridView control when the user clicks on a blank (non-row) part …

.net winforms datagridview
How to loop through a checkboxlist and to find what's checked and not checked?

I'm trying to loop through items of a checkbox list. If it's checked, I want to set a value. If …

c# .net checkboxlist
.NET Core vs Mono

What is the difference between .NET Core and Mono? I found a statement on the official site that said: "Code …

c# .net mono .net-core
How to get the current user's Active Directory details in C#

I am working on an C# and ASP.Net application, that uses Windows Authentication. i.e. in Web.config: <…

c# .net active-directory ldap windows-authentication
Disable JavaScript error in WebBrowser control

I am developing a windows application with a WebBrowser control that navigates to a sharepoint site. My problem is that …

c# .net winforms webbrowser-control
How to solve '...is a 'type', which is not valid in the given context'? (C#)

The following code produces the error: Error : 'CERas.CERAS' is a 'type', which is not valid in the given context …

c# .net visual-studio network-programming wmi