Re: a problem help me



Hello Dhananjay,

hello nick
As you have asked some questions.in a simple way i am trying to achieve
this:-
my plan on building a Cache System. It will import content from
different Dhananjay-Sites, translate the dhananjay-Code into HTML and
republish it in a specific format on a file system.

now will you plz guide me how to proceed so that i can achieve it
or have u developed something like this previously then send me the
resources, so that i acn easily proceed towards the target
or u want in more detail ? let me know



You are building a cache system. I assume from your statement that the goal
is for a person, using their web browser, to be able to visit a web site
while online, cache the site, and then visit it again when offline. Is this
true? (Are you aware that this is built-in functionality in the IE browser?
Simply add the site to favorites and check the "make available offline"
check box.)

I will assume, given the fact that this is trivial for an individual user,
that you intend for this cache to be visited by more than one user.
Therefore, I assume that the source sites are somehow more 'difficult' to
reach or less reliable than your cache server. In that case, you need to
provide what is called a 'proxy cache' in that the users will hit your site,
looking for the web pages that they want, and your app will get the data
from the remote system, update the local cache, and serve the pages.

Of course, there is no need to write code for any of this. Simply install
ISA server. http://www.microsoft.com/isaserver/default.mspx

On the off chance that you posted on a developer forum because you'd rather
develop software than install existing stuff (;-), then perhaps the code on
this link would be helpful. It is not a proxy server. It is, instead, a
web site spider. That actually sounds more like what you are saying you
want. This link provides complete C# source code for downloading web sites
to a local hard drive: See open source code at
http://www.codeproject.com/useritems/ZetaWebSpider.asp

For a more full-featured system that caches web sites, but one that is not
written in C# (to the best of my knowledge) but is still free, check out
HTTrack. The windows version is WinHTTrack? (www.httrack.com)

I hope this helps,
--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik

Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.


.



Relevant Pages

  • Re: Really **wonderful** website for C interview questions!!!!!
    ... Hacker would write code to connect to that Web site and download the ... table and parse it to yield the local machine table to be used, ... Wise hacker would write code to do all that above, but also cache the ... Smart-ass Hacker would find the Web site that mentions how HP and IBM ...
    (comp.programming)
  • Re: IIS strange behavior
    ... From a command prompt on the server run iisreset which will restart IIS ... If you get the SBS page ... again then we will need to clear ISA's cache. ... >> In the IIS mmc, right click on the Default Web Site and select>> Properties, ...
    (microsoft.public.windows.server.sbs)
  • Re: OWA Premium loading... hotfix order?
    ... cache without result during the steps in a). ... But I don't suspect it that much, ... > anywhere (ISA cache, clients, compressed file folder, etc.) I no nothing ... > b) you installed Trend Officescan vweb site into the default web site ...
    (microsoft.public.windows.server.sbs)
  • Web Site Unavailable
    ... posting, and I'm not sure if it posted the first time. ... denied access to a web site which I was using successfully for months. ... my cache size, deleting the cache, deleting temporary internet files, and I ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: The Web site cannot be found - errors
    ... files and ISA cache on all ... client workstations and the server. ... To clean IE cache on computer, ... Please let me know the web site name on which the issue occurs. ...
    (microsoft.public.windows.server.sbs)