Monday, January 18, 2016

WCF Activation in windows 8


WCF service should be enabled using Programs and Features -> Turn Windows features on or off in the Control Panel. Go to .NET Framework Advanced Services -> WCF Services and enable HTTP Activation as described in this blog post on mdsn.
From the command prompt (as admin), you can run:
C:\> DISM /Online /Enable-Feature /FeatureName:WCF-HTTP-Activation
C:\> DISM /Online /Enable-Feature /FeatureName:WCF-HTTP-Activation45

Wednesday, January 22, 2014

Know if a server is windows based or Linux based or Mac based using command prompt



Goto run->type CMD

IN CMD type

ping target_ip_of_the_server

or
ping myip

Now you will see several ping requests coming

We Are interested in seeing the TTL time which you can see at the end of each request in ping.
NOTE:-
1) If TTL <64 then the server is Linux based
2) If TTL>64 but <128 then the server is Windows bsaed
3) TTL>128 Mac and others.