随笔分类 -  ASP.NET

Config SCVMM Storage by IBM XIV Storage
摘要:Continue the previous posts, I am planing to create a failover cluster to test the Cluster-Aware Updating. So thedifficulty part for me now, is the Storage part. It is my first time to use the storage part in SCVMM. I got a overview on this page. then I found a very detailed instruction for IBM XIV 阅读全文
posted @ 2012-12-31 19:11 潘安+宋玉 阅读(387) 评论(0) 推荐(0)
Install WSUS on Windows server2012 error
摘要:In order to investigate the new Cluster-Aware Updating function in Windows 8, I need to set up a WSUS server in my Cloud environment. However, after I install the WSUS from the "Add role and feature" in the Server Management, the function doesn't work. it keep on showing the following 阅读全文
posted @ 2012-12-30 19:26 潘安+宋玉 阅读(1035) 评论(0) 推荐(0)
System Center产品相关开发(2)-SCVMM PRO技术
摘要:前一节介绍了SCVMM是什么之后,我们知道SCVMM主要用来虚拟机的管理。那么作为用户,总是希望可以对虚拟机进行自动化的管理,这一点SCVMM也有提供一个Web的接口可以实现虚拟机的Self-Service。但是如何能够最大的话利用机器的资源让虚拟机的利用率最大化呢?于是便有了PRO-Performance and Resource Optimization.这个功能可以自动的将执行于虚拟平台的机器配置到最佳的主机上运行。要运行该功能,需要和SCOM进行相应的结合。 在2008版本需要进行非常复杂的配置。但是在2012版本中,进行了极大的简化。首先介绍下2008中的设置,1.设定SCOM2 在 阅读全文
posted @ 2012-12-29 17:08 潘安+宋玉 阅读(312) 评论(0) 推荐(0)
How to set up BlogEngine.NET manually
摘要:This is the first posts for my newly create blog which is based on Windows Azure Virtual machine. It is very awesome. I can easily RDP to VM and control everything.I choose the BlogEngine.NET as my blog application. I have these reasons:It is based on .NET.I am a .NET programmer. however I work on t 阅读全文
posted @ 2012-12-29 17:05 潘安+宋玉 阅读(254) 评论(0) 推荐(0)
在CustomValidator中使用图片作为ErrorMessage
摘要:[代码] 阅读全文
posted @ 2011-01-10 23:50 潘安+宋玉 阅读(278) 评论(0) 推荐(0)
使用Interop方式快速写Excel
摘要:专门针对Excel2007的读写操作,首先想到的是OpenXml,可以搜了很久,只有一个ExcelPackage,用了之后发现缺胳膊少腿的,还有性能问题,所以还是只能换成老老实实的Interop的方式。但数据量比较大,怎么解决呢?搜索了一下,使用Range的方式,先把数据保存在Object数组中,之后根据设定的大小一次性写入,速度的确提升很多代码Code highlighting produced... 阅读全文
posted @ 2009-12-20 20:00 潘安+宋玉 阅读(429) 评论(0) 推荐(0)
实践MVC+Entity framework+Enterprise Library(2)
摘要:接着昨天的,先讲讲Entity framework创建实体之后,在代码中这么写DbMVCEntities context = new DbMVCEntities();nt count = (from e in context.Usrwhere e.username == usernamewhere e.password == passwordselect e).Count();接着通过count来... 阅读全文
posted @ 2009-02-11 21:54 潘安+宋玉 阅读(1321) 评论(1) 推荐(0)
实践MVC+Entity framework
摘要:使用MVC模仿模板文件做了一个用户的登录,注册,修改密码的功能Controllerusing System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.Mvc;using System.Web.Mvc.Ajax;using MvcTest.Models;namespace ... 阅读全文
posted @ 2009-02-10 22:21 潘安+宋玉 阅读(1820) 评论(0) 推荐(0)
如何在word和pdf中插入文件
摘要:1. word中插入文件[代码]2.pdf中插入文件 需要用到Gnostice PDFtoolkit VCL [代码] 阅读全文
posted @ 2009-01-04 20:21 潘安+宋玉 阅读(5546) 评论(0) 推荐(0)
Mysql与Vs2008
摘要:想自己做个项目,融合一下在园子里学到的新东西由于电脑上没装sql server也懒得装但装了个wampserver,直接集成了mysql 于是要装数据源驱动,找了一下找个一个mysql connector,挺好用的,使用using MySql.Data.MySqlClient;命名空间,和sqlclient基本一直,很方便接着找了一个mysql的图形界面以前用过官方的,感觉一般这次找到一个不错的N... 阅读全文
posted @ 2008-11-29 16:31 潘安+宋玉 阅读(1300) 评论(0) 推荐(0)
Pex 智能化测试
摘要:昨天在园子里看见Pex这么个软件,觉得很神奇下载之后今天试了一下对我们新手来说,很好用啊可以自动的对函数进行测试如果发现问题还可以提示建议的代码,并插入修改http://www.cnblogs.com/zhzkl/archive/2008/11/12/1332129.html这篇文章大致介绍了一下使用方法接着当我们打开 visual studio 2008, 打开/创建 一个项目,点击右键后,会看... 阅读全文
posted @ 2008-11-13 20:56 潘安+宋玉 阅读(434) 评论(0) 推荐(0)