Mike Chamberlain

Results 8 issues of Mike Chamberlain

**Describe the problem** In `exponentialRetryPolicy`, the status codes to retry are hard coded in the `shouldRetry` functionas follows: ```ts function shouldRetry(policy: ExponentialRetryPolicy, statusCode: number | undefined, retryData: RetryData): boolean {...

enhancement

This would be so useful to me... if only it could output valid C# code! Currently, I have to print the object and then mess around with it to get...

enhancement
Help wanted

https://github.agodadev.io/pages/standards-c-sharp/code-standards/solution-structure/web-solution-structure.html

New Rule

If you have to use `this`, it means you've named your private field wrong. `_privateField` instead of `this.privateField`.

We want to move away from convention-based to attribute-based routing. This analyzer should ensure that all public methods in a class that inherit from `System.Web.Mvc.Controller` or `System.Web.Http.ApiController` have a `[Route]`...

New Rule

- System.IO? - System.Web? - System.Net? https://github.agodadev.io/pages/standards-c-sharp/code-standards/static-methods/when-static.html

New Rule
Needs discussion