成人免费xxxxx在线视频软件_久久精品久久久_亚洲国产精品久久久_天天色天天色_亚洲人成一区_欧美一级欧美三级在线观看

在Windows Azure中托管和調(diào)試Silverlight應(yīng)用程序(下)

原創(chuàng)
云計(jì)算
本文用插圖的形式展示了如何在Windows Azure的local development fabric中托管和調(diào)試一個(gè)Silverlight應(yīng)用程序。

本文接《在Windows Azure中托管和調(diào)試Silverlight應(yīng)用程序(上)》 

步驟4

在XAML中添加一些代碼。我在Silverlight頁面上添加了一個(gè)按鈕和這個(gè)按鈕的“Click”事件,在調(diào)試模式中,我會在一個(gè)消息框中顯示一個(gè)消息:

MainPage.Xaml

<UserControl x:Class="SilverlightApplication1.MainPage"

xmlns=http://schemas.microsoft.com/winfx/2006/xaml/presentation

xmlns:x=http://schemas.microsoft.com/winfx/2006/xaml

xmlns:d=http://schemas.microsoft.com/expression/blend/2008

xmlns:mc=http://schemas.openxmlformats.org/markup-compatibility/2006

mc:Ignorable="d"

d:DesignHeight="300" d:DesignWidth="400">

<Grid x:Name="LayoutRoot" Background="White">

<Button x:Name="myButton" Height="200" Width="300" Background="Navy" Content="ClickMe" Click="myButton_Click" />

</Grid>

</UserControl>

MainPage.Xaml.cs

using System;

using System.Collections.Generic;

using System.Linq;

using System.Net;

using System.Windows;

using System.Windows.Controls;

using System.Windows.Documents;

using System.Windows.Input;

using System.Windows.Media;

using System.Windows.Media.Animation;

using System.Windows.Shapes;

namespace SilverlightApplication1

{

public partial class MainPage : UserControl

{
public MainPage()

{

InitializeComponent();

}

private void myButton_Click(object sender, RoutedEventArgs e)

{

MessageBox.Show("I am Debugging Silverlight in Azure ");

}

}

}

輸出:

 

 

步驟5

在Azure中調(diào)試Silverlight。

在C#代碼中插入一個(gè)斷點(diǎn),然后你就可以調(diào)試這個(gè)被托管在Azure中的Silverlight應(yīng)用程序了:

 

 

在運(yùn)行中:

 

 

所以,Silverlight應(yīng)用程序是在調(diào)試模式中。

總結(jié)

在本文中,我討論了如何在Windows Azure中托管和調(diào)試一個(gè)Silverlight應(yīng)用程序。感謝您的閱讀!

原文名:Hosting and Debugging Silverlight in Windows Azure 作者:Dhananjay Kumar

本文接《在Windows Azure中托管和調(diào)試Silverlight應(yīng)用程序(上)》 

【本文乃51CTO精選譯文,轉(zhuǎn)載請標(biāo)明出處!】

【編輯推薦】 

  1. 微軟公布云計(jì)算平臺Azure收費(fèi)模式細(xì)節(jié)
  2. 云計(jì)算意在長遠(yuǎn),微軟云計(jì)算服務(wù)Windows Azure已經(jīng)啟用
  3. 技術(shù)透析:Windows Azure Platform框架與組成
  4. 微軟Windows Azure Platform技術(shù)解析
  5. 走近微軟云:SQL Server到Azure數(shù)據(jù)同步
  6. 當(dāng)微軟Azure遭遇亞馬遜EC2:五大關(guān)鍵區(qū)別
  7. Windows Azure云計(jì)算平臺新增五大功能
  8. 云計(jì)算前途光明 Azure用戶數(shù)突破31000
  9. 如何把應(yīng)用程序部署到Windows Azure中

 


 

責(zé)任編輯:王勇 來源: 來源:51CTO
相關(guān)推薦

2011-03-22 09:45:56

Windows AzuSilverlight

2010-11-25 10:05:22

Visual StudSilverlightWCF

2011-05-05 18:08:43

云計(jì)算Windows AzuPaaS

2009-04-16 10:15:34

Windows AzuSilverLight托管

2011-03-23 16:44:22

AzureASP.NET應(yīng)用程序

2011-03-10 10:20:37

應(yīng)用程序Windows Azu

2011-03-15 16:12:00

Windows AzuWCF

2010-06-08 09:40:46

jQueryWindows Azu

2015-02-02 15:46:59

Web應(yīng)用架構(gòu)大數(shù)據(jù)

2023-06-04 17:28:19

數(shù)字驅(qū)動開發(fā)Azure

2011-03-10 10:45:47

Azure“Hello Worl

2010-01-04 10:41:14

Silverlight

2011-03-21 15:22:04

Azure應(yīng)用程序

2012-02-15 13:26:56

IndexedDB

2011-03-15 16:07:33

Windows AzuWCF

2011-03-15 19:45:27

Windows Azu

2009-08-28 16:43:08

AutoCAD托管C#

2010-03-02 13:06:22

SilverLight

2011-11-23 10:06:32

Azure微軟移動應(yīng)用

2022-12-25 18:03:13

Debug原理軟件
點(diǎn)贊
收藏

51CTO技術(shù)棧公眾號

主站蜘蛛池模板: 2022精品国偷自产免费观看 | 国产精品日日做人人爱 | 国产一区二区三区四区五区加勒比 | 国产高清精品在线 | 久久成人免费视频 | 国产精品毛片无码 | 欧美一区二区三区,视频 | 一区二区精品视频 | 久久久久无码国产精品一区 | 日韩中文字幕 | 色综合天天天天做夜夜夜夜做 | 天堂色 | 日韩精品在线一区 | 一区免费 | 国产一区二区小视频 | 亚洲精品久久久久久久不卡四虎 | 草草视频在线观看 | 成人h片在线观看 | 成人精品在线观看 | 日韩欧美国产精品 | 国产福利91精品 | 亚洲精品一区二区三区蜜桃久 | 激情五月婷婷 | 综合伊人 | 亚洲精品二区 | 亚洲福利视频网 | 国产传媒视频在线观看 | 国产高清在线 | 日本免费黄色一级片 | 日韩精品久久 | 免费特级黄毛片 | 中文字幕韩在线第一页 | 97综合在线 | 天天爱天天操 | 精品中文字幕久久 | 婷婷福利视频导航 | 久婷婷| 久久中文视频 | 欧美亚洲国产一区二区三区 | a级毛片毛片免费观看久潮喷 | 亚洲国产一区二区三区, |