webapi问世已久,稀里糊涂的人哪它都当mvc来使,毕竟已mvc使用级别的经验就可以应对webapi。 webapi和mvc在asp.net5时代合体了,这告诉我们,其实 它俩还是有区别的,要不现在也不会取两个名字,但是由于本人归纳总结能力较差,各种不同也无法一一列出了。 在webapi中 Hel ...
分类:
Windows开发 时间:
2016-07-13 22:20:42
收藏:
0 评论:
0 赞:
0 阅读:
822
SqlParameter[] param ={ new SqlParameter("@SignInfoId ",SqlDbType.Int), new SqlParameter("@sign_opinion ",SqlDbType.VarChar,50), new SqlParameter("@ac ...
分类:
Windows开发 时间:
2016-07-13 21:25:54
收藏:
0 评论:
0 赞:
0 阅读:
337
转载:http://www.studyofnet.com/news/1094.html 本文导读:Fiddler是好用的WebApi调试工具之一,它能记录所有客户端和服务器的http和https请求,允许你监视,设置断点,甚至修改输入输出数据,Fiddler 是以代理web服务器的形式工作的,使用F ...
分类:
Windows开发 时间:
2016-07-13 21:24:23
收藏:
0 评论:
0 赞:
0 阅读:
577
1. 文件操作 /// <summary> /// 文件读写操作 /// 为简化代码供大家学习,暂不考虑捕捉异常 /// </summary> public partial class TestIO : DevComponents.DotNetBar.Office2007Form { public ...
分类:
Windows开发 时间:
2016-07-13 21:02:09
收藏:
0 评论:
0 赞:
0 阅读:
210
转自:http://blog.csdn.net/trassion/article/details/12778711 1、如果要在页面看到预览、必须添加frxPreview 控件,并且在frxReport 控件 属性Preview上指定 该控件。 frxReport1.ShowReport; //显示 ...
分类:
Windows开发 时间:
2016-07-13 20:59:49
收藏:
0 评论:
0 赞:
0 阅读:
315
WinForm:Windows Form 系统窗体 - 客户端应用程序 窗体分为可视化界面和界面代码两部分Form是窗体可视化界面,.Designer.cs结尾的文件,是窗体界面的源代码,界面是通过这个源代码来构建组成的; 简单控件:button - 按钮textbox - 文本框label - 文 ...
分类:
Windows开发 时间:
2016-07-13 20:58:51
收藏:
0 评论:
0 赞:
0 阅读:
361
WPF中没有类似LinkButton,所以只有运用Button及样式来实现LinkButton。 DataGrid 操作列 实现 多个类似LinkButton按钮: 具体实现代码如下: <DataGrid Name="dgData" IsReadOnly="true" AutoGenerateCol ...
分类:
Windows开发 时间:
2016-07-13 20:30:37
收藏:
0 评论:
0 赞:
0 阅读:
245
原文:C#调用国家气象局天气预报接口一.需求 最近,刚好项目中有天气预报查询功能的需求,要求录入城市名称,获取该城市今日天气信息及相关气象生活辅助信息等。 例如:查询北京市天气 结果为: 今日北京天气:15℃~5℃ 阵雨转阴,北风3-4级,天气冷,建议着棉服、羽绒服、皮夹克加羊毛衫等冬季服装。年老体... ...
分类:
Windows开发 时间:
2016-07-13 20:24:11
收藏:
0 评论:
0 赞:
0 阅读:
357
Git hangs while unpacking objects (Windows) 14 Oct 2014 I'm not sure if this is because we're behind a proxy, the network has issues or my work laptop ...
分类:
Windows开发 时间:
2016-07-13 20:19:27
收藏:
0 评论:
0 赞:
0 阅读:
2062
/// <summary> /// 文件类型 /// </summary> public enum FileType { Courseware, //"课件" Document, //"文档" Picture, //"图片" Audio, //"音频" Video, //"视频" Cartoon, ...
分类:
Windows开发 时间:
2016-07-13 20:13:57
收藏:
0 评论:
0 赞:
0 阅读:
274
zabbix很多都是可以直接通过 zabbix api 来进行辅助操作。 官方文档地址:https://www.zabbix.com/documentation 通过API操作,都必须组认证,拿到了认证token之后,才能进行相应操作: 其他地方调用,应用这个类,然后调用对应的方法即可。 ...
分类:
Windows开发 时间:
2016-07-13 20:12:08
收藏:
0 评论:
0 赞:
0 阅读:
242
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u ...
分类:
Windows开发 时间:
2016-07-13 20:11:47
收藏:
0 评论:
0 赞:
0 阅读:
183
必备软件 1、Adobe Acrobat。 2、AutoBookmark 为adobe acrobat的自动生成书签的插件(我用的这个:AutoBookmark Standard Plug-in),下载安装即可。 3、AutoBookmark的使用文档 写的非常详细,让我觉得没必要再写这个blog了 ...
分类:
Windows开发 时间:
2016-07-13 20:03:47
收藏:
0 评论:
0 赞:
0 阅读:
399
定时器事件代码 static void Main(string[] args) { Method(); #region 定时器事件 Timer aTimer = new Timer(); aTimer.Elapsed += new ElapsedEventHandler(TimedEvent); a ...
分类:
Windows开发 时间:
2016-07-13 20:02:39
收藏:
0 评论:
0 赞:
0 阅读:
340
一、实例介绍 本文实现的动画是指,窗体显示的时候慢慢显示到用户面前,窗体关闭时,有一个动态效果! 二、设计思路 需要使用Windows提供的API函数AnimateWindow(),该函数存放在user.dll文件中,该函数的声明方法如下: [DllImport("user32.dll")] pri ...
分类:
Windows开发 时间:
2016-07-13 19:59:17
收藏:
0 评论:
0 赞:
0 阅读:
238
串口基础知识 http://www.cnblogs.com/menlsh/archive/2013/01/28/2880580.html DTU知识 http://blog.csdn.net/xutonghuang1986/article/details/16845491 http://blog.c ...
分类:
Windows开发 时间:
2016-07-13 19:56:12
收藏:
0 评论:
0 赞:
0 阅读:
349
【1】下载文件 using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.IO;using System.Net; namespace XuanWu.Software. ...
分类:
Windows开发 时间:
2016-07-13 19:55:27
收藏:
0 评论:
0 赞:
0 阅读:
243
·关于C#中timer类 在C#里关于定时器类就有3个1.定义在System.Windows.Forms里2.定义在System.Threading.Timer类里3.定义在System.Timers.Timer类里 System.Windows.Forms.Timer是应用于WinForm中的,它 ...
分类:
Windows开发 时间:
2016-07-13 19:55:18
收藏:
0 评论:
0 赞:
0 阅读:
181
7.4.1 根据桌面大小调节窗体大小 7.4.2 自定义最大化、最小化和关闭按钮 7.4.3 窗体换肤程序 ...
分类:
Windows开发 时间:
2016-07-13 19:54:47
收藏:
0 评论:
0 赞:
0 阅读:
266
run(){ while(true) { show(); if(条件) { break; } sleep(5*60*1000);//暂停5分钟 }}thread Brun(){ while(true) { time=当前时间; if(time==你设定的时间) { A a=new A(); a.ru ...
分类:
Windows开发 时间:
2016-07-13 19:54:17
收藏:
0 评论:
0 赞:
0 阅读:
197