<?xml version="1.0" standalone="yes"?>
<?xml-stylesheet type="text/xsl" href="css/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>intro to all Computer programming,how to,guide,examples, - Asp.net Tutorials</title><link>http://teachmeasp.net/</link><description>Asp tutorials,Php tutorials,jsp tutorials,Html tutorials,cgi tutorials,xml tutorials, examples,articles, resources,source code, and links - </description><generator>RainbowSoft Studio Z-Blog 1.8 Spirit Build 80722</generator><language>zh-CN</language><copyright>Copyright 2010 teachmeasp.net. Some Rights Reserved.</copyright><pubDate>Sun, 05 Sep 2010 18:47:18 +0800</pubDate><item><title>Teach you how to restore a missing data file</title><author>a@b.com (rain)</author><link>http://teachmeasp.net/post/577.html</link><pubDate>Tue, 03 Mar 2009 09:37:52 +0800</pubDate><guid>http://teachmeasp.net/post/577.html</guid><description><![CDATA[<br/> <br/><p style="text-indent: 2em;">Kamus asked about a problem yesterday,If have a cold backup,But be short of lost document of among them a data,But put in all file,How should restore data file.</p><p style="text-indent: 2em;">Start work try,It is following measure probably: </p>...]]></description><category>Asp.net Tutorials</category><comments>http://teachmeasp.net/post/577.html#comment</comments><wfw:comment>http://teachmeasp.net/</wfw:comment><wfw:commentRss>http://teachmeasp.net/feed.asp?cmt=577</wfw:commentRss><trackback:ping>http://teachmeasp.net/cmd.asp?act=tb&amp;id=577&amp;key=fd371509</trackback:ping></item><item><title>The technology is analysed:The advantage of.NET and inferior position</title><author>a@b.com (rain)</author><link>http://teachmeasp.net/post/667.html</link><pubDate>Tue, 03 Mar 2009 09:37:52 +0800</pubDate><guid>http://teachmeasp.net/post/667.html</guid><description><![CDATA[<br/> <br/>Since 　 .NET Framework appears on the market inside Japan from March 2002,Up to now already a year superabundant.According to reckonning the standard is compositive the OS of.NET Framework- - Windows Server 2003 will appear on the market at was in Japan in May 2003.As.NET environment perfect,Contend as enough the system of Java builds a base,Development staff needs to know.NET Framework.The advantage that the author analyses.NET below and inferior position.XML Web service did not become the fuse 　 　 that popularizes.NET the people before this is thinking all the time:" to.NET,Whether to put in what be different from Java, distinctive applied domain and market?" .Inside 　 　 course of study think generally,System of Microsoft new generation builds an environment- - .NET Framework is what to development comes out is in on the foundation that studies Java.Not only function and framework likeness,And because be,after Java development comes out,The function that does not have because of this Java place is everywhere more visible.Realize function of process of incident drive application to wait in Web application for instance.Though,　 　 does not pass such,If just tell an user " .NET Framework is better than Java much " ,So the motive that Java develops personnel to turn designedly and uses.NET Framework won't be too strong.　 　 because Java already go ahead of the rest gathered extensive applied fruit,The experience that accumulated a lot of enough to offset its weakness and platform tool.Should not appear only the utility that Java uses hard and market,So.NET Framework develops further with respect to what prevent Java very hard.The advantage of.NET:Branch of business information system but 　 of 　 of proper motion process designing just began,Microsoft the dominant position that develops XML Web service to serve as.NET easily publicize substantially.With XML Web the service is premise and the.NET of the design and Web service have extremely tall endophilicity.But the generation that XML Web serves is later however.Although the to it expectation inside course of study and attention rate are higher,But because can make full use of,XML Web serves " can make money " business mode have not establish,Compare its market with Web site photograph at present so still negligible.Among them,The function that Java respect also is intensifying perfecting facilitating development XML Web to serve.　 　 so,The distinctive utility that whether is put in.NET?A result that the author gets through interviewing place is:.NET develops a tool- - of Visual Studo.NET use a gender easily to make it comes true very hard in Java " user enterprise (information system branch) also programmable system " on preterhuman directly.The author thinks the likelihood returns existence other such domain.Of course,Although the standard language VB.NET of.NET and C# are as complex like Java,But Visual Studo.NET eliminated this kind of complexity well however.　 　 for instance,Japanese orchid greens jade (NOEVIR) the information system branch that relies on oneself only finished Web factorial support a system arrive from layout the complete work of process designing.Compositive dealer ever represented a system of Japanese,In the user company that this bellwether joins Java system " the information system branch that chooses.NET is developed with respect to hopeful proper motion or undertake modification to the system " .　 　 author thinks,Because Java itself is relatively complex,And not easy study masters,Accordingly " user enterprise is in charge of layout only,And the phenomenon that commends process designing work completely compositive business is very common " .　 　 is mixed in COBOL VB (client business / server) flourishing period,Information system him branch is process designing, right the system undertakes the function is increased be modificationed partly mixing is very normal thing.If connect petty system to revise,wrap,So systematic maintenance cost nature will be very tall,Will lose flexibility accordingly.The professional ability that weakens information system branch likely still even.Respecting layout,Sound Orphean,But if join general case,also do not understand,It is very as difficult as development business bargaining to be afraid.A this perhaps is Java " malpractice " .　 　 in addition," cost is lower than UNIX " and " can make full use of Windows technology natural resources " wait for a reason to also be in those who quicken.NET Framework to gain ground.Carry as the client / the development environment of server system,The follow-up language of VB- - in.NET " Windows Form " have competition ability most.More and more systems are compositive business begins to choose this one tool to build a system.The inferior position of.NET:Little, open sex needs applied gain 　 　 on the contrary,The inferior position of.NET depends on the applied achievement in large system little, lack " open sex " .　 　 to applied achievement,Its amount will increase ceaselessly henceforth.It is reported,The system that Japanese Kabu.com negotiable securities will use.NET Framework to build this company to use ASP to build at present afresh in the round inside 2003 year.　 　 is in " open sex " respect will how?Java all-pervading is main the element is very much,But the author thinks among them the most crucial depend on " open sex " .Because can move on all sorts of OS,And business of a lot of development still provided Web application server and development tool,Because this user is OK random selection.And development business is passed in function and performance side mutual competition raises product level ceaselessly.　 　 and.NET Framework how?In wanting to apply at business system only,Its OS actually criterion can Windows of be confined to.Although Microsoft had offerred FreeBSD edition.NET Framework,But its purpose is confined to learning to consider.What people will expect 　 　 henceforth is Mono Project.Mono Project is to point to complete independence at the Microsoft, plan that developing.NET Framework of open source edition.What dominant should plan is a Linux enterprise that the name is Ximian,This company developed GNOME of environment of Linux standard desktop successfully,Already got at present the wide attention of industry.The Web that 　 　 should plan to still release moving Web to apply program ASP.NET in January 2003 serves software XSP.Although a lot of functions still are in development,But at present development work goes well.At present the front undertakes developing to Linux and Windows.Say according to Mono Project,The part that relies on Linux as a result of this software is not much,Can transplant easily to other UNIX OS accordingly.　 　 whether forming the open environment like Mono will be place of.NET all-pervading key.Microsoft has standardized orgnaization ECMA to industry at present (European computer Manufacturers Association) referred.NET standard,This action shows Microsoft will use open level.But still not be clear about this action at present is a kind of simple attitude only,True still wanting opens.NET.This is about to see Microsoft whether will continue to publish enough relative standard and information henceforth....]]></description><category>Asp.net Tutorials</category><comments>http://teachmeasp.net/post/667.html#comment</comments><wfw:comment>http://teachmeasp.net/</wfw:comment><wfw:commentRss>http://teachmeasp.net/feed.asp?cmt=667</wfw:commentRss><trackback:ping>http://teachmeasp.net/cmd.asp?act=tb&amp;id=667&amp;key=8c1e0f4c</trackback:ping></item><item><title>Big file uploads research in ASP.NET application</title><author>a@b.com (rain)</author><link>http://teachmeasp.net/post/583.html</link><pubDate>Tue, 03 Mar 2009 09:37:52 +0800</pubDate><guid>http://teachmeasp.net/post/583.html</guid><description><![CDATA[<br/> <br/>　 　 often should be used to big file to upload in the project,The file that should upload has 100 much M,The comparison that the package discovery that the big document that studies home is used now then uploads uses has two more to accuse an AspnetUpload 2.0 and Lion.Web.UpLoadModule,Two accuse the method is:Use implicit HttpWorkerRequest,The cent in the Pipe that the GetPreloadedEntityBody that uses it and ReadEntityBody method build for ASP.NET from IIS piece read access to occupy.Chris Hynes offerred a such program for us (with HttpModule) ,This plan besides allowing you to upload big file,Still can show in real time upload plan.<br><br>　 　 Lion.Web.UpLoadModule and AspnetUpload two.NET component is this program that use.<br><br>When 　 　 should upload simple document,The method of two software is same,Successive HttpModule<br><br><br/>...]]></description><category>Asp.net Tutorials</category><comments>http://teachmeasp.net/post/583.html#comment</comments><wfw:comment>http://teachmeasp.net/</wfw:comment><wfw:commentRss>http://teachmeasp.net/feed.asp?cmt=583</wfw:commentRss><trackback:ping>http://teachmeasp.net/cmd.asp?act=tb&amp;id=583&amp;key=03450e27</trackback:ping></item><item><title>Plot of double amortize technology is used below.NET frame</title><author>a@b.com (rain)</author><link>http://teachmeasp.net/post/582.html</link><pubDate>Tue, 03 Mar 2009 09:37:52 +0800</pubDate><guid>http://teachmeasp.net/post/582.html</guid><description><![CDATA[<br/> <br/><p>The article basically introduces 　 　 the main plot technology of.Net frame.The advantage that will discuss plot technique through brief introduction and program of give typical examples, inferior position and other are relevant note.<br><br>　 　<strong>Brief introduction</strong><br><br>When 　 　 should write the program of system of Windows window of a model fortunately,Window body and accuse the operation such as scale, effect is not to need special those who try to consider.This is why?Through using.Net frame because of,Development staff can procrastinate move a series of accuse to window body,Write a few simple as associated as incident photograph code to press F5 in IDE next,A complete window system program was born!All accusing him him scale,Window body perhaps accuses size and shrink put adjust freely.Use via regular meeting here,And need causes what notice at one o'clock to dominate a result namely.Game,From the definition chart accuses and the writes the compose outside can needing programmer specified number to be used at answering Paint incident code of screen protection program.<br><br>The article is aimed at 　 　 to body of those Windows window develop personnel and conduce to them using simple plot technology in using to program process.Above all,We can discuss a few basic plot ideas.After all who is in charge of undertaking scale is operated?Program of system of Windows window is to know what when should undertake scale?Those scale code are placed where to be after all?Later,The double buffer technology that still will introduce image scale,You will see what how work it is,How realize cache and the picture that show actually through a method between alternant.Finally,We will be discussed " intelligence is invalid area " ,Weigh draw actually merely namely the invalid part on body of window of process of cleared perhaps application,The indication that accelerates a program and answer speed.The person that hope these concepts and technology can make introduction reads the article,And conduce to mix more quickly program of more effective system of window of development Windows.<br><br>Engine of image of use GDI+ of body of 　 　 Windows window,All plot code in the article can be involved use mandatory.Net frame to operate and use engine of Windows GDI+ image.<br><br>　 　 although the article is used at main window body plot to operate,But it was offerred likewise fast, effective and conduce to the technology that improves program performance and method.So,Before understanding chrestomathy language proposal reader has a basic knowledge to.Net frame,Include episode of body of Windows window Line of processing, simple GDI+ object for example,Pen and Brush.Familiar Visual Basic.Net or C# programming language.<br><br>　 　<strong>Concept</strong><br><br>Process of 　 　 Windows application is him of responsible scale,When body of a window " sordid " ,That is to say window body changed size,Or part by cover of body of other program window,Or from the smallest when changing condition to restore,The information that the program can receive need scale.Windows plants this " sordid " condition is called " invalid (Invalidated) " condition,Our understanding is:Need weighs draw,When program of system of Windows window need weighs draw window it is met when body the information that gets scale from inside Windows message alignment.Go in the PaintBackground that course.Net frame encloses this information to deliver window form next and Paint incident,Proper in afore-mentioned incident book writes the code that is used technically at scale can.<br><br>The plot give typical examples with 　 simple 　 is as follows:<br><br></p>...]]></description><category>Asp.net Tutorials</category><comments>http://teachmeasp.net/post/582.html#comment</comments><wfw:comment>http://teachmeasp.net/</wfw:comment><wfw:commentRss>http://teachmeasp.net/feed.asp?cmt=582</wfw:commentRss><trackback:ping>http://teachmeasp.net/cmd.asp?act=tb&amp;id=582&amp;key=99ad3a1f</trackback:ping></item><item><title>Different Web accuses a photograph intermodulation between to use in Asp.net 2.0</title><author>a@b.com (rain)</author><link>http://teachmeasp.net/post/581.html</link><pubDate>Tue, 03 Mar 2009 09:37:52 +0800</pubDate><guid>http://teachmeasp.net/post/581.html</guid><description><![CDATA[<br/> <br/><p>In Asp.net 2.0,Should accuse in different Web between call each other,Must want %26lt;%@ Reference VirtualPath=%26quot; another control a name %26quot; %26gt; will cite,Citing is as follows</p><p>Default.aspx: <br>%26lt;form Id=%26quot;form1%26quot; Runat=%26quot;server%26quot;%26gt;<br>       %26lt;uc1:WEbUserControl Id=%26quot;WebUserControl1%26quot; Runat=%26quot;server%26quot;%26gt;<br>       %26lt;/uc1:WEbUserControl%26gt;<br>            %26lt;uc2:WEbUserControl2 ID=%26quot;WebUserControl2_1%26quot; Runat=%26quot;server%26quot; /%26gt;<br> %26lt;/form%26gt;</p>...]]></description><category>Asp.net Tutorials</category><comments>http://teachmeasp.net/post/581.html#comment</comments><wfw:comment>http://teachmeasp.net/</wfw:comment><wfw:commentRss>http://teachmeasp.net/feed.asp?cmt=581</wfw:commentRss><trackback:ping>http://teachmeasp.net/cmd.asp?act=tb&amp;id=581&amp;key=929d929e</trackback:ping></item><item><title>How to make full use of ASP.NET 2.0 is compiled beforehand</title><author>a@b.com (rain)</author><link>http://teachmeasp.net/post/580.html</link><pubDate>Tue, 03 Mar 2009 09:37:52 +0800</pubDate><guid>http://teachmeasp.net/post/580.html</guid><description><![CDATA[<br/> <br/><br/><p>When personnel often hears an user to complain to call applied program first, the development of 　 　 ASP.NET 1.x can encounter initialization delay.After all,The first time the request can initiate process of a series,Include to run library initialization, analysis, compile ASPX page into intermediate language, compile the method into this locality code to wait a moment immediately.</p>...]]></description><category>Asp.net Tutorials</category><comments>http://teachmeasp.net/post/580.html#comment</comments><wfw:comment>http://teachmeasp.net/</wfw:comment><wfw:commentRss>http://teachmeasp.net/feed.asp?cmt=580</wfw:commentRss><trackback:ping>http://teachmeasp.net/cmd.asp?act=tb&amp;id=580&amp;key=d5af7810</trackback:ping></item><item><title>The HttpCookie of Asp.net writes a Chinese character to read the means of settlement that when taking, piles up for chaos</title><author>a@b.com (rain)</author><link>http://teachmeasp.net/post/585.html</link><pubDate>Tue, 03 Mar 2009 09:37:52 +0800</pubDate><guid>http://teachmeasp.net/post/585.html</guid><description><![CDATA[<br/> <br/><p> A student little sister asks me today:The Chinese character is kept in the HttpCookie of Asp.net,Read why is taking a cost random code completely?Actually this is because of what the character codes and cause,The Chinese character is two encode,Just can produce so so random code comes out!The method that solves actually is very simple:When wanting to writing Cookie only,Code its with Url first,Write again next,Read when us when taking again decipher with respect to OK,Hope more student little sisters can solve it,Breathe out ah!</p>...]]></description><category>Asp.net Tutorials</category><comments>http://teachmeasp.net/post/585.html#comment</comments><wfw:comment>http://teachmeasp.net/</wfw:comment><wfw:commentRss>http://teachmeasp.net/feed.asp?cmt=585</wfw:commentRss><trackback:ping>http://teachmeasp.net/cmd.asp?act=tb&amp;id=585&amp;key=a80f99c2</trackback:ping></item><item><title>The consideration of function of ASP.NET 2.0 page</title><author>a@b.com (rain)</author><link>http://teachmeasp.net/post/578.html</link><pubDate>Tue, 03 Mar 2009 09:37:52 +0800</pubDate><guid>http://teachmeasp.net/post/578.html</guid><description><![CDATA[<br/> <br/>Usually we are in 　 　 normally in a page,Incident of knot hinge face handles a model,By order step by step statement handles a process individually.The synchronism that this says namely is handled (Synchronous) ,We are OK the very convenient order that defines page processing.Although synchronous processing is very convenient,But can reveal serious problem when time-consuming tall request is handled,In tall concurrent on website production server,Because.net processing is,be based on so called ThreadPool,And the processing line Cheng in Threadpool is finite,If the line Cheng in current ThreadPool is already all spent,After that if afterwards has ceaseless large-scale request again,The function of the server with respect to can serious fall,More serious still can make the server breaks down.The it how come namely is better to how come namely use.net ThreadPool with our so most care.The function of the play that makes.net better.<br><br>This must talk about 　 　 respecting the asynchronous of.net is handled (Asynchronous) , the model is BeginXXX commonly, endXXX, beginXXX returns an IAsycResult object,The information that includes pair of current asynchronous operations among them,And EndXXX user accepts return of value,Output parameter..net allocates Cheng of a free line to return ThreadPool instantly next to BeginXXX from inside ThreadPool, when when asynchronous handles an end,.net allocates Cheng of a free line to be used at handling EndXXX method from inside ThreadPool again.The thing that so possibly enough line Cheng is used at handling other.See at length the asynchronous that we talk about Asp.net 2.0 only here handles a model,We know to be in 1.x when wanting the very good asynchronous that builds a page to handle is more troublesome,Microsoft early realised the likelihood this,The new page that introduces in the version of 2 so handles a model,Joined convenient asynchronous to handle an aspect (Asynchronous Point) between PreRender incident and PreRenderComplete incident,In this asynchronous dot,The page needs to await all asynchronous processing to be finished,Any results that can achieve your need before the page appears so,Great the method that simplified to build asynchronous page.<br><br>　 　 joins Async="true" in the @page statement that you want to building a page above all,This is must.The setting tells Asp.net to want to choose IHttpAsyncHandler to handle current page.What next you need to do is in Page_Load incident processing use asynchronous handles a process commonly,There are two kinds of ways now:<br><br>　 　 uses Page.AddOnPreRenderCompleteAsync method the first kind to handle the Begin that needs asynchronous processing and End method volume namely. As follows:<br><br><br/>...]]></description><category>Asp.net Tutorials</category><comments>http://teachmeasp.net/post/578.html#comment</comments><wfw:comment>http://teachmeasp.net/</wfw:comment><wfw:commentRss>http://teachmeasp.net/feed.asp?cmt=578</wfw:commentRss><trackback:ping>http://teachmeasp.net/cmd.asp?act=tb&amp;id=578&amp;key=a9083885</trackback:ping></item><item><title>The characteristic of.NET string,criterion how is expression amid applied</title><author>a@b.com (rain)</author><link>http://teachmeasp.net/post/586.html</link><pubDate>Tue, 03 Mar 2009 09:37:52 +0800</pubDate><guid>http://teachmeasp.net/post/586.html</guid><description><![CDATA[<br/> <br/><br/><p>　　不管创建什么类型的应用程序，你都需要使用字符串。无论数据如何存储，终端用户总要与可读的文本打交道。因此，了解如何使用字符串是任何.NET开发者创建丰富的应用程序所需要学习的必要知识。除了向你展示在.NET框架中字符串的使用外，本文还将向你介绍正规表达式的知识。<br><br>　　除了向你展示如何使用.NET框架中的字符串外，本文还将向你介绍正规表达式。正规表达式是格式代码，不仅允许你验证一个特定字符串匹配一个给定的格式，而且你还可以使用正规表达式来从任何其它可能被认为是自由格式的文本中提取有意义的信息，例如从用户输入中提取第一个名字，或从一个数字输入中提取代码，或从一个URL中提取服务器名。<br><br>　　一、 使用字符串<br><br>　　使用字符串是创建高质量应用程序的一个必要的技巧。即使你在处理数字或图像数据，终端用户也需要上下文反馈。本文将向你介绍.NET字符串，如何格式它们，操作它们和比较它们，及其它有用的操作。<br><br>　　(一) .NET字符串简介<br><br>　　在.NET框架和通用语言运行时刻(CLR)以前，开发者总是花费大量时间处理字符串。一个字符串例程可重用库几乎是每一个C和C++程序员的工具箱中的一部分。编写在不同程序语言之间交换字符串数据的代码也是相当困难的。例如，Pascal把字符串存储为一个内存字符数组，其中，该数组的第一个元素指示字符串的长度；而C把字符串存储为一个具有可变长度的字符内存数组，字符串的末端加上一个ASCII null字符(在C中以"\0"表示)。<br><br>　　在.NET框架中，字符串以常量方式存储。这意味着，当你用C#(或任何其它.NET语言)创建一个字符串时，该字符串以一种固定大小存储在内存以便 CLR运行更快些。结果是，当你实现例如连接字符串或修改一个字符串中的单个字符时，CLR实际上是创建你的字符串的多个副本。<br><br>　　C#中的字符串与其它值类型例如整数或浮点数声明方式相同，见下面的例子:<br><br></p>...]]></description><category>Asp.net Tutorials</category><comments>http://teachmeasp.net/post/586.html#comment</comments><wfw:comment>http://teachmeasp.net/</wfw:comment><wfw:commentRss>http://teachmeasp.net/feed.asp?cmt=586</wfw:commentRss><trackback:ping>http://teachmeasp.net/cmd.asp?act=tb&amp;id=586&amp;key=f36f7dda</trackback:ping></item><item><title>RSS is made (C#) - use XML DOM</title><author>a@b.com (rain)</author><link>http://teachmeasp.net/post/576.html</link><pubDate>Tue, 03 Mar 2009 09:37:52 +0800</pubDate><guid>http://teachmeasp.net/post/576.html</guid><description><![CDATA[<br/> <br/><p>The RSS of the website cites with two kinds of forms commonly.One kind is the Xml file that has existed,Undertake updating to its when updating a database next,Perhaps use other to safeguard a program to be updated for its.Another kind is RSS file is made in trends,When visitting certain address namely,The service carries a method to be read from the database take newest record,Make RSS file,The person that return a visit.</p>...]]></description><category>Asp.net Tutorials</category><comments>http://teachmeasp.net/post/576.html#comment</comments><wfw:comment>http://teachmeasp.net/</wfw:comment><wfw:commentRss>http://teachmeasp.net/feed.asp?cmt=576</wfw:commentRss><trackback:ping>http://teachmeasp.net/cmd.asp?act=tb&amp;id=576&amp;key=3bdf0c00</trackback:ping></item></channel></rss>
