上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 65 下一页
摘要: 1、AngularJs的controller中格式: var dateAsString = $filter('date')(item_date, "yyyy-MM-dd hh:mm:ss"); 注意: controller需要注入$filter 2、 AngularJs的views中格式: {{it 阅读全文
posted @ 2016-09-22 12:20 94cool 阅读(23228) 评论(0) 推荐(4)
摘要: 大卫系列 河北教育出版社 小兔波力品格养成”系列 南海出版社 小绿狼 湖北美术出版社 我爸爸我妈妈 河北教育出版社 鲁拉鲁先生的院子 21世纪出版社 獾的礼物 明天出版社 菲菲生气了 河北教育出版社 做内心强大的自己(10册) 海豚出版社 小真的长头发 新星出版社 宝贝安全成长必备丛书(全三册) 未 阅读全文
posted @ 2016-09-21 10:50 94cool 阅读(330) 评论(0) 推荐(0)
摘要: IIS 6.0 from:https://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/ea116535-8eb9-4c80-8b14-b34418dbfe42.mspx?mfr=true Procedures To enable HTTP Keep-Alives 1. In IIS Manager... 阅读全文
posted @ 2016-09-08 09:07 94cool 阅读(949) 评论(0) 推荐(0)
摘要: from:https://github.com/NLog/NLog/wiki/WebService-target Example config: Example API controller public class LogMeControll... 阅读全文
posted @ 2016-09-08 08:21 94cool 阅读(681) 评论(0) 推荐(0)
摘要: 如何改变监听IP地址和端口?在这里找到了答案:https://github.com/aspnet/KestrelHttpSer... 把Program.cs加一行UseUrls代码如下: using System.IO; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Builder; namespace He... 阅读全文
posted @ 2016-09-07 16:06 94cool 阅读(2152) 评论(0) 推荐(0)
摘要: 重新DBContext中OnModelCreating protected override void OnModelCreating(ModelBuilder modelBuilder) { //取基类=EntityBase var entityTypes = Assembly.GetEntryA 阅读全文
posted @ 2016-09-07 15:02 94cool 阅读(2140) 评论(0) 推荐(0)
摘要: from:http://www.cnblogs.com/akwwl/p/3232679.html 委托是一个类,它定义了方法的类型,使得可以将方法当作另一个方法的参数来进行传递。事件是一种特殊的委托。 1.委托的声明 (1). delegate delegate我们常用到的一种声明 Delegate至少0个参数,至多32个参数,可以无返回值,也可以指定返回值类型... 阅读全文
posted @ 2016-09-07 09:00 94cool 阅读(7797) 评论(0) 推荐(0)
摘要: webapi中如下([FromBody]string jsonData: public async Task<ResItem> Post([FromBody]string jsonData, string apiName) 注意添加ajax红色部分2个单引号: $.ajax({ type: 'POS 阅读全文
posted @ 2016-08-29 16:58 94cool 阅读(5545) 评论(0) 推荐(0)
摘要: 1、Install-Package Microsoft.AspNet.WebApi.Cors 2、 using System.Web.Http; namespace WebService { public static class WebApiConfig { public static void Register(HttpCon... 阅读全文
posted @ 2016-08-29 16:13 94cool 阅读(387) 评论(0) 推荐(0)
摘要: des.h #pragma once #include <windows.h> #include <atlstr.h> #include <wincrypt.h> typedef struct { BLOBHEADER header; DWORD cbKeySize; BYTE rgbKeyData 阅读全文
posted @ 2016-08-24 09:29 94cool 阅读(3552) 评论(0) 推荐(1)
上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 65 下一页