Contents tagged with MVC
-
Microsoft MVP for year 2011
-
Model Binder For Two Dimensional Array
Description:
-
Concurrent Requests In ASP.NET MVC
Update: Now, ASP.NET MVC 3 support Session-less Controller.
-
ASP.NET MVC LabelFor Helper With HtmlAttributes
Introduction:
-
Disabling Client Side Validation For Disabled Input Controls In ASP.NET MVC
Introduction:
-
Distinguishing Between Refresh And Cached Page
Introduction:
-
Persisting Session Between Different Browser Instances
Introduction:
By default inproc session's identifier cookie is saved in browser memory. This cookie is known as non persistent cookie identifier. This simply means that if the user closes his browser then the cookie is immediately removed. On the other hand cookies which stored on the user’s hard drive and can be reused for later visits are called persistent cookies. Persistent cookies are less used than nonpersistent cookies because of security. Simply because nonpersistent cookies makes session hijacking attacks more difficult and more limited. If you are using shared computer then there are lot of chances that your persistent session will be used by other shared members. However this is not always the case, lot of users desired that their session will remain persisted even they open two instances of same browser or when they close and open a new browser. So in this article i will provide a very simple way to persist your session even the browser is closed.
Description:
Let's create a simple ASP.NET Web Application. In this article i will use Web Form but it also works in MVC. Open Default.aspx.cs and add the following code in Page_Load. -
Globally Handling Request Validation In ASP.NET MVC
Introduction:
-
Behind ASP.NET MVC Mock Objects
Introduction:
-
Using Rich Text Editor (WYSIWYG) in ASP.NET MVC
Introduction:
In ASP.NET MVC forum I found some question regarding a sample HTML Rich Text Box Editor(also known as wysiwyg).So i decided to create a sample ASP.NET MVC web application which will use a Rich Text Box Editor. There are are lot of Html Editors are available, but for creating a sample application, i decided to use cross-browser WYSIWYG editor from openwebware. In this article I will discuss what changes needed to work this editor with ASP.NET MVC. Also I had attached the sample application for download at http://www.speedfile.org/155076. Also note that I will only show the important features, not discuss every feature in detail.
Description:
So Let's start create a sample ASP.NET MVC application. You need to add the following script files,