ssis - Performing bulk processing in ASP.NET page -


we need ability send out automatic emails when dates occur or when business conditions met. setting system work existing asp.net website. i've had chat 1 of other devs here , had discussion of of issues.

things note:

  • all information need modelled in asp.net website
  • there business-logic required email generation in website already

we decided ideal solution have separate executable scheduled run overnight , processing , emailing. solution has 2 main problems:

  • if website updated (business logic or model) executable accidentally missed executable stop sending emails, or worse, sending them based on outdated logic.
  • we hoping use this use usercontrols template emails, don't believe possible outside of asp.net website

the first problem have been avoided build , deployment scripts (which we're looking @ moment anyway), don't think can around second problem.

so solution decided on have asp.net page called regularly ssis , have set amount of processing (say 30 seconds) , return. know asp.net page not ideal place doing kind of processing seems best meet our requirements. considered spawning new thread (not worker pool) processing decided if did couldn't use page returned signify success or failure. processing within page's life-cycle can use page content give indication of how processing went.

so question is: there technical problems might have set-up?

obviously if have tried reports of success/failure appreciated. suggestions of alternative set-ups.

cheers,

don't use asp.net thread this. if site generating information need in order create or trigger email-send have site write information file or database.

create windows service or scheduled process collects information needs file or db , run email sending process on seperate process/thread.

what want avoid crashing site or crashing emailer due limitations within process handler. based on use of word "bulk" in question title, 2 need independent of each other.


Comments

Popular posts from this blog

unicode - Are email addresses allowed to contain non-alphanumeric characters? -

c++ - Convert big endian to little endian when reading from a binary file -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -