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

  • SEARCH
  • Home
  • 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 6926747
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T10:57:32+00:00 2026-05-27T10:57:32+00:00

I have pretty weird question. In my ASP.NET MVC application I defined 1 Timer

  • 0

I have pretty weird question. In my ASP.NET MVC application I defined 1 Timer which is ticking every X minutes for purpose of doing some repeating task. First of all I know that this is not best practice, but for my demo I cannot use task schedulers, windows service or something similar so I’m using this approach.

I declared static Timer in my global.asax and initialized it in Application_Start() method. Every event tick of timer I need to call one of my Controllers Action method? Is this possible to do from global.asax and if it is, how? Using webrequest? Something else?

If you have any other approach it would be great. The main task is to have some repeating task in background over my web application but using Timer.

  • 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-05-27T10:57:33+00:00Added an answer on May 27, 2026 at 10:57 am

    Is this possible to do from global.asax and if it is, how? Using webrequest? Something else?

    Yes, WebRequest is the way to go or a WebClient since it’s easier to use.

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

Sidebar

Related Questions

I have a pretty standard table set-up in a current application using the .NET
i have a quite weird question which probably has no practical use but the
I think I found something very weird in JQuery and ASP.NET MVC. As mentioned
Note: The following is just an example. I'm pretty new to ASP.NET MVC and
This is pretty weird. I have my Profiler open and it obviously shows that
I have pretty much finished my first working Symbian application, but in my hastened
I have pretty big background of .net, and I've decided that i want to
i have pretty simple simple question (i hope so). How do i change the
I have a pretty weird situation here, and i came up with a very
This is pretty weird. I have my public key added at host machine. I

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.