Fork me on GitHub

09 2016 档案

摘要:CORS 全称"跨域资源共享"(Cross origin resource sharing)。 跨域就是不同域之间进行数据访问,比如 a.sample.com 访问 b.sample.com 中的数据,我们如果不做任何处理的话,就会出现下面的错误: XMLHttpRequest cannot loa 阅读全文
posted @ 2016-09-21 12:47 田园里的蟋蟀 阅读(12705) 评论(11) 推荐(10) 编辑
摘要:ASP.NET Core 引用外部程序包的时候,有时会出现下面的错误: The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'mscorlib 阅读全文
posted @ 2016-09-20 16:02 田园里的蟋蟀 阅读(1475) 评论(0) 推荐(0) 编辑
摘要:bootstrap fileinput 是一款图片/文件上传 bootstrap 插件,简单示例代码: 后端代码: 演示效果: 头像上传示例代码: 演示效果: 参考资料: https://github.com/kartik v/bootstrap fileinput http://plugins.k 阅读全文
posted @ 2016-09-20 13:50 田园里的蟋蟀 阅读(4039) 评论(0) 推荐(1) 编辑

点击右上角即可分享
微信分享提示