sinxsoft

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

随笔分类 -  .net language

.net language
IIS之应用程序池-Web园-最大工作进程>1时系统出现问题
摘要:问题归纳:1,采用企业库Cache作为缓存后出现部分命中不到缓存对象的情况;静态变量计数器也没有按照预想的结果输出数据。2,Session取不到的情况,出现在web.config配置为sessionState mode="InProc"问题原因: 当最大工作进程>1(=n)的时候,iis会为web应用开辟n个w3wp.exe(或者aspnet_wp.exe)来提供服务,而这些进程是独立的,包括静态变量和缓存等等,等于完全开启了一个新的应用服务器; 当iis接受浏览器请求的时候, iis会自动分配请求到不同的服务进程,这时候,如果前后两次请求没有分配到同一个服务进程,那 阅读全文

posted @ 2012-04-01 14:37 sinxsoft 阅读(623) 评论(0) 推荐(0) 编辑

team explorer everywhere 2010解决license试用到期的问题
摘要:在Eclipse中,执行下述代码String path = System.getProperty("user.home") + File.separator + "Local Settings" + File.separator + "Application Data" + File.separator + "Microsoft";System.out.println(path );得到 path... 阅读全文

posted @ 2010-07-19 10:39 sinxsoft 阅读(400) 评论(0) 推荐(0) 编辑

Linq to oracle 太变态:Contains等函数要反着写:
摘要:上下文:SaaSReportProContext ctx = Factory.SaaSReportProContextFactory.GetSaaSReportProContext();有三个参数:string reportName, string module, String type在linq to sql中 var query = from o in ctx.Reportor where o... 阅读全文

posted @ 2010-07-15 11:35 sinxsoft 阅读(2541) 评论(5) 推荐(0) 编辑

一个简单的powerdesigner模型(oom,pdm)分析器
摘要:由于工作需要,写了一个简单的模型分析器,源码:代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--///<summary>///通过Xml分析powerdesigner模型文件///</summary>publicclassMo... 阅读全文

posted @ 2010-05-21 10:31 sinxsoft 阅读(911) 评论(0) 推荐(3) 编辑

Eclipse中安装支持tfs(team foundation server)的插件team explorer everywhere 2010(二)
摘要:1,安装该插件:首先下载,下载地址:http://www.microsoft.com/downloads/details.aspx?FamilyID=af1f5168-c0f7-47c6-be7a-2a83a6c02e57&displaylang=en文件:InstallTEE.htm记录的完整的安装方法,这里引述一下:Open Eclipse.Note These installatio... 阅读全文

posted @ 2010-05-20 13:56 sinxsoft 阅读(2754) 评论(0) 推荐(1) 编辑

Eclipse中安装支持tfs(team foundation server)的插件team explorer everywhere 2010(一)
摘要:1,首先,看看安装好的Eclipse中插件:点击=>window=>prefrerence=>team 图片如下: 2,在Eclipse的packa explorer中可以看到类似如vsts中的锁定,签出等图标:3,在Eclipse的packa explorer中选中项目,右键菜单可以看到team菜单项,功能与vsts中的十分类似如图:4,在Eclipse中会自动增加一个view... 阅读全文

posted @ 2010-05-20 13:41 sinxsoft 阅读(1267) 评论(0) 推荐(1) 编辑

匿名委托可以访问局部变量,而原始的委托则必须利用别的方法才可以做到
摘要:public class Class1 { public void AddSendTextEventHandler(SendTextEventHandler st) { SendTextEvent += st; } public event SendTextEventHandler SendTextEvent; public void doall() { SendTextEvent("1"); /... 阅读全文

posted @ 2008-09-23 10:07 sinxsoft 阅读(248) 评论(2) 推荐(0) 编辑

LINQ 关键字说明
摘要:关键字 说明 from 指定数据源 where 以&&(AND)或者||(OR)组合的表达式来做数据过滤 select 用于指定查询中返回的结果 group 根据键值,将查询结果分组 into 指定一个临时变量,保存join,group,select的结果 orderby 根据指定值,将查询结果排序 join 连接两个数据源 let 声明查询表达式内部的变量 阅读全文

posted @ 2008-07-16 16:33 sinxsoft 阅读(432) 评论(0) 推荐(0) 编辑

DelegateAndAsync
摘要:using System;using System.Drawing;using System.Collections;using System.ComponentModel;using System.Windows.Forms;using System.Data;namespace DelegateAndAsync{/// <summary>/// Form1 的摘要说明。/// &l... 阅读全文

posted @ 2006-04-07 14:46 sinxsoft 阅读(234) 评论(0) 推荐(0) 编辑

.Net十种必备工具 .Net工具(收藏)
摘要:本文讨论: • 用于编写单元测试的 NUnit • 用于创建代码文档资料的 NDoc • 用于生成解决方案的 NAnt • 用于生成代码的 CodeSmith • 用于监视代码的 FxCop • 用于编译少量代码的 Snippet Compiler • 两种不同的转换器工具:ASP.NET 版本转换器和 Visual Studio .NET 项目转换器 • 用... 阅读全文

posted @ 2006-03-02 16:19 sinxsoft 阅读(514) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示