16,004,505 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by FrancoisViljoen (Top 3 by date)
FrancoisViljoen
5-Dec-15 6:01am
View
Google GZipStream
FrancoisViljoen
3-Dec-15 9:34am
View
Obviously I do not have a complete view of your whole application, but what you can possibly look at doing is to compress the response using a gzip stream and sending it over as a byte[]. The downside to this is that the consumer has to know what the byte[] actually contains and also how to unzip the information.
FrancoisViljoen
2-Dec-15 4:41am
View
I think if you shut down the system in Task Manager then no more code will execute so you will see the effect that you are seeing. I would recommend storing a global variable with view count and updating the value in the database periodically (when the App Server is quiet). then if the service crashes (or gets killed) then you will at least have some indication of page count (albeit not 100% correct). Without getting too complex, this is probably what I would do.