Top ".net" questions

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

Is there a difference between "throw" and "throw ex"?

There are some posts that asks what the difference between those two are already. (why do I have to even …

c# .net exception exception-handling
How can I get a list of users from active directory?

How can I get a list of users from active directory? Is there a way to pull username, firstname, lastname? …

c# asp.net .net active-directory
Create web service proxy in Visual Studio from a WSDL file

My application needs to talk to a web service that hasn't got an online WSDL definition. The developers however supplied …

c# .net visual-studio web-services wsdl
How to check whether a string is a valid HTTP URL?

There are the Uri.IsWellFormedUriString and Uri.TryCreate methods, but they seem to return true for file paths etc. How …

c# .net validation url uri
Resolving MSB3247 - Found conflicts between different versions of the same dependent assembly

A .NET 3.5 solution ended up with this warning when compiling with msbuild. Sometimes NDepend might help out but in this …

.net msbuild clr ndepend
Get Enum from Description attribute

Possible Duplicate: Finding an enum value by its Description Attribute I have a generic extension method which gets the Description …

c# .net attributes enums
How do I access named capturing groups in a .NET Regex?

I'm having a hard time finding a good resource that explains how to use Named Capturing Groups in C#. This …

c# .net regex
How can I create a dynamic button click event on a dynamic button?

I am creating one button on a page dynamically. Now I want to use the button click event on that …

c# asp.net .net button event-handling
Where/how can I download (and install) the Microsoft.Jet.OLEDB.4.0 for Windows 8, 64 bit?

I've got a 32 bit .net 2.0 app that uses the Jet OLEDB 4.0. It runs fin on Windows 8 32 bit, but not on …

.net windows-8
Linq to Entities - SQL "IN" clause

In T-SQL you could have a query like: SELECT * FROM Users WHERE User_Rights IN ("Admin", "User", "Limited") How would …

.net linq linq-to-entities in-clause