
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 · 1572 阅读 · 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. memberc. return value of a meth原创 2013-12-24 18:45:36 · 1207 阅读 · 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 · 1787 阅读 · 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 · 1225 阅读 · 0 评论 -
Asp.net Configuration Part(1)
Asp.netConfiguration Global asax Common Events : Application StartInitializesome resource of applicationApplication EndC原创 2013-10-23 22:20:22 · 1168 阅读 · 0 评论 -
Asp.Net Cache
Asp.net CacheOutput 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 · 1703 阅读 · 0 评论 -
Response.Redirect vs Server.Transfer Difference
Response.Redirect And Server.Transfer Difference FOR REDIRECTwe 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 · 1755 阅读 · 0 评论 -
Asp.net Basic Part(1)
Asp.net BasicClient ID mode : have different options can set web.config file . Page Life cycle : Pre-Init -> register control treeInit -> Init control attributesLoad View StateLoad原创 2013-10-23 22:14:35 · 1210 阅读 · 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 · 1432 阅读 · 0 评论 -
Asp.Net Set Http Timeout
When processing long time TXN , may need to set timeout in config :原创 2014-03-11 17:54:26 · 1312 阅读 · 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-storeTo answer this question in a single statement, you can use HttpContext.Current.Items f转载 2014-03-28 17:19:48 · 1404 阅读 · 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 · 1218 阅读 · 0 评论 -
Asp.Net 中使用HttpModule 做Session验证
session的检查可以考虑用一个http module挂在http pipeline上过程如下:1. 在Web.Config 配置: 2.添加httpmodule代码:把验证挂在了 PreRequestHandlerExecute 上 ,因为在这一步,session才被创建。u原创 2014-03-11 18:07:32 · 2967 阅读 · 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 · 1561 阅读 · 0 评论 -
Asp.Net Control Summary
Asp.Net ControlHtml 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 · 1227 阅读 · 0 评论 -
Asp.Net State management
Asp.net State ManagementState Object ViewState What : Encrypted String stored inhidden fieldWhere : hidden field in pageHow long : page life cycle原创 2013-10-26 17:41:06 · 1368 阅读 · 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 · 1919 阅读 · 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 · 1261 阅读 · 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 · 1700 阅读 · 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 · 1481 阅读 · 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 · 1766 阅读 · 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 · 1512 阅读 · 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 · 1907 阅读 · 0 评论 -
Asp.net Asyn Programming model
From :http://www.codeproject.com/Articles/34639/Multi-Threading-in-ASP-NET ASP.Net ThreadingInside the ASP.Net Worker Process there are two thread pools. The worker thread pool handles转载 2014-01-07 11:05:48 · 2018 阅读 · 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 buttonHere is the implementation :Aspx page Code :Step 1: add update panel and scri原创 2014-01-07 17:50:00 · 1470 阅读 · 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 · 1163 阅读 · 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 · 1370 阅读 · 0 评论 -
Asp.net repeater usage
using repeater control to display list and paging aspx :原创 2013-10-05 14:59:10 · 1238 阅读 · 0 评论 -
Asp.Net Validation Control
Required ValidatorRange ValidatorRegularExpression ValidatorCustomer ValidatorCompare Validator Validation SummaryThis Demo will show you how to use these validators .Aspx:<%@ Page Lan原创 2013-09-12 12:50:55 · 1226 阅读 · 0 评论 -
ASP.Net MVC + Data Table 实现分页+排序
ASP.Net MVC + Data Table 实现分页+排序原创 2017-04-29 13:16:46 · 2766 阅读 · 0 评论