WedeNet2018.WedeWcfServices-WCF服务层:结构如下: 就是定义了服务契约接口和服务类,以OrderServices为例,如下: using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.ServiceModel; using System.ServiceModel.Web; using Syste…
WedeNet2018.Web-UI层:结构如下: 首先,在Controller中定义BaseController,以便加入统一处理逻辑,如下: using log4net; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using WedeNet2018.Common; namespace WedeNet2018.Web.Con…
WedeNet2018.BussinessLogic-业务逻辑层:结构如下: 基类: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using WedeNet2018.Infrastructure; using WedeNet2018.Infrastructure.Components; namespace We…