We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c2fb9c4 commit 0c374fbCopy full SHA for 0c374fb
src/LamarWithMinimalApiOnNet6/Program.cs
@@ -1,9 +1,6 @@
1
-using System;
2
using Lamar;
3
using Lamar.Microsoft.DependencyInjection;
4
-using Microsoft.AspNetCore.Builder;
5
using Microsoft.AspNetCore.Mvc;
6
-using Microsoft.Extensions.DependencyInjection;
7
8
#region sample_using_lamar_with_minimal_api
9
@@ -32,6 +29,9 @@
32
29
// Add Minimal API routes
33
30
app.MapGet("/", (ITest service) => service.SayHello());
34
31
+//var container = (IContainer)app.Services;
+//container.GetServices<Microsoft.AspNetCore.Diagnostics.IDeveloperPageExceptionFilter>();
+
35
app.Run();
36
37
#endregion
0 commit comments