摘要: 原因 由于Visual Studio 2017在保存chtml时,文本格式非utf-8,所以导致中文会出现乱码情况。 解决办法 在工具->扩展与更新中添加插件"ForceUTF8 (with BOM)" 安装后重启Visual Studio 2017,再编辑相关chtml文档,中文不会再出现乱码。 阅读全文
posted @ 2017-04-28 11:38 哈哈兮 阅读(667) 评论(0) 推荐(0) 编辑
摘要: 一、前提概要 Asp.net core中已经取消了Ajax.BeginForm,也不会计划出ajax tag helper,所以得利用插件jquery-ajax-unobtrusive,在form中加入相关data-*属性 二、参考资料 https://github.com/aspnet/Mvc/i 阅读全文
posted @ 2017-04-28 11:17 哈哈兮 阅读(1367) 评论(1) 推荐(0) 编辑