Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Approaching a quarter million hits
Message
 
 
À
15/05/2013 19:03:45
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01573341
Message ID:
01574031
Vues:
51
>>PMFJI but what is the most simple way to determine number of hits an ASP.NET application gets? Is it in the application code or you can find out from IIS? TIA.
>
>You can use IIS log. But, note that the log logs pretty much everything unless specified otherwise, such as invalid page requests, file not found, etc. If you want to have a real site log, you would usually maintain it on your own. I implemented it in my framework such as Rick did and many others. With that, you can do pretty much everything you want such as logging the worker process ID, the time the hit took to respond, the number of SQL Server hits (insert, delete, update), if your framework supports it, and many other things like that.
>
>It is with that type of stats you can really know what is going through the application up to the database.

Thank you. I don't have a framework. I wrote this ASP.NET application myself and it was my first time using ASP.NET. I will check out on how to see IIS log.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform