Tracing in asp.net Part 79

preview_player
Показать описание
Text version of the video

Healthy diet is very important both for the body and mind. If you like Aarvi Kitchen recipes, please support by sharing, subscribing and liking our YouTube channel. Hope you can help.

Slides

All ASP .NET Text Articles

All ASP .NET Slides

All Dot Net and SQL Server Tutorials in English

All Dot Net and SQL Server Tutorials in Arabic

Tracing enables us to view diagnostic information about a request and is very useful when debugging application problems.

In a later video session, we will discuss about, how tracing can be used to solve a performance related problem.

Tracing can be turned on or off
1. At the application level or
2. At the page level

To disable tracing for specific pages, set Trace="false" in the webform's "Page" directive

To append trace messages at the end of the page set pageOutput="true".

Use RequestLimit attribute to control the number of trace requests that are stored on the server. The default is 10. After this limit is reached, the sever will stop writing to the trace file.

If you want to log trace messages, even after the requestLimit has reached set mostRecent attribute to true. When this attribute is set to true, the old entries in the trace log are discarded and the new entries get added.
Рекомендации по теме
Комментарии
Автор

very good job. I like your course so much.

johnwindsor
Автор

I feel so stupid I didn't know this until today.

DataJuggler
Автор

I could not find any trace file in the folder. It shows the information at the bottom of the page, but does not save it in a separate file on the hard drive. It is also not too safe to save such information in a file without encryption.

Trzbne
Автор

Is it possible to do the same in asp.net mvc EF6? how?

bgva
Автор

How can i open. .axd file extension.
I cant open. . Axd extanson in surfing website.
And it is open image and closes instantly
Plees help

SurajKumar-seoc