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 6894663
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T06:48:40+00:00 2026-05-27T06:48:40+00:00

I am using ASP.Net mvc 3 C# to make a web application. I have

  • 0

I am using ASP.Net mvc 3 C# to make a web application. I have some service that needs to be running in an interval of x minutes. Also, some settings could be updated or changed for this service.

I am not sure, what technology i should use to keep my service running on the server and to be able to stop it/run it remotely using the ASP.Net MVC interface (web).

I assume some hidden service or application that has a timer to fire the required job every x minutes.

Any suggestions as it is my first big .Net project 🙂

Thank you

  • 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-27T06:48:40+00:00Added an answer on May 27, 2026 at 6:48 am

    It depends on what control you have over the environment you deploy to. If it is your server and you have sufficient privileges over it, you can either:

    1. Write a Windows service that has a timer in it, which wakes up and executes an Http request on your web app.

    2. Set up a scheduled task that runs a VB script (or similar) to call your web app.

    One thing I would not recommend doing is using a background thread in your web app that has a timer on it. You can do that (http://haacked.com/archive/2011/10/16/the-dangers-of-implementing-recurring-background-tasks-in-asp-net.aspx?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+haacked+%28you%27ve+been+HAACKED%29) but it is inherently unsafe if the web’s app domain is brought down.

    If you are deploying to an ISP, shared hosting, or for some reason you can only deploy your web app and nothing else, you will need to have a script that runs elsewhere that calls the web app. Most ISP’s, even on shared hosting, will let you set up a scheduled task. You can then upload a simple VB script to cgi-bin, for example, which calls the web app (http://chriscant.phdcc.com/2011/05/scheduled-task-ping-for-plesk-in.html).

    I am just about to implement the last solution myself.

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

Sidebar

Related Questions

I have a web application built in asp.net mvc using forms authentication. I am
I have a asp.net web application using MVC framework, the website allows the registrars
I have started developing a full-web application by using the ASP .NET MVC 3
I have an ASP.Net MVC web application using forms authentication. I am using OpenID
I have an asp.net MVC web application that requires tasks to be scheduled. (A
Using ASP.NET MVC 2.0, I have an actionlink that is used for comments on
I have an ASP.NET MVC 3 (.NET 4) web application. This app fetches data
I'm developing a web application using ASP.NET MVC (I'm new to the framework and
Other than the fact that ASP.NET MVC Web Application has more clarity in its
Solved using this post: Can you convert an ASP.NET MVC Application to a Web

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.