In this tutorial I will show you how to implement bootstrap menu active on navabar using MVC. Here I applied to my project. By default MVC project template was comes with bootstrap and styling for menu by default but functionality was not included.
In this tutorial I will show you how to generate OTP code in c# mvc. Nowadays most applications are using two factor verification to validate the user’s login information using mobile number for online banking or made purchase online goods.
Here, you can understand the difference between @Url.Content and @Url.Action in MVC Razor asp.net. If you want to pass the url for a file path for the website then you can pass it. It will resolve a virtual path into an absolute path.
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.