Category Archives: TIPS/TRICKS

Page Not Found

ASP.NET MVC – Custom 404 page for invalid request

Hello everyone, while developing a web application we never forget to handle an invalid request by displaying Custom 404 page for invalid request. Most of the web developers when creating a web application used to handle an invalid request by redirecting the user to a

Validation Of Viewstate MAC Failed

How to solve Validation Of Viewstate MAC Failed error in ASP.NET

If you are looking solution for one of the weird error “Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.” I

No Thumbnail

How to allow only number input in your code using C#

Being coder, we often have different challenges to write code to accomplish a task based on some exact requirement. Here we are going to learn how to allow the user only to write number not other characters like “a/A to z/Z” and other special characters

No Thumbnail

Myths about FileName Should be Same as Class Name in Java

This is a very important session for us to know about the myth of File name in Java. When I started to learn Java┬áI got that every book, resources and even most of the web blogs stated that we should keep the “name of Java