随笔分类 -  ASP.NET 5

摘要:1.首先下载Nuget.exe https://dist.nuget.org/index.html 2.设置环境变量 设置apikey nuget setApiKey <my_api_key> 3.nuget spec 4.修改nuspec文件 5.nuget pack Package.nuspec 阅读全文
posted @ 2016-04-21 13:31 nele 阅读(246) 评论(0) 推荐(0)
摘要:尝试了很长时间,但是一直报core 5 不可用,当时就崩溃了。 但是偶然的机会 我添加了Microsoft.AspNet.Identity 之后。MD5就好用了。 估计是这个报实现了core5下的MD5 实现代码如下: 阅读全文
posted @ 2016-04-21 13:26 nele 阅读(6988) 评论(2) 推荐(2)
摘要:如果用tag 比如 那么会自动的生成一个 antirequestkey 后台直接使用[ValidateAntiForgeryToken] 阅读全文
posted @ 2016-04-20 19:15 nele 阅读(367) 评论(0) 推荐(0)
摘要:dnvm use 1.0.0-rc1-final -r clr 切换版本 阅读全文
posted @ 2016-03-26 14:10 nele 阅读(156) 评论(0) 推荐(0)
摘要:中文不知如何定义标题,所以干脆就直接贴出关键字,在 ASP.NTE 5 项目的 project.json 配置文件中,会有这样的定义:"frameworks": { "dnx451": { }, "dnxcore50": { }}frameworks 配置的是什么东西?dnx451 和 dnxc... 阅读全文
posted @ 2015-11-19 09:31 nele 阅读(467) 评论(0) 推荐(0)