Click here to Skip to main content
Sign Up to vote bad
good
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 - 3:24


1 solution

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 - 14 Jan '12 - 12:37
The counterpart of cron is the Windows Task Scheduler.
jinxster - 14 Jan '12 - 20:35
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
Your Filters
Interested
Ignored
     
0 Sergey Alexandrovich Kryukov 415
1 OriginalGriff 325
2 Arun Vasu 268
3 CPallini 213
4 Tadit Dash 203
0 Sergey Alexandrovich Kryukov 10,005
1 OriginalGriff 7,654
2 CPallini 4,171
3 Rohan Leuva 3,447
4 Maciej Los 2,974


Advertise | Privacy | Mobile
Web01 | 2.6.130523.1 | Last Updated 14 Jan 2012
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid