17/01/2021 by Nitesh

Solution: Upload files and JSON in ASP.NET Core Web API

In our previous post, we read about HTTP Verb 405 error in ASP.Net Core. Today, we will know about uploading File and JSON data together on a Web API in ASP.Net Core. The general definition of a Web API POST call looks like below – In case, you are trying to upload a file, the…

Continue Reading »

16/01/2021 by Nitesh

405 HTTP Verb Not Allowed – ASP.Net Core 3.1 and IIS

If you are using ASP.Net Core Web APIs and hosting it on IIS, the application running on your local machine may throw error as “405 HTTP Verb Not Allowed” when hosted on Production or UAT server. The server may be a Virtual Machine or a standard shared hosting. Or there may be a situation where…

Continue Reading »

04/01/2017 by Nitesh

Generate MachineKey using Windows PowerShell

In this post we will see how we can Generate MachineKey using Windows PowerShell from our local development machine. Problem: Many a times when a ASP.Net application is running on production server, we get an error message stating – “Validation of viewstate MAC failed. If this application is hosted by a web farm or cluster,…

Continue Reading »

Most valuable Professional C# Corner

02/01/2017 by Nitesh

Awarded C# Corner MVP for 5th consecutive year

This has been a great start to the new year as I received an email from C# Corner this morning stating they have re-awarded me the C# Corner MVP (Most Valuable Professional) award for the 5th consecutive year. It is definitely an honor to receive the MVP award. Out of 4 million registered users on…

Continue Reading »

02/01/2017 by Nitesh

Wishing You a Happy New Year 2017

To all my readers, Wishing you and your family a very happy and prosperous New Year 2017.  May this new year bring many opportunities your way to explore every joy of life. I hope this new year fills your life with happiness and perfect health always, much more success and happiness. I would like to…

Continue Reading »

1 2 3 38