I want to display the date in the view, but the resulted Date Format is 05/10/2017 12:00:00AM. But I wanted to display like 05-Oct-2017. Before I tried to display using DisplayFor, but it was not suited to display the date format.
Sometimes I got the following error while running the application. I don’t know why it was happening. But I solved this issue by clearing the browser history. I think this will be the temporary solution.