Configuration

Configuration is one entirely via xml files. Below is an example file. Once you place the file in the App_Data directory of the webservice the test will automatically become visible when calling the ListTests() method (which is currently done on the home page).

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?xml version="1.0" encoding="utf-8" ?>
<root>
  <type>simple</type>
  <introduction>
    <para>ind/ud (in/out) when theres motion involved.</para>
    <para>inde/ude (in/out) when theres NO motion involved.</para>
  </introduction>
  <entry>
    <danish>Solen skinner.</danish>
    <english>The sun shines.</english>
  </entry>
  <entry>
    <danish>Det regner.</danish>
    <english>It rains.</english>
  </entry>
  <entry>
    <danish>Lise kommer og henter Jan i børnehaven.</danish>
    <english>Lise is comming and getting/picking up Jan at the pre-school.</english>
  </entry>
  <entry>
    <danish>Hej, sikke et dejligt vejr!</danish>
    <english>Hi, what nice weather!</english>
  </entry>
</root>
Thats all there is to it :). As you can imagine you can place any text in the nodes, and you can also see that you can provide a number of introduction paragraphs in the node.

WebPolyglot