Fork me on GitHub

Clear/Reset MVC 3 Form and Unobtrusive jQuery Client Validation 12

Clear/Reset MVC 3 Form and Unobtrusive jQuery Client Validation
Intro So today I needed to clear a MVC 3 form  with unobtrusive client validation applied to it via jquery.validate.js & jquery.validate.unobtrusive.js. This doesn’t seem too tricky initially until I realized that doing a form reset via a <input type=”reset”/> or a javascript form.Reset() doesn’t eliminate any jQuery validation messages that were displayed! Take a ...

ASP.NET Concurrent Ajax Requests and Session State Blocking 11

ASP.NET Concurrent Ajax Requests and Session State Blocking
Intro Today I ran into a pretty interesting and puzzling issue while trying to load many different long running content areas on a screen asynchronously via Ajax & jQuery. It appeared that if I shot off Ajax Request A, B, C, D… that they would always return one after the other (roughly). They never deviated ...

Failed to open System.ServiceModel.ChannelFactory Solution 2

I just ran into this one today while trying to call a WCF service. Doing a search of this on Google/Bing literally yields 3-4 results so I figured I better post something about it in case anyone else comes across it.   First off you might also see it in conjunction with an exception like: ...

Don’t trust the client 2

Don't trust the client
Citigroup Hacked I was recently came across this article about a successful hacking attempt made on Citigroup. In a nutshell the hackers logged into a Citigroup related website and simply changed the query string to access other user’s account data. For example let’s say I just logged into my citicard account and I see this ...

The Unobtrusive Libraries & Client Validation on Ajax in ASP.NET MVC 3 4

MVC 3 Unobtrusive Client Validation and Unobtrusive Ajax Overview As you may be aware, ASP.NET MVC 3 allows the possibility of using unobtursive client validation and unobtrusive Ajax. If enabled, in a nutshell this means that the stock Microsoft JavaScript libraries for both Ajax and validation (MicrosoftAjax.js and MicrosoftMvcValidation.js respectively) have been effectively swapped out ...

Welcome!

  C# using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Hello { class Program { static void Main(string[] args) { Console.WriteLine("Hello World!"); //oh no not this again... } } } 1234567891011121314151617  using System;using System.Collections.Generic;using System.Linq;using System.Text; namespace Hello{    class Program    {        static void Main(string[] args)        {            Console.WriteLine("Hello World!"); //oh no not this again...        }    }}      Hello and welcome to my ...