(Newbie Alert: both in BaseX and C#)
Hello folks,
I have been considering Java and C# for BaseX-based development. My Java experiments are going quite well.
C##: First, I created 4 new blank projects in Visual Studio 2010 for the sample apps (BaseXClient.cs, CreateExample.cs, Example.cs, QueryExample.cs).
After I added the references "System" and "Microsoft.CSharp" most of the errors went away, but there are 2 remaining:
(1) The types "Session" and "Query" are not recognized. I am sure they are somehow part of BaseX. How do I add support for those types? It probably involves creating some reference and adding it, correct?
(2) The other type that is not recognized is "Stopwatch". Microsoft provides one such class:
http://msdn.microsoft.com/en-us/library/ebf7z0sw.aspx
which has a "Start" method and a "ElapsedMilliseconds" property.
That class is not recognized, however. I am using the provided source code, verbatim:
https://svn.uni-konstanz.de/dbis/basex/trunk/api/etc/c%23/Example.cs
Thanks again for such a great package!
-Ramon