70-480
1.2 撰寫與 UI 控制項互動的程式碼
對 Canvas 物件(元素)操作的方式有以下兩種方式,以旋轉為例
/* 1 */
var ctx = document.getElementById('canvas').getContext('2d');
ctx.rotate(20*Math.PI/180);
/* 2 */
var ctx = document.getElementById('canvas');
ctx.style.transform = "rotate(20deg)";
1.3 以程式套用樣式到 HTML 元素
display:inline
或 display:inline-block
能讓 <li> 元素以水平方式呈現(排列)
1.4 實作 HTML5 APIs
使用 Javascript 判斷網路連線狀態
window.navigator.onLine;
4.5 使用 CSS 選取器和 JQuery 尋找元素
I. Anchor 偽元素(pseudo-element)的執行呈現順序
- a:link
- a:visited
- a:hover
- a:active
II. 用 jQuery 選取屬性值中含有指定字串開頭或結尾的全部元素
/* 1.取得屬性 name 的值其開頭含有 linux 字串的所有 input 元素 */
$("input[name^='linux']");
<input name="linuxcentos"> // O
<input name="linuxubuntu"> // O
<input name="fedoralinux"> // X
/* 2.取得屬性 name 的值其結尾含有 time 字串的所有 input 元素 */
$("input[name$='time']");
<input name="wastetime"> // O
<input name="sparetime"> // O
<input name="timelimit"> // X
/* 3.取得屬性 name 的值其含有 airline 字串的所有 input 元素 */
$("input[name*='airline']");
<input name="myairline2"> // O
<input name="newairline"> // O
<input name="airplane-1"> // X
4.6 使用 CSS 選取器建構 CSS 檔案
CSS 採用的先後順序依據
- User agent declarations
- User normal declarations
- Author normal declarations
- Author important declarations
- User important declarations
70-486
1.6 設計和實作 Web Socket 策略
SignalR 的預設 fallback transport 順序
- WebSocket
- Server Sent Events
- Forever Frame
- Ajax long polling
3.2 規劃並實作全球化和當地語系化
I. 取得多國語系方式
@Resources.MyRes.Title
比 @HttpContext.GetGlobalResourceObject("MyRes","Title")
優先
II. 在 web.config
設定多國語言的方式
<system.web>
...
<globalization uiCulture="auto" culture="auto" enableClientBasedCulture="true" />
...
</system.web>
3.3 設計並實作 MVC 控制器和動作
LINQ to SQL, Entity Framework, DataAdapter 提供開發者可用物件導向的方式操作資料庫物件
5.1 設定驗證
Active Directory with delegation & NT LAN Manager (NTLM) & Kerberos 三種協定可採用 Windows authentication 驗證
5.3 設計和實作宣告型驗證
設定 Microsoft Azure Access Control Services 步驟:
- Create service namespace
- Add the identity provider
- Register application as a relying party
- Generate provider rules for claimes
- Add an STS reference in vs2012
70-487
1.4 在 Microsoft Azure 中實作資料儲存
Azure Blob storage 或 Azure Data Lake 可用來儲存 telemetry 資料(Azure Event Hubs)
2.5 建立一個 Entity Framework 資料模型
使用 EDM Generator(EdmGen.exe)
、ADO.NET Entity Data Model Designer
這兩種工具可用來驗證 CSDL、SSDL、MSL 等檔案
- CSDL: Conceptual Schema Definition Language
- SSDL:Store Schema Definition Language
- MSL: Mapping Specification Language
4.5 監視 Web 服務
Azure Application Insights 提供以下的面板來讓管理者分析使用者的行為模式
- Users: 分析使用者(連線)來自什麼國家或地區
- Sessions: 使用者觸發了什麼按鈕或點擊了哪個 API
- Cohort: 特地群組的使用者(例如 VIP 使用者)
- Funnels: 完成指定步驟(行為)之間的使用者
- Retention: 完成某些特定操作之後的行為
5.3 設定一個 Web 應用程式進行部署
I. 網站應用程式下的 Configurations 資料夾裡的 project-name-WAWS-dev.json
設定檔為 Windows PowerShell Scripts 用來部屬 Azure Web App 用
II. Azure App Service 支援 User-level credentials
、App-level credentials
兩種部屬認證,可用在本地 Git 部屬和 FTP/SFTP 部屬上
參考資料
[Microsoft] 70-480 Programming in HTML5 with JavaScript and CSS3
[Microsoft] 70-486 Developing ASP.NET MVC Web Applications
[Microsoft] 70-487 Developing Microsoft Azure and Web Services