随笔分类 - Web
摘要:Please refer to the three configure files to check if they contains the rule setting. "%ProgramFiles%\IIS Express\config\templates\PersonalWebServer\A
阅读全文
摘要:IOS 浏览器控件的选择 如果使用WebView 会有滚动事件多次触发问题。 参考 https://developer.apple.com/reference/webkit/wkwebview
阅读全文
摘要:引言 Web.config 通过web.Release.config 和web.Debug.config文件来实现不同编译配置下生成不同的配置文件, 但有时为了区分appSettings节点的配置内容,我们会单独放到一个文件。 以便我们更好的查看,修改(维护),这样我们如何像Web.config 那样优雅的处理这种转换呢? 本文中提及的插件就是解决这个问题的 Vs 插件 ...
阅读全文
摘要:图形界面方式 命令行方式 如果找不到 appcmd Appcmd.exe exists at the location %systemroot%\system32\inetsrv\. You either need to udpate your PATH variable to add the path %systemroot%\system32\inetsrv\ SE...
阅读全文
摘要:问题 用VS做开发时经常用IISExpress测试web程序,那么在测试过程中生成的Log文件放在哪里了? 答案 情况1 默认情况下 applicationhost.config 文中定义了连个日志文件路径:IIS_USER_HOME(即%userprofile%\documents\IISExpress\) 情况2 如果使用命令行运行 IIS Express,...
阅读全文
摘要:引言 WebAPI 现在非常火的轻量服务框架,因其使用得使用了Http协议,并且具备了可协商内容(生成不同内容格式)等优势,所以在互联网业务中被广泛使用。 那作为HTTP最常用的两个方法Get和Post 是什么,他们之间又有哪些区别?这一问题经常成为面试的考点,这里就做一个简短总结,不保证全,但保证对。 什么是HTTP? Hypertext Transfer Protocol (HT...
阅读全文
摘要:参考 ASP.NET MVC 5 with EF 6 - Working With Files Rename, Resize, Upload Image (ASP.NET MVC) ASP.NET MVC Image Uploader
阅读全文
摘要:参考从Membership 到 .NET4.5 之 ASP.NET IdentityExtending Identity Accounts and Implementing Role-Based Authentication in ASP.NET MVC 5ASP.NET Identity 2.0:...
阅读全文