We're trying to optimize some specific app service layer code, but we're having a hard time getting a console app setup with BenchmarkDotNet to get started. Has anyone setup someting similar that we can take a look at?
We have an app service that's doing quite a bit of manipulation and we're hoping to resolve that app service in the benchmark app so we can compare one method "Evaluate" of the app service to another, like "OptimizedEvaluate".
We havne't used BenchmarkDotNet before. Maybe this sample can help you to setup a Console application https://github.com/aspnetboilerplate/aspnetboilerplate-samples/tree/master/AbpEfConsoleApp
We also have a plan to create a BenchmarkDotNet integrated sample for AspNet Zero but probably it will be in the next version.
I have made a suggestion in the issue area of the AspnetZero repo to have a console app always apart of AspNetZero. My suggestion is to have the console app authenticate to the web api then authorize based on the AspnetZero setup.
This would help alot in making quick console apps for Azure functions, possibly webhooks and scheduling AspnetZero jobs with a scheduling system.
Even a visual studio VSIX file would be of great benefit to add to an existing AspNetZero project.
For me, please show a very simple console app with the necessary DLL's so that I can do the above with some feeling of going forward; otherwise I am totally guessing.
In going forward, if I have issues, I will open a new ticket. Thanks for listening.