NDepend is my favorite static code analyzer for dotnet. Check how I use it.
2 snippets, 4 videos, 19 developer stories and 6 posts tagged with “C#”
Transform datetime to long or long to datetime in C#.
A simple C# extension method which use Substring to get the last N characters in a string.
If you can, pass the connection string as a parameter to the class library. Second option is System.Configuration.ConfigurationManager
Configuring and using AutoMapper in a .NET CORE class library is briefed in this article.