Compare commits

...

3 Commits

Author SHA1 Message Date
shecs 8a61ab60cf 111 2024-05-14 16:16:08 +08:00
shecs 77560b9b92 11 2024-05-14 16:14:55 +08:00
shecs 11a9c0ce80 111 2024-05-14 15:55:26 +08:00
14 changed files with 411 additions and 423 deletions
-3
View File
@@ -1038,9 +1038,6 @@ EProject/WebApi/obj/Release/WebApi.csproj.FileListAbsolute.txt
EProject/WebApi/obj/Release/WebApi.csprojAssemblyReference.cache
EProject/WebApi/obj/Release/WebApi.dll
EProject/WebApi/obj/Release/WebApi.pdb
EProject/WebApi/Web.config
EProject/WebApi/Web.Debug.config
EProject/WebApi/Web.Release.config
/EProject/.vs/EProject
/EProject/BLL/.vs
/EProject/BLL/obj
Binary file not shown.
Binary file not shown.
+1 -1
View File
@@ -10,7 +10,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>BLL</RootNamespace>
<AssemblyName>BLL</AssemblyName>
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<SccProjectName>
</SccProjectName>
+4 -4
View File
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-13.0.0.0" newVersion="13.0.0.0" />
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-13.0.0.0" newVersion="13.0.0.0"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" /></startup></configuration>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/></startup></configuration>
+34 -34
View File
@@ -13,13 +13,13 @@ namespace Resources {
/// <summary>
/// 强类型资源类,用于查找本地化字符串等。
/// 一个强类型资源类,用于查找本地化字符串等。
/// </summary>
// 此类是由 StronglyTypedResourceBuilder
// 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。
// 若要添加或除成员,请编辑 .ResX 文件,然后重新运行 ResGen
// 若要添加或除成员,请编辑 .ResX 文件,然后重新运行 ResGen
// (以 /str 作为命令选项),或重新生成 Visual Studio 项目。
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Web.Application.StronglyTypedResourceProxyBuilder", "15.0.0.0")]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Web.Application.StronglyTypedResourceProxyBuilder", "17.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Lan {
@@ -33,7 +33,7 @@ namespace Resources {
}
/// <summary>
/// 返回此类使用的缓存 ResourceManager 实例。
/// 返回此类使用的缓存 ResourceManager 实例。
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
@@ -47,8 +47,8 @@ namespace Resources {
}
/// <summary>
/// 覆盖当前线程的 CurrentUICulture 属性
/// 使用此强类型资源类的资源查找。
/// 重写当前线程的 CurrentUICulture 属性,对
/// 使用此强类型资源类的所有资源查找执行重写
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
@@ -61,7 +61,7 @@ namespace Resources {
}
/// <summary>
/// 查找类似 账号 的本地化字符串。
/// 查找类似 账号 的本地化字符串。
/// </summary>
internal static string Account {
get {
@@ -70,7 +70,7 @@ namespace Resources {
}
/// <summary>
/// 查找类似 新增 的本地化字符串。
/// 查找类似 新增 的本地化字符串。
/// </summary>
internal static string Add {
get {
@@ -79,7 +79,7 @@ namespace Resources {
}
/// <summary>
/// 查找类似 全部 的本地化字符串。
/// 查找类似 全部 的本地化字符串。
/// </summary>
internal static string All {
get {
@@ -88,7 +88,7 @@ namespace Resources {
}
/// <summary>
/// 查找类似 所有行 的本地化字符串。
/// 查找类似 所有行 的本地化字符串。
/// </summary>
internal static string AllLines {
get {
@@ -97,7 +97,7 @@ namespace Resources {
}
/// <summary>
/// 查找类似 全选 的本地化字符串。
/// 查找类似 全选 的本地化字符串。
/// </summary>
internal static string AllSelected {
get {
@@ -106,7 +106,7 @@ namespace Resources {
}
/// <summary>
/// 查找类似 中文 的本地化字符串。
/// 查找类似 中文 的本地化字符串。
/// </summary>
internal static string Chinese {
get {
@@ -115,7 +115,7 @@ namespace Resources {
}
/// <summary>
/// 查找类似 关闭 的本地化字符串。
/// 查找类似 关闭 的本地化字符串。
/// </summary>
internal static string Close {
get {
@@ -124,7 +124,7 @@ namespace Resources {
}
/// <summary>
/// 查找类似 已关闭 的本地化字符串。
/// 查找类似 已关闭 的本地化字符串。
/// </summary>
internal static string Closed {
get {
@@ -133,7 +133,7 @@ namespace Resources {
}
/// <summary>
/// 查找类似 删除 的本地化字符串。
/// 查找类似 删除 的本地化字符串。
/// </summary>
internal static string Delete {
get {
@@ -142,7 +142,7 @@ namespace Resources {
}
/// <summary>
/// 查找类似 删除数据 的本地化字符串。
/// 查找类似 删除数据 的本地化字符串。
/// </summary>
internal static string DeleteData {
get {
@@ -151,7 +151,7 @@ namespace Resources {
}
/// <summary>
/// 查找类似 删除成功! 的本地化字符串。
/// 查找类似 删除成功! 的本地化字符串。
/// </summary>
internal static string DeletedSuccessfully {
get {
@@ -160,7 +160,7 @@ namespace Resources {
}
/// <summary>
/// 查找类似 删除选中行? 的本地化字符串。
/// 查找类似 删除选中行? 的本地化字符串。
/// </summary>
internal static string DeleteReminder {
get {
@@ -169,7 +169,7 @@ namespace Resources {
}
/// <summary>
/// 查找类似 删除行 的本地化字符串。
/// 查找类似 删除行 的本地化字符串。
/// </summary>
internal static string DeleteRows {
get {
@@ -178,7 +178,7 @@ namespace Resources {
}
/// <summary>
/// 查找类似 编辑 的本地化字符串。
/// 查找类似 编辑 的本地化字符串。
/// </summary>
internal static string Edit {
get {
@@ -187,7 +187,7 @@ namespace Resources {
}
/// <summary>
/// 查找类似 英文 的本地化字符串。
/// 查找类似 英文 的本地化字符串。
/// </summary>
internal static string English {
get {
@@ -196,7 +196,7 @@ namespace Resources {
}
/// <summary>
/// 查找类似 导出 的本地化字符串。
/// 查找类似 导出 的本地化字符串。
/// </summary>
internal static string Export {
get {
@@ -205,7 +205,7 @@ namespace Resources {
}
/// <summary>
/// 查找类似 首页 的本地化字符串。
/// 查找类似 首页 的本地化字符串。
/// </summary>
internal static string HomePage {
get {
@@ -214,7 +214,7 @@ namespace Resources {
}
/// <summary>
/// 查找类似 查询 的本地化字符串。
/// 查找类似 查询 的本地化字符串。
/// </summary>
internal static string Inquiry {
get {
@@ -223,7 +223,7 @@ namespace Resources {
}
/// <summary>
/// 查找类似 行 的本地化字符串。
/// 查找类似 行 的本地化字符串。
/// </summary>
internal static string Line {
get {
@@ -232,7 +232,7 @@ namespace Resources {
}
/// <summary>
/// 查找类似 正在加载··· 的本地化字符串。
/// 查找类似 正在加载··· 的本地化字符串。
/// </summary>
internal static string Loading {
get {
@@ -241,7 +241,7 @@ namespace Resources {
}
/// <summary>
/// 查找类似 加载动画 的本地化字符串。
/// 查找类似 加载动画 的本地化字符串。
/// </summary>
internal static string LoadingAnimation {
get {
@@ -250,7 +250,7 @@ namespace Resources {
}
/// <summary>
/// 查找类似 否 的本地化字符串。
/// 查找类似 否 的本地化字符串。
/// </summary>
internal static string No {
get {
@@ -259,7 +259,7 @@ namespace Resources {
}
/// <summary>
/// 查找类似 请选择 的本地化字符串。
/// 查找类似 请选择 的本地化字符串。
/// </summary>
internal static string PleaseSelect {
get {
@@ -268,7 +268,7 @@ namespace Resources {
}
/// <summary>
/// 查找类似 保存 的本地化字符串。
/// 查找类似 保存 的本地化字符串。
/// </summary>
internal static string Save {
get {
@@ -277,7 +277,7 @@ namespace Resources {
}
/// <summary>
/// 查找类似 保存成功! 的本地化字符串。
/// 查找类似 保存成功! 的本地化字符串。
/// </summary>
internal static string SaveSuccessfully {
get {
@@ -286,7 +286,7 @@ namespace Resources {
}
/// <summary>
/// 查找类似 选择 的本地化字符串。
/// 查找类似 选择 的本地化字符串。
/// </summary>
internal static string Select {
get {
@@ -295,7 +295,7 @@ namespace Resources {
}
/// <summary>
/// 查找类似 选择语言 的本地化字符串。
/// 查找类似 选择语言 的本地化字符串。
/// </summary>
internal static string SelectLanguage {
get {
@@ -304,7 +304,7 @@ namespace Resources {
}
/// <summary>
/// 查找类似 是 的本地化字符串。
/// 查找类似 是 的本地化字符串。
/// </summary>
internal static string Yes {
get {
+10 -161
View File
@@ -1009,117 +1009,6 @@ ldap验证
不走域账号登录
q.Count=1
登录成功
登录之前获取账号密码为:account=glypassword=gly.1234
走域账号登录
auth.CheckPassword 验证密码
lock锁这里
ldap验证
捕获异常信息:LDAP 服务器不可用。
域账号登录失败:LDAP 服务器不可用。
不走域账号登录
抛错异常:用户 'sa' 登录失败。
错误信息开始=====>
错误类型:NullReferenceException
错误信息:未将对象引用设置到对象的实例。
错误堆栈:
在 (PageManager )
在 ZRytHNRKYtApNWfaegCVhjsammsVA.BRZZlHWFMSgVFSOUeCpquyFrOVwT()
在 ZRytHNRKYtApNWfaegCVhjsammsVA.BRZZlHWFMSgVFSOUeCpquyFrOVwT(Object , EventArgs )
在 System.Web.UI.Page.OnPreRenderComplete(EventArgs e)
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
出错时间:05/14/2024 15:47:37
出错文件:http://localhost:9099/loginApi.aspx?rand=0.13548079161373372
IP地址:::1
出错时间:05/14/2024 15:47:37
登录之前获取账号密码为:account=glypassword=gly.1234
走域账号登录
auth.CheckPassword 验证密码
lock锁这里
ldap验证
捕获异常信息:LDAP 服务器不可用。
域账号登录失败:LDAP 服务器不可用。
不走域账号登录
抛错异常:用户 'sa' 登录失败。
错误信息开始=====>
错误类型:NullReferenceException
错误信息:未将对象引用设置到对象的实例。
错误堆栈:
在 (PageManager )
在 ZRytHNRKYtApNWfaegCVhjsammsVA.BRZZlHWFMSgVFSOUeCpquyFrOVwT()
在 ZRytHNRKYtApNWfaegCVhjsammsVA.BRZZlHWFMSgVFSOUeCpquyFrOVwT(Object , EventArgs )
在 System.Web.UI.Page.OnPreRenderComplete(EventArgs e)
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
出错时间:05/14/2024 15:47:43
出错文件:http://localhost:9099/loginApi.aspx?rand=0.22253523534095576
IP地址:::1
出错时间:05/14/2024 15:47:43
登录之前获取账号密码为:account=glypassword=gly.1234
走域账号登录
auth.CheckPassword 验证密码
lock锁这里
ldap验证
捕获异常信息:LDAP 服务器不可用。
域账号登录失败:LDAP 服务器不可用。
不走域账号登录
抛错异常:用户 'sa' 登录失败。
错误信息开始=====>
错误类型:NullReferenceException
错误信息:未将对象引用设置到对象的实例。
错误堆栈:
在 (PageManager )
在 ZRytHNRKYtApNWfaegCVhjsammsVA.BRZZlHWFMSgVFSOUeCpquyFrOVwT()
在 ZRytHNRKYtApNWfaegCVhjsammsVA.BRZZlHWFMSgVFSOUeCpquyFrOVwT(Object , EventArgs )
在 System.Web.UI.Page.OnPreRenderComplete(EventArgs e)
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
出错时间:05/14/2024 15:49:06
出错文件:http://localhost:9099/loginApi.aspx?rand=0.9995970603546727
IP地址:::1
出错时间:05/14/2024 15:49:06
登录之前获取账号密码为:account=glypassword=gly.1234
走域账号登录
auth.CheckPassword 验证密码
lock锁这里
ldap验证
捕获异常信息:LDAP 服务器不可用。
域账号登录失败:LDAP 服务器不可用。
不走域账号登录
q.Count=1
登录之前获取账号密码为:account=glypassword=1234
走域账号登录
auth.CheckPassword 验证密码
lock锁这里
ldap验证
捕获异常信息:LDAP 服务器不可用。
域账号登录失败:LDAP 服务器不可用。
不走域账号登录
q.Count=1
登录之前获取账号密码为:account=glypassword=123456
走域账号登录
auth.CheckPassword 验证密码
lock锁这里
ldap验证
捕获异常信息:LDAP 服务器不可用。
域账号登录失败:LDAP 服务器不可用。
不走域账号登录
q.Count=1
登录之前获取账号密码为:account=glypassword=gly
走域账号登录
auth.CheckPassword 验证密码
lock锁这里
ldap验证
捕获异常信息:LDAP 服务器不可用。
域账号登录失败:LDAP 服务器不可用。
不走域账号登录
q.Count=1
登录之前获取账号密码为:account=glypassword=huwei@123
走域账号登录
auth.CheckPassword 验证密码
@@ -1130,53 +1019,13 @@ ldap验证
不走域账号登录
q.Count=1
登录成功
错误信息开始=====>
错误类型:HttpParseException
错误信息:类型“FineUIPro.TabStrip”不具有名为“InkBarPosition”的公共属性。
错误堆栈:
在 System.Web.UI.TemplateParser.ProcessException(Exception ex)
在 System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding)
在 System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding)
----错误类型:HttpException
----错误信息:
----类型“FineUIPro.TabStrip”不具有名为“InkBarPosition”的公共属性。
----错误堆栈:
在 System.Web.UI.ControlBuilder.AddProperty(String filter, String name, String value, Boolean mainDirectiveMode)
在 System.Web.UI.ControlBuilder.PreprocessAttributes(ParsedAttributeCollection attribs)
在 System.Web.UI.ControlBuilder.Init(TemplateParser parser, ControlBuilder parentBuilder, Type type, String tagName, String id, IDictionary attribs)
在 System.Web.UI.ControlBuilder.CreateBuilderFromType(TemplateParser parser, ControlBuilder parentBuilder, Type type, String tagName, String id, IDictionary attribs, Int32 line, String sourceFileName)
在 System.Web.UI.ControlBuilder.CreateChildBuilder(String filter, String tagName, IDictionary attribs, TemplateParser parser, ControlBuilder parentBuilder, String id, Int32 line, VirtualPath virtualPath, Type& childType, Boolean defaultProperty)
在 System.Web.UI.TemplateParser.ProcessBeginTag(Match match, String inputText)
在 System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding)
出错时间:05/14/2024 15:51:12
出错文件:http://localhost:9099/index.aspx
IP地址:::1
出错时间:05/14/2024 15:51:12
错误信息开始=====>
错误类型:HttpParseException
错误信息:类型“FineUIPro.TabStrip”不具有名为“InkBarPosition”的公共属性。
错误堆栈:
在 System.Web.UI.TemplateParser.ProcessException(Exception ex)
在 System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding)
在 System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding)
----错误类型:HttpException
----错误信息:
----类型“FineUIPro.TabStrip”不具有名为“InkBarPosition”的公共属性。
----错误堆栈:
在 System.Web.UI.ControlBuilder.AddProperty(String filter, String name, String value, Boolean mainDirectiveMode)
在 System.Web.UI.ControlBuilder.PreprocessAttributes(ParsedAttributeCollection attribs)
在 System.Web.UI.ControlBuilder.Init(TemplateParser parser, ControlBuilder parentBuilder, Type type, String tagName, String id, IDictionary attribs)
在 System.Web.UI.ControlBuilder.CreateBuilderFromType(TemplateParser parser, ControlBuilder parentBuilder, Type type, String tagName, String id, IDictionary attribs, Int32 line, String sourceFileName)
在 System.Web.UI.ControlBuilder.CreateChildBuilder(String filter, String tagName, IDictionary attribs, TemplateParser parser, ControlBuilder parentBuilder, String id, Int32 line, VirtualPath virtualPath, Type& childType, Boolean defaultProperty)
在 System.Web.UI.TemplateParser.ProcessBeginTag(Match match, String inputText)
在 System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding)
出错时间:05/14/2024 15:51:38
出错文件:http://localhost:9099/index.aspx
IP地址:::1
出错时间:05/14/2024 15:51:38
登录之前获取账号密码为:account=glypassword=huwei@123
走域账号登录
auth.CheckPassword 验证密码
lock锁这里
ldap验证
捕获异常信息:LDAP 服务器不可用。
域账号登录失败:LDAP 服务器不可用。
不走域账号登录
q.Count=1
登录成功
+1 -1
View File
@@ -12,7 +12,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>FineUIPro.Web</RootNamespace>
<AssemblyName>FineUIPro.Web</AssemblyName>
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<UseIISExpress>true</UseIISExpress>
<SccProjectName>
</SccProjectName>
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -10,7 +10,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Model</RootNamespace>
<AssemblyName>Model</AssemblyName>
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<SccProjectName>
</SccProjectName>
+30
View File
@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- 有关使用 Web.config 转换的详细信息,请访问 https://go.microsoft.com/fwlink/?LinkId=301874 -->
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
<!--
在下例中,“SetAttributes”转换将更改
“connectionString”的值,仅在“Match”定位器找到值为“MyDB”的
特性“name”时使用“ReleaseSQLServer”。
<connectionStrings>
<add name="MyDB"
connectionString="Data Source=ReleaseSQLServer;Initial Catalog=MyReleaseDB;Integrated Security=True"
xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
</connectionStrings>
-->
<system.web>
<!--
在以下示例中,"Replace" 转换将替换 Web.config 文件的
整个 <customErrors> 节。
请注意,由于在 <system.web> 节点下只有一个
customErrors 节,因此无需使用 "xdt:Locator" 属性。
<customErrors defaultRedirect="GenericError.htm"
mode="RemoteOnly" xdt:Transform="Replace">
<error statusCode="500" redirect="InternalError.htm"/>
</customErrors>
-->
</system.web>
</configuration>
+31
View File
@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- 有关使用 Web.config 转换的详细信息,请访问 https://go.microsoft.com/fwlink/?LinkId=301874 -->
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
<!--
在下例中,“SetAttributes”转换将更改
“connectionString”的值,仅在“Match”定位器找到值为“MyDB”的
特性“name”时使用“ReleaseSQLServer”。
<connectionStrings>
<add name="MyDB"
connectionString="Data Source=ReleaseSQLServer;Initial Catalog=MyReleaseDB;Integrated Security=True"
xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
</connectionStrings>
-->
<system.web>
<compilation xdt:Transform="RemoveAttributes(debug)" />
<!--
在以下示例中,"Replace" 转换将替换 Web.config 文件的
整个 <customErrors> 节。
请注意,由于在 <system.web> 节点下只有一个
customErrors 节,因此无需使用 "xdt:Locator" 属性。
<customErrors defaultRedirect="GenericError.htm"
mode="RemoteOnly" xdt:Transform="Replace">
<error statusCode="500" redirect="InternalError.htm"/>
</customErrors>
-->
</system.web>
</configuration>
+79
View File
@@ -0,0 +1,79 @@
<?xml version="1.0"?>
<!--
有关如何配置 ASP.NET 应用程序的详细信息,请访问
https://go.microsoft.com/fwlink/?LinkId=301879
-->
<configuration>
<appSettings>
<add key="webpages:Version" value="3.0.0.0"/>
<add key="webpages:Enabled" value="false"/>
<add key="ClientValidationEnabled" value="true"/>
<add key="UnobtrusiveJavaScriptEnabled" value="true"/>
<!--连接字符串-->
<add key="ConnectionString" value="Server=.\sql2016;Database=EProjectDB;Integrated Security=False;User ID=sa;Password=1111;MultipleActiveResultSets=true;Connect Timeout=1200"/>
<!--版本号-->
<add key="SystemVersion" value="WebApi_V2019-09-20-001"/>
<!--附件上传物理路径-->
<add key="localRoot" value="D:\DepCode\Eproject\Eproject\FineUIPro.Web\"/>
<!--每页数量-->
<add key="PageSize" value="15"/>
</appSettings>
<!--
有关 web.config 更改的说明,请参见 http://go.microsoft.com/fwlink/?LinkId=235367。
可在 <httpRuntime> 标记上设置以下特性。
<system.Web>
<httpRuntime targetFramework="4.8" />
</system.Web>
-->
<system.web>
<compilation debug="false" targetFramework="4.8"/>
<httpRuntime targetFramework="4.6.1"/>
</system.web>
<system.webServer>
<handlers>
<remove name="ExtensionlessUrlHandler-Integrated-4.0"/>
<remove name="OPTIONSVerbHandler"/>
<remove name="TRACEVerbHandler"/>
<add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0"/>
</handlers>
</system.webServer>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Antlr3.Runtime" publicKeyToken="eb42632606e9261f"/>
<bindingRedirect oldVersion="0.0.0.0-3.5.0.2" newVersion="3.5.0.2"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" culture="neutral" publicKeyToken="30ad4fe6b2a6aeed"/>
<bindingRedirect oldVersion="0.0.0.0-11.0.0.0" newVersion="11.0.0.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Optimization" publicKeyToken="31bf3856ad364e35"/>
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="1.1.0.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35"/>
<bindingRedirect oldVersion="1.0.0.0-1.6.5135.21930" newVersion="1.6.5135.21930"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35"/>
<bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35"/>
<bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35"/>
<bindingRedirect oldVersion="1.0.0.0-5.2.4.0" newVersion="5.2.4.0"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
<system.codedom>
<compilers>
<compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:default /nowarn:1659;1699;1701"/>
<compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:default /nowarn:41008 /define:_MYTYPE=\&quot;Web\&quot; /optionInfer+"/>
</compilers>
</system.codedom>
</configuration>
+6 -4
View File
@@ -14,7 +14,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>WebApi</RootNamespace>
<AssemblyName>WebApi</AssemblyName>
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<MvcBuildViews>false</MvcBuildViews>
<UseIISExpress>true</UseIISExpress>
<Use64BitIISExpress />
@@ -25,6 +25,7 @@
<UseGlobalApplicationHostFile />
<NuGetPackageImportStamp>
</NuGetPackageImportStamp>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
@@ -48,13 +49,13 @@
<Reference Include="Microsoft.CSharp" />
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="System.Drawing" />
<Reference Include="System.Web.DynamicData" />
<Reference Include="System.Web.Entity" />
<Reference Include="System.Web.ApplicationServices" />
<Reference Include="System.ComponentModel.DataAnnotations" />
<Reference Include="System.Core" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Web.Extensions" />
<Reference Include="System.Web" />
<Reference Include="System.Web.Abstractions" />
<Reference Include="System.Web.Routing" />
@@ -108,6 +109,7 @@
<Private>True</Private>
<HintPath>..\packages\Microsoft.AspNet.WebPages.3.2.4\lib\net45\System.Web.WebPages.Razor.dll</HintPath>
</Reference>
<Reference Include="System.Xml.Linq" />
<Reference Include="WebGrease">
<Private>True</Private>
<HintPath>..\packages\WebGrease.1.6.0\lib\WebGrease.dll</HintPath>