这篇文章介绍在ASP.NET Core中注册一下自己的服务。 首先创建一个Services文件夹。在文件夹里面创建一个接口 IClock,以及两个类ChinaClock、UtcClock。这两个类分别实现 IClock这个接口。 IClock: namespace WebApplication1.S Read More
posted @ 2020-05-06 09:23
CR7Ronaldo
Views(349)
Comments(0)
Diggs(3)
ASP.NET Core与2.x相比发生的一些变化: 项目结构 Blazor SignalR gRPC 关于Program类:Main方法,在系统执行时就会找到这个Main方法,实际上是配置了ASP.NET Core这个应用,本质上还是一个控制台应用。而针对整个ASP.NET Core这个应用的配置 Read More
posted @ 2020-05-06 09:02
CR7Ronaldo
Views(508)
Comments(0)
Diggs(2)

浙公网安备 33010602011771号