- 博客(12)
- 收藏
- 关注
原创 安装sql server 2016报错误1402(请验证您是否具有足够的权限访问该项/Verify that you have sufficient access to that key)的解决办法
SQL Server Setup fails to Install with Error 1402
2017-05-02 16:16:56
19527
2
转载 WebAPI中HttpContent: StreamContent 和 PushStreamContent 的使用场景
PushStreamContent is for scenarios where you need to 'push' data to the stream, where as StreamContent 'pulls' data from the stream. example:if I want to "stream" content in the "streaming v
2016-10-11 09:57:36
3915
原创 IIS应用程序池回收导致SignalR链接断开的解决办法
最近在测试的时候发现,用SignalR做的实时消息推送程序,部署在IIS上之后间隔一定时间(大概间隔在25-28小时之间)就会断开连接。因为做了异常捕获,但是每次断开的那个时间点都没有异常日志,所以猜测可能不是程序BUG造成的断开。在网上查了下,估计是iis回收的问题。“IIS 为优化服务器性能,会自动对它认为休眠的应用程序(如长时间无人访问)进行资源回收,资源回收时将会导致网站应用程
2015-05-18 14:12:02
11814
1
转载 ASP.NET中 Application_Start 和 Application_End 的触发时机
Application_Start fires when the first user hits your Web site.Application_End fires when the last user in the site's session times out.The Application object exists in the server's memory
2015-05-08 09:56:34
5568
转载 SignalR消息发送后的返回值(Return value in SignalR)
Return ValuesOn question during my lecture about SignalR was, how return values can be achieved. Here we have to look at two cases: first, if the client calls a server method and second, if the se
2015-04-10 11:47:07
5944
转载 .NET工程读取web.config或app.config中的appsettings时的注意事项
The first thing you'll want to do is make sure that the service account has access to the file (if not running as SYSTEM). It sounds like it should be ok though since you mention My.Settings.Setting w
2014-11-07 11:48:54
805
转载 WCF、 Web API、 WCF REST 和 Web Service 的区别
Difference between WCF and Web API and WCF REST and Web Service
2014-11-05 10:58:36
674
原创 "无法为具有固定名称“System.Data.SqlServerCe.4.0”的 ADO.NET 提供程序加载在应用程序配置文件中注册的实体框架提供程序类型“System.Data.Entity.Sq
{"无法为具有固定名称“System.Data.SqlServerCe.4.0”的 ADO.NET 提供程序加载在应用程序配置文件中注册的实体框架提供程序类型“System.Data.Entity.SqlServerCompact.SqlCeProviderServices, EntityFramework.SqlServerCompact”。请确保使用限定程序集的名称且该程序集对运行的应用程序可
2014-10-27 10:59:31
9167
原创 REST WebService 通过IP过滤和签名字段来增强安全
111.111.111.111/test.http://118.122.250.125:8019/AdvertismentService.svc/VendorsGet
2014-10-11 14:46:30
2177
转载 C#中List<T> 和 IList<T> 的比较
从stackoverflow上找的几个观点:【1】IEnumerable allows you to iterate through a collection. ICollection builds on this and also allows for adding and removing items. IList also allows f
2014-10-09 16:05:11
847
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人