Skip to content

Instantly share code, notes, and snippets.

View Zoxive's full-sized avatar

Kyle Wascher Zoxive

  • Midland, MI
  • 23:58 (UTC -04:00)
View GitHub Profile
@Zoxive
Zoxive / gist:bcfc30e0518be6db8870efb12e16e8e4
Last active April 24, 2024 13:49
Favorite CSharp Analyzers
<PackageReference Include="SmartAnalyzers.CSharpExtensions.Annotations" Version="3.10.0" />
<PackageReference Include="AsyncSuffixAnalyzer" Version="1.0.6285.32977" PrivateAssets="All"/>
<PackageReference Include="Lindhart.Analyser.MissingAwaitWarning" Version="1.2.0" PrivateAssets="All"/>
<PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="2.9.7" PrivateAssets="All"/>
<PackageReference Include="AsyncFixer" Version="1.1.6" PrivateAssets="All"/>
<PackageReference Include="Roslynator.Analyzers" Version="2.2.0" PrivateAssets="All"/>
<PackageReference Include="Roslynator.CodeFixes" Version="2.0.0" PrivateAssets="All" />
<PackageReference Include="Nopen.NET" Version="1.0.0" PrivateAssets="All" />
<PackageReference Include="Apex.Analyzers.Immutable" Version="1.2.5" PrivateAssets="All" />
<PackageReference Include="Apex.Analyzers.Immutable.Attributes" Version="1.0.0" />
@Zoxive
Zoxive / ProfiledViewResultExecutor.cs
Created May 13, 2018 15:36
Mini Profile dotnet core razor view engine
public class ProfiledViewResultExecutor : IActionResultExecutor<ViewResult>
{
private readonly IActionResultExecutor<ViewResult> _base;
public ProfiledViewResultExecutor(IActionResultExecutor<ViewResult> @base)
{
_base = @base;
}
public Task ExecuteAsync(ActionContext context, ViewResult result)
@Zoxive
Zoxive / CreateQuotes.cs
Created June 3, 2016 14:41
BenchmarkDotNet getting variables inside a test
public class CreateQuotes
{
public CreateQuotes()
{
// TODO get access to string[] args from Program.Main(args)
var options = // Read From a Singleton? or from App.config?
}
[Benchmark]
public void NonConfig()
CSharp
https://github.com/StackExchange/NetGain
https://github.com/StackExchange/dapper-dot-net
Javascript
https://github.com/typings/registry
https://github.com/lodash/lodash
https://github.com/facebook/react
https://github.com/rackt/redux