syed irfan

syed irfan

  • NA
  • 1
  • 0

How to make a code to run only on Dev Server and not on Staging or Production server.

Feb 22 2008 3:05 AM

I am using an AS400 module in my C# code. so i wanted to calculate the total time taken by the AS400 system to perform one transaction for that i wrote the pice of code in C# and it is working fine. my problem is i dont want this pice of code to run on staging and production servers. only it should run on dev server as we are calling some 100's of transaction so i am not allowed to make this code runng on production or staging. Som please any one can suggest me how i can make a pice of code run only on DEV server and not on Production or Staging

Thanks

Irfan


Answers (1)