Deploy() public method

public Deploy ( ) : void
return void
コード例 #1
0
        static void Main(string[] args)
        {
            string gameFolder = @"..\..\..\ProjectThralldom";
            string sitefolder = @"..\..\..\Thralldom.Web";

            bool       authenticationSuccessful = true;
            AppBuilder builder = null;

            do
            {
                Console.Write("User: "******"thralldom.net", gameFolder, sitefolder);
                    authenticationSuccessful = true;
                }
                catch (FtpCommandException)
                {
                    Console.WriteLine();
                    Console.WriteLine("Invalid credentials. Try again.");
                    authenticationSuccessful = false;
                }
            }while (!authenticationSuccessful);

            Console.WriteLine("Authentication successful");
            Console.WriteLine();

            builder.BuildGame();
            builder.Deploy();
        }
コード例 #2
0
        static void Main(string[] args)
        {
            string gameFolder = @"..\..\..\ProjectThralldom";
            string sitefolder = @"..\..\..\Thralldom.Web";

            bool authenticationSuccessful = true;
            AppBuilder builder = null;
            do
            {
                Console.Write("User: "******"thralldom.net", gameFolder, sitefolder);
                    authenticationSuccessful = true;
                }
                catch (FtpCommandException)
                {
                    Console.WriteLine();
                    Console.WriteLine("Invalid credentials. Try again.");
                    authenticationSuccessful = false;
                }
            }
            while (!authenticationSuccessful);

            Console.WriteLine("Authentication successful");
            Console.WriteLine();

            builder.BuildGame();
            builder.Deploy();
        }