wcf - Monitoring deployed .NET applications -


Looking at the large number of .NET applications deployed in WCF services or ASP.NET front-end, I would like < / Li>

  • Check the IIS version on the machine running
  • Check the version of the NAT framework being used
  • Also I would also like to check if the application is running properly or not

    Currently I am using Mods for each project I am thinking of the formation of the module, which runs the WCF service (self-hosted) which relays all necessary information for a central application.

    Any person has any hints or ideas, how did I complete the things mentioned? Are there basically easy ways to complete the same thing? My goal is to display all this information graphically.

  • Well, you have asked many questions, better cut it off but still:

    < Ol>
  • To obtain the IIS version, you can use the SERVER_SOFTWARE server variable:

      request. ServerVariables ["SERVER_SOFTWARE"];  

    See it more:

  • From your application. To check the NET version, see the following article:

  • To obtain the application version, you need to look inside the assembly, such as:

      assembly assembly = assembly GETExecutingAssembly (); FileVersionInfo FV = FileEvarianInfo.TettersInInfo (AssemblySpace); String version = FVF fileWarson;  
  • To see the application pool, do something like follow-up:

      Fixed zero main (string [] arg) { DirectoryEntries appPools = New directoryInterity ("IIS: // localhost / W3SVC / AppPools"). Children; Foreign exchange (Directory in the Apppulle Industry Appul) {console.lightline (apple name); }} 
  • You may be interested in checking the system. Windows .form.data visualization. Good looking to see the namespace is a graph or something else. Good luck!


    Comments