Esempio n. 1
0
        public static ReportingClient CreateClient(Uri serviceUri, ServicePartitionKey servicePartitionKey)
        {
            ClientFactory factory = new ClientFactory();

            return(factory.CreateClient <ReportingClient, IReportingContract>(serviceUri, servicePartitionKey));
        }
Esempio n. 2
0
        public static ReportingClient CreateClient()
        {
            ClientFactory factory = new ClientFactory();

            return(factory.CreateClient <ReportingClient, IReportingContract>(microserviceName));
        }