14/04/2016 by Nitesh

SOLUTION: Friendly URLs not working on shared server

So, you have created an awesome website in ASP.Net using the awesome friendly URLs and it is all working on your machine, you upload the code to a shared server and your Friendly URLs stop working. Ahhhh! Something that you expected to work out of the box as it works on Microsoft Azure but it…

Continue Reading »

30/03/2016 by Nitesh

How To Convert a DateTime object into specific TimeZone in C#

Friends, Many times we store Date in our database by passing DateTime.Now as parameter value or by using GETDATE() in SQL Server. In both the cases, the time of the current machine is passed as the value. It is OK in case of Desktop applications however, when we move to web applications, the current computer…

Continue Reading »

01/03/2016 by Nitesh

Solution: The certificate chain was issued by an authority that is not trusted

Friends, Recently, I migrated a website hosted on Azure to a shared hosting server and started getting connectivity error for SQL server. The error was – The certificate chain was issued by an authority that is not trusted After some research, I found that the error occurs when we do not have a CA signed…

Continue Reading »

29/02/2016 by Nitesh

Remove Roslyn support from ASP.NET Project

Friends, VS2015 has been launched and if you’re using .net Framework 4.5.2 to create projects using VS2015, you might have noticed that the project templates use Roslyn by default. In this post we will see How To Remove Roslyn support from ASP.NET Project. If you’re not aware of Roslyn, it is a set of open-source…

Continue Reading »

02/01/2016 by Nitesh

Awarded C# Corner MVP for 4th consecutive year

Dear Friends, 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 award for the 4th consecutive year. It is definitely an honor to receive the MVP award. Out of 4 million registered users on the…

Continue Reading »

1 2 3 4 5 38