Yesterday we started to use API Controllers and wouldn’t it be nice if we can use some inversion of control (IoC) making it extensible and reusable. For this article you will be noticing I am using S#arp Architecture where IoC is already implemented via Castle Windsor so all I need to do is add the… Read More »
Like me you might be starting to integrate AngularJS or any other JS Framework in your MVC Application then later on finding out you are converting a lot of your results to handle this calls. While it works with the MVC Controllers you always have to serialize your result to JSON Format and enabling client… Read More »
You might be getting the following errors below on your MVC Application and your wondering where does this come from? You looked everywhere in your solution and you’re definite you don’t have the following pages that the error is referring to. And now you are getting crazy and is looking for answers on how to… Read More »
Have your Internet Explorer gave you a ‘JSON’ is undefined error? Have you ever encountered this Open or Save Issue on Internet Explorer when your trying to return a JSON Result? Then your not alone, I had the similar issue I faced just recently where everything work in other browsers except for Internet Explorer. At… Read More »
Yesterday we discussed about Unobtrusive Client and Server Side Age Validation now let’s do a not equal to validator which is basically the opposite of the Compare validator. So where can this be useful? If you don’t want two items to have the same value then this is your solution. Lets say you don’t want… Read More »
One of the best things with MVC is the built-in validation using Data Annotations, these special attributes are simply applied to a class or its property and validation simply just happens on both Client and Server side (taking into consideration you set yours up properly). There are lots of Data Annotations built in that you… Read More »
You might have encountered an issue where your application is triggering a validation on a date field which says “The field YourDate must be a date.” like the image below.
More than half a year ago I posted a similar guide but since then S#arp and Kendo upgraded so those articles will not be helpful for this new versions as there are some changes in both Frameworks. So here I am again creating this guide for this newer versions. Like what I had said before we… Read More »