ASP.NET debugging three axes: first

xiaoxiao2021-03-05  22

People who have used ASP to debug it should be deep memory. Find the whole piece of code

An error, it is difficult to know. Now Microsoft launches an ASP update product ASP.NET. for

The benefits of ASP.NET, I think a lot of websites have already introduced almost, but the debugging of ASP.NET

It's not much. So, I wrote this article with my personal experience. Due to, I

It is also in contact with ASP.NET, and the illness is inevitable, please pay more attention. well, let's get back to business.

First trick: Configure config.web

Generally, when we write a good web page, ASP.NET will tell us on the page.

Wrong, but if it is wrong, it is not prompted. In order to make the ASP.NET further remind us to go wrong

Information. We need to edit configuration information in config.Web.

There may be many people who have just contacted ASP.NET don't know how config.web files. Then I will introduce it by the way.

a bit. Config.Web is a configuration file for ASP.NET, which stores all configuration letters on ASP.NET

interest. When an ASP.NET page is executed, it will look for this file first to the directory where the page is located.

When you come to the previous directory, you will go to the wwwroot directory. If there is no, it will call x: / winnt / micr

The config.Web file in the OSoft.Net/framework/v1.0.2204 directory (X is the system directory). So if

If you want to change all the configurations, you should change the config.web in the Winnt directory. In addition,

Next, when you open config.web, you will find this a configuration file for an XML structure.

Ok, the introduction is so much, go back to our theme. The first step you want to do now is:

Open or create a config.Web file. We are separated:

If you are new, you need to create a new document with a text editor and enter it inside.

Side statement:

After passing, select Save As, enter the file name config.web, save it to the current page of the same folder

I.e. If you are modifying an already existing config.web file, you only need to open it with the text editor,

Enter anywhere behind and between:

I.e.

转载请注明原文地址:https://www.9cbs.com/read-35344.html

New Post(0)