Smart.SWeb
1.0.0.143
dotnet add package Smart.SWeb --version 1.0.0.143
NuGet\Install-Package Smart.SWeb -Version 1.0.0.143
<PackageReference Include="Smart.SWeb" Version="1.0.0.143" />
paket add Smart.SWeb --version 1.0.0.143
#r "nuget: Smart.SWeb, 1.0.0.143"
// Install Smart.SWeb as a Cake Addin #addin nuget:?package=Smart.SWeb&version=1.0.0.143 // Install Smart.SWeb as a Cake Tool #tool nuget:?package=Smart.SWeb&version=1.0.0.143
Smart.Web
使用方法:
(在Global.asax.cs文件Application_Start方法添加如下代码)
//全局封装webapi的返回结果如:{"Code":500,"Data":null,"Message":"尝试除以零。","Success":false}
GlobalConfiguration.Configure(Smart.Web.SmartWeb.InitAPIResultAttribute);
//全局异常处理
GlobalConfiguration.Configure(Smart.Web.SmartWeb.InitApiExceptionHandlingAttribute);
(在WebApiConfig.cs文件Register方法添加如下代码)
//控制器版本管理
Dictionary<string, object> dic = new Dictionary<string, object>();
dic.Add("config", config);
var versionControllerSelector = Smart.Kernel.Resolve<Smart.Web.ISVersionControllerSelector>(dic);
config.Services.Replace(typeof(IHttpControllerSelector), versionControllerSelector);
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
- FluentValidation (>= 8.6.1)
- FluentValidation.ValidatorAttribute (>= 8.6.1)
- FluentValidation.WebApi (>= 8.6.1)
- log4net (>= 2.0.8)
- Microsoft.AspNet.WebApi.Client (>= 5.2.4)
- Microsoft.AspNet.WebApi.Core (>= 5.2.4)
- Newtonsoft.Json (>= 9.0.1)
- Smart.Kernel (>= 1.0.0.143)
- System.ComponentModel.Annotations (>= 4.4.1)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Smart.SWeb:
Package | Downloads |
---|---|
Smart.OAuth
Smart.OAuth 使用方法: (在Global.asax.cs文件Application_Start方法添加如下代码) //Web Controllers权限校验(Header或者URL或者Cookies上需要添加token参数) Smart.OAuth.SmartOAuth.InitControllerAuthorizeAttribute(GlobalFilters.Filters); //WebAPI权限校验(Header或者URL上需要添加token参数) GlobalConfiguration.Configure(Smart.OAuth.SmartOAuth.InitWebAPIAuthentication); |
|
Smart.Quartz
提供计划任务服务 |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.0.143 | 478 | 7/6/2022 |
1.0.0.142 | 425 | 7/4/2022 |
1.0.0.141 | 427 | 4/28/2022 |
1.0.0.140 | 426 | 4/26/2022 |
1.0.0.139 | 439 | 4/21/2022 |
1.0.0.138 | 446 | 4/20/2022 |
1.0.0.137 | 466 | 4/19/2022 |
1.0.0.136 | 435 | 4/17/2022 |
1.0.0.135 | 385 | 9/16/2021 |
1.0.0.134 | 332 | 9/13/2021 |
1.0.0.133 | 401 | 9/12/2021 |
1.0.0.132 | 424 | 9/12/2021 |
1.0.0.131 | 339 | 8/22/2021 |
1.0.0.130 | 371 | 8/10/2021 |
1.0.0.129 | 328 | 8/6/2021 |
1.0.0.128 | 324 | 8/2/2021 |
1.0.0.127 | 346 | 7/31/2021 |
1.0.0.126 | 422 | 6/27/2021 |
1.0.0.125 | 398 | 5/7/2021 |
1.0.0.124 | 353 | 5/7/2021 |
1.0.0.123 | 390 | 5/7/2021 |
1.0.0.122 | 400 | 5/6/2021 |
1.0.0.121 | 340 | 4/23/2021 |
1.0.0.120 | 328 | 4/20/2021 |
1.0.0.119 | 359 | 4/20/2021 |
1.0.0.118 | 359 | 4/19/2021 |
1.0.0.117 | 391 | 4/19/2021 |
1.0.0.116 | 357 | 4/19/2021 |
1.0.0.115 | 309 | 4/12/2021 |
1.0.0.114 | 336 | 4/12/2021 |
1.0.0.113 | 344 | 4/12/2021 |
1.0.0.112 | 366 | 4/11/2021 |
1.0.0.111 | 367 | 4/10/2021 |
1.0.0.110 | 308 | 4/5/2021 |
1.0.0.109 | 347 | 3/27/2021 |
1.0.0.108 | 368 | 3/19/2021 |
1.0.0.107 | 317 | 3/18/2021 |
1.0.0.106 | 349 | 3/17/2021 |
1.0.0.105 | 327 | 3/17/2021 |
1.0.0.104 | 325 | 2/4/2021 |
1.0.0.103 | 347 | 2/2/2021 |
1.0.0.102 | 359 | 1/30/2021 |
1.0.0.101 | 349 | 1/30/2021 |
1.0.0.100 | 352 | 1/30/2021 |
1.0.0.99 | 400 | 1/21/2021 |
1.0.0.98 | 366 | 1/17/2021 |
1.0.0.97 | 335 | 1/12/2021 |
1.0.0.96 | 372 | 1/8/2021 |
1.0.0.95 | 378 | 1/5/2021 |
1.0.0.94 | 358 | 1/5/2021 |
1.0.0.93 | 352 | 1/5/2021 |
1.0.0.92 | 346 | 12/30/2020 |
1.0.0.91 | 318 | 12/30/2020 |
Bug fixes and performance improvements