Scutor.AspnetCore.Wireup 1.0.0

dotnet add package Scutor.AspnetCore.Wireup --version 1.0.0                
NuGet\Install-Package Scutor.AspnetCore.Wireup -Version 1.0.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Scutor.AspnetCore.Wireup" Version="1.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Scutor.AspnetCore.Wireup --version 1.0.0                
#r "nuget: Scutor.AspnetCore.Wireup, 1.0.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Scutor.AspnetCore.Wireup as a Cake Addin
#addin nuget:?package=Scutor.AspnetCore.Wireup&version=1.0.0

// Install Scutor.AspnetCore.Wireup as a Cake Tool
#tool nuget:?package=Scutor.AspnetCore.Wireup&version=1.0.0                

Scutor.AspnetCore.Wireup

GitHub licenseGitHub issuesGitHub starsNuGet

Current version is : Scutor wire up services and classes for asp.net core

This tool will be updated with further needs or requests

Usage

First you need to install it via nuget :

Install-Package Scutor.AspnetCore.Wireup -Version 1.0.0

or install via cli command :

dotnet add package Scutor.AspnetCore.Wireup --version 1.0.0

Writeup can be done in Startup.cs class, simply with one line of code

  public void ConfigureServices(IServiceCollection services)
  {
    // other services can add here
    // like :
    // services.AddMvc();
    // Transient
    services.WireupTransient(this.GetType().Assembly);            
    // Scoped
    services.WireupScoped(this.GetType().Assembly);            
    // Singleton
    services.WireupSingleton(this.GetType().Assembly);            
  }

You can specify search condition for scanning assemblies like this :

  public void ConfigureServices(IServiceCollection services)
  {
    // other services can add here
    // like :
    // services.AddMvc();
    services.AddMvc();
    // Transient
    services.WireupTransient(this.GetType().Assembly, "*Transient_types.dll");            
    // Scoped
    services.WireupScoped(this.GetType().Assembly, "*Scoped_types.dll");            
    // Singleton
    services.WireupSingleton(this.GetType().Assembly, "*Singleton_types.dll");            
  }
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.1 is compatible.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETCoreApp 2.1

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.0 163,638 6/26/2018

1.0.0 :
- First release