diff --git a/BuechermarktClient.sln b/BuechermarktClient.sln index c878023..0195a2b 100644 --- a/BuechermarktClient.sln +++ b/BuechermarktClient.sln @@ -5,6 +5,8 @@ VisualStudioVersion = 15.0.26403.3 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BuechermarktClient", "BuechermarktClient\BuechermarktClient.csproj", "{4DE1DCAB-3872-42C8-8E47-A1ED6A7A56E7}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BuechermarktServer", "BuechermarktServer\BuechermarktServer.csproj", "{BA959A9C-FF68-4440-9983-8FB434230FCB}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -15,6 +17,10 @@ Global {4DE1DCAB-3872-42C8-8E47-A1ED6A7A56E7}.Debug|Any CPU.Build.0 = Debug|Any CPU {4DE1DCAB-3872-42C8-8E47-A1ED6A7A56E7}.Release|Any CPU.ActiveCfg = Release|Any CPU {4DE1DCAB-3872-42C8-8E47-A1ED6A7A56E7}.Release|Any CPU.Build.0 = Release|Any CPU + {BA959A9C-FF68-4440-9983-8FB434230FCB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {BA959A9C-FF68-4440-9983-8FB434230FCB}.Debug|Any CPU.Build.0 = Debug|Any CPU + {BA959A9C-FF68-4440-9983-8FB434230FCB}.Release|Any CPU.ActiveCfg = Release|Any CPU + {BA959A9C-FF68-4440-9983-8FB434230FCB}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/BuechermarktClient/Backup.cs b/BuechermarktClient/Backup.cs index f8c9502..2847844 100644 --- a/BuechermarktClient/Backup.cs +++ b/BuechermarktClient/Backup.cs @@ -14,54 +14,15 @@ namespace BuechermarktClient public class Backup { public static void MakeBackup() { - string folder = Path.GetDirectoryName(Process.GetCurrentProcess().MainModule.FileName); - string backupfolder = folder + "\\backups"; - if (!Directory.Exists(backupfolder)){ - Directory.CreateDirectory(backupfolder); - } - string tbackupfoldername = "" + (Int32)(DateTime.UtcNow.Subtract(new DateTime(1970, 1, 1))).TotalSeconds; - string tbackupfolder = backupfolder + "\\" + tbackupfoldername; - Directory.CreateDirectory(tbackupfolder); - var bt = MainWindow.BookTypeCollection.Find(e => true).ToList(); - var json = JsonConvert.SerializeObject(bt); - StringToFile(tbackupfolder + "\\BookTypes.json", json); - - var b = MainWindow.BookCollection.Find(e => true).ToList(); - json = JsonConvert.SerializeObject(b); - StringToFile(tbackupfolder + "\\Book.json", json); - - var s = MainWindow.StudentCollection.Find(e => true).ToList(); - json = JsonConvert.SerializeObject(s); - StringToFile(tbackupfolder + "\\Students.json", json); - - ZipFile.CreateFromDirectory(tbackupfolder, tbackupfolder + ".zip"); - DeleteDirectory(tbackupfolder); - } - - private static void StringToFile(string filepath, string json) - { - //File.Create(filepath); - File.WriteAllText(filepath, json); - } - - public static void DeleteDirectory(string target_dir) - { - string[] files = Directory.GetFiles(target_dir); - string[] dirs = Directory.GetDirectories(target_dir); - - foreach (string file in files) - { - File.SetAttributes(file, FileAttributes.Normal); - File.Delete(file); - } - - foreach (string dir in dirs) - { - DeleteDirectory(dir); - } - - Directory.Delete(target_dir, false); + var ts = (Int32)(DateTime.UtcNow.Subtract(new DateTime(1970, 1, 1))).TotalSeconds; + var process = new Process(); + process.StartInfo.FileName = "mongodump.exe"; + process.StartInfo.Arguments = "--host " + MainWindow.MongoHost + " --db " + MainWindow.DatabaseName + " --gzip --out .\\backups\\" + ts; + process.StartInfo.RedirectStandardOutput = true; + process.StartInfo.UseShellExecute = false; + process.StartInfo.CreateNoWindow = true; + process.Start(); } } } \ No newline at end of file diff --git a/BuechermarktClient/BooksEdit.xaml.cs b/BuechermarktClient/BooksEdit.xaml.cs index 7bc09ab..02d945e 100644 --- a/BuechermarktClient/BooksEdit.xaml.cs +++ b/BuechermarktClient/BooksEdit.xaml.cs @@ -64,7 +64,7 @@ namespace BuechermarktClient OnPropertyChanged("Student"); } else if(value == null) { - Book.Student = new MongoDB.Bson.ObjectId("0"); + Book.Student = new MongoDB.Bson.ObjectId(string.Empty); } } } @@ -181,7 +181,7 @@ namespace BuechermarktClient { new ComboS("Im Lager", BookState.InStock), new ComboS("Verkauft", BookState.Selled), - new ComboS("Verlohren", BookState.Missing), + new ComboS("Verloren", BookState.Missing), new ComboS("Zurück an den Schüler", BookState.BackToStudent) }; DataContext = this; diff --git a/BuechermarktClient/BuechermarktClient.csproj b/BuechermarktClient/BuechermarktClient.csproj index dbca5a8..94968db 100644 --- a/BuechermarktClient/BuechermarktClient.csproj +++ b/BuechermarktClient/BuechermarktClient.csproj @@ -82,6 +82,10 @@ Designer MSBuild:Compile + + Designer + MSBuild:Compile + Designer MSBuild:Compile @@ -112,6 +116,9 @@ BookTypes.xaml + + GetConnection.xaml + Students.xaml diff --git a/BuechermarktClient/GetConnection.xaml b/BuechermarktClient/GetConnection.xaml new file mode 100644 index 0000000..76daa02 --- /dev/null +++ b/BuechermarktClient/GetConnection.xaml @@ -0,0 +1,12 @@ + + + + diff --git a/BuechermarktClient/GetConnection.xaml.cs b/BuechermarktClient/GetConnection.xaml.cs new file mode 100644 index 0000000..2ae15d7 --- /dev/null +++ b/BuechermarktClient/GetConnection.xaml.cs @@ -0,0 +1,64 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Net.Sockets; +using System.Net; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Shapes; + +namespace BuechermarktClient +{ + /// + /// Interaktionslogik für GetConnection.xaml + /// + public partial class GetConnection : Window + { + public const string ServerIdentifier = "BUECHERMARKTCLIENT00018946"; + + public GetConnection() + { + InitializeComponent(); + Loaded += (sender, e) => + { + ListenForServer(); + }; + } + + + + private UdpClient UdpClient; + + public void ListenForServer() + { + UdpClient = new UdpClient(15000); + UdpClient.BeginReceive(Recevie, new object()); + } + + public void Recevie(IAsyncResult ar) + { + var ip = new IPEndPoint(IPAddress.Any, 15000); + var bytes = UdpClient.EndReceive(ar, ref ip); + string message = Encoding.ASCII.GetString(bytes); + if(message == ServerIdentifier) + { + MainWindow.MongoHost = ip.Address.ToString(); + Dispatcher.BeginInvoke(new Action(delegate () { + Close(); + })); + //Success + } else + { + //Retry + ListenForServer(); + } + } + } +} diff --git a/BuechermarktClient/MainWindow.xaml.cs b/BuechermarktClient/MainWindow.xaml.cs index 80fdd93..8ba8b4c 100644 --- a/BuechermarktClient/MainWindow.xaml.cs +++ b/BuechermarktClient/MainWindow.xaml.cs @@ -2,6 +2,7 @@ using MongoDB.Driver; using System; using System.Collections.Generic; +using System.Diagnostics; using System.Linq; using System.Text; using System.Threading; @@ -28,6 +29,7 @@ namespace BuechermarktClient public static IMongoCollection BookTypeCollection; public static IMongoCollection BookCollection; public static IMongoCollection StudentCollection; + public const string DatabaseName = "buechermarkt"; public static string MongoHost = "localhost"; public BookTypes BookTypesWindow = null; @@ -36,16 +38,17 @@ namespace BuechermarktClient public MainWindow() { + var s = new GetConnection(); + s.ShowDialog(); InitializeComponent(); - OnConnectionEstablised("localhost"); + OnConnectionEstablised(); //ToDo get server informations } - public void OnConnectionEstablised(string hostname) + public void OnConnectionEstablised() { - MongoHost = hostname; Mongo = new MongoClient("mongodb://" + MongoHost + ":27017"); - Database = Mongo.GetDatabase("buechermarkt"); + Database = Mongo.GetDatabase(DatabaseName); BookTypeCollection = Database.GetCollection("booktypes"); BookCollection = Database.GetCollection("books"); StudentCollection = Database.GetCollection("students"); diff --git a/BuechermarktClient/bin/Debug/backups/1495206319/buechermarkt/books.bson.gz b/BuechermarktClient/bin/Debug/backups/1495206319/buechermarkt/books.bson.gz new file mode 100644 index 0000000..5b609ab Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495206319/buechermarkt/books.bson.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495206319/buechermarkt/books.metadata.json.gz b/BuechermarktClient/bin/Debug/backups/1495206319/buechermarkt/books.metadata.json.gz new file mode 100644 index 0000000..d16caae Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495206319/buechermarkt/books.metadata.json.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495206319/buechermarkt/booktypes.bson.gz b/BuechermarktClient/bin/Debug/backups/1495206319/buechermarkt/booktypes.bson.gz new file mode 100644 index 0000000..cd51da3 Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495206319/buechermarkt/booktypes.bson.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495206319/buechermarkt/booktypes.metadata.json.gz b/BuechermarktClient/bin/Debug/backups/1495206319/buechermarkt/booktypes.metadata.json.gz new file mode 100644 index 0000000..34c15d3 Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495206319/buechermarkt/booktypes.metadata.json.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495206319/buechermarkt/students.bson.gz b/BuechermarktClient/bin/Debug/backups/1495206319/buechermarkt/students.bson.gz new file mode 100644 index 0000000..ee78c57 Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495206319/buechermarkt/students.bson.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495206319/buechermarkt/students.metadata.json.gz b/BuechermarktClient/bin/Debug/backups/1495206319/buechermarkt/students.metadata.json.gz new file mode 100644 index 0000000..1dbed39 Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495206319/buechermarkt/students.metadata.json.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495206350/buechermarkt/books.bson.gz b/BuechermarktClient/bin/Debug/backups/1495206350/buechermarkt/books.bson.gz new file mode 100644 index 0000000..5b609ab Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495206350/buechermarkt/books.bson.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495206350/buechermarkt/books.metadata.json.gz b/BuechermarktClient/bin/Debug/backups/1495206350/buechermarkt/books.metadata.json.gz new file mode 100644 index 0000000..d16caae Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495206350/buechermarkt/books.metadata.json.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495206350/buechermarkt/booktypes.bson.gz b/BuechermarktClient/bin/Debug/backups/1495206350/buechermarkt/booktypes.bson.gz new file mode 100644 index 0000000..cd51da3 Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495206350/buechermarkt/booktypes.bson.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495206350/buechermarkt/booktypes.metadata.json.gz b/BuechermarktClient/bin/Debug/backups/1495206350/buechermarkt/booktypes.metadata.json.gz new file mode 100644 index 0000000..34c15d3 Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495206350/buechermarkt/booktypes.metadata.json.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495206350/buechermarkt/students.bson.gz b/BuechermarktClient/bin/Debug/backups/1495206350/buechermarkt/students.bson.gz new file mode 100644 index 0000000..ee78c57 Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495206350/buechermarkt/students.bson.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495206350/buechermarkt/students.metadata.json.gz b/BuechermarktClient/bin/Debug/backups/1495206350/buechermarkt/students.metadata.json.gz new file mode 100644 index 0000000..1dbed39 Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495206350/buechermarkt/students.metadata.json.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495206403/buechermarkt/books.bson.gz b/BuechermarktClient/bin/Debug/backups/1495206403/buechermarkt/books.bson.gz new file mode 100644 index 0000000..5b609ab Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495206403/buechermarkt/books.bson.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495206403/buechermarkt/books.metadata.json.gz b/BuechermarktClient/bin/Debug/backups/1495206403/buechermarkt/books.metadata.json.gz new file mode 100644 index 0000000..d16caae Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495206403/buechermarkt/books.metadata.json.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495206403/buechermarkt/booktypes.bson.gz b/BuechermarktClient/bin/Debug/backups/1495206403/buechermarkt/booktypes.bson.gz new file mode 100644 index 0000000..cd51da3 Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495206403/buechermarkt/booktypes.bson.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495206403/buechermarkt/booktypes.metadata.json.gz b/BuechermarktClient/bin/Debug/backups/1495206403/buechermarkt/booktypes.metadata.json.gz new file mode 100644 index 0000000..34c15d3 Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495206403/buechermarkt/booktypes.metadata.json.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495206403/buechermarkt/students.bson.gz b/BuechermarktClient/bin/Debug/backups/1495206403/buechermarkt/students.bson.gz new file mode 100644 index 0000000..ee78c57 Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495206403/buechermarkt/students.bson.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495206403/buechermarkt/students.metadata.json.gz b/BuechermarktClient/bin/Debug/backups/1495206403/buechermarkt/students.metadata.json.gz new file mode 100644 index 0000000..1dbed39 Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495206403/buechermarkt/students.metadata.json.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495206433/buechermarkt/books.bson.gz b/BuechermarktClient/bin/Debug/backups/1495206433/buechermarkt/books.bson.gz new file mode 100644 index 0000000..5b609ab Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495206433/buechermarkt/books.bson.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495206433/buechermarkt/books.metadata.json.gz b/BuechermarktClient/bin/Debug/backups/1495206433/buechermarkt/books.metadata.json.gz new file mode 100644 index 0000000..d16caae Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495206433/buechermarkt/books.metadata.json.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495206433/buechermarkt/booktypes.bson.gz b/BuechermarktClient/bin/Debug/backups/1495206433/buechermarkt/booktypes.bson.gz new file mode 100644 index 0000000..cd51da3 Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495206433/buechermarkt/booktypes.bson.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495206433/buechermarkt/booktypes.metadata.json.gz b/BuechermarktClient/bin/Debug/backups/1495206433/buechermarkt/booktypes.metadata.json.gz new file mode 100644 index 0000000..34c15d3 Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495206433/buechermarkt/booktypes.metadata.json.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495206433/buechermarkt/students.bson.gz b/BuechermarktClient/bin/Debug/backups/1495206433/buechermarkt/students.bson.gz new file mode 100644 index 0000000..ee78c57 Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495206433/buechermarkt/students.bson.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495206433/buechermarkt/students.metadata.json.gz b/BuechermarktClient/bin/Debug/backups/1495206433/buechermarkt/students.metadata.json.gz new file mode 100644 index 0000000..1dbed39 Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495206433/buechermarkt/students.metadata.json.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495211030/buechermarkt/books.bson.gz b/BuechermarktClient/bin/Debug/backups/1495211030/buechermarkt/books.bson.gz new file mode 100644 index 0000000..5b609ab Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495211030/buechermarkt/books.bson.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495211030/buechermarkt/books.metadata.json.gz b/BuechermarktClient/bin/Debug/backups/1495211030/buechermarkt/books.metadata.json.gz new file mode 100644 index 0000000..d16caae Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495211030/buechermarkt/books.metadata.json.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495211030/buechermarkt/booktypes.bson.gz b/BuechermarktClient/bin/Debug/backups/1495211030/buechermarkt/booktypes.bson.gz new file mode 100644 index 0000000..cd51da3 Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495211030/buechermarkt/booktypes.bson.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495211030/buechermarkt/booktypes.metadata.json.gz b/BuechermarktClient/bin/Debug/backups/1495211030/buechermarkt/booktypes.metadata.json.gz new file mode 100644 index 0000000..34c15d3 Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495211030/buechermarkt/booktypes.metadata.json.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495211030/buechermarkt/students.bson.gz b/BuechermarktClient/bin/Debug/backups/1495211030/buechermarkt/students.bson.gz new file mode 100644 index 0000000..ee78c57 Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495211030/buechermarkt/students.bson.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495211030/buechermarkt/students.metadata.json.gz b/BuechermarktClient/bin/Debug/backups/1495211030/buechermarkt/students.metadata.json.gz new file mode 100644 index 0000000..1dbed39 Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495211030/buechermarkt/students.metadata.json.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495211081/buechermarkt/books.bson.gz b/BuechermarktClient/bin/Debug/backups/1495211081/buechermarkt/books.bson.gz new file mode 100644 index 0000000..5b609ab Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495211081/buechermarkt/books.bson.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495211081/buechermarkt/books.metadata.json.gz b/BuechermarktClient/bin/Debug/backups/1495211081/buechermarkt/books.metadata.json.gz new file mode 100644 index 0000000..d16caae Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495211081/buechermarkt/books.metadata.json.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495211081/buechermarkt/booktypes.bson.gz b/BuechermarktClient/bin/Debug/backups/1495211081/buechermarkt/booktypes.bson.gz new file mode 100644 index 0000000..cd51da3 Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495211081/buechermarkt/booktypes.bson.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495211081/buechermarkt/booktypes.metadata.json.gz b/BuechermarktClient/bin/Debug/backups/1495211081/buechermarkt/booktypes.metadata.json.gz new file mode 100644 index 0000000..34c15d3 Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495211081/buechermarkt/booktypes.metadata.json.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495211081/buechermarkt/students.bson.gz b/BuechermarktClient/bin/Debug/backups/1495211081/buechermarkt/students.bson.gz new file mode 100644 index 0000000..ee78c57 Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495211081/buechermarkt/students.bson.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495211081/buechermarkt/students.metadata.json.gz b/BuechermarktClient/bin/Debug/backups/1495211081/buechermarkt/students.metadata.json.gz new file mode 100644 index 0000000..1dbed39 Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495211081/buechermarkt/students.metadata.json.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495211111/buechermarkt/books.bson.gz b/BuechermarktClient/bin/Debug/backups/1495211111/buechermarkt/books.bson.gz new file mode 100644 index 0000000..5b609ab Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495211111/buechermarkt/books.bson.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495211111/buechermarkt/books.metadata.json.gz b/BuechermarktClient/bin/Debug/backups/1495211111/buechermarkt/books.metadata.json.gz new file mode 100644 index 0000000..d16caae Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495211111/buechermarkt/books.metadata.json.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495211111/buechermarkt/booktypes.bson.gz b/BuechermarktClient/bin/Debug/backups/1495211111/buechermarkt/booktypes.bson.gz new file mode 100644 index 0000000..cd51da3 Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495211111/buechermarkt/booktypes.bson.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495211111/buechermarkt/booktypes.metadata.json.gz b/BuechermarktClient/bin/Debug/backups/1495211111/buechermarkt/booktypes.metadata.json.gz new file mode 100644 index 0000000..34c15d3 Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495211111/buechermarkt/booktypes.metadata.json.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495211111/buechermarkt/students.bson.gz b/BuechermarktClient/bin/Debug/backups/1495211111/buechermarkt/students.bson.gz new file mode 100644 index 0000000..ee78c57 Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495211111/buechermarkt/students.bson.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495211111/buechermarkt/students.metadata.json.gz b/BuechermarktClient/bin/Debug/backups/1495211111/buechermarkt/students.metadata.json.gz new file mode 100644 index 0000000..1dbed39 Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495211111/buechermarkt/students.metadata.json.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495211142/buechermarkt/books.bson.gz b/BuechermarktClient/bin/Debug/backups/1495211142/buechermarkt/books.bson.gz new file mode 100644 index 0000000..5b609ab Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495211142/buechermarkt/books.bson.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495211142/buechermarkt/books.metadata.json.gz b/BuechermarktClient/bin/Debug/backups/1495211142/buechermarkt/books.metadata.json.gz new file mode 100644 index 0000000..d16caae Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495211142/buechermarkt/books.metadata.json.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495211142/buechermarkt/booktypes.bson.gz b/BuechermarktClient/bin/Debug/backups/1495211142/buechermarkt/booktypes.bson.gz new file mode 100644 index 0000000..cd51da3 Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495211142/buechermarkt/booktypes.bson.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495211142/buechermarkt/booktypes.metadata.json.gz b/BuechermarktClient/bin/Debug/backups/1495211142/buechermarkt/booktypes.metadata.json.gz new file mode 100644 index 0000000..34c15d3 Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495211142/buechermarkt/booktypes.metadata.json.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495211142/buechermarkt/students.bson.gz b/BuechermarktClient/bin/Debug/backups/1495211142/buechermarkt/students.bson.gz new file mode 100644 index 0000000..ee78c57 Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495211142/buechermarkt/students.bson.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495211142/buechermarkt/students.metadata.json.gz b/BuechermarktClient/bin/Debug/backups/1495211142/buechermarkt/students.metadata.json.gz new file mode 100644 index 0000000..1dbed39 Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495211142/buechermarkt/students.metadata.json.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495211172/buechermarkt/books.bson.gz b/BuechermarktClient/bin/Debug/backups/1495211172/buechermarkt/books.bson.gz new file mode 100644 index 0000000..5b609ab Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495211172/buechermarkt/books.bson.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495211172/buechermarkt/books.metadata.json.gz b/BuechermarktClient/bin/Debug/backups/1495211172/buechermarkt/books.metadata.json.gz new file mode 100644 index 0000000..d16caae Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495211172/buechermarkt/books.metadata.json.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495211172/buechermarkt/booktypes.bson.gz b/BuechermarktClient/bin/Debug/backups/1495211172/buechermarkt/booktypes.bson.gz new file mode 100644 index 0000000..cd51da3 Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495211172/buechermarkt/booktypes.bson.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495211172/buechermarkt/booktypes.metadata.json.gz b/BuechermarktClient/bin/Debug/backups/1495211172/buechermarkt/booktypes.metadata.json.gz new file mode 100644 index 0000000..34c15d3 Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495211172/buechermarkt/booktypes.metadata.json.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495211172/buechermarkt/students.bson.gz b/BuechermarktClient/bin/Debug/backups/1495211172/buechermarkt/students.bson.gz new file mode 100644 index 0000000..ee78c57 Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495211172/buechermarkt/students.bson.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495211172/buechermarkt/students.metadata.json.gz b/BuechermarktClient/bin/Debug/backups/1495211172/buechermarkt/students.metadata.json.gz new file mode 100644 index 0000000..1dbed39 Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495211172/buechermarkt/students.metadata.json.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495211202/buechermarkt/books.bson.gz b/BuechermarktClient/bin/Debug/backups/1495211202/buechermarkt/books.bson.gz new file mode 100644 index 0000000..5b609ab Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495211202/buechermarkt/books.bson.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495211202/buechermarkt/books.metadata.json.gz b/BuechermarktClient/bin/Debug/backups/1495211202/buechermarkt/books.metadata.json.gz new file mode 100644 index 0000000..d16caae Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495211202/buechermarkt/books.metadata.json.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495211202/buechermarkt/booktypes.bson.gz b/BuechermarktClient/bin/Debug/backups/1495211202/buechermarkt/booktypes.bson.gz new file mode 100644 index 0000000..cd51da3 Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495211202/buechermarkt/booktypes.bson.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495211202/buechermarkt/booktypes.metadata.json.gz b/BuechermarktClient/bin/Debug/backups/1495211202/buechermarkt/booktypes.metadata.json.gz new file mode 100644 index 0000000..34c15d3 Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495211202/buechermarkt/booktypes.metadata.json.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495211202/buechermarkt/students.bson.gz b/BuechermarktClient/bin/Debug/backups/1495211202/buechermarkt/students.bson.gz new file mode 100644 index 0000000..ee78c57 Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495211202/buechermarkt/students.bson.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495211202/buechermarkt/students.metadata.json.gz b/BuechermarktClient/bin/Debug/backups/1495211202/buechermarkt/students.metadata.json.gz new file mode 100644 index 0000000..1dbed39 Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495211202/buechermarkt/students.metadata.json.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495231940/buechermarkt/booktypes.bson.gz b/BuechermarktClient/bin/Debug/backups/1495231940/buechermarkt/booktypes.bson.gz new file mode 100644 index 0000000..d2b334b Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495231940/buechermarkt/booktypes.bson.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495231940/buechermarkt/booktypes.metadata.json.gz b/BuechermarktClient/bin/Debug/backups/1495231940/buechermarkt/booktypes.metadata.json.gz new file mode 100644 index 0000000..34c15d3 Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495231940/buechermarkt/booktypes.metadata.json.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495231970/buechermarkt/booktypes.bson.gz b/BuechermarktClient/bin/Debug/backups/1495231970/buechermarkt/booktypes.bson.gz new file mode 100644 index 0000000..d2b334b Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495231970/buechermarkt/booktypes.bson.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495231970/buechermarkt/booktypes.metadata.json.gz b/BuechermarktClient/bin/Debug/backups/1495231970/buechermarkt/booktypes.metadata.json.gz new file mode 100644 index 0000000..34c15d3 Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495231970/buechermarkt/booktypes.metadata.json.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495232000/buechermarkt/booktypes.bson.gz b/BuechermarktClient/bin/Debug/backups/1495232000/buechermarkt/booktypes.bson.gz new file mode 100644 index 0000000..d2b334b Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495232000/buechermarkt/booktypes.bson.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495232000/buechermarkt/booktypes.metadata.json.gz b/BuechermarktClient/bin/Debug/backups/1495232000/buechermarkt/booktypes.metadata.json.gz new file mode 100644 index 0000000..34c15d3 Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495232000/buechermarkt/booktypes.metadata.json.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495232030/buechermarkt/booktypes.bson.gz b/BuechermarktClient/bin/Debug/backups/1495232030/buechermarkt/booktypes.bson.gz new file mode 100644 index 0000000..d2b334b Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495232030/buechermarkt/booktypes.bson.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495232030/buechermarkt/booktypes.metadata.json.gz b/BuechermarktClient/bin/Debug/backups/1495232030/buechermarkt/booktypes.metadata.json.gz new file mode 100644 index 0000000..34c15d3 Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495232030/buechermarkt/booktypes.metadata.json.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495232060/buechermarkt/booktypes.bson.gz b/BuechermarktClient/bin/Debug/backups/1495232060/buechermarkt/booktypes.bson.gz new file mode 100644 index 0000000..d2b334b Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495232060/buechermarkt/booktypes.bson.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495232060/buechermarkt/booktypes.metadata.json.gz b/BuechermarktClient/bin/Debug/backups/1495232060/buechermarkt/booktypes.metadata.json.gz new file mode 100644 index 0000000..34c15d3 Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495232060/buechermarkt/booktypes.metadata.json.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495232090/buechermarkt/booktypes.bson.gz b/BuechermarktClient/bin/Debug/backups/1495232090/buechermarkt/booktypes.bson.gz new file mode 100644 index 0000000..d2b334b Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495232090/buechermarkt/booktypes.bson.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495232090/buechermarkt/booktypes.metadata.json.gz b/BuechermarktClient/bin/Debug/backups/1495232090/buechermarkt/booktypes.metadata.json.gz new file mode 100644 index 0000000..34c15d3 Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495232090/buechermarkt/booktypes.metadata.json.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495232120/buechermarkt/booktypes.bson.gz b/BuechermarktClient/bin/Debug/backups/1495232120/buechermarkt/booktypes.bson.gz new file mode 100644 index 0000000..d2b334b Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495232120/buechermarkt/booktypes.bson.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495232120/buechermarkt/booktypes.metadata.json.gz b/BuechermarktClient/bin/Debug/backups/1495232120/buechermarkt/booktypes.metadata.json.gz new file mode 100644 index 0000000..34c15d3 Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495232120/buechermarkt/booktypes.metadata.json.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495232150/buechermarkt/booktypes.bson.gz b/BuechermarktClient/bin/Debug/backups/1495232150/buechermarkt/booktypes.bson.gz new file mode 100644 index 0000000..d2b334b Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495232150/buechermarkt/booktypes.bson.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495232150/buechermarkt/booktypes.metadata.json.gz b/BuechermarktClient/bin/Debug/backups/1495232150/buechermarkt/booktypes.metadata.json.gz new file mode 100644 index 0000000..34c15d3 Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495232150/buechermarkt/booktypes.metadata.json.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495232180/buechermarkt/booktypes.bson.gz b/BuechermarktClient/bin/Debug/backups/1495232180/buechermarkt/booktypes.bson.gz new file mode 100644 index 0000000..d2b334b Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495232180/buechermarkt/booktypes.bson.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495232180/buechermarkt/booktypes.metadata.json.gz b/BuechermarktClient/bin/Debug/backups/1495232180/buechermarkt/booktypes.metadata.json.gz new file mode 100644 index 0000000..34c15d3 Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495232180/buechermarkt/booktypes.metadata.json.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495232210/buechermarkt/booktypes.bson.gz b/BuechermarktClient/bin/Debug/backups/1495232210/buechermarkt/booktypes.bson.gz new file mode 100644 index 0000000..d2b334b Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495232210/buechermarkt/booktypes.bson.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495232210/buechermarkt/booktypes.metadata.json.gz b/BuechermarktClient/bin/Debug/backups/1495232210/buechermarkt/booktypes.metadata.json.gz new file mode 100644 index 0000000..34c15d3 Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495232210/buechermarkt/booktypes.metadata.json.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495232240/buechermarkt/booktypes.bson.gz b/BuechermarktClient/bin/Debug/backups/1495232240/buechermarkt/booktypes.bson.gz new file mode 100644 index 0000000..d2b334b Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495232240/buechermarkt/booktypes.bson.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495232240/buechermarkt/booktypes.metadata.json.gz b/BuechermarktClient/bin/Debug/backups/1495232240/buechermarkt/booktypes.metadata.json.gz new file mode 100644 index 0000000..34c15d3 Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495232240/buechermarkt/booktypes.metadata.json.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495232271/buechermarkt/booktypes.bson.gz b/BuechermarktClient/bin/Debug/backups/1495232271/buechermarkt/booktypes.bson.gz new file mode 100644 index 0000000..d2b334b Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495232271/buechermarkt/booktypes.bson.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495232271/buechermarkt/booktypes.metadata.json.gz b/BuechermarktClient/bin/Debug/backups/1495232271/buechermarkt/booktypes.metadata.json.gz new file mode 100644 index 0000000..34c15d3 Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495232271/buechermarkt/booktypes.metadata.json.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495232301/buechermarkt/booktypes.bson.gz b/BuechermarktClient/bin/Debug/backups/1495232301/buechermarkt/booktypes.bson.gz new file mode 100644 index 0000000..d2b334b Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495232301/buechermarkt/booktypes.bson.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495232301/buechermarkt/booktypes.metadata.json.gz b/BuechermarktClient/bin/Debug/backups/1495232301/buechermarkt/booktypes.metadata.json.gz new file mode 100644 index 0000000..34c15d3 Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495232301/buechermarkt/booktypes.metadata.json.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495232331/buechermarkt/booktypes.bson.gz b/BuechermarktClient/bin/Debug/backups/1495232331/buechermarkt/booktypes.bson.gz new file mode 100644 index 0000000..d2b334b Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495232331/buechermarkt/booktypes.bson.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495232331/buechermarkt/booktypes.metadata.json.gz b/BuechermarktClient/bin/Debug/backups/1495232331/buechermarkt/booktypes.metadata.json.gz new file mode 100644 index 0000000..34c15d3 Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495232331/buechermarkt/booktypes.metadata.json.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495232361/buechermarkt/booktypes.bson.gz b/BuechermarktClient/bin/Debug/backups/1495232361/buechermarkt/booktypes.bson.gz new file mode 100644 index 0000000..d2b334b Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495232361/buechermarkt/booktypes.bson.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495232361/buechermarkt/booktypes.metadata.json.gz b/BuechermarktClient/bin/Debug/backups/1495232361/buechermarkt/booktypes.metadata.json.gz new file mode 100644 index 0000000..34c15d3 Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495232361/buechermarkt/booktypes.metadata.json.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495232391/buechermarkt/booktypes.bson.gz b/BuechermarktClient/bin/Debug/backups/1495232391/buechermarkt/booktypes.bson.gz new file mode 100644 index 0000000..d2b334b Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495232391/buechermarkt/booktypes.bson.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495232391/buechermarkt/booktypes.metadata.json.gz b/BuechermarktClient/bin/Debug/backups/1495232391/buechermarkt/booktypes.metadata.json.gz new file mode 100644 index 0000000..34c15d3 Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495232391/buechermarkt/booktypes.metadata.json.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495232421/buechermarkt/booktypes.bson.gz b/BuechermarktClient/bin/Debug/backups/1495232421/buechermarkt/booktypes.bson.gz new file mode 100644 index 0000000..d2b334b Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495232421/buechermarkt/booktypes.bson.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495232421/buechermarkt/booktypes.metadata.json.gz b/BuechermarktClient/bin/Debug/backups/1495232421/buechermarkt/booktypes.metadata.json.gz new file mode 100644 index 0000000..34c15d3 Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495232421/buechermarkt/booktypes.metadata.json.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495232451/buechermarkt/booktypes.bson.gz b/BuechermarktClient/bin/Debug/backups/1495232451/buechermarkt/booktypes.bson.gz new file mode 100644 index 0000000..d2b334b Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495232451/buechermarkt/booktypes.bson.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495232451/buechermarkt/booktypes.metadata.json.gz b/BuechermarktClient/bin/Debug/backups/1495232451/buechermarkt/booktypes.metadata.json.gz new file mode 100644 index 0000000..34c15d3 Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495232451/buechermarkt/booktypes.metadata.json.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495232481/buechermarkt/booktypes.bson.gz b/BuechermarktClient/bin/Debug/backups/1495232481/buechermarkt/booktypes.bson.gz new file mode 100644 index 0000000..d2b334b Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495232481/buechermarkt/booktypes.bson.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495232481/buechermarkt/booktypes.metadata.json.gz b/BuechermarktClient/bin/Debug/backups/1495232481/buechermarkt/booktypes.metadata.json.gz new file mode 100644 index 0000000..34c15d3 Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495232481/buechermarkt/booktypes.metadata.json.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495232511/buechermarkt/booktypes.bson.gz b/BuechermarktClient/bin/Debug/backups/1495232511/buechermarkt/booktypes.bson.gz new file mode 100644 index 0000000..d2b334b Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495232511/buechermarkt/booktypes.bson.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495232511/buechermarkt/booktypes.metadata.json.gz b/BuechermarktClient/bin/Debug/backups/1495232511/buechermarkt/booktypes.metadata.json.gz new file mode 100644 index 0000000..34c15d3 Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495232511/buechermarkt/booktypes.metadata.json.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495232541/buechermarkt/booktypes.bson.gz b/BuechermarktClient/bin/Debug/backups/1495232541/buechermarkt/booktypes.bson.gz new file mode 100644 index 0000000..d2b334b Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495232541/buechermarkt/booktypes.bson.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495232541/buechermarkt/booktypes.metadata.json.gz b/BuechermarktClient/bin/Debug/backups/1495232541/buechermarkt/booktypes.metadata.json.gz new file mode 100644 index 0000000..34c15d3 Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495232541/buechermarkt/booktypes.metadata.json.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495232571/buechermarkt/booktypes.bson.gz b/BuechermarktClient/bin/Debug/backups/1495232571/buechermarkt/booktypes.bson.gz new file mode 100644 index 0000000..d2b334b Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495232571/buechermarkt/booktypes.bson.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495232571/buechermarkt/booktypes.metadata.json.gz b/BuechermarktClient/bin/Debug/backups/1495232571/buechermarkt/booktypes.metadata.json.gz new file mode 100644 index 0000000..34c15d3 Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495232571/buechermarkt/booktypes.metadata.json.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495232601/buechermarkt/booktypes.bson.gz b/BuechermarktClient/bin/Debug/backups/1495232601/buechermarkt/booktypes.bson.gz new file mode 100644 index 0000000..d2b334b Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495232601/buechermarkt/booktypes.bson.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495232601/buechermarkt/booktypes.metadata.json.gz b/BuechermarktClient/bin/Debug/backups/1495232601/buechermarkt/booktypes.metadata.json.gz new file mode 100644 index 0000000..34c15d3 Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495232601/buechermarkt/booktypes.metadata.json.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495232631/buechermarkt/booktypes.bson.gz b/BuechermarktClient/bin/Debug/backups/1495232631/buechermarkt/booktypes.bson.gz new file mode 100644 index 0000000..d2b334b Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495232631/buechermarkt/booktypes.bson.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495232631/buechermarkt/booktypes.metadata.json.gz b/BuechermarktClient/bin/Debug/backups/1495232631/buechermarkt/booktypes.metadata.json.gz new file mode 100644 index 0000000..34c15d3 Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495232631/buechermarkt/booktypes.metadata.json.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495232661/buechermarkt/booktypes.bson.gz b/BuechermarktClient/bin/Debug/backups/1495232661/buechermarkt/booktypes.bson.gz new file mode 100644 index 0000000..d2b334b Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495232661/buechermarkt/booktypes.bson.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495232661/buechermarkt/booktypes.metadata.json.gz b/BuechermarktClient/bin/Debug/backups/1495232661/buechermarkt/booktypes.metadata.json.gz new file mode 100644 index 0000000..34c15d3 Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495232661/buechermarkt/booktypes.metadata.json.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495232691/buechermarkt/booktypes.bson.gz b/BuechermarktClient/bin/Debug/backups/1495232691/buechermarkt/booktypes.bson.gz new file mode 100644 index 0000000..d2b334b Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495232691/buechermarkt/booktypes.bson.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495232691/buechermarkt/booktypes.metadata.json.gz b/BuechermarktClient/bin/Debug/backups/1495232691/buechermarkt/booktypes.metadata.json.gz new file mode 100644 index 0000000..34c15d3 Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495232691/buechermarkt/booktypes.metadata.json.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495232721/buechermarkt/booktypes.bson.gz b/BuechermarktClient/bin/Debug/backups/1495232721/buechermarkt/booktypes.bson.gz new file mode 100644 index 0000000..d2b334b Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495232721/buechermarkt/booktypes.bson.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495232721/buechermarkt/booktypes.metadata.json.gz b/BuechermarktClient/bin/Debug/backups/1495232721/buechermarkt/booktypes.metadata.json.gz new file mode 100644 index 0000000..34c15d3 Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495232721/buechermarkt/booktypes.metadata.json.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495233443/buechermarkt/booktypes.bson.gz b/BuechermarktClient/bin/Debug/backups/1495233443/buechermarkt/booktypes.bson.gz new file mode 100644 index 0000000..d2b334b Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495233443/buechermarkt/booktypes.bson.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495233443/buechermarkt/booktypes.metadata.json.gz b/BuechermarktClient/bin/Debug/backups/1495233443/buechermarkt/booktypes.metadata.json.gz new file mode 100644 index 0000000..34c15d3 Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495233443/buechermarkt/booktypes.metadata.json.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495233475/buechermarkt/booktypes.bson.gz b/BuechermarktClient/bin/Debug/backups/1495233475/buechermarkt/booktypes.bson.gz new file mode 100644 index 0000000..d2b334b Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495233475/buechermarkt/booktypes.bson.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495233475/buechermarkt/booktypes.metadata.json.gz b/BuechermarktClient/bin/Debug/backups/1495233475/buechermarkt/booktypes.metadata.json.gz new file mode 100644 index 0000000..34c15d3 Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495233475/buechermarkt/booktypes.metadata.json.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495233518/buechermarkt/booktypes.bson.gz b/BuechermarktClient/bin/Debug/backups/1495233518/buechermarkt/booktypes.bson.gz new file mode 100644 index 0000000..d2b334b Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495233518/buechermarkt/booktypes.bson.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495233518/buechermarkt/booktypes.metadata.json.gz b/BuechermarktClient/bin/Debug/backups/1495233518/buechermarkt/booktypes.metadata.json.gz new file mode 100644 index 0000000..34c15d3 Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495233518/buechermarkt/booktypes.metadata.json.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495234265/buechermarkt/booktypes.bson.gz b/BuechermarktClient/bin/Debug/backups/1495234265/buechermarkt/booktypes.bson.gz new file mode 100644 index 0000000..d2b334b Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495234265/buechermarkt/booktypes.bson.gz differ diff --git a/BuechermarktClient/bin/Debug/backups/1495234265/buechermarkt/booktypes.metadata.json.gz b/BuechermarktClient/bin/Debug/backups/1495234265/buechermarkt/booktypes.metadata.json.gz new file mode 100644 index 0000000..34c15d3 Binary files /dev/null and b/BuechermarktClient/bin/Debug/backups/1495234265/buechermarkt/booktypes.metadata.json.gz differ diff --git a/BuechermarktClient/obj/Debug/BuechermarktClient.csproj.FileListAbsolute.txt b/BuechermarktClient/obj/Debug/BuechermarktClient.csproj.FileListAbsolute.txt index 33b6d82..73b794a 100644 --- a/BuechermarktClient/obj/Debug/BuechermarktClient.csproj.FileListAbsolute.txt +++ b/BuechermarktClient/obj/Debug/BuechermarktClient.csproj.FileListAbsolute.txt @@ -33,3 +33,41 @@ C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\Bu C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\obj\Debug\BuechermarktClient.exe C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\obj\Debug\BuechermarktClient.pdb C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\obj\Debug\GeneratedInternalTypeHelper.g.cs +D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\obj\Debug\BuechermarktClient.csprojResolveAssemblyReference.cache +D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\obj\Debug\Books.g.cs +D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\obj\Debug\BooksEdit.g.cs +D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\obj\Debug\BookTypes.g.cs +D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\obj\Debug\Students.g.cs +D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\obj\Debug\StudentsEdit.g.cs +D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\obj\Debug\BookTypesEdit.g.cs +D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\obj\Debug\MainWindow.g.cs +D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\obj\Debug\App.g.cs +D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\obj\Debug\GeneratedInternalTypeHelper.g.cs +D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\obj\Debug\BuechermarktClient_MarkupCompile.cache +D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\obj\Debug\BuechermarktClient_MarkupCompile.lref +D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\bin\Debug\BuechermarktClient.exe.config +D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\bin\Debug\BuechermarktClient.exe +D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\bin\Debug\BuechermarktClient.pdb +D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\bin\Debug\MongoDB.Bson.dll +D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\bin\Debug\MongoDB.Driver.Core.dll +D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\bin\Debug\MongoDB.Driver.dll +D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\bin\Debug\Newtonsoft.Json.dll +D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\bin\Debug\MongoDB.Bson.xml +D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\bin\Debug\MongoDB.Driver.xml +D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\bin\Debug\MongoDB.Driver.Core.xml +D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\bin\Debug\Newtonsoft.Json.xml +D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\obj\Debug\Books.baml +D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\obj\Debug\BooksEdit.baml +D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\obj\Debug\BookTypes.baml +D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\obj\Debug\Students.baml +D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\obj\Debug\StudentsEdit.baml +D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\obj\Debug\BookTypesEdit.baml +D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\obj\Debug\MainWindow.baml +D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\obj\Debug\BuechermarktClient.g.resources +D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\obj\Debug\BuechermarktClient.Properties.Resources.resources +D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\obj\Debug\BuechermarktClient.csproj.GenerateResource.Cache +D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\obj\Debug\BuechermarktClient.exe +D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\obj\Debug\BuechermarktClient.pdb +D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\bin\Debug\System.Runtime.InteropServices.RuntimeInformation.dll +D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\obj\Debug\GetConnection.g.cs +D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\obj\Debug\GetConnection.baml diff --git a/BuechermarktClient/obj/Debug/BuechermarktClient.g.resources b/BuechermarktClient/obj/Debug/BuechermarktClient.g.resources index 0c649a5..9019323 100644 Binary files a/BuechermarktClient/obj/Debug/BuechermarktClient.g.resources and b/BuechermarktClient/obj/Debug/BuechermarktClient.g.resources differ diff --git a/BuechermarktClient/obj/Debug/BuechermarktClient_MarkupCompile.i.lref b/BuechermarktClient/obj/Debug/BuechermarktClient_MarkupCompile.i.lref deleted file mode 100644 index b0185e0..0000000 --- a/BuechermarktClient/obj/Debug/BuechermarktClient_MarkupCompile.i.lref +++ /dev/null @@ -1,4 +0,0 @@ - - -FC:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\BooksEdit.xaml;; - diff --git a/BuechermarktClient/obj/Debug/BuechermarktClient_MarkupCompile.lref b/BuechermarktClient/obj/Debug/BuechermarktClient_MarkupCompile.lref index ea81e17..a7aca22 100644 --- a/BuechermarktClient/obj/Debug/BuechermarktClient_MarkupCompile.lref +++ b/BuechermarktClient/obj/Debug/BuechermarktClient_MarkupCompile.lref @@ -1,10 +1,11 @@  -FC:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\Books.xaml;; -FC:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\BooksEdit.xaml;; -FC:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\BookTypes.xaml;; -FC:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\Students.xaml;; -FC:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\StudentsEdit.xaml;; -FC:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\BookTypesEdit.xaml;; -FC:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\MainWindow.xaml;; +FD:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\Books.xaml;; +FD:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\BooksEdit.xaml;; +FD:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\BookTypes.xaml;; +FD:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\Students.xaml;; +FD:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\StudentsEdit.xaml;; +FD:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\BookTypesEdit.xaml;; +FD:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\MainWindow.xaml;; +FD:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\GetConnection.xaml;; diff --git a/BuechermarktClient/obj/Debug/GetConnection.baml b/BuechermarktClient/obj/Debug/GetConnection.baml new file mode 100644 index 0000000..11a5eed Binary files /dev/null and b/BuechermarktClient/obj/Debug/GetConnection.baml differ diff --git a/BuechermarktClient/obj/Debug/GetConnection.g.cs b/BuechermarktClient/obj/Debug/GetConnection.g.cs new file mode 100644 index 0000000..c6c988e --- /dev/null +++ b/BuechermarktClient/obj/Debug/GetConnection.g.cs @@ -0,0 +1,75 @@ +#pragma checksum "..\..\GetConnection.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "6D127FC079E11D18F8EBE625E055FE2D" +//------------------------------------------------------------------------------ +// +// Dieser Code wurde von einem Tool generiert. +// Laufzeitversion:4.0.30319.42000 +// +// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn +// der Code erneut generiert wird. +// +//------------------------------------------------------------------------------ + +using BuechermarktClient; +using System; +using System.Diagnostics; +using System.Windows; +using System.Windows.Automation; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Ink; +using System.Windows.Input; +using System.Windows.Markup; +using System.Windows.Media; +using System.Windows.Media.Animation; +using System.Windows.Media.Effects; +using System.Windows.Media.Imaging; +using System.Windows.Media.Media3D; +using System.Windows.Media.TextFormatting; +using System.Windows.Navigation; +using System.Windows.Shapes; +using System.Windows.Shell; + + +namespace BuechermarktClient { + + + /// + /// GetConnection + /// + public partial class GetConnection : System.Windows.Window, System.Windows.Markup.IComponentConnector { + + private bool _contentLoaded; + + /// + /// InitializeComponent + /// + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] + public void InitializeComponent() { + if (_contentLoaded) { + return; + } + _contentLoaded = true; + System.Uri resourceLocater = new System.Uri("/BuechermarktClient;component/getconnection.xaml", System.UriKind.Relative); + + #line 1 "..\..\GetConnection.xaml" + System.Windows.Application.LoadComponent(this, resourceLocater); + + #line default + #line hidden + } + + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] + void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { + this._contentLoaded = true; + } + } +} + diff --git a/BuechermarktClient/obj/Debug/GetConnection.g.i.cs b/BuechermarktClient/obj/Debug/GetConnection.g.i.cs new file mode 100644 index 0000000..c6c988e --- /dev/null +++ b/BuechermarktClient/obj/Debug/GetConnection.g.i.cs @@ -0,0 +1,75 @@ +#pragma checksum "..\..\GetConnection.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "6D127FC079E11D18F8EBE625E055FE2D" +//------------------------------------------------------------------------------ +// +// Dieser Code wurde von einem Tool generiert. +// Laufzeitversion:4.0.30319.42000 +// +// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn +// der Code erneut generiert wird. +// +//------------------------------------------------------------------------------ + +using BuechermarktClient; +using System; +using System.Diagnostics; +using System.Windows; +using System.Windows.Automation; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Ink; +using System.Windows.Input; +using System.Windows.Markup; +using System.Windows.Media; +using System.Windows.Media.Animation; +using System.Windows.Media.Effects; +using System.Windows.Media.Imaging; +using System.Windows.Media.Media3D; +using System.Windows.Media.TextFormatting; +using System.Windows.Navigation; +using System.Windows.Shapes; +using System.Windows.Shell; + + +namespace BuechermarktClient { + + + /// + /// GetConnection + /// + public partial class GetConnection : System.Windows.Window, System.Windows.Markup.IComponentConnector { + + private bool _contentLoaded; + + /// + /// InitializeComponent + /// + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] + public void InitializeComponent() { + if (_contentLoaded) { + return; + } + _contentLoaded = true; + System.Uri resourceLocater = new System.Uri("/BuechermarktClient;component/getconnection.xaml", System.UriKind.Relative); + + #line 1 "..\..\GetConnection.xaml" + System.Windows.Application.LoadComponent(this, resourceLocater); + + #line default + #line hidden + } + + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] + void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { + this._contentLoaded = true; + } + } +} + diff --git a/BuechermarktServer/App.config b/BuechermarktServer/App.config new file mode 100644 index 0000000..88fa402 --- /dev/null +++ b/BuechermarktServer/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/BuechermarktServer/BuechermarktServer.csproj b/BuechermarktServer/BuechermarktServer.csproj new file mode 100644 index 0000000..b37b44c --- /dev/null +++ b/BuechermarktServer/BuechermarktServer.csproj @@ -0,0 +1,58 @@ + + + + + Debug + AnyCPU + {BA959A9C-FF68-4440-9983-8FB434230FCB} + Exe + BuechermarktServer + BuechermarktServer + v4.5.2 + 512 + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + + + PreserveNewest + + + + \ No newline at end of file diff --git a/BuechermarktServer/ChildProcessTracker.cs b/BuechermarktServer/ChildProcessTracker.cs new file mode 100644 index 0000000..97328c1 --- /dev/null +++ b/BuechermarktServer/ChildProcessTracker.cs @@ -0,0 +1,147 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Diagnostics; +using System.Linq; +using System.Runtime.InteropServices; +using System.Text; +using System.Threading.Tasks; + +namespace BuechermarktServer +{ + /// + /// Allows processes to be automatically killed if this parent process unexpectedly quits. + /// This feature requires Windows 8 or greater. On Windows 7, nothing is done. + /// References: + /// http://stackoverflow.com/a/4657392/386091 + /// http://stackoverflow.com/a/9164742/386091 + public static class ChildProcessTracker + { + /// + /// Add the process to be tracked. If our current process is killed, the child processes + /// that we are tracking will be automatically killed, too. If the child process terminates + /// first, that's fine, too. + /// + public static void AddProcess(Process process) + { + if (s_jobHandle != IntPtr.Zero) + { + bool success = AssignProcessToJobObject(s_jobHandle, process.Handle); + if (!success) + throw new Win32Exception(); + } + } + + static ChildProcessTracker() + { + // This feature requires Windows 8 or later. To support Windows 7 requires + // registry settings to be added if you are using Visual Studio plus an + // app.manifest change. + // http://stackoverflow.com/a/4232259/386091 + // http://stackoverflow.com/a/9507862/386091 + if (Environment.OSVersion.Version < new Version(6, 2)) + return; + + // The job name is optional (and can be null) but it helps with diagnostics. + // If it's not null, it has to be unique. Use SysInternals' Handle command-line + // utility: handle -a ChildProcessTracker + string jobName = "ChildProcessTracker" + Process.GetCurrentProcess().Id; + s_jobHandle = CreateJobObject(IntPtr.Zero, jobName); + + var info = new JOBOBJECT_BASIC_LIMIT_INFORMATION(); + + // This is the key flag. When our process is killed, Windows will automatically + // close the job handle, and when that happens, we want the child processes to + // be killed, too. + info.LimitFlags = JOBOBJECTLIMIT.JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE; + + var extendedInfo = new JOBOBJECT_EXTENDED_LIMIT_INFORMATION(); + extendedInfo.BasicLimitInformation = info; + + int length = Marshal.SizeOf(typeof(JOBOBJECT_EXTENDED_LIMIT_INFORMATION)); + IntPtr extendedInfoPtr = Marshal.AllocHGlobal(length); + try + { + Marshal.StructureToPtr(extendedInfo, extendedInfoPtr, false); + + if (!SetInformationJobObject(s_jobHandle, JobObjectInfoType.ExtendedLimitInformation, + extendedInfoPtr, (uint)length)) + { + throw new Win32Exception(); + } + } + finally + { + Marshal.FreeHGlobal(extendedInfoPtr); + } + } + + [DllImport("kernel32.dll", CharSet = CharSet.Unicode)] + static extern IntPtr CreateJobObject(IntPtr lpJobAttributes, string name); + + [DllImport("kernel32.dll")] + static extern bool SetInformationJobObject(IntPtr job, JobObjectInfoType infoType, + IntPtr lpJobObjectInfo, uint cbJobObjectInfoLength); + + [DllImport("kernel32.dll", SetLastError = true)] + static extern bool AssignProcessToJobObject(IntPtr job, IntPtr process); + + // Windows will automatically close any open job handles when our process terminates. + // This can be verified by using SysInternals' Handle utility. When the job handle + // is closed, the child processes will be killed. + private static readonly IntPtr s_jobHandle; + } + + public enum JobObjectInfoType + { + AssociateCompletionPortInformation = 7, + BasicLimitInformation = 2, + BasicUIRestrictions = 4, + EndOfJobTimeInformation = 6, + ExtendedLimitInformation = 9, + SecurityLimitInformation = 5, + GroupInformation = 11 + } + + [StructLayout(LayoutKind.Sequential)] + public struct JOBOBJECT_BASIC_LIMIT_INFORMATION + { + public Int64 PerProcessUserTimeLimit; + public Int64 PerJobUserTimeLimit; + public JOBOBJECTLIMIT LimitFlags; + public UIntPtr MinimumWorkingSetSize; + public UIntPtr MaximumWorkingSetSize; + public UInt32 ActiveProcessLimit; + public Int64 Affinity; + public UInt32 PriorityClass; + public UInt32 SchedulingClass; + } + + [Flags] + public enum JOBOBJECTLIMIT : uint + { + JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE = 0x2000 + } + + [StructLayout(LayoutKind.Sequential)] + public struct IO_COUNTERS + { + public UInt64 ReadOperationCount; + public UInt64 WriteOperationCount; + public UInt64 OtherOperationCount; + public UInt64 ReadTransferCount; + public UInt64 WriteTransferCount; + public UInt64 OtherTransferCount; + } + + [StructLayout(LayoutKind.Sequential)] + public struct JOBOBJECT_EXTENDED_LIMIT_INFORMATION + { + public JOBOBJECT_BASIC_LIMIT_INFORMATION BasicLimitInformation; + public IO_COUNTERS IoInfo; + public UIntPtr ProcessMemoryLimit; + public UIntPtr JobMemoryLimit; + public UIntPtr PeakProcessMemoryUsed; + public UIntPtr PeakJobMemoryUsed; + } +} diff --git a/BuechermarktServer/Program.cs b/BuechermarktServer/Program.cs new file mode 100644 index 0000000..6c57091 --- /dev/null +++ b/BuechermarktServer/Program.cs @@ -0,0 +1,73 @@ +using System; +using System.Collections.Generic; +using System.Diagnostics; +using System.IO; +using System.Linq; +using System.Net; +using System.Net.Sockets; +using System.Text; +using System.Threading; +using System.Threading.Tasks; + +namespace BuechermarktServer +{ + class Program + { + public const string ServerIdentifier = "BUECHERMARKTCLIENT00018946"; + public const string RelativeDbPath = ".\\db"; + + static void Main(string[] args) + { + if (!Directory.Exists(RelativeDbPath)) + { + Directory.CreateDirectory(RelativeDbPath); + } + var process = new Process(); + process.StartInfo.FileName = "mongod.exe"; + process.StartInfo.Arguments = "--dbpath " + RelativeDbPath; + process.StartInfo.RedirectStandardOutput = true; + process.StartInfo.RedirectStandardError = true; + process.StartInfo.UseShellExecute = false; + process.StartInfo.CreateNoWindow = true; + process.StartInfo.WindowStyle = ProcessWindowStyle.Hidden; + process.OutputDataReceived += Process_OutputDataReceived; + process.ErrorDataReceived += Process_OutputDataReceived; + var s = process.Start(); + ChildProcessTracker.AddProcess(process); + process.BeginErrorReadLine(); + process.BeginOutputReadLine(); + while (!process.WaitForExit(1000)) + { + Broadcast(); + } + Thread.Sleep(10000); + } + + private static void P_Exited(object sender, EventArgs e) + { + throw new NotImplementedException(); + } + + private static void Process_OutputDataReceived(object sender, DataReceivedEventArgs e) + { + Console.WriteLine(e.Data); + } + + static void Broadcast() + { + UdpClient client = new UdpClient(); + IPEndPoint ip = new IPEndPoint(IPAddress.Broadcast, 15000); + byte[] bytes = Encoding.ASCII.GetBytes(ServerIdentifier); + while (true) + { + try + { + client.Send(bytes, bytes.Length, ip); + } catch (Exception ex) + { + Console.WriteLine(ex); + } + } + } + } +} diff --git a/BuechermarktServer/Properties/AssemblyInfo.cs b/BuechermarktServer/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..68b8688 --- /dev/null +++ b/BuechermarktServer/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// Allgemeine Informationen über eine Assembly werden über die folgenden +// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern, +// die einer Assembly zugeordnet sind. +[assembly: AssemblyTitle("BuechermarktServer")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("BuechermarktServer")] +[assembly: AssemblyCopyright("Copyright © 2017")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Durch Festlegen von ComVisible auf FALSE werden die Typen in dieser Assembly +// für COM-Komponenten unsichtbar. Wenn Sie auf einen Typ in dieser Assembly von +// COM aus zugreifen müssen, sollten Sie das ComVisible-Attribut für diesen Typ auf "True" festlegen. +[assembly: ComVisible(false)] + +// Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird +[assembly: Guid("ba959a9c-ff68-4440-9983-8fb434230fcb")] + +// Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten: +// +// Hauptversion +// Nebenversion +// Buildnummer +// Revision +// +// Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden, +// übernehmen, indem Sie "*" eingeben: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/BuechermarktServer/bin/Debug/BuechermarktServer.exe.config b/BuechermarktServer/bin/Debug/BuechermarktServer.exe.config new file mode 100644 index 0000000..88fa402 --- /dev/null +++ b/BuechermarktServer/bin/Debug/BuechermarktServer.exe.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/BuechermarktServer/bin/Debug/db/WiredTiger b/BuechermarktServer/bin/Debug/db/WiredTiger new file mode 100644 index 0000000..2b3fc3d --- /dev/null +++ b/BuechermarktServer/bin/Debug/db/WiredTiger @@ -0,0 +1,2 @@ +WiredTiger +WiredTiger 2.9.2: (December 23, 2016) diff --git a/BuechermarktServer/bin/Debug/db/WiredTiger.lock b/BuechermarktServer/bin/Debug/db/WiredTiger.lock new file mode 100644 index 0000000..3d84206 --- /dev/null +++ b/BuechermarktServer/bin/Debug/db/WiredTiger.lock @@ -0,0 +1 @@ +WiredTiger lock file diff --git a/BuechermarktServer/bin/Debug/db/WiredTiger.turtle b/BuechermarktServer/bin/Debug/db/WiredTiger.turtle new file mode 100644 index 0000000..e7063a1 --- /dev/null +++ b/BuechermarktServer/bin/Debug/db/WiredTiger.turtle @@ -0,0 +1,6 @@ +WiredTiger version string +WiredTiger 2.9.2: (December 23, 2016) +WiredTiger version +major=2,minor=9,patch=2 +file:WiredTiger.wt +access_pattern_hint=none,allocation_size=4KB,app_metadata=,block_allocation=best,block_compressor=,cache_resident=false,checkpoint=(WiredTigerCheckpoint.13=(addr="018481e4de671f778b81e45dfbb3a28d81e4a1a71b13808080e2cfc0e21fc0",order=13,time=1495233614,size=20480,write_gen=26)),checkpoint_lsn=(5,3840),checksum=uncompressed,collator=,columns=,dictionary=0,encryption=(keyid=,name=),format=btree,huffman_key=,huffman_value=,id=0,ignore_in_memory_cache_size=false,internal_item_max=0,internal_key_max=0,internal_key_truncate=true,internal_page_max=4KB,key_format=S,key_gap=10,leaf_item_max=0,leaf_key_max=0,leaf_page_max=32KB,leaf_value_max=0,log=(enabled=true),memory_page_max=5MB,os_cache_dirty_max=0,os_cache_max=0,prefix_compression=false,prefix_compression_min=4,split_deepen_min_child=0,split_deepen_per_child=0,split_pct=75,value_format=S,version=(major=1,minor=1) diff --git a/BuechermarktServer/bin/Debug/db/WiredTiger.wt b/BuechermarktServer/bin/Debug/db/WiredTiger.wt new file mode 100644 index 0000000..5ed312f Binary files /dev/null and b/BuechermarktServer/bin/Debug/db/WiredTiger.wt differ diff --git a/BuechermarktServer/bin/Debug/db/WiredTigerLAS.wt b/BuechermarktServer/bin/Debug/db/WiredTigerLAS.wt new file mode 100644 index 0000000..3f019cb Binary files /dev/null and b/BuechermarktServer/bin/Debug/db/WiredTigerLAS.wt differ diff --git a/BuechermarktServer/bin/Debug/db/_mdb_catalog.wt b/BuechermarktServer/bin/Debug/db/_mdb_catalog.wt new file mode 100644 index 0000000..31f497e Binary files /dev/null and b/BuechermarktServer/bin/Debug/db/_mdb_catalog.wt differ diff --git a/BuechermarktServer/bin/Debug/db/collection-0--5254115233327511264.wt b/BuechermarktServer/bin/Debug/db/collection-0--5254115233327511264.wt new file mode 100644 index 0000000..baa29da Binary files /dev/null and b/BuechermarktServer/bin/Debug/db/collection-0--5254115233327511264.wt differ diff --git a/BuechermarktServer/bin/Debug/db/collection-2--5254115233327511264.wt b/BuechermarktServer/bin/Debug/db/collection-2--5254115233327511264.wt new file mode 100644 index 0000000..d7105e1 Binary files /dev/null and b/BuechermarktServer/bin/Debug/db/collection-2--5254115233327511264.wt differ diff --git a/BuechermarktServer/bin/Debug/db/collection-7--5254115233327511264.wt b/BuechermarktServer/bin/Debug/db/collection-7--5254115233327511264.wt new file mode 100644 index 0000000..e45820c Binary files /dev/null and b/BuechermarktServer/bin/Debug/db/collection-7--5254115233327511264.wt differ diff --git a/BuechermarktServer/bin/Debug/db/diagnostic.data/metrics.2017-05-19T22-08-00Z-00000 b/BuechermarktServer/bin/Debug/db/diagnostic.data/metrics.2017-05-19T22-08-00Z-00000 new file mode 100644 index 0000000..4cdedc7 Binary files /dev/null and b/BuechermarktServer/bin/Debug/db/diagnostic.data/metrics.2017-05-19T22-08-00Z-00000 differ diff --git a/BuechermarktServer/bin/Debug/db/diagnostic.data/metrics.2017-05-19T22-25-15Z-00000 b/BuechermarktServer/bin/Debug/db/diagnostic.data/metrics.2017-05-19T22-25-15Z-00000 new file mode 100644 index 0000000..80f902d Binary files /dev/null and b/BuechermarktServer/bin/Debug/db/diagnostic.data/metrics.2017-05-19T22-25-15Z-00000 differ diff --git a/BuechermarktServer/bin/Debug/db/diagnostic.data/metrics.2017-05-19T22-34-36Z-00000 b/BuechermarktServer/bin/Debug/db/diagnostic.data/metrics.2017-05-19T22-34-36Z-00000 new file mode 100644 index 0000000..5f0d9b6 Binary files /dev/null and b/BuechermarktServer/bin/Debug/db/diagnostic.data/metrics.2017-05-19T22-34-36Z-00000 differ diff --git a/BuechermarktServer/bin/Debug/db/diagnostic.data/metrics.2017-05-19T22-36-34Z-00000 b/BuechermarktServer/bin/Debug/db/diagnostic.data/metrics.2017-05-19T22-36-34Z-00000 new file mode 100644 index 0000000..4074c55 Binary files /dev/null and b/BuechermarktServer/bin/Debug/db/diagnostic.data/metrics.2017-05-19T22-36-34Z-00000 differ diff --git a/BuechermarktServer/bin/Debug/db/diagnostic.data/metrics.2017-05-19T22-37-15Z-00000 b/BuechermarktServer/bin/Debug/db/diagnostic.data/metrics.2017-05-19T22-37-15Z-00000 new file mode 100644 index 0000000..befb018 Binary files /dev/null and b/BuechermarktServer/bin/Debug/db/diagnostic.data/metrics.2017-05-19T22-37-15Z-00000 differ diff --git a/BuechermarktServer/bin/Debug/db/diagnostic.data/metrics.interim b/BuechermarktServer/bin/Debug/db/diagnostic.data/metrics.interim new file mode 100644 index 0000000..3c7c59c Binary files /dev/null and b/BuechermarktServer/bin/Debug/db/diagnostic.data/metrics.interim differ diff --git a/BuechermarktServer/bin/Debug/db/index-1--5254115233327511264.wt b/BuechermarktServer/bin/Debug/db/index-1--5254115233327511264.wt new file mode 100644 index 0000000..c4e3420 Binary files /dev/null and b/BuechermarktServer/bin/Debug/db/index-1--5254115233327511264.wt differ diff --git a/BuechermarktServer/bin/Debug/db/index-3--5254115233327511264.wt b/BuechermarktServer/bin/Debug/db/index-3--5254115233327511264.wt new file mode 100644 index 0000000..e5f2abf Binary files /dev/null and b/BuechermarktServer/bin/Debug/db/index-3--5254115233327511264.wt differ diff --git a/BuechermarktServer/bin/Debug/db/index-4--5254115233327511264.wt b/BuechermarktServer/bin/Debug/db/index-4--5254115233327511264.wt new file mode 100644 index 0000000..c19427b Binary files /dev/null and b/BuechermarktServer/bin/Debug/db/index-4--5254115233327511264.wt differ diff --git a/BuechermarktServer/bin/Debug/db/index-8--5254115233327511264.wt b/BuechermarktServer/bin/Debug/db/index-8--5254115233327511264.wt new file mode 100644 index 0000000..b486039 Binary files /dev/null and b/BuechermarktServer/bin/Debug/db/index-8--5254115233327511264.wt differ diff --git a/BuechermarktServer/bin/Debug/db/journal/WiredTigerLog.0000000005 b/BuechermarktServer/bin/Debug/db/journal/WiredTigerLog.0000000005 new file mode 100644 index 0000000..499512d Binary files /dev/null and b/BuechermarktServer/bin/Debug/db/journal/WiredTigerLog.0000000005 differ diff --git a/BuechermarktServer/bin/Debug/db/journal/WiredTigerPreplog.0000000001 b/BuechermarktServer/bin/Debug/db/journal/WiredTigerPreplog.0000000001 new file mode 100644 index 0000000..730aa59 Binary files /dev/null and b/BuechermarktServer/bin/Debug/db/journal/WiredTigerPreplog.0000000001 differ diff --git a/BuechermarktServer/bin/Debug/db/journal/WiredTigerPreplog.0000000002 b/BuechermarktServer/bin/Debug/db/journal/WiredTigerPreplog.0000000002 new file mode 100644 index 0000000..b7271ca Binary files /dev/null and b/BuechermarktServer/bin/Debug/db/journal/WiredTigerPreplog.0000000002 differ diff --git a/BuechermarktServer/bin/Debug/db/mongod.lock b/BuechermarktServer/bin/Debug/db/mongod.lock new file mode 100644 index 0000000..69ba0c3 --- /dev/null +++ b/BuechermarktServer/bin/Debug/db/mongod.lock @@ -0,0 +1 @@ +15548 diff --git a/BuechermarktServer/bin/Debug/db/sizeStorer.wt b/BuechermarktServer/bin/Debug/db/sizeStorer.wt new file mode 100644 index 0000000..5eec02f Binary files /dev/null and b/BuechermarktServer/bin/Debug/db/sizeStorer.wt differ diff --git a/BuechermarktServer/bin/Debug/db/storage.bson b/BuechermarktServer/bin/Debug/db/storage.bson new file mode 100644 index 0000000..d07b1bc Binary files /dev/null and b/BuechermarktServer/bin/Debug/db/storage.bson differ diff --git a/BuechermarktServer/bin/Debug/test.cmd b/BuechermarktServer/bin/Debug/test.cmd new file mode 100644 index 0000000..d75f45b --- /dev/null +++ b/BuechermarktServer/bin/Debug/test.cmd @@ -0,0 +1,5 @@ +:start + +echo hallo + +goto start \ No newline at end of file diff --git a/BuechermarktServer/obj/Debug/BuechermarktServer.csproj.FileListAbsolute.txt b/BuechermarktServer/obj/Debug/BuechermarktServer.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..f49289d --- /dev/null +++ b/BuechermarktServer/obj/Debug/BuechermarktServer.csproj.FileListAbsolute.txt @@ -0,0 +1,7 @@ +D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktServer\bin\Debug\BuechermarktServer.exe.config +D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktServer\bin\Debug\BuechermarktServer.exe +D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktServer\bin\Debug\BuechermarktServer.pdb +D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktServer\obj\Debug\BuechermarktServer.csprojResolveAssemblyReference.cache +D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktServer\obj\Debug\BuechermarktServer.exe +D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktServer\obj\Debug\BuechermarktServer.pdb +D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktServer\obj\Debug\BuechermarktServer.g.resources diff --git a/BuechermarktServer/obj/Debug/BuechermarktServer.g.resources b/BuechermarktServer/obj/Debug/BuechermarktServer.g.resources new file mode 100644 index 0000000..40cfa80 Binary files /dev/null and b/BuechermarktServer/obj/Debug/BuechermarktServer.g.resources differ diff --git a/BuechermarktServer/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/BuechermarktServer/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs new file mode 100644 index 0000000..e69de29 diff --git a/BuechermarktServer/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/BuechermarktServer/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs new file mode 100644 index 0000000..e69de29 diff --git a/BuechermarktServer/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/BuechermarktServer/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs new file mode 100644 index 0000000..e69de29