Smart.SWeb
1.0.0.128
See the version list below for details.
dotnet add package Smart.SWeb --version 1.0.0.128
NuGet\Install-Package Smart.SWeb -Version 1.0.0.128
<PackageReference Include="Smart.SWeb" Version="1.0.0.128" />
paket add Smart.SWeb --version 1.0.0.128
#r "nuget: Smart.SWeb, 1.0.0.128"
// Install Smart.SWeb as a Cake Addin #addin nuget:?package=Smart.SWeb&version=1.0.0.128 // Install Smart.SWeb as a Cake Tool #tool nuget:?package=Smart.SWeb&version=1.0.0.128
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.128)
- 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 | 480 | 7/6/2022 |
1.0.0.142 | 427 | 7/4/2022 |
1.0.0.141 | 429 | 4/28/2022 |
1.0.0.140 | 428 | 4/26/2022 |
1.0.0.139 | 441 | 4/21/2022 |
1.0.0.138 | 448 | 4/20/2022 |
1.0.0.137 | 468 | 4/19/2022 |
1.0.0.136 | 437 | 4/17/2022 |
1.0.0.135 | 387 | 9/16/2021 |
1.0.0.134 | 334 | 9/13/2021 |
1.0.0.133 | 403 | 9/12/2021 |
1.0.0.132 | 426 | 9/12/2021 |
1.0.0.131 | 341 | 8/22/2021 |
1.0.0.130 | 373 | 8/10/2021 |
1.0.0.129 | 330 | 8/6/2021 |
1.0.0.128 | 326 | 8/2/2021 |
1.0.0.127 | 348 | 7/31/2021 |
1.0.0.126 | 424 | 6/27/2021 |
1.0.0.125 | 400 | 5/7/2021 |
1.0.0.124 | 355 | 5/7/2021 |
1.0.0.123 | 392 | 5/7/2021 |
1.0.0.122 | 402 | 5/6/2021 |
1.0.0.121 | 342 | 4/23/2021 |
1.0.0.120 | 332 | 4/20/2021 |
1.0.0.119 | 363 | 4/20/2021 |
1.0.0.118 | 361 | 4/19/2021 |
1.0.0.117 | 393 | 4/19/2021 |
1.0.0.116 | 359 | 4/19/2021 |
1.0.0.115 | 311 | 4/12/2021 |
1.0.0.114 | 338 | 4/12/2021 |
1.0.0.113 | 346 | 4/12/2021 |
1.0.0.112 | 368 | 4/11/2021 |
1.0.0.111 | 369 | 4/10/2021 |
1.0.0.110 | 310 | 4/5/2021 |
1.0.0.109 | 349 | 3/27/2021 |
1.0.0.108 | 370 | 3/19/2021 |
1.0.0.107 | 321 | 3/18/2021 |
1.0.0.106 | 351 | 3/17/2021 |
1.0.0.105 | 329 | 3/17/2021 |
1.0.0.104 | 327 | 2/4/2021 |
1.0.0.103 | 349 | 2/2/2021 |
1.0.0.102 | 361 | 1/30/2021 |
1.0.0.101 | 351 | 1/30/2021 |
1.0.0.100 | 354 | 1/30/2021 |
1.0.0.99 | 402 | 1/21/2021 |
1.0.0.98 | 368 | 1/17/2021 |
1.0.0.97 | 337 | 1/12/2021 |
1.0.0.96 | 374 | 1/8/2021 |
1.0.0.95 | 380 | 1/5/2021 |
1.0.0.94 | 360 | 1/5/2021 |
1.0.0.93 | 354 | 1/5/2021 |
1.0.0.92 | 348 | 12/30/2020 |
1.0.0.91 | 320 | 12/30/2020 |
Bug fixes and performance improvements