IIS6.0中.net1.1程式與.net2.0程式的相容性問題.

今天在給一台老伺服器升級Asp.net程式.舊的程式是用.net1.1下寫的,由於是階段性升級,因此需要保留部分舊程式.之前接觸過少許.net framework的升級工作,一般都是全部部署新版本的程式,因此都只是裝下.net

Atlas提交中文時亂碼的完整解決方案.

Ajax中最常出現的一個問題就是服務端的包含中文的Response被XmlHttp編碼後變成亂碼.Atlas中也同樣存在這個問題.這雖然不是什麼大問題,但有時候確實很令人煩惱,現給出我的兩個解決方案,有需要的朋友可以參照解決.1).修改web.config編碼為<globalization requestEncoding="utf-8" responseEncoding="utf-8"/>,若之前你的編碼為gb2312,這次的改動可能會帶來其他頁面的亂碼出現,那你只好整站統一utf-

簡單的WEB程式壓力測試.

前段時間有台伺服器因為未知的原因常常黑屏,昨日剛把伺服器給取了回來先是重裝了一下系統.因為上次出問題的原因並沒有找到,訪問量過大也是有可能的,於是我準備對這台伺服器上部署的WEB程式進行一次壓力測試.我之前並沒有正式的對程式進行過壓力測試,在VSTS2005中內建的LoadTest就是做壓力測試用的,不過我這次使用的並不是它,而是Microsoft的另一個小的軟體:Microsoft Web Application Stress

Overcome limitation of activate ActiveX control in IE

After installing the ActiveX update patch, some webpages which contain some ActiveX controls (such as media player) will require users to manually activate such controls by clicking on it or using the TAB key and ENTER key, this is by design for

使用Popup視窗建立無限級Web頁菜單(8)

    最後總結一下樣本中的一些小問題,沒有什麼太重要的東西,主要都是為了UI上更好看些。     顯示特效的支援,使用style的filter來實現的,代碼:

把JScript函數類比為”非同步執行”方式

    我們知道"同步"和"非同步"這個概念主要是對線程來說的,這裡怎麼能把JScirpt的函數弄成非同步方式來執行呢?! 這樣做又有什麼意義呢?    當我們使用JScript來操作DHMTL元素的時候,DHTML元素的可視更新是和指令碼的執行範圍有關的,也就是說指令碼的執行是必須"間斷"的,從而讓IE的從message pump裡拿到onpaint事件訊息,否則DHTML 屬性變化引起的的可視化更新並不會馬上發生。前面說的"間斷"不是真正意義上的程式中斷,而是指令碼執行的一個範圍的變化。  

.net2.0中調用非託管組件出現的問題及其解決方案.

VS2005的bug還是多...今天又被我找著一個.在今天寫的另一篇文章 .net組件調用VC組件時的資料類型問題.

3.23微軟TeamFoundation Server主題研討會

下午2點,和公司幾個同事去參加微軟的一個關於TeamFoundation

IOC:主要概念

 題記:         這是一篇譯文,出自Castle的官方網站的文檔中心,圍繞著IOC的基本概念介紹了Castle裡面的MicroKernel 和Facility等,對於想學習Castle.Windsor的朋友來說,仔細閱讀本文將讓之後的學習有個較為清晰的輪廓.E文好的朋友可以直接去看原文,地址是:http://www.castleproject.org/index.php/IoC:Main_concepts 

How can use window.showModalDialog to open a .aspx page pop up window.

Issue Description I want to use window.showModalDialog to open a pop up window and then select a value in the Pop up window and return it back to Opener window. My pop up window is an .aspx page that contains a radio button list (a list of citys).

使用CheckBox的indeterminate屬性的問題

    我們在使用Windows XP的檔案夾屬性對話方塊時,會發現檔案夾的Attributes分類裡的Read-only和Hidden選項有時不是完全的checked或unchecked狀態,而常常是一種雖然已被打勾但背景又是灰色的狀態。其實這種不確定的CheckBox狀態Web中也是可以表現的。      在Web頁面中,我們可以使用<input id="chkb"

擷取Html元素在頁面中的絕對位置及問題(1)

   在Web開發中如果要想隨心所欲的自由控制HTML元素,我們很多時候需要獲得HTML元素在頁面中的絕對位置(就是相對於瀏覽器的左上方座標(0,0))。   這個位置的擷取其實並不難,由於每個Html元素提供了一組和位置相關的屬性,他們是:

Remove duplicate items from collection

public void RemoveDuplicatesByName(){    List<Posting> postings = GetAllPostings();    postings.Sort();    for (int i = 1; i < postings.Count; i++)    {        if (postings[i].Name == postings[i - 1].Name)        {            postings.Remove

Remove duplicate rows from a table

Here is the thing, if we have a table with the following structure, there are thousands of records in this table, and probably some of which is duplicated. Now we need to delete those duplications by a sql query, what we should do? CREATE TABLE [dbo]

Using Explorer to get files in the GAC

    Last year, I mentioned a trick about how to copy dll from GAC, but the approach is very inconvenient. Today I saw a really awesome artile Using Explorer to get to physical files in the GAC from Jeff Key. The Explorer extension the framework

使用XMLHTTP Request Object擷取伺服器資料

    在Web用戶端使用xmlhttp對象,可以十分方便的和伺服器交換資料,我們可以擷取和發送任何類型的資料,甚至位元據到伺服器上。xmlhttp技術同時也是目前大多數無重新整理頁面使用的和伺服器交換資料的方式,這種方式比以往的隱藏iframe的方法要方便和經濟的多。     同時讓我們高興得是xmlhttp並不是IE特有的東西,雖然目前還不是W3C的標準,不過IE, Netscape/Mozilla, 和Safari都支援。在IE中我們使用new ActiveXObject('MSXML2.

“401: Access Denied” when you call webservice in your webpart.

    I recently ran into a big problem when I work on my ListAggregation webpart, the webpart need to pull some lists data from remote Wss site into my local Wss site, these two servers are not in the same domain, and all use the NTLM credential. So

JScript內建對象Array中元素的刪除問題

    我們知道JScript給我們提供了一個內建的數組對象Array。Array對象除了提供了constructor、length和prototype外,還預設提供了13個方法:concat、join、pop、push、reverse、shift、slice、sort、splice、toLocaleString、toString 、unshift和valueOf,可是沒有提供delete方法。   

Code view is missing in SharePoint Designer Beta 2 when you try to edit a WSS v3 site.

When you open up SharePoint Designer Beta 2 and try to edit a site, you will find that the code view is not there as usual even though you have full permissions of this site.By default, SharePoint Designer uses the Contributor Mode, and you will be

總頁數: 61357 1 .... 8850 8851 8852 8853 8854 .... 61357 Go to: 前往

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.