- 博客(5)
- 收藏
- 关注
原创 C# 处理 JsonConvert.SerializeObject 序列化对象中decimal类型默认带 .0 的问题
测试写的例子如下:using Newtonsoft.Json; using System; namespace Demo { public class DemoJson : JsonConverter { private void dumpNumArray<T>(JsonWriter writer, T n) { ...
2018-05-18 14:38:23
22691
原创 .NET 火星坐标转百度坐标算法
.NETusing System; namespace Demo { public class LatLngPoint { public double LonX { get; set; } public double LatY { get; set; } } class Program { stati...
2018-05-14 15:18:37
648
原创 js封装通过form表单下载文件
$(function (exports) { function c_downLoad(arg) { var downLoad = { url: arg.url, dataModel: arg.dataModel } downLoad.init = function () { ...
2018-03-07 15:36:36
9711
原创 Controller 使用自定义路由机制,以及RouteConfig的配置
RouteConfig配置如下:public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRoute("{resource}.axd/{*pathInfo}"); routes.MapRoute( name: "D...
2018-03-07 15:33:03
4473
原创 Get,Post请求 (设置超时时间)
using Platform.Framework.NLog; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Text; using System.Threading.Tasks; namespace Platfor...
2018-03-07 15:20:48
14152
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅