Smart.Kernel
1.0.0.143
dotnet add package Smart.Kernel --version 1.0.0.143
NuGet\Install-Package Smart.Kernel -Version 1.0.0.143
<PackageReference Include="Smart.Kernel" Version="1.0.0.143" />
<PackageVersion Include="Smart.Kernel" Version="1.0.0.143" />
<PackageReference Include="Smart.Kernel" />
paket add Smart.Kernel --version 1.0.0.143
#r "nuget: Smart.Kernel, 1.0.0.143"
#:package Smart.Kernel@1.0.0.143
#addin nuget:?package=Smart.Kernel&version=1.0.0.143
#tool nuget:?package=Smart.Kernel&version=1.0.0.143
Smart
使用方法:
(在Global.asax.cs文件Application_Start方法添加如下代码,添加到方法的第一行)
Smart.Kernel.InitContainer();
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET Framework | net452 is compatible. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
.NETFramework 4.5.2
- Autofac (>= 4.9.4)
- log4net (>= 2.0.8)
- Newtonsoft.Json (>= 9.0.1)
NuGet packages (10)
Showing the top 5 NuGet packages that depend on Smart.Kernel:
| Package | Downloads |
|---|---|
|
Smart.SAutoMapper
Smart.SAutoMapper |
|
|
Smart.SWeb
Smart.SWeb 使用方法: (在Global.asax.cs文件Application_Start方法添加如下代码) //全局封装webapi的返回结果如:{"Code":500,"Data":null,"Message":"尝试除以零。","Success":false} GlobalConfiguration.Configure(Smart.SWeb.SmartWeb.InitAPIResultAttribute); //全局异常处理 GlobalConfiguration.Configure(Smart.SWeb.SmartWeb.InitApiExceptionHandlingAttribute); (在WebApiConfig.cs文件Register方法添加如下代码) //控制器版本管理 Dictionary<string, object> dic = new Dictionary<string, object>(); dic.Add("config", config); var versionControllerSelector = Smart.Kernel.Resolve<Smart.SWeb.ISVersionControllerSelector>(dic); config.Services.Replace(typeof(IHttpControllerSelector), versionControllerSelector); |
|
|
Smart.Application
Smart.Application |
|
|
Smart.Domain
Smart.Domain |
|
|
Smart.Redis
Smart.Redis |
GitHub repositories
This package is not used by any popular GitHub repositories.
Bug fixes and performance improvements