上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 75 下一页

2022年8月8日

JQuery 前端跨域设置 withCredentials: true

摘要: 阅读全文

posted @ 2022-08-08 09:59 itjeff 阅读(234) 评论(0) 推荐(0)

2022年8月2日

asp.netcore项目发布部署到IIS需要AspNetCoreModuleV2

摘要: ps:.net framework是可以直接发布,IIS指定就能正常访问的。但aspnetcore 项目略有不同,要额外安装一个模块,如果没有安装,会报HTTP 错误 500.19 - Internal Server Error的错。 1、官方版本地址:https://dotnet.microsof 阅读全文

posted @ 2022-08-02 18:09 itjeff 阅读(3094) 评论(0) 推荐(0)

2022年7月28日

bootstrap suggest二级关联不更新下拉表问题解决办法

摘要: 阅读全文

posted @ 2022-07-28 09:56 itjeff 阅读(69) 评论(0) 推荐(0)

2022年7月27日

JS插件之——bootstrap-suggest.js

摘要: 今天遇到了一个很牛逼的插件bootstrap-suggest.js 如此好用的搜索提示插件 简直酷毙了 源码下载地址 编写了一个例子,供以后参考 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2 <html > 3 阅读全文

posted @ 2022-07-27 17:57 itjeff 阅读(601) 评论(0) 推荐(0)

2022年7月19日

SessionState的几种设置

摘要: SessionState: web Form 网页是基于HTTP的,它们没有状态, 这意味着它们不知道所有的请求是否来自同一台客户端计算机,网页是受到了破坏,以及是否得到了刷新,这样就可能造成信息的丢失。 于是, 状态管理就成了开发网络应用程序的一个实实在在的问题。在ASP中能够通过Cookie 、 阅读全文

posted @ 2022-07-19 14:23 itjeff 阅读(517) 评论(0) 推荐(0)

2022年7月8日

c# 金额小写转大写(财务金额)

摘要: public static string NumtoChinese(decimal s) { s = Math.Round(s, 2);//四舍五入到两位小数,即分 string[] n = { "零", "壹", "贰", "叁", "肆", "伍", "陆", "柒", "捌", "玖" }; 阅读全文

posted @ 2022-07-08 18:03 itjeff 阅读(358) 评论(0) 推荐(0)

2022年6月30日

asp.net core cookie认证

摘要: asp.net core版本:5.0 客户端:Vue 首先我们看一下服务端代码,在startup类的ConfigureServices函数中添加cookie认证: services.AddAuthentication(CookieAuthenticationDefaults.Authenticati 阅读全文

posted @ 2022-06-30 16:22 itjeff 阅读(294) 评论(0) 推荐(0)

.net core使用官方CookieAuthentication身份验证

摘要: 注入: public IServiceProvider ConfigureServices(IServiceCollection services) { //services.AddJwtAuthorization(Configuration); var types = new[] { typeof 阅读全文

posted @ 2022-06-30 16:21 itjeff 阅读(134) 评论(0) 推荐(0)

2022年6月29日

.net core 读取 appsetting.json

摘要: 文件 appsetting.json {"Logging": {"IncludeScopes": false,"LogLevel": {"Default": "Warning"}},"ConnectionStrings": {"DefaultConnection": "User ID=sa;Pass 阅读全文

posted @ 2022-06-29 10:26 itjeff 阅读(1252) 评论(0) 推荐(0)

2022年6月23日

HTTP重定向出现“正在中止线程”问题

摘要: Response.Redirect 产生的“正在中止线程”错误,将出现 ThreadAbortException 异常。原因:Response.End 方法终止页的执行,并将此执行切换到应用程序的事件管线中的 Application_EndRequest 事件。不执行 Response.End 后面 阅读全文

posted @ 2022-06-23 15:40 itjeff 阅读(109) 评论(0) 推荐(0)

上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 75 下一页

导航