C# solution design to display web content from a complex calculation? -


i need process complex calculation generate report , display webpage. has run periodically recalculate formula based on new input.

i have few ideas: 1. create web service process , cache content , create web application request content via http periodically. 2. create service output file periodically , create web application read file. 3. create web application has task in there running periodically generate output , create webpage display it.

i have read of old threads want know better approach, pros , cons or if there newer way of implementing this?

jite!

i did program similar yours. task generate report when user asks application do. daily report, calculation costs several minutes, there many records, , fomular complex, too.

we created periodly thread check wether time calucate.thus thread calute , store condition , result sqlserver. when users click button view daily report, yet report in db , application needs read out db, , show on screen.

let disscuss solutions: solution 1 , 2 seems good, sulution 3 not match designpatterns, because tasks put in single application.

hope goes well!

                                                         david liu 

Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -