Example #1
0
        public static ReportingClient CreateClient(Uri serviceUri, ServicePartitionKey servicePartitionKey)
        {
            ClientFactory factory = new ClientFactory();

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

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