.net core实现WebSocket通讯
以下是Startup类下的核心代码 这里用的是.net core 2.0 如果更高版本 也差不多稍微改动一点就可以 public void ConfigureServices(IServiceCollection services) {services.AddMvc(); }// This method gets called by the runtime. Use this method to configure the HTTP req…
以下是Startup类下的核心代码 这里用的是.net core 2.0 如果更高版本 也差不多稍微改动一点就可以 public void ConfigureServices(IServiceCollection services) {services.AddMvc(); }// This method gets called by the runtime. Use this method to configure the HTTP req…