Do NOT use for questions about .NET Core - use [.net-core] instead.
I have a regular C# code. I have no exceptions. I want to programmatically log the current stack trace for …
c# .net logging stack-trace printstacktraceWhen starting up my web site for the first time, I'm getting this error Could not load type 'System.Runtime.…
.netI'm trying to compare a time stamp from an incoming request to a database stored value. SQL Server of course …
c# .net datetimeI have put some Console.WriteLine calls in to test, but they aren't appearing in the output box? public static …
c# .net winformsHow can I group by with multiple columns using lambda? I saw examples of how to do it using linq …
c# .net entity-framework lambdaI am using .NET 3.5SP1 and DataContractSerializer to serialize a class. In SP1, they changed the behavior so that you …
c# .net wcf serializationI am getting the following exception. I have given full control to Asp.net account on Eventlogs in Registry edit. […
c# .net windows-7 event-log securityexceptionI installed a windows service using installUtil.exe. After updating the code I used installUtil.exe again to install the …
.net windows-servicesI have a Model with 4 properties which are of type string. I know you can validate the length of a …
c# .net asp.net-mvc asp.net-mvc-3 data-annotations