Category Archives: TIPS/TRICKS

How to solve – Could not find a part of the path bin roslyn csc.exe error

If you are trying to run Asp.Net application and getting given error in your browser even after successfully build and compile without getting any error. Don’t worry! this is all happening because your build is trying to find \bin\roslyn\csc.exe because following packages have … Continue reading

Share Knowledge
Posted in C#, TIPS/TRICKS | Tagged , , , , | Leave a comment

Consuming RESTful API to get Bank Details using IFSC code in C#

Introduction Suppose If you assigned the task to write code to get bank details using IFSC code. Details may be bank name, ifsc code, micr(Magnetic Ink Character Recognition), branch, address, contact, city, district and state. What you’ll do ? All … Continue reading

Share Knowledge
Posted in C#, TIPS/TRICKS, WEB API | Tagged , , , | 5 Comments

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 … Continue reading

Share Knowledge
Posted in .Net, ASP.NET, C#, TIPS/TRICKS | Tagged | Leave a comment

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 … Continue reading

Share Knowledge
Posted in ASP.NET, C#, TIPS/TRICKS | Tagged , , , , , | Leave a comment

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

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

Share Knowledge
Posted in C#, TIPS/TRICKS | Tagged , , , , | 1 Comment