Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
Hi
 
I am developing a project for college and i need some suggestions over the development. Its a website which shows information from other websites like Links, Images etc.
 
I have prepared below given model for the website.
 
A Home.aspx page which shows data from tables (sql server).
 
I have coded a crawler (in c#) which can crawl (fetch data) required website data.
 
I want some way through which i can run the crawler at back end for some time interval and it can insert updates in the tables. I want that i can get updated information in my database so that Home.aspx shows updated info. (Its like smaller version of Google News website)
 
I want to host the wesbite in Shared Hosted Environment (i.e a 3rd party hosting provider company and that may use IIS platform)
 
I posted simliar situation to different .NET forums and communities and they suggested lot of different things such as
 
- Create a web service (is it really necessary ?)
 
- Use WCF
 
- Create a Console application and run windows task sheduler (is it okay with asp.net (win forms website) and in shared hosted)
 
- Run crawler on local machine and update database accordingly. (No i want everything online)
 
Please suggest me a clear way out so that i complete the task. Please suggest elobrated technology and methods which suits my project.
 
Waiting...
 
Thanks...
Posted 14-Jan-12 4:24am

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Depending on your hosted environment, most hosting companies allow you to make a cronjob for things like that. I don't know if IIS can do those type of things but on *nix boxes it is a lot more common occurance.
  Permalink  
Comments
shoputer at 14-Jan-12 12:37pm
   
The counterpart of cron is the Windows Task Scheduler.
jinxster at 14-Jan-12 20:35pm
   
Ok it is the same, in cron you would run the php script directly. So in Windows it would be to run the asp script. Much like your console app idea, but just make another asp file and schedule it to run. Somehow I think your task scheduler would need to be configured in a way to run the asp program to understand asp with the parameters of the file so it executed. I dont know if that is a simple as it looks, hence you got all the other suggestions.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Kornfeld Eliyahu Peter 169
1 Zoltán Zörgő 139
2 George Jonsson 135
3 PIEBALDconsult 130
4 OriginalGriff 120
0 OriginalGriff 6,165
1 DamithSL 4,658
2 Maciej Los 4,107
3 Kornfeld Eliyahu Peter 3,649
4 Sergey Alexandrovich Kryukov 3,342


Advertise | Privacy | Mobile
Web04 | 2.8.141220.1 | Last Updated 14 Jan 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100