N
NW Technicals
Hello Folks,
I am trying to develop a webbased applicaiton for which I thought of
externalizing the error messages.
Earlier in my life when I had similar problem with different technologies I
have stored the errorMessage with an errorNumber associated in a Database
Used to retrieve the string with errorNumber . The string could be
maintained easily outside the code base and it was convenient
I was trying to do the same in ASP.NET and getting into lot of troubles.
Could you guys point me to a detailed article on it
I am thinking of storing in Resourcefiles
If I do this can I use resource in all Layers of my application(I know I
will not be able to use in StoredProcs)
What if I use an XML file
stroing like errorNo and errormessage
If I go this route of XML file for message where should I store this file
and how do access this file as this is not a code file I know this does
not have a namespace. I guess I need to point to a absolute or relative path
to this file how to do it
Thanks in Advance
I am trying to develop a webbased applicaiton for which I thought of
externalizing the error messages.
Earlier in my life when I had similar problem with different technologies I
have stored the errorMessage with an errorNumber associated in a Database
Used to retrieve the string with errorNumber . The string could be
maintained easily outside the code base and it was convenient
I was trying to do the same in ASP.NET and getting into lot of troubles.
Could you guys point me to a detailed article on it
I am thinking of storing in Resourcefiles
If I do this can I use resource in all Layers of my application(I know I
will not be able to use in StoredProcs)
What if I use an XML file
stroing like errorNo and errormessage
If I go this route of XML file for message where should I store this file
and how do access this file as this is not a code file I know this does
not have a namespace. I guess I need to point to a absolute or relative path
to this file how to do it
Thanks in Advance