File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ grand_parent: My Docs
88
99### Return all routes in the Web API.
1010
11- ``` csharp
11+ ``` c#
1212endpoints .MapGet (" /api/debug/routes" , (IEnumerable <EndpointDataSource > endpointSources ) =>
1313{
1414 var t = endpointSources .SelectMany (_ => _ .Endpoints )
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ grand_parent: My Docs
99### How to add HealthChecks to .Net Framework
1010---
1111
12- ``` csharp
12+ ``` c#
1313using Microsoft .Extensions .Diagnostics .HealthChecks ;
1414namespace Microsoft .Extensions .DependencyInjection
1515{
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ grand_parent: My Docs
1111
1212- We need to set the Controller Context for the controller under test. From that the HTTPContext is pulled.
1313
14- ``` csharp
14+ ``` c#
1515 public static ControllerContext GetControllerContext (Controller controller )
1616 {
1717 var mockHttpContext = new Mock <HttpContextBase >();
You can’t perform that action at this time.
0 commit comments