Skip to content

Instantly share code, notes, and snippets.

View Ewerton's full-sized avatar

Ewerton Mattos Ewerton

View GitHub Profile
@Ewerton
Ewerton / ServiceCollectionExtensions.cs
Created November 19, 2021 18:16 — forked from ReallyLiri/ServiceCollectionExtensions.cs
ASP.NET dependency injection extensions
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Microsoft.AspNetCore.Routing;
using Microsoft.Extensions.DependencyInjection;
namespace ServiceCollectionExtensions
{
public static class ServiceCollectionExtensions