上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 42 下一页
摘要: 序列化1.什么是“序列化”?2.简单序列化实例?1.什么是“序列化”?http://msdn.microsoft.com/en-us/library/7ay27kt9(v=VS.71).aspxSerialization is the process of converting the state of an object into a form that can be persisted or transported. The complement of serialization is deserializat 阅读全文
posted @ 2011-01-02 16:30 qiang.xu 阅读(263) 评论(0) 推荐(0) 编辑
摘要: 这里写下2011年的愿望:亲人健康,平安快乐生活每一天找到一个自认为不错的实习单位 阅读全文
posted @ 2011-01-02 08:41 qiang.xu 阅读(91) 评论(0) 推荐(0) 编辑
摘要: enterprise library概述1.微软patterns & practices简介2.enterprise library在patterns & practices位置3.enterprise library优点及作用1.微软patterns & practices简介先来看看patterns & practices的logo,很是简洁:用微软官方的话来讲patterns & practices主要是用来解决使用dotnet平台如何进行设计和实现应用程序(Recommendations on how to 阅读全文
posted @ 2010-12-31 09:12 qiang.xu 阅读(229) 评论(0) 推荐(0) 编辑
摘要: 使用ServiceRuntime assembly和windows azure交互1.ServiceRuntime assembly位置2.判定application是否运行在fabric上3.读取ServiceDefinition.csdef配置文件内容1.添加ServiceRuntime assembly引用如果是在vs2010中新建一个cloud工程的话,将会自动添加下面的这几个引用:但是如果是想要迁移application程序到云上,那么必须手动添加assembly引用,位置如下:2.ServiceRuntime作用ServiceRuntime在windows azure和应用程序之间 阅读全文
posted @ 2010-12-30 15:32 qiang.xu 阅读(835) 评论(0) 推荐(0) 编辑
摘要: 让代码讲述process上的秘密1.新建工程2.几个比较重要的后台进程1.新建工程新建一个cloud工程,添加一个web role,添加一个ProcessDetails.aspx页面,前台部分添加一个gridview。 <form id="form1" runat="server"> <div> <asp:GridView ID="processesGridView" runat="server"> </asp:Gri 阅读全文
posted @ 2010-12-30 13:52 qiang.xu 阅读(233) 评论(0) 推荐(0) 编辑
摘要: 这两天一直在和pdf打交道,总结一下这两天的成果。这里需要注意itext使用的是itext 1.4,不同的版本可能在api的形式上存在不同,可能不能兼容,jar下载地址:http://cid-f41b44b9285d0b86.office.live.com/browse.aspx/%e5%85%ac%e5%bc%80%e6%96%87%e4%bb%b6%e5%a4%b9/J2EE%e5%ad%a6%e4%b9%a0%e8%b5%84%e6%96%99%e5%85%b1%e4%ba%ab下面的这个例子中首先生成文件索引(类似word的链接),然后存在一个报表和将图片转换成pdf的形式,代码如下: 阅读全文
posted @ 2010-12-30 13:13 qiang.xu 阅读(7287) 评论(0) 推荐(0) 编辑
摘要: http://www.geek-tutorials.com/java/itext/itext_bookmark_anchor.phppackagecom.geek.tutorial.itext.bookmarks;importcom.lowagie.text.Document;importcom.lowagie.text.pdf.PdfWriter;importcom.lowagie.text.Chunk;importcom.lowagie.text.Font;importcom.lowagie.text.Paragraph;importcom.lowagie.text.pdf.PdfOutl 阅读全文
posted @ 2010-12-29 20:56 qiang.xu 阅读(1061) 评论(0) 推荐(0) 编辑
摘要: 个人代码管理工具V1.0:下载地址:http://cid-f41b44b9285d0b86.office.live.com/self.aspx/%E5%85%AC%E5%BC%80%E6%96%87%E4%BB%B6%E5%A4%B9/ASP.Net%E5%85%AC%E5%BC%80%E9%A1%B9%E7%9B%AE/MyCodeLibrary.rar 阅读全文
posted @ 2010-12-25 11:17 qiang.xu 阅读(600) 评论(0) 推荐(0) 编辑
摘要: 未能加载“程序名.Global”类型,这种错误出现的主要原因是项目中存在错误,修改项目中错误,然后该错误消失。 阅读全文
posted @ 2010-12-22 17:57 qiang.xu 阅读(196) 评论(0) 推荐(0) 编辑
摘要: http://msdn.microsoft.com/en-us/library/97af8hh4.aspxGuid.ToString Method (String)The following table shows the accepted format specifiers for the format parameter. "0" represents a digit; hyphens ("-"), braces ("{", "}"), and parentheses ("(", " 阅读全文
posted @ 2010-12-22 10:32 qiang.xu 阅读(12704) 评论(0) 推荐(0) 编辑
摘要: P/Invoke1.P/Invoke是什么?有何作用?2.简单的使用P/Invoke的demo1.P/Invoke是什么?有何作用?P/Invoke使得C#程序调用非托管的成为可能,例如可以使用P/Invoke来调用win32 api。2.简单的使用P/Invoke的demo2.1 使用P/Invoke直接调用win32 apipublicclassProgram{///<summary>///importkernel32.dll///</summary>///<paramname="source"></param>///&l 阅读全文
posted @ 2010-12-21 19:24 qiang.xu 阅读(3432) 评论(0) 推荐(0) 编辑
摘要: FPDF Library PDF generatorFPDF is a PHP class which allows to generate PDF files with pure PHP, that is to say without using the PDFlib library. F from FPDF stands for Free: you may use it for any kind of usage and modify it to suit your needs.License: Free, no usage restrictons.Supported technology 阅读全文
posted @ 2010-12-21 13:40 qiang.xu 阅读(4410) 评论(0) 推荐(0) 编辑
摘要: 1.为什么需要产生viewstate概念?2.使用demo了解asp.net page的life cycle,进而了解viewstate工作原理?1.为什么需要产生viewstate概念?当 classic ASP 中的表单被提交时,所有的表单值都会被清空。设想一下,您提交了一张带有大量信息的表单,而服务器返回了一个错误。您将不得不返回表单,然后更正其中的信息。您点击后退按钮,然后会发生什么呢... 所有的表单值都被清空了,而您将不得不重新开始所有的一切。站点不会维持您的 ViewState。当 ASP .NET 中的表单被提交时,表单会随所有表单值一同重新出现。如何做到的呢?这是由于 ASP 阅读全文
posted @ 2010-12-20 17:15 qiang.xu 阅读(284) 评论(0) 推荐(0) 编辑
摘要: Beginning in Visual C# 3.0, variables that are declared at method scope can have an implicit typevar. An implicitly typed local variable is strongly typed just as if you had declared the type yourself, but the compiler determines the type. The following two declarations ofiare functionally equivalen 阅读全文
posted @ 2010-12-19 21:56 qiang.xu 阅读(277) 评论(0) 推荐(0) 编辑
摘要: 使用代码来探索vm细节1.新建windows azure工程2.修改Default.aspx页面3.修改后台代码4.运行1.新建windows azure工程2.修改Default.aspx页面&lt;%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="LookkupVMDetails._Default" %&gt;&lt;!DOCTYPE html PUBLIC " 阅读全文
posted @ 2010-12-19 21:51 qiang.xu 阅读(480) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 42 下一页