代码改变世界

随笔分类 -  ASP.NET

[整理]ASP.NET 中异常处理

2015-01-06 16:58 by Benoly, 279 阅读, 收藏, 编辑
摘要: [整理]ASP.NET 中异常处理###1.直接通过重写Controller的OnException来处理异常# public class HomeController : Controller { public ActionResult Index( ) { throw ... 阅读全文

[整理]IIS 6.0 下部署 Asp.net MVC Web Api 后 HTTP PUT and DELETE 请求失败

2014-12-04 13:17 by Benoly, 867 阅读, 收藏, 编辑
摘要: http://guodong.me/?p=1560ASP.NET MVC 4 has a new feature called WebAPI which makes it much easier to create a REST API in ASP.NET. Unfortunately, I ra... 阅读全文

[整理]解析Json需要设置Mime

2014-11-26 17:11 by Benoly, 402 阅读, 收藏, 编辑
摘要: IIS6.01.打开IIS添加Mime项关联扩展名:*.json内容类型(MIME):application/x-javascript 2.添加映射:位置在IIS对应站点右键属性:”主目录”-”应用程序设置”-”配置”-”映射”-”添加”,会打开”添加/编辑应用程序扩展名映射”扩展名:.json运行... 阅读全文

[整理]WebAPI中应用oData

2014-11-24 22:31 by Benoly, 309 阅读, 收藏, 编辑
摘要: http://www.odata.org/http://bitoftech.net/category/odata/http://www.hanselman.com/blog/CreatingAnODataAPIForStackOverflowIncludingXMLAndJSONIn30Minute... 阅读全文

[转载]ASP.NET Error – Adding the specified count to the semaphore would cause it to exceed its maximum count

2014-11-05 17:14 by Benoly, 797 阅读, 收藏, 编辑
摘要: http://jwcooney.com/2012/08/13/asp-net-error-adding-the-specified-count-to-the-semaphore-would-cause-it-to-exceed-its-maximum-count/Justin Cooney / 20... 阅读全文

[转载]asp.net mvc: why is Html.CheckBox generating an additional hidden input

2014-09-02 11:39 by Benoly, 240 阅读, 收藏, 编辑
摘要: http://stackoverflow.com/questions/2697299/asp-net-mvc-why-is-html-checkbox-generating-an-additional-hidden-inputhttp://bbs.csdn.net/topics/390707144“... 阅读全文

[转载]WCF和ASP.NET Web API在应用上的选择

2014-08-26 09:49 by Benoly, 236 阅读, 收藏, 编辑
摘要: http://www.cnblogs.com/shanyou/archive/2012/09/26/2704814.htmlhttp://msdn.microsoft.com/en-us/library/jj823172.aspxhttp://stackoverflow.com/questions/... 阅读全文

[转载]IIS6.0开启WOFF/SVG文件支持

2014-08-25 13:08 by Benoly, 503 阅读, 收藏, 编辑
摘要: http://www.bao21.com/120.htmlhttp://stackoverflow.com/questions/18369036/bootstrap-3-glyphicons-not-working--------------------在iis6.0环境下1、安装的wordpres... 阅读全文

[转载]Getting Started with ASP.NET vNext and Visual Studio 14

2014-08-01 14:20 by Benoly, 483 阅读, 收藏, 编辑
摘要: 说在转载之前的话:ASP.NET框架之前不断做大,而vNext则是从头开始,对ASP.NET框架进行拆分并瘦身,面对不同的需求而更加灵活,各个拆分出来的模块更加轻量。vNext的出现,对ASP.NET开发人员又是一次洗礼,ASP.NET开发人员是辛苦的,但也幸运的;俗话说,不进则退,vNext - ... 阅读全文

[整理]ASP.NET vNext学习资源

2014-08-01 13:53 by Benoly, 342 阅读, 收藏, 编辑
摘要: http://www.hanselman.com/blog/IntroducingASPNETVNext.aspxhttp://blogs.msdn.com/b/dotnet/archive/2014/05/12/the-next-generation-of-net-asp-net-vnext.as... 阅读全文

[转载]信息摘录-2014.5.16

2014-08-01 13:51 by Benoly, 220 阅读, 收藏, 编辑
摘要: 2014年快过半了,在这几个月里,微软诸多产品技术的更新陆陆续续的发布,包括 Windows 8.1 更新包,Windows Phone 8.1 developer preview,SQL Server 2014,Visual Studio 2013 update 2,Office for iPad... 阅读全文

[问题]通过IIS宿主发布WCF服务,客户端添加服务引用出错的解决办法

2014-07-01 10:59 by Benoly, 753 阅读, 收藏, 编辑
摘要: 环境配置:Web服务器:Windows Server 2008,iis7.5,.net4.0客户端:XPsp3 vs2010 sp1问题描述:1.确定WCF服务访问地址 http://service.xxx.com/ActivityLogService.svc可以正常浏览 http://servic... 阅读全文

[ASP.NET]初试Web API

2014-06-05 15:14 by Benoly, 514 阅读, 收藏, 编辑
摘要: Web API 1:需要环境(VS2010/.Net4.0/MVC4 )http://www.asp.net/web-api/overview/creating-web-apis/creating-a-web-api-that-supports-crud-operationsWeb API 2:需要... 阅读全文
点击右上角即可分享
微信分享提示