Hi,Arachoned.net is very good.I want to Crawl in background and auto update when virtual directory have change.I see a Service in demo. But I don't know its workflow.Please give some ways to progress this task!Thanks!
For best service when you require assistance:
I had run successfully service in demo. But I don't known how to this service crawles on virtual directory.Please give some advise!Thanks!
You have to create a CrawlRequest for the virtual directory, which is just an AbsoluteUri.
I run console is ok. Now I wan't use service to Crawl in background by using service. Can't you help me?
I am not completely sure I know what you want to do. You want to use the service to crawl a virtual directory? Submit a CrawlRequest via CrawlRequests.txt. (search the code for CrawlRequests.txt) AN doesn't exist as a FileSystemWatcher, so it doesn't just 'come alive' and know when to start crawling, although you could program one in the Service.
Do you know completely what you want to do?
I want to use the service to crawl a virtual directory. And my application can auto update when vitual directory change. Everything run in background. I will by arachnode_net if it can solve this task.
I hope you help me!
You will want to add one of these to watch the actual directory: http://msdn.microsoft.com/en-us/library/system.io.filesystemwatcher(v=VS.90).aspx, which will then start the Crawler. The Service will always be running, and the FileSystemWatcher will watch the actual directory (not the virtual directory) and instruct the Crawler to start. The first link I sent instructs how to run the Service as a background priority.
This is how to do what you want to. How long have you been programming?
Your guide is very specific!
The first link http://msdn.microsoft.com/en-us/library/system.diagnostics.processpriorityclass.idle.aspx which you give me is "Page Not Found".
Please give me another way to solve this task!
Try this: http://msdn.microsoft.com/en-us/library/system.diagnostics.process.priorityclass(v=VS.90).aspx