Free cookie consent management tool by TermsFeed Policy Generator

source: branches/OaaS/HeuristicLab.Services.Hive.WebRole/AzureLocalStorageTraceListener.cs @ 9227

Last change on this file since 9227 was 9227, checked in by fschoepp, 11 years ago

#1888:

  • Experiments will be saved as JSON elements within the blob store.
  • Added simple model and JSON converters.
  • Backend stores and runs experiments.
  • Updated interfaces to save/read experiments.
  • Added a binding to automatically map incoming JSON ajax requests to experiment models.
  • Added the javascript DatatypeMapper to map parameter inputs to the right html elements and vice versa.
  • Added smartwizard to generate Wizards for creating new experiments (New.cshtml).
File size: 836 bytes
Line 
1using System;
2using System.Diagnostics;
3using System.IO;
4using Microsoft.WindowsAzure.Diagnostics;
5using Microsoft.WindowsAzure.ServiceRuntime;
6
7namespace HeuristicLab.Services.Hive.WebRole {
8  /*public class AzureLocalStorageTraceListener : XmlWriterTraceListener {
9    public AzureLocalStorageTraceListener()
10      : base(Path.Combine(AzureLocalStorageTraceListener.GetLogDirectory().Path, "HeuristicLab.Services.Hive.WebRole.svclog")) {
11    }
12
13    public static DirectoryConfiguration GetLogDirectory() {
14      DirectoryConfiguration directory = new DirectoryConfiguration();
15      directory.Container = "wad-tracefiles";
16      directory.DirectoryQuotaInMB = 10;
17      directory.Path = RoleEnvironment.GetLocalResource("HeuristicLab.Services.Hive.WebRole.svclog").RootPath;
18      return directory;
19    }
20  }*/
21}
Note: See TracBrowser for help on using the repository browser.