Top ".net" questions

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

.NET Short Unique Identifier

I need a unique identifier in .NET (cannot use GUID as it is too long for this case). Do people …

c# .net uniqueidentifier
Case insensitive string compare in LINQ-to-SQL

I've read that it's unwise to use ToUpper and ToLower to perform case-insensitive string comparisons, but I see no alternative …

.net vb.net linq case-sensitive-database
What's the foolproof way to tell which version(s) of .NET are installed on a production Windows Server?

This question is not so much programming related as it is deployment related. I find myself conversing a lot with …

.net windows deployment
How to get a MemoryStream from a Stream in .NET?

I have the following constructor method which opens a MemoryStream from a file path: MemoryStream _ms; public MyClass(string filePath) { …

c# .net file-io stream memorystream
What is the simplest way to write the contents of a StringBuilder to a text file in .NET 1.1?

I have to use StringBuilder instead of a List of strings because of being stuck with .NET 1.1 for this project. …

c# .net file-io windows-ce stringbuilder
Why can't DateTime.ParseExact() parse "9/1/2009" using "M/d/yyyy"

I have a string that looks like this: "9/1/2009". I want to convert it to a DateTime object (using C#). This …

.net datetime parsing cultureinfo
Async always WaitingForActivation

I am trying to figure out what the async & await keywords are all about, however the output isn't what …

c# .net asynchronous async-await
StringStream in C#

I want to be able to build a string from a class that I create that derives from Stream. Specifically, …

c# .net stringstream
How to execute an SSIS package from .NET?

I have a SSIS package that eventually I would like to pass parameters too, these parameters will come from a .…

c# .net sql-server vb.net ssis
Cannot find Dumpbin.exe

I do not see dumpbin.exe on my system. I have Visual Studio 2005 on my system. When I type dumpbin …

c# c++ .net visual-studio visual-studio-2005