摘要: echo ' 查看打包环境 ' pwdlsecho $PATHwhoami# which dotnet# dotnet --info# dotnet --versionecho ' begin restore '# dotnet restoreecho ' end restore 'echo ' c 阅读全文
posted @ 2020-07-03 09:35 Michael_Zeng 阅读(727) 评论(0) 推荐(0) 编辑
摘要: #配置代理 #===================================== #反向代理1 server{ listen 89; server_name localhost; #重写后端服务器的location和refresh头 #proxy_redirect on; ... 阅读全文
posted @ 2019-12-26 21:55 Michael_Zeng 阅读(1286) 评论(0) 推荐(0) 编辑
摘要: 问题1:easyui-datagrid中,如果装载datagrid的表格通过javascript 或者 jquery 来resize,那么将会reload重新加载数据。这样当我们调整的时候不得不重新发送数据请求。解决:通过 datagrid的resize方法来resize窗体大小。这样就不会引起数据的重新加载。[$(selector).datagrid('resize',{width:width,height:height})]。 问题2:easyui-menu,在哪个区域要显示菜单,就把菜单放到这个区域的DOM之中,否则会报错。 阅读全文
posted @ 2013-07-12 09:11 Michael_Zeng 阅读(434) 评论(0) 推荐(0) 编辑
摘要: document.execCommand("SaveAs",true,"aaa"); //将当前web页面另存为文件。第三个参数为文件名,可以自己设置,为空的时候为当前页文件的文件名。 阅读全文
posted @ 2013-07-11 16:07 Michael_Zeng 阅读(131) 评论(0) 推荐(0) 编辑
摘要: 直接上代码,不要说话。ASP.NET MVC4过滤器的简单应用:验证登录1 [AcceptVerbs(HttpVerbs.Post)]2 public ActionResult login(FormCollection form)3 {4 Session["login"] = "True";5 return Redirect("/Home/Index");6 7 }View Code 1 [IsLogin]2 public ActionResult Index(... 阅读全文
posted @ 2013-06-23 23:13 Michael_Zeng 阅读(2708) 评论(0) 推荐(0) 编辑