Hi all
Scenario : I am using a Singleton class (http://msdn.microsoft.com/library/default.asp?url=""
)
to load an xml file into XMLDocument object in the constructor . The XMLDocument will be used to load the configuration settings of the controls loaded in my page.
The Problem: whenever the xml file is changed or modified the changes are not reflecting on the pages ,bcos the object is still holding the old xmls data . The changes are reflected only after the server (iis) is
restarted.This can be done in debugging mode.
but the server where the site will be hosted is having more than 50 site running on that . where this is not possible.
Possible options:
1) restart the server (ruled out).
2) Kill the object of the singleton class ( which will make sure that when the next user logins , the new object will be created and , it will be reading or initializing the object with the modified xml )
3) i don't know abt any other option
The requirement: To develop a utility which will make sure that whenever the file(xml ) is modified that should reflect on the site or to the user. it can be a console utility app which will do the same.
pls lead me to find the solution
--
--
--------------------------------------
Regards
Babulal.K.R
------------------------------------
"In three words I can sum up everything I've learned about life:
...............it goes on."
Robert Frost
| Basic programming language | C programming language | Computer programming languages |
| Programming languages | C programming language | Software programming language |
YAHOO! GROUPS LINKS
- Visit your group "Microsofts_C_Sharp" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
