摘要: 1 using System; 2 using System.Collections.Generic; 3 using System.IO; 4 using System.Linq; 5 using System.Security.Cryptography; 6 using System.Text; 阅读全文
posted @ 2022-02-05 16:08 lovewl 阅读(59) 评论(0) 推荐(0) 编辑
摘要: C#使用HttpClient上传文件并附带其他参数 HttpClient和MultipartFormDataContent(传送门)最低适用于.NET Framework 4.5版本 发送端代码 using (HttpClient client = new HttpClient()) { var c 阅读全文
posted @ 2021-08-26 10:37 lovewl 阅读(1557) 评论(0) 推荐(0) 编辑
摘要: 公匙 publicKeyStr = "MIGJAoGBALogQ4t/yzBSbKH6ScXA54pAeSjvC/R13RIif4jmTbcJLqGFaQmj5WQnnmJqFsCI8lnTr4dmHcmSPvNhtWnEAznHBhGftQqcDuPmQNROMfUB7PKMteSWPhI5FpR 阅读全文
posted @ 2019-09-30 14:37 lovewl 阅读(632) 评论(0) 推荐(0) 编辑
摘要: BackUpDiff.bat sqlcmd -S 127.0.0.1 -U sa -P sa -i C:\BackUpDiff.sql BackUpDiff.sql exec [sp_BackupDatabase] 'VRTMS','C:\BackUpDatabase','D'go BackUpFu 阅读全文
posted @ 2019-09-04 09:29 lovewl 阅读(305) 评论(0) 推荐(0) 编辑
摘要: 1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>My first Vue app</title> 5 <!-- <script src="https://unpkg.com/vue"></script> --> 6 <script src="vue.min. 阅读全文
posted @ 2019-08-05 17:23 lovewl 阅读(93) 评论(0) 推荐(0) 编辑
摘要: AutoMapper AutoMapper.Extensions.Microsoft.DependencyInjection first public class AutoMapperSetup : Profile { public AutoMapperSetup() { //CreateMap<m 阅读全文
posted @ 2019-08-05 17:16 lovewl 阅读(370) 评论(0) 推荐(0) 编辑
摘要: <script type="text/javascript"> $(document).ready(function() { $('#upload').click(function () { var data = new FormData(); var file = $('form input[ty 阅读全文
posted @ 2019-08-05 17:05 lovewl 阅读(80) 评论(0) 推荐(0) 编辑
摘要: "Serilog": { "MinimumLevel": { "Default": "Debug", "Override": { "Microsoft": "Fatal", "System": "Fatal" } }, "WriteTo": [ { "Name": "RollingFile", "A 阅读全文
posted @ 2019-07-26 10:59 lovewl 阅读(902) 评论(0) 推荐(0) 编辑
摘要: //说明:HSSFWorkbook 用于创建 .xls// XSSFWorkbook 用于创建 .xlsx //1.创建EXCEL中的WorkbookIWorkbook myHSSFworkbook = new HSSFWorkbook();IWorkbook myXSSFworkbook = ne 阅读全文
posted @ 2019-07-25 15:09 lovewl 阅读(1135) 评论(0) 推荐(1) 编辑
摘要: 用到的命名空间 using Microsoft.AspNetCore.Authentication.JwtBearer; using Microsoft.IdentityModel.Tokens; using System.IdentityModel.Tokens.Jwt; using System 阅读全文
posted @ 2019-04-17 14:41 lovewl 阅读(7098) 评论(0) 推荐(2) 编辑