摘要:
using (Entities com = new Entities()){com.Configuration.UseDatabaseNullSemantics = true;}EF+MVC+cod First项目性能优化总结1.EF:this.Configuration.UseDatabaseNu... 阅读全文
摘要:
Jexus简介 Jexus web server for linux 是运行在Linux上的Web服务器。其安装和部署及其简单,直接支持Asp.net 。下载Jexus wgethttp://linux.j66.net/down/jexus-5.0.2.tar.gz然后解压: tar -zxv ... 阅读全文
摘要:
做前端的,用Ajax获取数据,是常有的事情,同域下自然没问题了,如果是不同域获取数据,浏览器就有个同源策略的限制。 如图: Origin * is not allowed by Access-Control-Allow-Origin 有人会说用JSONP了。如果后台的数据接口只是返回单纯的json数 阅读全文
摘要:
SQL Server Cpu 100% 的情况并不太常见,一般引起 SQL Server 产生性能问题的,都是 阻塞、连接数、IO 磁盘等。所以,一般SQL Server 的使用率都是比较低的。但是,在有些情况下,还是会出现Cpu 100%的情况的。SQL Server 在做哪些操作的时候,会比较集... 阅读全文
摘要:
Open Web Interface for .NET (OWIN)defines an abstraction between .NET web servers and web applications. By decoupling the web server from the applicat... 阅读全文
摘要:
Base64 报错 的解决办法, 报错如下:1. FormatException: The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding charac 阅读全文