码迷,mamicode.com
首页 > Windows程序 > 日排行
在.Net Core WebAPI下给Swagger增加导出离线文档功能
一丶前言 最近刚接触到Swagger,在github上下载了它的源码和demo学习了一遍,发现这个组件非常好用,不过不足的是它没有导出离线文档的功能,于是乎我就想给它加一个导出功能 Swagger Github开源地址 二丶思路 其实说白了api文档就是一个html静态页面,html可以转word或 ...
分类:Windows程序   时间:2019-01-07 01:27:12    阅读次数:386
腾讯人脸识别api签名,演示demo
using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Security.Cryptography; using System.Text; using... ...
分类:Windows程序   时间:2019-01-07 01:38:15    阅读次数:511
C#采用mouse_event函数实现模拟鼠标功能
下面我通过代码为大家分享下C#模拟鼠标,具体内容如下: 想必有很多人在项目开发中可能遇见需要做模拟鼠标点击的小功能,很多人会在百度过后采用mouse_event这个函数,不过我并不想讨论如何去使用mouse_event函数怎么去使用,因为那没有多大意义。 ? 1 2 3 4 5 6 7 8 stat ...
分类:Windows程序   时间:2019-01-07 10:31:53    阅读次数:256
64位Win7系统nbtstat 问题
64位Win7系统nbtstat 问题 姜糖水 2015-02-02 195 阅读http://ju.outofmemory.cn/entry/114353 在32位系统写:"cmd /c C:\\Windows\\system32\\nbtstat.exe -a 192.168.44.1"是可以执 ...
分类:Windows程序   时间:2019-01-07 10:38:13    阅读次数:294
VM Win Server 2016 disks failed to accces
VMWinServer2016localorshareddisksfailedtoacccessolution
分类:Windows程序   时间:2019-01-07 17:41:21    阅读次数:195
WPF TriggerAction弹出子窗体 TargetedTrigger、TargetedTriggerAction用法
namespace TriggerAction { public class OpenWindowAction : TriggerAction { public Type WindowType { get { return (Type)GetValue(WindowTypeProperty); } ... ...
分类:Windows程序   时间:2019-01-07 17:43:36    阅读次数:244
ASP.NET Core 2.2 基础知识(十四) WebAPI Action返回类型(未完待续)
要啥自行车,直接看手表 ASP.NET Core 默认返回 JSON 格式,但同时也提供了 XML 格式. 官方说这样就可以了,但是不行!!!!! 测试: 图就不上了. 必须要打上 [Produces("application/cml")] 才行 [Produces(...)] 特性可在 Actio ...
分类:Windows程序   时间:2019-01-07 20:50:00    阅读次数:310
WPF中Datagrid控件添加行号
1 /// 2 /// 导入Excel文件按钮 3 /// 4 /// 5 /// 6 private void InputExcelFile_Click(object sender, RoutedEventArgs e) 7 { 8 //将数... ...
分类:Windows程序   时间:2019-01-07 21:01:11    阅读次数:397
Windows10 官方原版镜像下载途径 Label:win10解决方案
https://www.microsoft.com/en-gb/software-download/windows10ISO 设置浏览标签为手机以避免跳转,下载即可 或者手机打开该网址,获取下载链接然后复制到电脑下载 否则可能会跳转到https://www.microsoft.com/en-gb/s ...
分类:Windows程序   时间:2019-01-07 21:05:38    阅读次数:335
调用支付宝支付(C#)
//支付宝支付 public string AliPay(string OrderID, string Total) //OrderID订单号,Total订单总金额 { // 支付宝网关 string Url = "https://openapi.alipay.com/gateway.do"; st ...
分类:Windows程序   时间:2019-01-07 21:07:27    阅读次数:246
ASP.NET Core 2.2 基础知识(十三) WebAPI 概述
我们先创建一个 WebAPI 项目,看看官方给的模板到底有哪些东西 官方给出的模板: 同时,在 Startup 类中注册了 Mvc 中间件. 实际上, 继承 ControllerBase ,特性 [Route] [ApiController] 都是为了提供一些便利功能,一个最"轻量"的 WebAPI ...
分类:Windows程序   时间:2019-01-07 21:18:24    阅读次数:251
c#发送邮件,可发送多个附件
1:创建SendMail类 2:调用方法 SendMail send = new SendMail("123456@qq.com", "123456@163.com", "邮件内容测试", "邮件标题测试", "mail20181224");send.Attachments(@"D:\\工作\\ab ...
分类:Windows程序   时间:2019-01-07 21:19:53    阅读次数:216
[GraphQL] Query a GraphQL API with graphql-request
To query a GraphQL API, all you need to do is send an HTTP request that includes the query operation in the body of the request. In this lesson, we wi ...
分类:Windows程序   时间:2019-01-07 21:33:07    阅读次数:232
[APIO2013]机器人(斯坦纳树)
题目描述 VRI(Voltron 机器人学会)的工程师建造了 n 个机器人。任意两个兼容的机 器人站在同一个格子时可以合并为一个复合机器人。 我们把机器人用 1 至 n 编号(n ≤ 9)。如果两个机器人的编号是连续的,那 么它们是兼容的,可以合并成一个复合机器人。最初这 n 个机器人各自都只有唯 ...
分类:Windows程序   时间:2019-01-07 22:46:31    阅读次数:246
win10安装git fatal: open /dev/null or dup failed: No such file or directory错误解决方法
原因看大家意思应该是 非即插即用驱动文件null.sys问题。 网上有很多方案。最后试了一个可行的。 替换 windows/system32/drivers/null.sys为网盘中的文件,之后重启电脑即可。 链接:https://pan.baidu.com/s/1x6udo42W9GiAiw3HE ...
分类:Windows程序   时间:2019-01-07 22:46:40    阅读次数:345
DP软件中添加一台Windows客户端
1.远程添加客户端 2. 本地安装 本地安装完成后再导入 DP cell manager安装在Linux服务器上,打算用DP备份Windows Server 2012上文件。就需要把Windows Server添加到DP中,用远程安装最方便。只需把Windows的hosts文件中添加cell man... ...
分类:Windows程序   时间:2019-01-07 22:48:10    阅读次数:303
C# String
1.IL代码优化字符串+操作 例1: 1)string s = "hello" + "world"; //IL代码会自动优化为一条指令 ldstr "helloworld" 加载到evaluation stack 2)string s1=“hello”; string s2="world"; str ...
分类:Windows程序   时间:2019-01-08 00:13:45    阅读次数:179
修改delphi xe6 FMX Label字体颜色
delphi fmx的字体等设置默认与皮肤有关,用代码直接修改字体颜色等是无效的,如何才能用代码修改呢?请按以下方法就可以: 1.在Object inspector中取消StlyedSettings中的Fontcolor选项的勾。 2. Label6.TextSettings.FontColor:= ...
分类:Windows程序   时间:2019-01-08 00:15:58    阅读次数:250
最新windows10专业版企业版密钥永久激活步骤和方法
最新windows10专业版企业版密钥永久激活步骤和方法,win10专业版激活密钥
分类:Windows程序   时间:2019-01-08 00:18:00    阅读次数:192
WPF中使用WindowChrome自定义窗口中遇到的最大化问题
原文:WPF中使用WindowChrome自定义窗口中遇到的最大化问题FrameWork 4.5 之后,内置了WindowChrome类,官方文档: https://msdn.microsoft.com/en-us/library/system.windows.shell.windowchrome.... ...
分类:Windows程序   时间:2019-01-08 00:21:41    阅读次数:484
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!