
Asp.net
文章平均质量分 77
_iorilan
10年以上软件工程经验,先后从事在线教育/IT金融/即时通信/政府/物流平台/零售/门禁/监控等领域。专注夯实基础/项目成本与架构平衡/框架调研/团队高效协同工作
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
asp.net get window width/height in server side
Step 1: put a hidden field on asp.net page Step 2: use jquery set value $(document).ready(function() { $("#width").val() = $(window).width(); $("#height").val() = $(win原创 2013-12-30 09:13:11 · 1558 阅读 · 0 评论 -
Asp.net Binding
Asp.net binding Single value binding Way 1: Step 1: Step 2: callPage.DataBind(); Single value binding can be applied to : a. property b. member c. return value of a meth原创 2013-12-24 18:45:36 · 1198 阅读 · 0 评论 -
Http Handler And Http Module
Http Module and Http Handler . Relation .Page Event Pipe For Http Module: · for each request, all http modules will be go through .· if have multiple modu原创 2013-09-19 14:55:44 · 1781 阅读 · 0 评论 -
Asp.net interview question
http://csharppulse.blogspot.in/2013/09/c-and-aspnet-questions-all-in-one.html转载 2013-09-28 17:49:02 · 1217 阅读 · 0 评论 -
Asp.net Configuration Part(1)
Asp.netConfiguration Global asax Common Events : Application Start Initializesome resource of application Application End C原创 2013-10-23 22:20:22 · 1156 阅读 · 0 评论 -
Asp.Net Cache
Asp.net Cache Output Cache Usage · Cache all request: · : will cache for each request with query string · : cache request with special query string · Var原创 2013-12-24 19:50:59 · 1692 阅读 · 0 评论 -
Response.Redirect vs Server.Transfer Difference
Response.Redirect And Server.Transfer Difference FOR REDIRECT we want to redirect the request to some plain HTML pages on our server or to some other web server we DON'T care about原创 2013-09-19 14:51:52 · 1745 阅读 · 0 评论 -
Asp.net Basic Part(1)
Asp.net Basic Client ID mode : have different options can set web.config file . Page Life cycle : Pre-Init -> register control tree Init -> Init control attributes Load View State Load原创 2013-10-23 22:14:35 · 1199 阅读 · 0 评论 -
Asp.Net Sync & ASync Processing request
ASync &Sync in Asp.net Sync Process request If requestqueue is more than setting value, will return Server Unavailable error (503) ASync Process Request There is原创 2013-12-24 21:49:16 · 1421 阅读 · 0 评论 -
Asp.Net Set Http Timeout
When processing long time TXN , may need to set timeout in config :原创 2014-03-11 17:54:26 · 1309 阅读 · 0 评论 -
Asp.net use HttpContext.Current.Items Carry data during per http request
From http://www.codeproject.com/Articles/146455/When-can-we-use-HttpContext-Current-Items-to-store To answer this question in a single statement, you can use HttpContext.Current.Items f转载 2014-03-28 17:19:48 · 1401 阅读 · 0 评论 -
A potentially dangerous Request.Form value was detected from the client
In Web Config , Add this to tag :原创 2014-05-08 13:24:50 · 1213 阅读 · 0 评论 -
Asp.Net 中使用HttpModule 做Session验证
session的检查可以考虑用一个http module挂在http pipeline上 过程如下: 1. 在Web.Config 配置: 2.添加httpmodule 代码: 把验证挂在了 PreRequestHandlerExecute 上 ,因为在这一步,session才被创建。 u原创 2014-03-11 18:07:32 · 2964 阅读 · 1 评论 -
IIS 7 ‘Handler "XXX" has a bad module "XXX" in its module list’
IIS 7 ‘Handler "XXX" has a bad module "XXX" in its module list’原创 2016-03-25 14:38:23 · 1550 阅读 · 0 评论 -
Asp.Net Control Summary
Asp.Net Control Html Server Control · Use Server Change Event totrack event(input , checkbox , radio , select) · Need submit data to Server ,then server can trigger · Vi原创 2013-12-24 18:24:57 · 1222 阅读 · 0 评论 -
Asp.Net State management
Asp.net State Management State Object ViewState What : Encrypted String stored inhidden field Where : hidden field in page How long : page life cycle原创 2013-10-26 17:41:06 · 1356 阅读 · 0 评论 -
C# Asp.Net Set Image Url to byte[]
//during data bind img.ImageUrl = "data:image/jpg;base64," + Convert.ToBase64String(data.ImgStream); //data.ImgStream is byte[]原创 2013-12-30 18:14:17 · 1911 阅读 · 0 评论 -
Asp.net Strong type Session
using HttpContext = System.Web.HttpContext; using System.Threading; namespace CRMWeb.eDAS.Util { public sealed class EDasSession where TClass : class ,new() { #region member pr原创 2014-01-06 10:37:08 · 1253 阅读 · 0 评论 -
Asp.net Multiview & Wizard
Multi View& Wizard Multi view usage Aspx Code step 1. step 2. step 3.原创 2014-01-06 11:01:42 · 1692 阅读 · 0 评论 -
Div Popup Example
<div id="div_popup_background" runat="server" enableviewstate="True" style="position: absolute; left: 0; top: 0; z-index: 10; width: 100%; height: 150%; background-color: grey;原创 2013-12-16 14:10:50 · 1477 阅读 · 0 评论 -
Asp.net SiteMap & Breadcrumb
Site Map & Breadcrumb Flow: Site Map Data sourceUsage: Step 1:Prepare Site Map xml Add it toWeb site root path. Xml:原创 2014-01-06 11:04:41 · 1761 阅读 · 0 评论 -
Asp.net URL rooting configuration
URL Mapping : Web Config : <add url="./Category.aspx" mappedUrl="./Default.aspx?category=default"/> <add url="./Software.aspx" mappedUrl="./Default.aspx?category=software"/> //add more ...原创 2014-01-06 11:08:25 · 1502 阅读 · 0 评论 -
Asp.net Data list control show Image example
Step 1: add asp.net data list control <asp:DataList runat="server" runat="server" ID="dtlPhotos" OnItemDataBound="dtlPhotos_OnItemDataBind" Re原创 2014-01-06 10:58:15 · 1901 阅读 · 0 评论 -
Asp.net Asyn Programming model
From :http://www.codeproject.com/Articles/34639/Multi-Threading-in-ASP-NET ASP.Net Threading Inside the ASP.Net Worker Process there are two thread pools. The worker thread pool handles转载 2014-01-07 11:05:48 · 2004 阅读 · 0 评论 -
using update panel do sync job , update UI control async
Scenario : 1.click submit disable button ,start job 2.once job done , enable submit button Here is the implementation : Aspx page Code : Step 1: add update panel and scri原创 2014-01-07 17:50:00 · 1457 阅读 · 0 评论 -
Asp.net Session study
Session Start/End in global.asax : void Session_Start(object sender, EventArgs e) { // Code that runswhen a new session is started } void Session_End(object sender, EventArgs e) {原创 2013-09-17 13:05:28 · 1159 阅读 · 0 评论 -
Asp.Net Deploy Strategy (Entry Level )
Asp.net Deploy strategy Application Pool + single worker process · concept · configuration right click on the Virtua原创 2013-09-17 14:15:42 · 1366 阅读 · 0 评论 -
Asp.net repeater usage
using repeater control to display list and paging aspx :原创 2013-10-05 14:59:10 · 1232 阅读 · 0 评论 -
Asp.Net Validation Control
Required ValidatorRange ValidatorRegularExpression ValidatorCustomer ValidatorCompare Validator Validation Summary This Demo will show you how to use these validators . Aspx: <%@ Page Lan原创 2013-09-12 12:50:55 · 1221 阅读 · 0 评论 -
ASP.Net MVC + Data Table 实现分页+排序
ASP.Net MVC + Data Table 实现分页+排序原创 2017-04-29 13:16:46 · 2758 阅读 · 0 评论