导航

随笔分类 -  web

摘要:原因大体找到了: 除了项目最外层有web.config, 在 Pages页面下还有一个web.config配置文件, 遍历顺序为 :aspx 页面同级目录-->逐级父级目录-->根目录-->%windir%\Microsoft.NET\Framework\v2.0.50727\CONFIG\web. 阅读全文

posted @ 2022-07-07 18:37 yiyishuitian 阅读(273) 评论(0) 推荐(0)

摘要:1 查看现有安装模块 /usr/local/nginx/sbin/nginx -V nginx version: nginx/1.10.3 built by gcc 4.8.5 20150623 (Red Hat 4.8.5-16) (GCC) built with OpenSSL 1.0.2k-f 阅读全文

posted @ 2021-01-20 12:08 yiyishuitian 阅读(206) 评论(0) 推荐(0)

摘要:var system = { win: false, mac: false, xll: false, ipad: false }; //检测平台 var p = navigator.platform; system.win = p.indexOf("Win") == 0; system.mac = 阅读全文

posted @ 2019-12-10 18:22 yiyishuitian 阅读(384) 评论(0) 推荐(0)

摘要:Request.UserAgent 与 Request.ServerVariables["HTTP_USER_AGENT"] 返回结果是一样的 阅读全文

posted @ 2019-12-10 17:53 yiyishuitian 阅读(261) 评论(0) 推荐(0)

摘要:static: 默认布局。元素出现在正常的流中(忽略 top, bottom, left, right 或者 z-index 声明)。 absolute: 生成绝对定位的元素,相对于 static 定位以外的第一个父元素进行定位。 元素的位置通过 "left", "top", "right" 以及 阅读全文

posted @ 2019-12-05 23:23 yiyishuitian 阅读(110) 评论(0) 推荐(0)

摘要:1 先安装 Visual Studio Installer -->已安装-->修改-->ASP.NET和Web开发(打上勾)-->安装详细信息-->其它项目版本(早期版本) 2 新建项目 阅读全文

posted @ 2019-11-28 17:08 yiyishuitian 阅读(5030) 评论(1) 推荐(1)

摘要:https://ngrok.com 阅读全文

posted @ 2019-11-11 08:25 yiyishuitian 阅读(4) 评论(0) 推荐(0)

摘要:针对开发和部署 1 引用 Oracle.ManagedDataAccess.dll 程序集 2 文件可以在以下路径找到(当然要先安装 Oracle Developer tools for visual studio了) 3 然后开发的电脑上和页面部署的电脑上都不需要安装 oracle 客户端,就可以 阅读全文

posted @ 2019-08-30 16:43 yiyishuitian 阅读(4587) 评论(0) 推荐(0)

摘要:1 安装 Oracle Developer Tools for Visual Studio https://www.oracle.com/database/technologies/developer-tools/visual-studio/ 2 vs2019-->工具-->连接到数据库 3 数据源 阅读全文

posted @ 2019-08-30 16:41 yiyishuitian 阅读(2620) 评论(0) 推荐(0)

摘要:1 使用VS以网站形式打开一个项目。 2 添加 web 窗体时,为vb语言。 解决方法 添加-->添加新项-->Visual C#-->WEB窗体 下次再添加时即默认为C#语言了。 阅读全文

posted @ 2019-08-29 13:52 yiyishuitian 阅读(427) 评论(0) 推荐(0)

摘要:转自:https://www.cnblogs.com/fish-li/archive/2012/05/07/2486840.html 细说ASP.NET Windows身份认证 细说ASP.NET Windows身份认证 阅读目录 开始 认识ASP.NET Windows身份认证 访问 Active 阅读全文

posted @ 2018-11-19 10:32 yiyishuitian 阅读(180) 评论(0) 推荐(0)

摘要:通过ASP.Net页面获取域用户名(当前登陆的用户) 原文地址: https://www.cnblogs.com/fast-michael/archive/2011/03/14/2057954.html 1 string domainAndName = Page.User.Identity.Name 阅读全文

posted @ 2018-11-03 09:32 yiyishuitian 阅读(618) 评论(0) 推荐(0)

摘要:https://marketplace.visualstudio.com/vs 1 Visual Studio Color Theme Editor 用来变换主题 2 Advanced JavaScript outlining 可以折叠javascript 阅读全文

posted @ 2017-08-04 15:06 yiyishuitian 阅读(163) 评论(0) 推荐(0)

摘要:作者:卞功鑫 ,转载请保留:http://www.cnblogs.com/BinBinGo/p/5682725.html http://api.map.baidu.com/geocoder/v2/?ak=xxx&coordtype=wgs84ll&callback=renderReverse&loc 阅读全文

posted @ 2016-07-18 21:33 yiyishuitian 阅读(21853) 评论(0) 推荐(1)

摘要:1 元素的 显示与隐藏 C# 有两点是必需的, 第一 HTML中必需要有 runat="server",当然ID也是需要的. 第二 在CS中按正常的this.IDname正常调用即可. jquery 操作 这里有一个问题,就是如果后台C# 设置Visible 为 false的元素 在前台 ,使用 s 阅读全文

posted @ 2015-10-25 21:22 yiyishuitian 阅读(1580) 评论(0) 推荐(0)