• 2024-12-10C# 在Windform程序中搭建Webapi
    1.在NuGet引用owinMicrosoft.AspNet.WebApi.OwinMicrosoft.AspNet.WebApi.OwinSelfHostMicrosoft.Owin.StaticFiles2.添加服务启动配置类 Startup1usingWebapiTest.App_Start;2usingMicrosoft.Owin.FileSystems;3usingMicrosoft.Owin.StaticFiles;4usingO