摘要: 参考链接 vs中正常IIS发布网站后css样式、图片丢失jQuery报错 $ is not defined - a-fei - 博客园 (cnblogs.com) 安装静态内容 阅读全文
posted @ 2021-05-09 13:05 当年小清新 阅读(140) 评论(0) 推荐(0) 编辑
摘要: 客户端: class SocketClient { private byte[] byteRcvbuf; public Socket Client { get; set; } public string SocketIP { get; set; } public uint SocketPort { 阅读全文
posted @ 2021-04-23 13:14 当年小清新 阅读(109) 评论(0) 推荐(0) 编辑
摘要: 客户端代码: using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Text; using System.Threading 阅读全文
posted @ 2021-04-18 09:17 当年小清新 阅读(490) 评论(0) 推荐(0) 编辑
摘要: 服务端webapi: public string getValue5([FromBody]List<Student> student) { return student[0].Name + " " + student[1].Name; } 客户端控制台: public static string H 阅读全文
posted @ 2021-04-17 18:13 当年小清新 阅读(283) 评论(0) 推荐(0) 编辑
摘要: 解决跨域问题 1.webapi安装cors 2.WebApiConfig下添加 public static void Register(HttpConfiguration config) { config.EnableCors(new EnableCorsAttribute("*", "*", "* 阅读全文
posted @ 2021-04-17 09:45 当年小清新 阅读(478) 评论(0) 推荐(0) 编辑
摘要: 1.Nuget安装Vue与Element UI,然后添加 <script src="~/Scripts/vue.min.js"></script> <link rel="stylesheet" href="~/Content/ElementUI/element-ui.css" /> <script 阅读全文
posted @ 2021-04-14 14:36 当年小清新 阅读(29) 评论(0) 推荐(0) 编辑
摘要: 代码: using System; using System.Data; using System.Windows.Forms; namespace Test3.TreeviewTest { public partial class Form1 : Form { public Form1() { I 阅读全文
posted @ 2021-04-07 15:46 当年小清新 阅读(191) 评论(0) 推荐(0) 编辑
摘要: 添加组件bindingsource1 datagridview的Datasource属性添加到组件bindingsource1 添加类Student: public class Student { public int Id { get; set; } public string Name { ge 阅读全文
posted @ 2021-04-06 15:49 当年小清新 阅读(429) 评论(0) 推荐(0) 编辑
摘要: 1.四种模型区别 1.Database First学习链接: https://www.cnblogs.com/1175429393wljblog/p/10775763.html 2.Model First学习链接: http://www.10qianwan.com/articledetail/425 阅读全文
posted @ 2021-04-05 13:33 当年小清新 阅读(51) 评论(0) 推荐(0) 编辑
摘要: 将服务寄宿与控制台: using System; using System.Collections.Generic; using System.Linq; using System.ServiceModel; using System.ServiceModel.Description; using 阅读全文
posted @ 2021-04-04 13:39 当年小清新 阅读(41) 评论(0) 推荐(0) 编辑