Frequently Asked Questions
Questions
- How do I get started using Nini?
- Can I use Nini with ASP.NET?
- How can I return a list of values from a configuration file?
- Where are the VB.NET examples?
- How do I access Samba, MySQL, or Python INI files?
- Can I distribute Nini with my commercial application?
Answers
- What is Nini?
Read the About section, take a
look at the manual,
then download Nini. You should
be a pro in no time.)
- Can I use Nini with ASP.NET?
Absolutely. Use the DotNetConfigSource
class by either pointing to the web.config
file or by passing inthe sections.)
-
How can I return a list of values from a configuration file?
Yes, there is an example in the manual that
demonstrates
how to do this.)
-
Where are the VB.NET examples?
There are examples in VB.NET in the Examples directory of
the Nini project.
-
How do I access Samba, MySQL, or Python style INI files?
Here's the example code to load a Samba style document:
using Nini.Config;
using Nini.Ini;
IniDocument doc = new IniDocument ("smb.conf",
IniFileType.SambaStyle);
IConfigSource source = new IniConfigSource (doc);
- Can I distribute Nini with my commercial application?
Absolutely. Read the license
for more information.