Smart.SWeb
1.0.0.99
See the version list below for details.
dotnet add package Smart.SWeb --version 1.0.0.99
NuGet\Install-Package Smart.SWeb -Version 1.0.0.99
<PackageReference Include="Smart.SWeb" Version="1.0.0.99" />
paket add Smart.SWeb --version 1.0.0.99
#r "nuget: Smart.SWeb, 1.0.0.99"
// Install Smart.SWeb as a Cake Addin #addin nuget:?package=Smart.SWeb&version=1.0.0.99 // Install Smart.SWeb as a Cake Tool #tool nuget:?package=Smart.SWeb&version=1.0.0.99
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.99)
- 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 | 420 | 7/4/2022 |
1.0.0.141 | 422 | 4/28/2022 |
1.0.0.140 | 418 | 4/26/2022 |
1.0.0.139 | 432 | 4/21/2022 |
1.0.0.138 | 441 | 4/20/2022 |
1.0.0.137 | 459 | 4/19/2022 |
1.0.0.136 | 430 | 4/17/2022 |
1.0.0.135 | 379 | 9/16/2021 |
1.0.0.134 | 329 | 9/13/2021 |
1.0.0.133 | 396 | 9/12/2021 |
1.0.0.132 | 419 | 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 | 319 | 8/2/2021 |
1.0.0.127 | 342 | 7/31/2021 |
1.0.0.126 | 418 | 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 | 394 | 5/6/2021 |
1.0.0.121 | 335 | 4/23/2021 |
1.0.0.120 | 323 | 4/20/2021 |
1.0.0.119 | 355 | 4/20/2021 |
1.0.0.118 | 354 | 4/19/2021 |
1.0.0.117 | 386 | 4/19/2021 |
1.0.0.116 | 353 | 4/19/2021 |
1.0.0.115 | 304 | 4/12/2021 |
1.0.0.114 | 332 | 4/12/2021 |
1.0.0.113 | 341 | 4/12/2021 |
1.0.0.112 | 362 | 4/11/2021 |
1.0.0.111 | 362 | 4/10/2021 |
1.0.0.110 | 303 | 4/5/2021 |
1.0.0.109 | 344 | 3/27/2021 |
1.0.0.108 | 363 | 3/19/2021 |
1.0.0.107 | 313 | 3/18/2021 |
1.0.0.106 | 344 | 3/17/2021 |
1.0.0.105 | 324 | 3/17/2021 |
1.0.0.104 | 322 | 2/4/2021 |
1.0.0.103 | 342 | 2/2/2021 |
1.0.0.102 | 354 | 1/30/2021 |
1.0.0.101 | 345 | 1/30/2021 |
1.0.0.100 | 346 | 1/30/2021 |
1.0.0.99 | 395 | 1/21/2021 |
1.0.0.98 | 362 | 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 | 354 | 1/5/2021 |
1.0.0.93 | 348 | 1/5/2021 |
1.0.0.92 | 342 | 12/30/2020 |
1.0.0.91 | 315 | 12/30/2020 |
Bug fixes and performance improvements