随笔分类 - ASP.Net
摘要:https://forums.asp.net/t/1783252.aspx?Commented+out+ascx+code+not+treated+as+commented+out+ <%-- --%> 把需要注释的代码放在-- --中间
阅读全文
摘要:https://msdn.microsoft.com/en-us/library/system.web.mvc.actionfilterattribute.onactionexecuting(v=vs.118).aspx#M:System.Web.Mvc.ActionFilterAttribute.
阅读全文
摘要:https://docs.microsoft.com/en-us/dotnet/framework/performance/caching-in-net-framework-applications Caching enables you to store data in memory for ra
阅读全文
摘要:使用F12进行监视 本身是一个linkbutton,可以看到绑定了一个JavaScript <a id="gvStaticConnection_ctl02_fresh" href="javascript:__doPostBack('gvStaticConnectionfresh',''
阅读全文
摘要:https://stackoverflow.com/questions/833924/visual-studio-stop-auto-update-on-references This is valid only for web sites - look in the bin folder of y
阅读全文
摘要:选中某一个页面,然后右键build page
阅读全文
摘要:只有 page_load和page_init这些可以autoeventwireup RenderControl只提供override public override void RenderControl(HtmlTextWriter writer) { base.RenderControl(writ
阅读全文
摘要:https://forums.asp.net/t/1796310.aspx?ASP+NET+form+method+post+and+get+ GET: 1) Data is appended to the URL(QueryString) 2) Data is not secret.(Can be
阅读全文
摘要:https://stackoverflow.com/questions/23943356/asp-net-how-to-send-data-with-post-method
阅读全文
摘要:第一种方式,修改forms的name how to set the forms authentication cookie path assume you have already solved this issue somehow, but since I stumbled upon this q
阅读全文
摘要:Forms authentication timeout vs sessionState timeout Forms authentication timeout会导致用户退出,重定向到登陆页面 sessionState和用户登录状态无关,和session里面存储的数据有关。 有可能session里
阅读全文
摘要:An HTTP cookie (also called web cookie, Internet cookie, browser cookie, or simply cookie) is a small piece of data sent from a website and stored on
阅读全文
摘要:https://docs.microsoft.com/en-us/iis/configuration/system.webserver/defaultdocument/index Default documents are enabled by default, and IIS 7 defines
阅读全文
摘要:https://docs.microsoft.com/en-us/aspnet/web-forms/overview/older-versions-security/introduction/an-overview-of-forms-authentication-cs https://docs.mi
阅读全文
摘要:https://docs.microsoft.com/zh-cn/dotnet/api/system.web.ui.page.ispostback?view=netframework-4.7 https://docs.microsoft.com/zh-cn/dotnet/api/system.web
阅读全文
摘要:brute force cracking 暴力破解 Brute force (also known as brute force cracking) is a trial and error method used by application programs to decode encrypte
阅读全文
摘要:浅析C#中单点登录的原理和使用 - 农码一生 - 博客园 (cnblogs.com) What does sso mean? SSO stands for Single Sign-On. It is a technology that allows users to log in to multip
阅读全文
摘要:ASP.NET Application Life Cycle Overview for IIS 7.0 https://msdn.microsoft.com/en-us/library/bb470252.aspx This topic describes the application life c
阅读全文
摘要:https://msdn.microsoft.com/en-us/library/ms366723.aspx Compilation Output When your code is compiled, the resulting assemblies are cached in a folder
阅读全文
摘要:第一次编译非常慢 如果遇到错误,中途中断的话。 下一次编译的时候,上一次已经编译过的文件,会非常快的略过。很快就会到上一次遇到错误的地方,继续往下进行编译。
阅读全文