I just learned the newest feature for adding configuration to .NET application (Console, Windows Forms, Web forms, ets.)
Settings.Settings are created when you start your application. This allows you to build out Settings that scope either the application or user. But the big question was how do you access them in the code.
Simple.
Try this
Properties.Settins.Default.[Intellisense takes over and find your setting]
That easy.
Software engineering and business solutions blog featuring SaaS reviews, automation tools, and business insurance guides. Buyer-intent content designed to drive high-quality traffic and conversions.
Tuesday, August 14, 2007
Subscribe to:
Comments (Atom)
Best coding practices every developer should follow
Best Coding Practices Every Developer Should Follow Introduction In today’s fast-paced software development environment, adhering to...
-
How to clear SharePoint People Picker suggestion cache If you have been SharePoint Site owner long enough, you would have definitely ...
-
The problem was that the remote connection needed to utilize Named Pipes, but in order to utilize Named Pipes both the machine hosting the i...
-
Getting the following error (Figure 1): Server Error in '/' Application. ID4014: A SecurityTokenHandler is not registered to ...