|ipMonitor 7.x Soap Sample: CentralStatus|
The CentralStatus sample is a ASP .NET project that uses SOAP to communicate with a number of ipMonitor 7.x instances and status information from a single web page.
|With this sample, you can:|
|ipMonitor 7 SOAP Methods Used (C#):|
|SOAP Sample Breakdown, by file:|
.\wwwroot\centralstatus.csproj[.webinfo]The C# project that contains everything needed to compile the web application. Note: you will likely have to change the webinfo file to correspond to the location of centralstatus.csproj.
.\config\centralstatus.xmlSettings for the sample, includes refresh rates, password and account info, and location of servers. This file is intentionally out of the wwwroot so it doesn't get downloaded. Later we'll expand this sample to show the usage of "utility.LoadWithMachineKey" so passwords and accounts aren't stored out in the open.
.\wwwroot\bin\com.ipmonitor.samples.centralstatus.dllASP .NET compiled code to run behind the aspx pages.
.\wwwroot\global.aspx[.cs]Applicaton "global" object (receives application events) and is where we create our ipm7ServerList and start the thread that keeps it up-to-date. Note that the centralstatus.xml is read in the global.aspx.cs file.
.\wwwroot\centralstatus.cssDisplay formatting css data for use with centralstatus.aspx.
.\wwwroot\utility.csA couple of our utility functions to make the sample function. Note: RewindPath is how we locate the centralstatus.xml.
.\wwwroot\imgs\*Images used for display within centralstatus.aspx
.\wwwroot\Web References\ipm7status\*The after effects of consuming the ipMonitor 7 Status WSDL