Category: Snippets

Disable Client Side validation on a button click – ASP.NET MVC

Posted on 2 min read

ASP.NET MVC we use client side validation using jQuery.validate plugin, which will be based on Model – Data Annotation validation attributes. In some cases we might want to disable such validation on a button click wherever it is not needed. For example: The below code block will register validation block for Title property in the… Continue reading

Apple Push Notifications Service API & C#

Posted on 4 min read

To start with Apple Push notifications I would have to first explain what is Push Notifications? In normal mobiles Push services are often based on information preferences expressed in advance. This is called a publish/subscribe model. A client might "subscribe" to various information "channels". Whenever new content is available on one of those channels, the… Continue reading