Smart.SWeb 1.222.0.27

dotnet add package Smart.SWeb --version 1.222.0.27
                    
NuGet\Install-Package Smart.SWeb -Version 1.222.0.27
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Smart.SWeb" Version="1.222.0.27" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Smart.SWeb" Version="1.222.0.27" />
                    
Directory.Packages.props
<PackageReference Include="Smart.SWeb" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Smart.SWeb --version 1.222.0.27
                    
#r "nuget: Smart.SWeb, 1.222.0.27"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Smart.SWeb@1.222.0.27
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Smart.SWeb&version=1.222.0.27
                    
Install as a Cake Addin
#tool nuget:?package=Smart.SWeb&version=1.222.0.27
                    
Install as a Cake Tool

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);

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.222.0.27 544 3/18/2025
1.222.0.26 480 3/18/2025
1.222.0.25 480 3/18/2025
1.222.0.24 469 3/18/2025
1.222.0.23 482 3/18/2025
1.222.0.22 464 3/18/2025
1.222.0.21 473 3/18/2025
1.222.0.20 461 3/18/2025
1.222.0.19 458 3/18/2025
1.222.0.18 487 3/17/2025
1.222.0.17 486 3/17/2025
1.222.0.15 479 3/17/2025
1.222.0.13 479 3/17/2025
1.222.0.11 482 3/17/2025
1.222.0.10 466 3/17/2025
1.222.0.9 472 3/17/2025
1.222.0.8 469 3/17/2025
1.222.0.7 466 3/17/2025
1.222.0.6 491 3/17/2025
1.222.0.5 485 3/17/2025
Loading failed

Bug fixes and performance improvements