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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T06:23:29+00:00 2026-05-29T06:23:29+00:00

I built a bidding website for a client in which a user posts an

  • 0

I built a bidding website for a client in which a user posts an item and sets the auction duration. The item is first in Pending state until an admin approves it or after 12 hours have passed since the user first posts it. From then on, the item gets Published and other users can bid on it. Once the auction period is over, the item should be Closed and the highest bidder wins the item…

In addition to that, I need to send email notifications…

  • To the admin once a new item is posted.
  • To the winner once he wins an item.
  • To the item’s owner once the auction is closed.
  • To the admin once an auction has been closed and there was a winner (i.e: people actually bid on it).

Currently what I’m doing is to call some method in my business layer which checks whether there are any pending items that have passed the 12 hours period to make them published, and whether there are published items that have passed their auction duration to close them. This method is called from several places such as the website’s home page, the item’s search page and others… This is actually causing me problems (Refer to this question). So I think it’s worth finding an alternative solution that would help me get rid of all these issues that are most likely due to poor design.

  1. Should I centralize this by calling that method from one single place and sending the emails accordingly?
  2. Should I delegate this whole thing to some sort of scheduled task? In this case, what time-frame would be reasonable to run this task?
  3. Any other suggestions?
  • 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-29T06:23:30+00:00Added an answer on May 29, 2026 at 6:23 am

    Should I delegate this whole thing to some sort of scheduled task? In
    this case, what time-frame would be reasonable to run this task?

    Yes, this seems like the best approach. Offload the email sending to a separate process than your ASP.NET MVC application. As far as the time-frame is concerned, this will depend on your business requirements. You may take a look at Quartz.NET which could be used as a task scheduling mechanism.

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

Sidebar

Related Questions

I've built a custom user control which inherits ComboBox and has items which are
Which built in (if any) tool can I use to determine the allocation unit
We built a grant application system for a client. They've now asked for some
I built an application which displays the records from database in the window and
I have a ViewModel class which i want to respond to the built in
I've built a SpinButton user control. SpinButton.xaml has: <UserControl x:Class=MyApp.SpinButton x:Name=Spinner [...] > <Grid
I built an online news portal before which is working fine for me but
I have a Windows Forms application built using the .NET 3.5 Framework which self
Google guice has a built-in logger binding . But what if I want to
Built a theme in HTML/CSS and customized a the cycle plugin to be a

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.