# WCF .NET Core **Repository Path**: lishilei0523/WCF-NET-Core ## Basic Information - **Project Name**: WCF .NET Core - **Description**: A library make .NET Core programs be able to call WCF server without proxy classes. - **Primary Language**: Unknown - **License**: GPL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-09-13 - **Last Updated**: 2024-09-13 ## Categories & Tags **Categories**: Uncategorized **Tags**: wcf, NET-CORE ## README A library makes .NET Core programs be able to call WCF server without proxy classes. ## Finally static void Main(string[] args) { //Init Container IServiceProvider serviceProvider = InitServiceProvider(); //Calling WCF using (IServiceScope serviceScope = serviceProvider.CreateScope()) { IProductService productService = serviceScope.ServiceProvider.GetService();//This is a remote interface string products = productService.GetProducts(); Console.WriteLine(products); } Console.ReadKey(); }