Пример #1
0
        public void ProcessRequest(HttpContext context)
        {
            RadiumService.Use <RadiumRest.Sample.CustomerMicroservice.Resources.Customer.CustomerService>();

            var server = RadiumService.Create <AspDotNetRadiumPlugin>();

            server.Handle(context);
        }
Пример #2
0
        public static void Main(string[] args)
        {
            RadiumService.Use <CustomerMicroservice.Resources.Customer.CustomerService>();

            var server = RadiumService.Create <OwinRadiumPlugin>();

            server.Start();
        }