08 2016 档案

摘要: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 阅读(5527) 评论(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 阅读(380) 评论(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 阅读(3532) 评论(0) 推荐(1) 编辑
摘要:For example, I want to install EP prj template: AxWebProject.zip Copy AxWebProject.zip zip file into this folder C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\ProjectTemplates... 阅读全文
posted @ 2016-08-19 12:05 94cool 阅读(1652) 评论(0) 推荐(1) 编辑
摘要:using System; using System.Linq; using System.Reflection; using System.Runtime.Loader; using Microsoft.Extensions.DependencyModel; namespace AssemblyLoadingDynamic { public class Program { ... 阅读全文
posted @ 2016-08-17 11:27 94cool 阅读(321) 评论(0) 推荐(0) 编辑
摘要:在Package Manager Console中执行 A:新建数据库: 1、Add-Migration init[名称](为挂起的Model变化添加迁移脚本) 2、Update-Database(将挂起的迁移更新到数据库) ************************************* 阅读全文
posted @ 2016-08-17 09:39 94cool 阅读(263) 评论(0) 推荐(0) 编辑
摘要:由于修改计算机名称或不同电脑上操作忘记签入,则需要强制签入文件 具体步骤如下: 1.在命令行中输入"cd C:\Program Files\Microsoft Visual Studio 14.0\Common7\IDE"(tf程序在文件夹),进入tf程序所在目录。 2.查找那个人所用到的works 阅读全文
posted @ 2016-08-16 17:13 94cool 阅读(858) 评论(0) 推荐(0) 编辑
摘要:此文将展示ONS C++ Windows SDK 整个调试过程,笔者直接使用sdk包中的example消息发送示例代码,开发环境为win7, 64位,Visual Studio Professional 2013(版本 12.0.21005.1 REL)。 下载最新sdk包(文中使用代码为2015年10月14号发布),并解压(本地保存目录为D:\Doc\ONS\C++\aliyun-ons-cl... 阅读全文
posted @ 2016-08-15 11:43 94cool 阅读(1996) 评论(0) 推荐(0) 编辑
摘要:from:http://m.blog.csdn.net/article/details?id=51075023 在VS2015中先创建C#项目,然后再创建要编写的动态库DLL项目,这样做的好处是整个解决方案的编程环境是C#模式,这样就可以有很多智能的提示或快捷的编程方式在整个解决方案中都可以使用。 一:创建C#控制台应用程序:用于调用C++编写的DLL (1)启动VS2015》文件》新建》项... 阅读全文
posted @ 2016-08-15 11:40 94cool 阅读(27987) 评论(2) 推荐(0) 编辑
摘要:.Net Core 控制台程序错误:Can not find runtime target for framework '.NETCoreApp,Version=v1.0' compatible with one of the target runtimes: 'win10-x64, win81-x 阅读全文
posted @ 2016-08-11 15:07 94cool 阅读(1933) 评论(0) 推荐(0) 编辑
摘要:window10 安装出现the error code is 2503错误的解决方法: 设置 C:\WINDOWS\TEMP的权限 阅读全文
posted @ 2016-08-10 21:36 94cool 阅读(11245) 评论(2) 推荐(0) 编辑
摘要:修改linux的最大文件句柄数限制 对于一般的应用来说(象Apache、系统进程)1024完全足够使用。但是如何象squid、mysql、java等单进程处理大量请求的应用来说就有点捉襟见肘了。如果单个进程打开的文件句柄数量超过了系统定义的值,就会提到“too many files open”的错误 阅读全文
posted @ 2016-08-09 08:29 94cool 阅读(4395) 评论(0) 推荐(0) 编辑
摘要:using System;using System.Collections.Generic;using System.Diagnostics;using System.IO;using System.Linq;using System.Net.Http;using System.Net.Http.H 阅读全文
posted @ 2016-08-08 08:47 94cool 阅读(3971) 评论(1) 推荐(1) 编辑
摘要:Net Core 控制台输出中文乱码的解决方法: } 阅读全文
posted @ 2016-08-08 08:26 94cool 阅读(3204) 评论(3) 推荐(3) 编辑
摘要:from:http://blog.csdn.net/ciaos/article/details/12618487 <?php $res1 = hash_hmac("sha1","signatureString", "secret"); echo $res1."\n"; //ee1b654aa861c 阅读全文
posted @ 2016-08-06 10:59 94cool 阅读(3472) 评论(0) 推荐(0) 编辑
摘要:Nuget自己打包引用的时候出现错误:Package is not compatible with netcoreapp1.0 (.NETCoreApp,Version=v1.0). Package 1.0.1 supports: net (.NETFramework,Version=v0.0) 解 阅读全文
posted @ 2016-08-05 10:32 94cool 阅读(1499) 评论(0) 推荐(0) 编辑
摘要:from:http://www.cnblogs.com/zeusro/p/5171084.html 运用.net core配合VS 2015制作nuget包 以往做nuget包我们一般要么用命令行,要么用nuget的图形化界面去做,但是一些操作比较麻烦.比如引入命名空间,引入第三方nuget包.今天 阅读全文
posted @ 2016-08-05 10:26 94cool 阅读(227) 评论(0) 推荐(0) 编辑
摘要:WebDAV 是超文本传输协议 (HTTP) 的一组扩展,为 Internet 上计算机之间的编辑和文件管理提供了标准.利用这个协议用户可以通过Web进行远程的基本文件操作,如拷贝、移动、删除等。在IIS 7.0中,WebDAV是作为独立扩展模块,需要单独进行下载,而IIS 7.5中将集成WebDA 阅读全文
posted @ 2016-08-03 09:12 94cool 阅读(404) 评论(0) 推荐(0) 编辑
摘要:win2008server R2 x64 部署.net core到IIS上出现【Failed to load the dll from [C:\Program Files\dotnet\host\fxr\1.0.1\hostfxr.dll], HRESULT: 0x80070057】错误 解决方法: 阅读全文
posted @ 2016-08-02 14:20 94cool 阅读(6394) 评论(1) 推荐(4) 编辑
摘要:from:https://blogs.msdn.microsoft.com/scott_hanselman/2014/12/21/asp-net/ [原文发表地址] How to run Background Tasks in ASP.NET [原文发表时间] 2014-08-26 几年前,Phil 阅读全文
posted @ 2016-08-01 12:10 94cool 阅读(930) 评论(1) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示