Re: a problem help me
- From: "Nick Malik [Microsoft]" <nickmalik@xxxxxxxxxxxxxxxxxx>
- Date: Tue, 28 Nov 2006 04:46:40 -0800
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.
.
- Prev by Date: Re: further information
- Next by Date: .NET Basic Question
- Previous by thread: Re: further information
- Next by thread: .NET Basic Question
- Index(es):
Relevant Pages
|