
.NET
文章平均质量分 70
riverlau
这个作者很懒,什么都没留下…
展开
-
HttpContext.Current.ApplicationInstance.CompleteRequest in depth
http://derekreynolds.wordpress.com/2009/10/27/using-response-redirect/If you’re going to use Response.Redirect, always set the second param to false and callSystem.Web.HttpContext.Current.Appl转载 2013-05-29 10:42:29 · 4973 阅读 · 0 评论 -
Asp.net Authentication and Authrozation
Because web applications use the stateless HTTP, no information is retained for the user between requests. As a result,the user must be authenticated and authorized at the beginning of each request.转载 2013-06-02 15:15:10 · 1026 阅读 · 0 评论 -
Provider Pattern for Beginners
http://www.codeproject.com/Articles/550495/Provider-Pattern-for-BeginnersIntroductionProvider pattern allows the developers to create pluggable components. It was first introduced in framewo转载 2013-06-02 15:17:25 · 568 阅读 · 0 评论 -
ASP.NET REPEATER, LISTVIEW, DATALIST, DATAGRID, GRIDVIEW - WHICH ONE TO CHOOSE?
http://www.netrostar.com/ASP.NET-Repeater-ListView-DataList-DataGrid-GridView-which-one-to-chooseThis tutorial was brought to you by NetroStar, a Miami-based global web design company.In ASP转载 2013-06-03 09:35:26 · 1253 阅读 · 0 评论 -
[ASPNET]ASP.NET Event Validation and “Invalid Callback Or Postback Argument” Troubleshooting info
http://blogs.msdn.com/b/stcheng/archive/2009/01/16/aspnet-asp-net-event-validation-and-invalid-callback-or-postback-argument-troubleshooting-info.aspxThere are many community members encountering转载 2013-06-03 23:30:35 · 772 阅读 · 0 评论 -
ASP.NET Event Validation and “Invalid Callback Or Postback Argument” : Part I
http://odetocode.com/blogs/scott/archive/2006/03/20/asp-net-event-validation-and-invalid-callback-or-postback-argument.aspxASP.NET 2.0 added a feature called event validation. Event validation c转载 2013-06-03 23:23:21 · 955 阅读 · 0 评论 -
Event Validation Errors and Network Congestion in ASP.NET
http://odetocode.com/blogs/scott/archive/2007/04/13/event-validation-errors-and-network-congestion-in-asp-net.aspxJoseph Rattz emailed me about posts I wrote last year covering ASP.NET event v转载 2013-06-03 23:37:15 · 698 阅读 · 0 评论 -
Using jQuery to directly call ASP.NET AJAX page methods
http://encosia.com/using-jquery-to-directly-call-aspnet-ajax-page-methods/When it comes to lightweight client-side communication, I’ve noticed that many of you prefer ASP.NET AJAX’s page methods转载 2013-06-05 23:26:07 · 858 阅读 · 0 评论 -
Page and Form for dynamic Loading Control
protected void Page_PreInit(object sender, EventArgs e) { form1.Controls.Add(Page.LoadControl("WebUserControl1.ascx")); }原创 2013-06-16 18:25:34 · 698 阅读 · 0 评论 -
SSL入门以及运用Wireshark破解Https(SSL)会话
http://blog.youkuaiyun.com/ackroyd/article/details/7854821SSL概念:Internet上对应的七层网络模型的每一层都已经提出了相应的加密协议。SSL是工作于网络会话层(Socket Layer)的网络安全协议。为数据通讯提供安全支持。总之,SSL协议的整个概念可以总结为:一个保证任何安装了安全套阶层的客户和服转载 2013-06-16 12:54:58 · 5794 阅读 · 0 评论 -
Inline vs. External Javascript
Inline Code function a(){alert('hello world'); } ::External Files ::scriptone.jsfunction a(){alert('hello world'); }转载 2013-06-10 13:33:59 · 552 阅读 · 0 评论 -
HTTP协议详解
http://www.cnblogs.com/TankXiao/archive/2012/02/13/2342672.html当今web程序的开发技术真是百家争鸣,ASP.NET, PHP, JSP,Perl, AJAX 等等。 无论Web技术在未来如何发展,理解Web程序之间通信的基本协议相当重要, 因为它让我们理解了Web应用程序的内部工作. 本文将对HTTP协议进行详细的实例讲解转载 2013-06-10 13:23:07 · 454 阅读 · 0 评论 -
Asp.net Authorization "Allow" and "Deny" Order
Is the order of "allow" and "deny" matter?To clarify about the order of Allow and Deny, authorization is going to apply based on the first match it finds, so order is very important. For ins原创 2013-05-29 15:43:42 · 859 阅读 · 0 评论 -
VaryByParam,VaryByHeader, VaryByControl, VaryByCustom OutputCache Directive Attributes
http://w3mentor.com/learn/asp-dot-net-c-sharp/asp-dot-net-language-basics/varybyparamvarybyheader-varybycontrol-varybycustom-outputcache-directive-attributes/VaryByCustomVary the output cach转载 2013-05-29 16:49:01 · 1227 阅读 · 0 评论 -
Form Authentication Time Out and Session time Out
Are you using Forms authentication?Forms authentication uses it own value for timeout (30 min. by default). A forms authentication timeout will send the user to the by Text-Enhance" id="_GPLITA_1转载 2013-05-30 13:27:42 · 909 阅读 · 0 评论 -
WHAT IS ASP.NET DYNAMIC DATA?
http://www.hanselman.com/blog/PuttingASPNETDynamicDataIntoContext.aspxWHAT IS ASP.NET DYNAMIC DATA?Here's the Preview Drop of Dynamic Data for download. It'll be released later this year in转载 2013-06-09 11:28:43 · 1141 阅读 · 0 评论 -
Dynamic Data in Regular Websites/Web Applications
http://weblogs.asp.net/davidfowler/archive/2009/05/06/dynamic-data-preview-4.aspxDynamic Data in Regular Websites/Web ApplicationsUpdate: David Ebbo has a great video on channel9 about this. Y转载 2013-06-09 12:19:44 · 713 阅读 · 0 评论 -
Handling session and authentication timeouts in ASP.Net
Handling session and authentication timeouts in ASP.Net By George Mihaescu Summary: this article describes the handling of in-process session and authentication timeouts in an ASP.Net applicat转载 2013-05-31 13:57:17 · 942 阅读 · 0 评论 -
Caution with using asp.net session timeout and FormsAuthentication timeout together
Problem: You've set your session timeout to 20 minutes and forms authentication timeout to 20 minutes. However you notice sometimes your session is not valid and yet people are still logged on. how转载 2013-05-31 13:46:42 · 792 阅读 · 0 评论 -
HOW TO Load a Custom Script with Dependencies
http://www.asp.net/ajaxLibrary/HOW%20TO%20Load%20a%20Custom%20Script%20with%20Dependencies.ashxHOW TO Load a Custom Script with DependenciesThe ASP.NET Ajax Library Script Loader can转载 2013-06-09 16:26:21 · 771 阅读 · 0 评论 -
Using WebResource.axd for embedded resources
http://weblogs.asp.net/jeff/archive/2005/07/18/419842.aspxWow, and actual .NET post. I must not be feeling well.Anyway, anyone that has tried to use embedded resources in compiled assemblies usi转载 2013-06-09 22:27:16 · 545 阅读 · 0 评论 -
Cool ViewStateDecoder
ViewState is a great feature of ASP.NET, however too much ViewState might degrade performance. But what's actually "hidden" inside that weird looking form field you might be wondering? Well, use Fritz转载 2013-06-16 14:03:39 · 778 阅读 · 0 评论 -
A Beginner's Tutorial - Understanding ControlState in ASP.NET
IntroductionThis article aims at understanding why and when we need to have ControlState for the state management. We also try to understand the same with a very basic implementation of control转载 2013-06-16 14:12:33 · 623 阅读 · 0 评论 -
How I explained OOD to my wife
http://www.codeproject.com/Articles/93369/How-I-explained-OOD-to-my-wifeIntroductionMy wife Farhana wants to resume her career as a software developer (she started her career as a software d转载 2013-06-20 16:56:11 · 905 阅读 · 0 评论 -
Understanding the Forms Authentication Ticket and Cookie
http://support.microsoft.com/kb/910443ASP.NET Support Voice ColumnUnderstanding the Forms Authentication Ticket and CookieTo customize this column to your needs, we want to invite you to s转载 2013-06-20 10:22:26 · 1066 阅读 · 0 评论 -
Design Principle
SOLIDPrinciplesSingle responsibilityOpen/closedLiskov substitutionInterface segregationDependency inversion转载 2013-06-20 11:44:37 · 580 阅读 · 0 评论 -
Visual Studio Project Template / Item Template/ Extension Location
http://msdn.microsoft.com/en-us/library/y3kkate1.aspxhttp://msdn.microsoft.com/en-us/library/dd293638.aspxVisual Studio Project Template LocationC:\Program Files (x86)\Microsoft Visual Studi原创 2013-07-02 22:20:11 · 902 阅读 · 0 评论 -
Configuring IIS 5.1 to run an MVC application
Configuring IIS 5.1 to run an MVC application12JANhttp://westcountrydeveloper.wordpress.com/2011/01/12/configuring-iis-5-1-to-run-an-mvc-application/When hosting a MVC application转载 2013-07-02 22:31:56 · 556 阅读 · 0 评论 -
Implementing the Singleton Pattern in C#
http://www.yoda.arachsys.com/csharp/singleton.htmlImplementing the Singleton Pattern in C#The singleton pattern is one of the best-known patterns in software engineering. Essentially, a sing转载 2013-07-04 00:54:12 · 530 阅读 · 0 评论 -
lock in C#
http://msdn.microsoft.com/en-us/library/c5kehkcz(v=vs.110).aspxlock ensures that one thread does not enter a critical section while another thread is in the critical section of code. If another原创 2013-07-04 22:48:50 · 683 阅读 · 0 评论 -
Ajax and ASP.Net Web Service
Web Service (ASMX, ASPX, WCF ) and Ajax Call1. Use JQuery Ajax call ASMX web method directlyThe reason need to add [System.Web.Script.Services.ScriptService] is Ajax does not support SOAP mes原创 2013-08-11 12:56:00 · 1037 阅读 · 0 评论 -
AOP - Interception with Unity 2.0
http://www.palmmedia.de/Blog/2010/9/26/aop-interception-with-unity-20Blog > AOP - Interception with Unity 2.0AOP - Interception with Unity 2.0Unity is a well known dependency injection conta转载 2013-09-04 23:27:53 · 1020 阅读 · 0 评论 -
Forms Authentication Timeout vs Session Timeout
We have an old .NET 1.1 web application which I have to support and a recent change in the login process for a select few customers has been causing haywire with every users session. The folks at QA h转载 2013-06-20 10:36:49 · 951 阅读 · 0 评论 -
Registering Your Controls in Web.config
Registering Your Controls in Web.config Each time you add a custom control (or even a user control) to a webpage, Visual Studio generates the @ Register directive to ensure that the control is registe转载 2013-06-21 00:36:01 · 664 阅读 · 0 评论 -
Web Part Connection Sample
3 user controls:1) GetName.aspxPlease type your name:GetName.aspx.cs public partial class GetName : System.Web.UI.UserControl { protected void Page_Load(object sender, EventArgs e转载 2013-06-16 16:26:03 · 610 阅读 · 0 评论 -
use "OnCommand" event to handle multiple button click
protected void CommandEventHandler(Object sender, CommandEventArgs e) { string s = e.CommandName; }原创 2013-06-16 17:13:10 · 676 阅读 · 0 评论 -
Asp.Net Globalization and Localization using Local Resource files and Global Resource files
http://minalabib.wordpress.com/2010/01/27/local-resources-vs-global-resources-in-net/In my previous article, I explained about asp.net Localization, Globalization concepts and Culture, UI Cultur转载 2013-06-16 17:36:48 · 1034 阅读 · 0 评论 -
HTTP协议/IIS 原理及ASP.NET运行机制浅析【图解】
http://www.cnblogs.com/wenthink/archive/2013/05/06/3058989.html前言前一段在整理邮件的时候发现几年前和CDD老师交流时的一份邮件.下面是简单摘要:“从技术角度来说,无论哪一个阵营,跟新技术都是不可避免的,也是很累的,当然作为一个程序员来说,也是必须的。要想让技术的更新对自己的影响减小,基础就必须打牢。转载 2013-06-07 13:42:39 · 865 阅读 · 0 评论 -
Linq Union Vs Concat
var lstX1 = new List { new X1 { ID = 1, ID1 = 10 }, new X1 { ID = 10, ID1 = 100 } };var lstX2 = new List { new X2 { ID = 1, ID2 = 20 }, // ID changed here转载 2013-06-16 23:24:36 · 766 阅读 · 0 评论 -
Event in Master Page, Content Page and User Control
http://msdn.microsoft.com/en-us/library/dct97kc3(v=vs.100).aspxThe general rule for how events are raised is that theinitialization events are raised from theinnermost control to the outermo转载 2013-06-18 17:43:36 · 627 阅读 · 0 评论