How to create a hit counter (hit counter) for each page on an MVC website? And store the information in the MS SQL database. Same as stackoverflow using on every page.
Please show me an example. Thanks u
On the main page, insert a function call that registers the page name or any other information you need. Launch your account and there you go.
I was able to do this using Session variables, sql server db in ASP.NET MVC.
. IP- . . , Stackoverflow, .
.
, - -, , sql- ( ). - , . , - , , . (, ) -, , . , .
, . , , , . db, . . , .
: asp.net mvc ( HIT)
Source: https://habr.com/ru/post/1787445/More articles:Получить фактическую высоту частично скрытого div с помощью jquery - jqueryThe purpose of an element in java Swing and its relation to StyledDocument and paragraphs - javaHow to convert string to datetime in C ++ - c ++How to include an AND () expression that checks a property and its value - lambdaGlade-3 for Ada - adaHow to create load balancing environment for WCF service? - testingHow to detect mobile heap memory at runtime using j2me? - javaInexpensive two-factor authentication for a home server? - linuxFileServlet (BalusC solution) does not show save dialog in IE - javapassing a blob parameter as a parameter in a java method using Oracle JVM - javaAll Articles