Looking at the large number of .NET applications deployed in WCF services or ASP.NET front-end, I would like < / Li>
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); }}
Comments
Post a Comment