I installed Windows Azure Tools for Microsoft Visual Studio (November 2009). While playing around with the labs, they reference Microsoft.ServiceHosting.ServiceRuntime, which is supposed to contain the new logging facilities in the RoleManager class. In spite of what the latest labs call for, the Nov tools have refactored namespaces. I opened Microsoft.WindowsAzure.ServiceRuntime with Reflector and it has classes that used to be in Microsoft.ServiceHosting.ServiceRuntime such as Role, RoleEntryPoint but no RoleManager. Where is it?
|
|
RoleManager is now called RoleEnvironment and is found in Microsoft.WindowsAzure.ServiceRuntime |
||
|
|
|
|
That doesn't answer the question, which was where the WriteToLog method of RoleManager is. There does not appear to be a RoleEnvironment.WriteToLog method. |
||
|
|
|
|
According to this post Trace.WriteLine is the replacement for WriteToLog |
||
|
|
