Latest posts on tagged on "ASP-NET"

the relative virtual path is not allowed here

28 July 2020

When I try to display the html file HostingEnvironment.MapPath I got the error. "An exception of type 'System.ArgumentException' occurred in System.Web.dll but was not handled in user code".

C# method to determine whether the client disables cookies

30 August 2018

For security reasons, some clients disable cookies. When you want to use cookies to store some information (especially some critical information), you need to determine whether the customer has disabled cookies. How to judge?

Sql corresponds to the Asp.Net data type

29 August 2018

During the development of the program, when creating SQL stored procedure parameters, you need to find the corresponding SQL data type according to the defined ASP.NET data type; if you are not familiar with the "Sql and Asp.Net data type", you will need it. Their correspondence tables are listed in detail below.

Bootstrap Navbar Active Class to html.actionlink with MVC

28 August 2018

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.

The difference between web applications and web sites

27 August 2018

As the name implies, it is like an application, it can be accessed like a website, but once you change it, if you change a piece of logic, you have to recompile it to see the effect of the change when the website is accessed.

Page 2 of 26