desharp
desharp copied to clipboard
C#/VB .NET debuging utility to dump or log structuralized variables, exceptions, stack traces and much more into console, visual studio console, into html web response as floating window or into html/...
`Desharp.Debug.Dump(ex)` causes: `{System.TypeLoadException: Could not load type 'System.Web.Hosting.HostingEnvironment' from assembly 'System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. at Desharp.Core.Dispatcher..cctor()} | System.Exception {System.TypeLoadException}` Environment: ASP.NET core
https://docs.microsoft.com/en-us/dotnet/csharp/whats-new/csharp-9#top-level-statements
https://docs.microsoft.com/en-us/dotnet/csharp/whats-new/csharp-9#record-types
https://docs.microsoft.com/en-us/dotnet/csharp/whats-new/csharp-7#local-functions
https://docs.microsoft.com/en-us/dotnet/csharp/whats-new/csharp-7-1#async-main
protected internal: https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/protected-internal private protected: https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/private-protected
https://docs.microsoft.com/en-us/dotnet/csharp/whats-new/csharp-8#static-local-functions
```c# System.TypeInitializationException: The type initializer for 'Desharp.Debug' threw an exception. ---> System.TypeInitializationException: The type initializer for 'Desharp.Core.Dispatcher' threw an exception. ---> System.TypeLoadException: Could not load type 'System.Web.Hosting.HostingEnvironment' from assembly 'System.Web,...