摘要:
LDAP syntax filters can be used in many situations to query Active Directory. They can be used in VBScriptand PowerShell scripts. Many utilities, like 阅读全文
摘要:
I recently installed the dotnet 1.11.0 Windows Server Hosting package which apparently installs the .NET Core Runtime. I did so on my development box. 阅读全文
摘要:
在Win7的机器上部署ASP.Net Core程序,老是提示502.5错误。 已经安装了 Microsoft Visual C++ 2015 Redistributable .NET Core Windows Server Hosting bundle 对应版本的.Net Core SDK, 但程序 阅读全文
摘要:
直接使用浏览器来用Docker http://play-with-docker.cn/ 阅读全文
摘要:
总结远程连接树莓派的三种方式,对大部分linux系统同样适用。 首先需要将树莓派连接上网,ifconfig记录ip地址。 第一种:ssh远程连接 在linux下使用 ssh root@10.107.16.69 可以登录。在windows下使用putty这个工具,下载地址文末。 操作如图。 ***Op 阅读全文
摘要:
连接数据库 pymssql连接数据库的方式和使用sqlite的方式基本相同: 使用connect创建连接对象 connect.cursor创建游标对象,SQL语句的执行基本都在游标上进行 cursor.executeXXX方法执行SQL语句,cursor.fetchXXX获取查询结果等 调用clos 阅读全文
摘要:
概要:1.简单ViewComponent的用法 2.ViewComponent控制器返回值 3.注意事项 1.简单ViewComponent的用法 第一步:创建ASP.NET CORE Web应用程序,并在网站根目录创建 ViewComponents 文件夹 第二部:在ViewComponents文 阅读全文
摘要:
视图组件 ViewComponent 最近用了一下视图组件,还挺方便的,如果遇到公共的部分,可以抽出来,写成视图组件,方便调用 先上图看一下效果:比如首页的4个画红框的地方是4个模块,有些地方可能要重复用到,那么我们用视图组件就很方便。 开始编码步骤 第二步,添加视图组件类 创建类过程中,必须要以N 阅读全文
摘要:
Azure Functions lets you execute your code in a serverless environment without having to first create a VM or publish a web application. In this artic 阅读全文
摘要:
工具 树莓派3 modelB 一个 dht11温湿度传感器一个 onenet平台 安装好requests库的python(一定要安装好不然代码不能正确运行,可以参考我的另一篇博文点击打开链接) 树莓派连接温度传感器 将树莓派连接好温度传感器,并且得到数据,首先要运行代码,将传感器测得的温湿度数据分别 阅读全文
摘要:
The new version of SQL Server Management Studio (v17.5) brings with it a new feature: SQL Data Discovery and Classification. You might recall that in 阅读全文
摘要:
迁移方法 1.首先在解决方案中引入System.Configuration.ConfigurationManager,只有引入它才可以让我们已有的读取web.config代码起作用. 2. 导入web.config文件到项目根目录,并将名称修改为app.config. 因为.NET Core的项目本 阅读全文
摘要:
今年微软的编程之美的主题是“对话即平台”,“人工智能”,要求参赛选手用到Bot Framework与Cognitive Services。 大多数人应该对这两个技术都不怎么熟悉吧,我就在这里写写自己所学会的一点东西,带大家调用LUIS做一个简单的Bot聊天机器人。 打开浏览器,直接搜索Bot Fra 阅读全文
摘要:
Imagine that you’ve just been struck by inspiration for your next great app. You might start by jotting some notes and sketching out screens. If you’r 阅读全文
摘要:
With Xamarin, you can extend your cross-platform apps with support for native speakers, reaching markets that might otherwise be overlooked. However, 阅读全文
摘要:
cmd > cd ... dotnet myapp.dll 阅读全文
摘要:
msg is <?xml ?> <Parameters> <WorkflowName>...</WorkflowName> </Parameters> <Parameters> ... </Parameters> var arr=$(msg).find('Parameters'); var work 阅读全文
摘要:
using System; using System.Diagnostics; namespace WriteToAnEventLog_csharp { /// Summary description for Class1. class Class1 { static void Main(strin 阅读全文
摘要:
Sending the Access-Control-Allow-Origin header allows basic cross-origin access, but calling ASP.NET services like ASMX ScriptServices, ASPX page meth 阅读全文
摘要:
using Microsoft.AspNetCore.Authentication.Cookies; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.DependencyInject... 阅读全文
摘要:
http://ASP.NET Core 提供了Cookie中间件来序列化用户主题到一个加密的Cookie中并且在后来的请求中校验这个Cookie,再现用户并且分配到HttpContext对象的User属性中。如果你想提供自己的登录方式和用户数据你可以使用Cookie中间件来实现独立的功能。 添加和配 阅读全文
摘要:
Choose File... Submit ... 阅读全文
摘要:
osql -S localhost -U sa -P123456 -d northwind -Q "select top 10 name from sysobjects" 在CMD下执行上面那条语句, 表示让osql登陆localhost这台服务器,所用的用户名为sa,密码为123456,登陆后转到 阅读全文
摘要:
Who is this package for? This package is meant for developers that need to port existing .NET Framework code to .NET Core. But before you start portin 阅读全文
摘要:
Editor’s Note: The following is a guest post from Mustafa Mahmutović, a Microsoft Student Partner who attends the Faculty of Electrical Engineering at 阅读全文
摘要:
Setting up Linux on Windows 10 First thing is to enable Windows Subsystem for Linux. It doesn’t install Linux but gets Windows ready for it. Linux sup 阅读全文
摘要:
Private static IEnumerable<T> FunDemo(T para) { while(...) { .... yield return Obj; } } static main(arg[] arg) { IEnumerable<T> list=FunDemo(para); fo 阅读全文
摘要:
JSON functions in SQL Server enable you to analyze and query JSON data, transform JSON to relational format, and export SQL query results as JSON text 阅读全文
摘要:
[DotnetSpider 系列目录] 一、初衷与架构设计 二、基本使用 三、配置式爬虫 四、JSON数据解析与配置系统 五、如何做全站采集 为什么要造轮子 同学们可以去各大招聘网站查看一下爬虫工程师的要求,大多是招JAVA、PYTHON,甚至于还有NODEJS,C++;再或者去开源中国查询C#的爬 阅读全文
摘要:
What's It Do? The application consists of two components: A Custom Vision Service project that allows you to build a custom image classifier to detect 阅读全文
摘要:
Create a SQL database An Azure SQL database is created with a defined set of compute and storage resources. The database is created within an Azure re 阅读全文
摘要:
功能一、将语音转成文字发送短信(有微软认知、百度认知、云片短信API) 功能二、直接将音频发送到微信 不废话,直接送个包 链接: https://github.com/JaviZhu/KLCN.SpeechCognize.Github 阅读全文
摘要:
音频转换: 1.转换amr到mp3: 2.转换amr到wav: 3.转换mp3到wav: 4.转换wav到amr: 5.转换wav到mp3: 视频转换: 1.转换wmv到mp4: 2.抓取H264视频流: 2.1 vbsf为过滤方法,即将flv规定的H264组织方式转换回H264协议书规定的字节流格 阅读全文
摘要:
1. HttpWebRequest类的Proxy属性,只要设置了该属性就能够使用代理了,如下: 1 //设置代理 2 WebProxy WP = new WebProxy("41.76.44.76", 3128); 3 ICredentials jxCredt = new NetworkCreden 阅读全文
摘要:
Syntax Copy Arguments linked_serverIs an identifier representing the name of the linked server. ' query 'Is the query string executed in the linked se 阅读全文
摘要:
The idea of using dynamic SQL is to execute SQL that will potentially generate and execute another SQL statement. While querying data, you might want 阅读全文
摘要:
Step 1: Create the binding between SharePoint 2016 and Office Web Apps Server To get started, open an elevated SharePoint 2016 Management Shell. (Righ 阅读全文
摘要:
Step 1: Install prerequisite software for Office Online Server To install Office Online Server Open the Windows PowerShell prompt as an administrator 阅读全文
摘要:
Office Online Server is the next version of the Office Web Apps, which allows your users to view and edit Microsoft Office documents directly in their 阅读全文
摘要:
Introduction By using Optical Character Recognition (OCR), you can detect and extract handwritten and printed text present in an image. The API works 阅读全文