Re: autofire web application
Create a Windows service that uses a WebRequest to get the data on the
schedule you require and places it into the database. That way, the data is
available the next time someone accesses your ASP.NET Web application.
"wancherng" <wancherng@msn.com> wrote in message
news:3e8988cf$1@tnews.web.devx.com...
>
> a newbie quetion:
>
> i would like to know how can i create a web application that periodically
> perform a background task in my web server?
> this is because i need the application to auto-retrieve data of another
website(others
> ppl's website) and automatically update the data into a database in the
server(autorun
> for mayb every hour...etc).and i can't use scheduled tasks in my server to
> do this.
> so, how do i start to build the application?
> hope you all can help bcoz this is the first time i build a web
application
> and i have no idea how to start it.
> thanx in advance.
Re: autofire web application
> I would like to know how can I create a Web application
> that periodically perform a background task in my Web
> server?
wancherng: I wouldn't use a Web application for this; I would create a
Windows or console app, and run it as a scheduled task. You could also
create a Windows service and have it running continuously in the background;
it could periodically check the time (using a timer) and perform its query
once per hour.
--
Phil Weber