예제 #1
0
        protected void Application_Start()
        {
            AreaRegistration.RegisterAllAreas();
            RouteConfig.RegisterRoutes(RouteTable.Routes);

            JsonSer jsonSer = new JsonSer();

            XCloud.CreateXCloud(jsonSer);
        }
예제 #2
0
        static void TestIDBuilder()
        {
            JsonSer jsonSer = new JsonSer();

            XCloud.CreateXCloud(jsonSer);

            var service = XCloud.GetXService("10002");
            var api     = service["idcreate"];
            Dictionary <string, string> dicAA = new Dictionary <string, string>();

            dicAA["appid"]  = XCloud.Current.AppID;
            dicAA["name"]   = typeof(Program).FullName;
            dicAA["format"] = "6";
            string r = api.Get(dicAA);

            Console.WriteLine(r);
        }