Beispiel #1
0
        [SetUp] public void setup()
        {
            WCFHost_Start();

            if (HostStarted.isFalse())
            {
                Assert.Ignore("Neet to set the security protection for binding WCF address into Port");
            }
            // need to find a better solution or a way to automate the setup
            // references:http://blogs.msdn.com/b/paulwh/archive/2007/05/04/addressaccessdeniedexception-http-could-not-register-url-http-8080.aspx
            //            http://stackoverflow.com/questions/885744/wcf-servicehost-access-rights
            //            when running inside VisualStudio we can use the Design_Time_Addresses trick
        }