Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jun 18, 2012 08:58 AM by gtscdsi
0 Points
5 Posts
Jun 12, 2012 05:51 PM|LINK
Hi,
I need just to synchronize following things from windows desktop to IIS -(WEBSERVER)--
Actions:
if new folders are created or modified or deleted
if any document is added inside folder -- / edited/ deleted/ added
if any of activity , is taking place either at same time or isolated time.
above actions can be identified using file watcher, but i want to sync same (folder +document) structure in IIS
i need code to sync same thing( folder/documents ) structure with IIS
please share c# (better it would be if multi threaded)
NOTE: IF I copied 2 big documents in folder A, then those 2 documents should make in sync with IIS( for folder A)
if any body knows
Member
250 Points
50 Posts
Jun 18, 2012 08:58 AM|LINK
you can write a windows service to implement it. but it is not recommended to do kind of sync with IIS folder. It may cause unexplected appdomain recycling.
http://blogs.msdn.com/b/tess/archive/2006/08/02/asp-net-case-study-lost-session-variables-and-appdomain-recycles.aspx
desaiguru
0 Points
5 Posts
Sync same folder structure with IIS Folder structure
Jun 12, 2012 05:51 PM|LINK
Hi,
<div></div> <div>I need just to synchronize following things from windows desktop to IIS -(WEBSERVER)--
Actions:
if new folders are created or modified or deleted
if any document is added inside folder -- / edited/ deleted/ added
if any of activity , is taking place either at same time or isolated time.
above actions can be identified using file watcher, but i want to sync same (folder +document) structure in IIS
i need code to sync same thing( folder/documents ) structure with IIS
please share c# (better it would be if multi threaded)
NOTE: IF I copied 2 big documents in folder A, then those 2 documents should make in sync with IIS( for folder A)
if any body knows
</div>gtscdsi
Member
250 Points
50 Posts
Re: Sync same folder structure with IIS Folder structure
Jun 18, 2012 08:58 AM|LINK
you can write a windows service to implement it. but it is not recommended to do kind of sync with IIS folder. It may cause unexplected appdomain recycling.
http://blogs.msdn.com/b/tess/archive/2006/08/02/asp-net-case-study-lost-session-variables-and-appdomain-recycles.aspx
http://blogs.msdn.com/b/asiatech/