Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9256779
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T12:01:56+00:00 2026-06-18T12:01:56+00:00

For my site I need to have: logging of the action & render time

  • 0

For my site I need to have:

  • logging of the action & render time
  • log the visit of a certain product
  • from time to time agregate votes
  • from time to time send newsletter
  • from time to time post on social networks

My approach to this was to create a global filter and OnResultExecuted I do the check and the action that are needed.

I have some questions:

  1. when OnResultExecuted is running did the user received the rendered page and basically is not waiting for anything else? Am I blocking it?
  2. it is a good idea in OnResultExecuted to start a new thread for this
    jobs?
  3. is this approach ok in ASP MVC 4
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T12:01:58+00:00Added an answer on June 18, 2026 at 12:01 pm

    According to MSDN this method is called after the response is written (http://msdn.microsoft.com/en-us/library/system.web.mvc.controller.onresultexecuted(v=vs.108).aspx) so you will not be blocking the response.

    Apart from the first two points (logging of actions and logging of visits), the others may take considerable resources based on the size of the task.

    My advice is to override OnResultExecuted for the first two tasks and use a windows service (can easily be written in C#) to do the others in the background. This way you can use less costly clr threads instead of iis worker threads.

    Running the time/resource consuming tasks in the background will add scalability to your web application

    Hope this helps

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Drupal 7 site and need to output a small calendar control
I have a search box on my site and i need to replace all
I have items in a list in a SharePoint 2003 site that I need
Afternoon All, I have a web site where i need to know who is
I need to create a WP site which will have multiple subjects. Each subject
I currently have a web site hitting 7 Access DBs that I desperately need
I need to check if the images people upload to my site have the
I have a site using CF8 and Fusebox 5. Anytime I need to add
I need to develop a site on Drupal 7. I have some content types
I have Solution with web site MyProject. I need publish this web site. In

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.