Smart.SWeb
1.0.0.97
See the version list below for details.
dotnet add package Smart.SWeb --version 1.0.0.97
NuGet\Install-Package Smart.SWeb -Version 1.0.0.97
<PackageReference Include="Smart.SWeb" Version="1.0.0.97" />
paket add Smart.SWeb --version 1.0.0.97
#r "nuget: Smart.SWeb, 1.0.0.97"
// Install Smart.SWeb as a Cake Addin #addin nuget:?package=Smart.SWeb&version=1.0.0.97 // Install Smart.SWeb as a Cake Tool #tool nuget:?package=Smart.SWeb&version=1.0.0.97
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.97)
- 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 | 476 | 7/6/2022 |
1.0.0.142 | 422 | 7/4/2022 |
1.0.0.141 | 424 | 4/28/2022 |
1.0.0.140 | 420 | 4/26/2022 |
1.0.0.139 | 434 | 4/21/2022 |
1.0.0.138 | 443 | 4/20/2022 |
1.0.0.137 | 460 | 4/19/2022 |
1.0.0.136 | 430 | 4/17/2022 |
1.0.0.135 | 380 | 9/16/2021 |
1.0.0.134 | 329 | 9/13/2021 |
1.0.0.133 | 398 | 9/12/2021 |
1.0.0.132 | 421 | 9/12/2021 |
1.0.0.131 | 336 | 8/22/2021 |
1.0.0.130 | 368 | 8/10/2021 |
1.0.0.129 | 325 | 8/6/2021 |
1.0.0.128 | 321 | 8/2/2021 |
1.0.0.127 | 343 | 7/31/2021 |
1.0.0.126 | 419 | 6/27/2021 |
1.0.0.125 | 395 | 5/7/2021 |
1.0.0.124 | 350 | 5/7/2021 |
1.0.0.123 | 385 | 5/7/2021 |
1.0.0.122 | 397 | 5/6/2021 |
1.0.0.121 | 337 | 4/23/2021 |
1.0.0.120 | 325 | 4/20/2021 |
1.0.0.119 | 356 | 4/20/2021 |
1.0.0.118 | 356 | 4/19/2021 |
1.0.0.117 | 388 | 4/19/2021 |
1.0.0.116 | 354 | 4/19/2021 |
1.0.0.115 | 306 | 4/12/2021 |
1.0.0.114 | 333 | 4/12/2021 |
1.0.0.113 | 341 | 4/12/2021 |
1.0.0.112 | 363 | 4/11/2021 |
1.0.0.111 | 362 | 4/10/2021 |
1.0.0.110 | 305 | 4/5/2021 |
1.0.0.109 | 344 | 3/27/2021 |
1.0.0.108 | 365 | 3/19/2021 |
1.0.0.107 | 314 | 3/18/2021 |
1.0.0.106 | 346 | 3/17/2021 |
1.0.0.105 | 324 | 3/17/2021 |
1.0.0.104 | 322 | 2/4/2021 |
1.0.0.103 | 344 | 2/2/2021 |
1.0.0.102 | 356 | 1/30/2021 |
1.0.0.101 | 346 | 1/30/2021 |
1.0.0.100 | 347 | 1/30/2021 |
1.0.0.99 | 397 | 1/21/2021 |
1.0.0.98 | 363 | 1/17/2021 |
1.0.0.97 | 332 | 1/12/2021 |
1.0.0.96 | 369 | 1/8/2021 |
1.0.0.95 | 373 | 1/5/2021 |
1.0.0.94 | 355 | 1/5/2021 |
1.0.0.93 | 349 | 1/5/2021 |
1.0.0.92 | 343 | 12/30/2020 |
1.0.0.91 | 315 | 12/30/2020 |
Bug fixes and performance improvements