<strike id="5ntnv"><i id="5ntnv"><del id="5ntnv"></del></i></strike>
<strike id="5ntnv"></strike><ruby id="5ntnv"></ruby><del id="5ntnv"><dl id="5ntnv"><del id="5ntnv"></del></dl></del><strike id="5ntnv"><dl id="5ntnv"><del id="5ntnv"></del></dl></strike>
<strike id="5ntnv"></strike>
<strike id="5ntnv"></strike>
<span id="5ntnv"><dl id="5ntnv"></dl></span>
<strike id="5ntnv"><i id="5ntnv"><del id="5ntnv"></del></i></strike><th id="5ntnv"><noframes id="5ntnv"><span id="5ntnv"><dl id="5ntnv"><del id="5ntnv"></del></dl></span>
<span id="5ntnv"></span>
<strike id="5ntnv"><dl id="5ntnv"><del id="5ntnv"></del></dl></strike>
<strike id="5ntnv"><dl id="5ntnv"><del id="5ntnv"></del></dl></strike><strike id="5ntnv"><i id="5ntnv"></i></strike><span id="5ntnv"></span>
<strike id="5ntnv"></strike>
<strike id="5ntnv"></strike>
<th id="5ntnv"><noframes id="5ntnv">
<ruby id="5ntnv"></ruby>
<strike id="5ntnv"><dl id="5ntnv"></dl></strike>

貴州網站建設公司貴州網站建設公司

本周ASP.NET英文技術文章推薦[09/30

本周ASP.NET英文技術文章推薦[09/30-07/13]:.NETFramework、本周JSON、英文GoogleAnalytic

閱讀次數:157 次  來源:admin  發布時間:

摘要

本期共有9篇文章:

.NET Framework源代發發布 Tip/Trick:在.NET 3.5中編寫ToJSON擴展方法 在Google Analytics中統計訪客瀏覽器的技術Silverlight啟用狀況 使用文本編輯器開發并部署ASP.NET Web應用程序 在ASP.NET 2.0中編寫類似Gmail的文件上傳系統 各種非微軟數據庫在.NET環境下Driver的列表 2007年的10個非常有用的Web開發相關文章 可直接編輯的GridView 在Windows XP、2k3和Vista中遠程管理IIS 7

[1] Releasing the Source Code for the .NET Framework Libraries (.NET Framework源代發發布)

Scott在Blog中聲稱微軟公司將部分公開.NET Framework的文章源代碼,為避免曲解,推薦這里引用他的本周原文,如下:

We'll begin by offering the source code (with source file comments included) for the .NET Base Class Libraries (System,英文 System.IO, System.Collections, System.Configuration, System.Threading, System.Net, System.Security, System.Runtime, System.Text, etc), ASP.NET (System.Web), Windows Forms (System.Windows.Forms), ADO.NET (System.Data), XML (System.Xml), and WPF (System.Windows). We'll then be adding more libraries in the months ahead (including WCF, Workflow, and LINQ). The source code will be released under the Microsoft Reference License (MS-RL).

源代碼發放的許可是MS-RL,這是技術一個非常嚴格的許可,通俗來講就是文章讓你看看而已,別的推薦就別想干了……不過確實能夠在調試的時候方便不少,例如:

本周ASP.NET英文技術文章推薦[09/30-07/13]:.NETFramework、本周<strong></strong>JSON、英文GoogleAnalytics、技術文件上傳、文章GridView、推薦IIS7、Web開發

更多相關介紹以及使用方法也可以參考這篇文章:http://blogs.msdn.com/sburke/archive/2007/10/04/channel-9-video-more-details-on-reference-source.aspx。

[2] Tip/Trick: Building a ToJSON() Extension Method using .NET 3.5 (Tip/Trick:在.NET 3.5中編寫ToJSON擴展方法)

.NET 3.5中的擴展方法非常有意思,似乎讓框架本身有了那么一些“動態語言”的特性。Scott這里給出了一個ToJSON擴展方法,讓我們能夠將一個對象轉化為JSON表示的字符串。該ToJSON()方法的定義很簡單:

本周ASP.NET英文技術文章推薦[09/30-07/13]:.NETFramework、JSON、GoogleAnalytics、文件上傳、GridView、IIS7、Web開發

使用起來則更加直觀:

本周ASP.NET英文技術文章推薦[09/30-07/13]:.NETFramework、JSON、GoogleAnalytics、文件上傳、GridView、IIS7、Web開發

[3] Tracking Silverlight-enabled Browsers via Analytics (在Google Analytics中統計訪客瀏覽器的Silverlight啟用狀況)

Google Analytics功能非常強大,不過尚不能統計訪客瀏覽器的Silverlight啟用狀況。Nikhil Kothari因此寫了這樣一段JavaScript,讓Google Analytics也能夠把這部分信息收入囊中:

function onLoad() { 
var version = getSilverlightVersion();
if (version) {  __utmSetVar(version); }
}
function getSilverlightVersion() { 
var version = '';
var container = null;
try { 
var control = null;
if (window.navigator.userAgent.indexOf('MSIE') >= 0) { 
control = new ActiveXObject('AgControl.AgControl');
}
else { 
if (navigator.plugins['Silverlight Plug-In']) { 
container = document.createElement('div');
document.body.appendChild(container);
container.innerHTML= '<embed type="application/x-silverlight" src="data:," />';
control = container.childNodes[0];
}
}
if (control) { 
if (control.isVersionSupported('1.1')) {  version = 'Silverlight/1.1'; }
else if (control.isVersionSupported('1.0')) {  version = 'Silverlight/1.0'; }
}
}
catch (e) {  }
if (container) { 
document.body.removeChild(container);
}
return version;
}

.csharpcode, .csharpcode pre { font-size: small; color: rgba(0, 0, 0, 1); font-family: consolas, "Courier New", courier, monospace; background-color: rgba(255, 255, 255, 1) }.csharpcode pre { margin: 0 }.csharpcode .rem { color: rgba(0, 128, 0, 1) }.csharpcode .kwrd { color: rgba(0, 0, 255, 1) }.csharpcode .str { color: rgba(0, 96, 128, 1) }.csharpcode .op { color: rgba(0, 0, 192, 1) }.csharpcode .preproc { color: rgba(204, 102, 51, 1) }.csharpcode .asp { background-color: rgba(255, 255, 0, 1) }.csharpcode .html { color: rgba(128, 0, 0, 1) }.csharpcode .attr { color: rgba(255, 0, 0, 1) }.csharpcode .alt { background-color: rgba(244, 244, 244, 1); width: 100%; margin: 0 }.csharpcode .lnum { color: rgba(96, 96, 96, 1) }

[4] Using a Text Editor to Develop and Deploy an ASP.NET Web Application (使用文本編輯器開發并部署ASP.NET Web應用程序)

想象一下,如果有一天沒有了Visual Studio,那么已經被寵壞了的我們還能不能完整地開發并部署一個ASP.NET應用程序?

雖然這樣的假設似乎有些過分,不過在有些時候(例如服務器環境,或是編寫自動化配置腳本時)仍有使用的必要。而且,了解這些知識也能讓我們更加深入地理解ASP.NET乃至.NET Framework。

本文正是介紹了離開IDE,使用文本編輯器開發并部署ASP.NET Web應用程序的方法。包括:

Creating our Sample Application Compiling Our Sample Application Launching Our Sample Application in a Web Browser Deploying Our Sample Applicatio

[5] Building a Gmail Style File Uploading System using ASP.NET 2.0 (在ASP.NET 2.0中編寫類似Gmail的文件上傳系統)

Gmail的文件上傳系統顯得非常的Cool——只要用戶選擇了一個文件,就不用再理睬了。頁面將在用戶書寫郵件正文的時候異步地將文件上傳到服務器中,并在過程中給用戶充分的提示,顯得非常專業、易用。

本文就介紹了在ASP.NET 2.0中編寫類似功能的方法,自然使用到了iframe。包含如下內容:

Introduction More about INPUT HTML Control Using the IFRAME HTML tag How it works? Live Demo Downloads Summary

[6] Database Drivers not provided by Microsoft (各種非微軟數據庫在.NET環境下Driver的列表)

文如其名,列出了各種非微軟數據庫在.NET環境下Driver的列表,包括Oracle、MySQL、SQLite 3、NHibernate和PostgreSQL。

[7] 10 cool web development related articles in 2007 (2007年的10個非常有用的Web開發相關文章)

真的非常不錯的10篇文章,絕對讓人大開眼界。每一篇都值得我們仔細閱讀:

13 disasters for production website and their solutions Build Google IG like Ajax Start Page in 7 days using ASP.NET Ajax and .NET 3.0 Serve extensionless URL from ASP.NET without using ISAPI module or IIS 6 Wildcard mapping Request format is unrecognized for URL unexpectedly ending in /SomeWebServiceMethod Cleanup inactive anonymous users from ASP.NET Membership Tables Prevent Denial of Service (DOS) attacks in your web application ASP.NET Ajax Extender for multi-column widget drag & drop ASP.NET Ajax in-depth performance analysis Think you know how to write UPDATE statement? Think again. Make a surveillance application which captures desktop and then emails you as attachment

[8] EditableGridView (可直接編輯的GridView)

所謂可直接編輯的GridView,就是指GridView中的數據可以在鼠標點擊后直接進行編輯(inplace editing)。效果可以看一下:

這篇文章就借助于ASP.NET AJAX框架為GridView實現了這樣的一個擴展器控件。無論從使用、還是學習的角度來看,都是個不錯的項目。

[9] Remote Administration: Managing IIS 7 (RCO) from Windows XP, 2k3 and Vista (在Windows XP、2k3和Vista中遠程管理IIS 7)

非常不錯的一篇文章。其中圖文并茂地詳細介紹了IIS 7中的這個遠程管理的新工具的下載、安裝、配置以及使用方法。

XP中啟動界面如下:

然后:

贊(9112)
未經允許不得轉載:>貴州網站建設公司 » 本周ASP.NET英文技術文章推薦[09/30
国产欧美精品