摘要:using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Text; namespace ZB.QueueSys.Common
阅读全文
03 2021 档案
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml; namespace ZB.Que
阅读全文
摘要:一.定义:提到Web API特指ASP.NET Web API。 官方定义如下,强调两个关键点,即可以对接各种客户端(浏览器,移动设备),构建http服务的框架。 Web API在ASP.NET完整框架中地位如下图,与SignalR一起同为构建Service的框架。Web API负责构建http常规
阅读全文
摘要:using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; namespace ZB.QueueSys.Common.Enum {
阅读全文
摘要:创建第一个Web API项目 第一步: 第二步: 注:App_Start\WebApiConfig 第三步:创建Model、Controll,略 --分别创建对应实体 public class User { public int id { get; set; } public string name
阅读全文
摘要:l 单体应用 与微服务相对的概念--单体式应用程序。 单体式应用内部包含了所有需要的服务。而且各个服务功能模块有很强的耦合性,也就是相互依赖彼此,很难拆分和扩容。,例如Hello word程序。 集成,功能集中化,牵一发动全身、开发/测试/部署/维护问题 优点: 1.开发简洁,功能在单个程序内部,便
阅读全文
摘要:using System; using System.IO; using System.Diagnostics; using Microsoft.Win32; using ICSharpCode.SharpZipLib.Checksums; using ICSharpCode.SharpZipLib
阅读全文