Hsk.DbLogModule 0.0.3

The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package Hsk.DbLogModule --version 0.0.3
                    
NuGet\Install-Package Hsk.DbLogModule -Version 0.0.3
                    
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="Hsk.DbLogModule" Version="0.0.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Hsk.DbLogModule" Version="0.0.3" />
                    
Directory.Packages.props
<PackageReference Include="Hsk.DbLogModule" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Hsk.DbLogModule --version 0.0.3
                    
#r "nuget: Hsk.DbLogModule, 0.0.3"
                    
#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.
#addin nuget:?package=Hsk.DbLogModule&version=0.0.3
                    
Install Hsk.DbLogModule as a Cake Addin
#tool nuget:?package=Hsk.DbLogModule&version=0.0.3
                    
Install Hsk.DbLogModule as a Cake Tool

### 接入方式

- 1.添加自动迁移(如果希望自动生成表)
   ```
   host.Migrate();
 ```
- 2.设置不验证scope
    ```
     IHostBuilder...UseDefaultServiceProvider(options => { options.ValidateScopes = false; });
  ```

-  3.添加服务
   ```
   services.AddDbLog(BuildDbContextOptions);
      //这个方法是为了和其他dbcontext共用
      public void BuildDbContextOptions(DbContextOptionsBuilder options)
           {
               options.UseMySqlMigrations(Configuration["ConnectionStrings:PlatConnection"]);
           }
   ```
- 4.添加中间件,
  > 必须要放在==**app.UseRouting()**==之后;

   ```
    app.UseDbLog();
   ```

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Hsk.DbLogModule:

Package Downloads
Hsk.Data.SqlServerMigrations

添加DbLog迁移

Hsk.Data.MySqlMigrations

添加DbLog初始化迁移

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated