微信WebApp开发总结笔记(简略)

后台:
c# and 网络 部分:

MVC Ctrl=>Model=>View ViewBag/ViewData/@Model./ViewModel return View("",Model) return Redirect("/Ctrl/View");

Newtonsoft.Json => SerializeObject: json->str ; DeserializeObject str->json ;

WebService WebApi asmx aspx ado.net ; LINQ to entity/sql

ArrayList=>Array=>List 三者转换

TempData Session ; 储存过程 ; string.IsNullOrEmpty ?? ; url带参 ?a=b&c=d

正确打log姿势 ; Web.config ConfigurationManager ;

[HttpPost] [XmlType(TypeName = "XML参数头")] [Serializable] WebServiceXML ;

OAuth ; 证书路径;

内网映射 接口 日志文件log IIS网站发布配置端口/防火墙/应用程序池/权限 域名转移 多层子网 本地80配置多个网站

页面:

angular.js $scope $watch $apply $http 页面路由

jQuery $.ajax({}) localStorage

F12 console.log source断点 Elements查找元素 network检查请求

常见问题 { 样式加载到一个不存在的元素(angular.js还没绑定) h5.text了一个元素导致angular绑定失败 模型没有动态刷新($apply) }

微信:

微信支付开发文档 https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=7_7&index=6

posted @ 2018-04-09 14:17  luany  阅读(92)  评论(0编辑  收藏  举报