摘要:
public static HttpResponseMessage toJson(Object obj) { String str; if (obj is String || obj is Char) ... 阅读全文
posted @ 2016-06-08 16:04
深南大道
阅读(1221)
评论(0)
推荐(0)
摘要:
/// /// HttpClient实现Post请求(异步)/// static async void dooPost(){ string url = "http://localhost:52824/api/register"; //设置HttpClientHandler的AutomaticD... 阅读全文
posted @ 2016-06-08 15:41
深南大道
阅读(2265)
评论(0)
推荐(0)
摘要:
using System.IO;/// /// WebApi返回图片/// public HttpResponseMessage GetQrCode(){ var imgPath = @"D:\ITdosCom\Images\itdos.jpg"; //从图片中读取byte v... 阅读全文
posted @ 2016-06-08 15:07
深南大道
阅读(1209)
评论(0)
推荐(0)
摘要:
using System;using System.Collections.Generic;using System.ComponentModel.DataAnnotations;using System.Linq;using System.Web;namespace ProductStore.... 阅读全文
posted @ 2016-06-08 14:39
深南大道
阅读(1299)
评论(0)
推荐(0)

浙公网安备 33010602011771号