摘要: 部署 创建镜像 把net 发布文件后 上传到centos 在目录下执行 docker build -t name . 启动镜像 docker端口号映射到主机 docker run --name=xwh -p 7351:7351 -d imagesname 安装docker 卸载docker命令 su 阅读全文
posted @ 2021-07-01 15:59 _wh 阅读(87) 评论(0) 推荐(0)
摘要: 把cookie的 SameSite 设为none SecurePolicy设为Always services.AddAuthentication(CookieAuthenticationDefaults.AuthenticationScheme). AddCookie(x => { x.Cookie 阅读全文
posted @ 2021-06-25 13:03 _wh 阅读(189) 评论(0) 推荐(0)
摘要: 背景:因业务需要合并多个net mvc web客户端 本地调试iis目录结构 一个主应用程序localhost:7777,其他部署为子应用程序,每个web 都是独立的无限制名称自定义 localhost:7777/xs 这样就可以访问到子应用 实现单点登陆 部署在同一个网站下,子应用程序的web.c 阅读全文
posted @ 2021-05-25 10:23 _wh 阅读(605) 评论(0) 推荐(0)