06 2014 档案
摘要:The .Net framework has a number of technologies that allow you to create HTTP services such as Web Service, WCF and now Web API. There are a lot of a...
阅读全文
摘要:1、在使用WebService时我们经常会考虑以下问题:怎么防止别人访问我的WebService? 在System.Net中提供了一个NetworkCredential,只有获得该凭证的用户才能访问相应的服务的权限。在NetworkCredential中,我们通过提供WebService发布所在的...
阅读全文
摘要:在MVC4中,要启动缓存方法是需要在Action前加上OutputCache特性。一、如何使用/// /// 公司简介 /// /// [OutputCache(Duration = 10,Location = OutputCacheLo...
阅读全文