when using personlization, how do you access over setting at
runtime?
Answer Posted / karthika.s
One way to improve the usability of your application is to
allow personalization—where different users of the same
application have their own set of personalized settings. To
do this, you need a way to store user-specific data, such as
the size of the Window, the background color, etc. And while
some data should be user-specific, some data applies across
the board—things like database connection strings, Web
services URLs, etc.
You access the settings through the
Properties.Settings.Default class.It's important to
initialize the settings with a default value. If not,
accessing them during runtime will result in errors.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are the Types of authentications in IIS
Is asp.net and .net same?
What is preprocessor in .net?
Is it right that ASP.NET Web API has replaced WCF?
How do you initiate validation on the server manually? What are two situations when you might you want to do that?
Where would you use an ihttpmodule, and what are the limitations if any?
WSDL means?
can we remote debug applications with the remote debugger installed with vs.net 2002, with vs.net 2003?
What is web configuration file and how to use in web application
What kind of data we can store in viewstate?
Differentiate between namespace and assembly.
Can one dll file contains the compiled code of more than one .net language?
How can you make sure that web api returns json data only?
What is the life cycle of an asp.net page?
What are the advantages and disadvantages of session?