Issues with Codeplex 09/21-Mitigated

Update :Sunday, Sept  21 2014 07:15  PM UTC

We have put in an automated workaround to mitigate the customer impact. DevOps will continue to investigate to root cause this issue .

——————————————————————————————————————————————————————————————

Initial Update: Sunday, Sept  21 2014 04:48 PM UTC

We are currently investigating issues with codeplex.com downloads where users may have issues downloading content from the site.

We apologize for the inconvenience and appreciate your patience.

-MSDN Service Delivery Team

 

McKinsey on Unleashing the Value of Big Data Analytics

Big Data Analytics and Insights are changing the game, as more businesses introduce automated systems to support human judgment.

Add to this, advanced visualizations of Big Data, and throw in some power tools for motivated users and you have a powerful way to empower the front-line to better analyze, predict, and serve their customers.

McKinsey shares a framework and their insights on how advanced analytics can create and unleash new business value from Big Data, in their article:
Unleashing the value of advanced analytics in insurance

Creating World-Class Capabilities

The exciting part is how you can create a new world-class capability, as you bake Big Data Analytics and Insights into your business.

Via Unleashing the value of advanced analytics in insurance:

“Weaving analytics into the fabric of an organization is a journey. Every organization will progress at its own pace, from fragmented beginnings to emerging influence to world-class corporate capability.”

5-Part Framework for Unleashing the Value of Big Data Analytics

McKinsey’s transformation involves five components.  The five components include the source of business value, the data ecosystem, modeling the insights, workflow integration, and adoption.

Via Unleashing the value of advanced analytics in insurance:

1. The source of business value Every analytics project should start by identifying the business value that can lead to revenue growth and increased profitability (for example, selecting customers, controlling operating expenses, lowering risk, or improving pricing).
2. The data ecosystem It is not enough for analytics teams to be “builders” of models. These advanced-analytics experts also need to be “architects” and “general contractors” who can quickly assess what resources are available inside and outside the company.
3. Modeling insights Building a robust predictive model has many layers: identifying and clarifying the business problem and source of value, creatively incorporating the business insights of everyone with an informed opinion about the problem and the outcome, reducing the complexity of the solution path, and validating the model with data.
4. Transformation: Work-flow integration The goal is always to design the integration of new decision-support tools to be as simple and user friendly as possible. The way analytics are deployed depends on how the work is done. A key issue is to determine the appropriate level of automation. A high-volume, low-value decision process lends itself to automation.
5. Transformation: Adoption Successful adoption requires employees to accept and trust the tools, understand how they work, and use them consistently. That is why managing the adoption phase well is critical to achieving optimal analytics impact. All the right steps can be made to this point, but if frontline decision makers do not use the analytics the way they are intended to be used, the value to the business evaporates.

Big Data Analytics and Insights is a hot trend for good reason.  If you saw the movie Moneyball you know why.

Businesses are using analytics to identify their most profitable customers and offer them the right price, accelerate product innovation, optimize supply chains, and identify the true drivers of financial performance.

In the book, Competing on Analytics: The New Science of Winning, Thomas H. Davenport and Jeanne G. Harris share examples of how organizations like Amazon, Barclay’s, Capital One, Harrah’s, Procter & Gamble, Wachovia, and the Boston Red Sox, are using the power of Big Data Analytics and Insights to achieve new levels of performance and compete in the digital economy.

You can read it pretty quickly to get a good sense of how analytics can be used to change the business and the more you expose yourself to the patterns, the more you can apply analytics to your work and life.

You Might Also Like

10 High-Value Activities in the Enterprise

Cloud Changes the Game from Deployment to Adoption

Management Innovation is at the Top of the Innovation Stack

How to visualize a Basic Text Analysis using NER (Named Entity Recognition) about Any Web Page Content using Azure Machine Learning

Hi Everyone,
I am have made new experiment to use the NER (Named Entity Recognition) item in My Azure ML Account.
This Experiment Item can take use large amount of text and list out the possible Persons, Organizations and Locations in the given text.
This is a beginner’s step of working on text analysis.
The Concept is to point to a particular web page and the item will list out the possible Persons, Organizations and Locations in the given text.
So Follow the below content on how to make text analysis using NER Experiment item

in case you need visual step of creating an Azure Storage Account / ML account, Please refer to my earlier Blog

http://blogs.msdn.com/b/business_intelligence1/archive/2014/09/14/how-to-setup-machine-learning-and-run-a-linear-regression-model-on-the-azure-cloud.aspx

Login into the with your Live account to (https://manage.windowsazure.com/ )

Now click on Machine Learning, Go to the specified ML workspace name and click on “Sign-in to ML Studio”

Click a new experiment name it as “NER Named Entity Recognition – Copy”  ( You are free to use your own name :) )

Type “Reader” in the Search text box, you can drag the Reader icon in the workspace

 

Please specify data source: HTTP

In the URL specify http://en.wikipedia.org/wiki/Microsoft  ( You free to use your own web page link :)  )

And set it as URL

 

 

 

Now Drag the Named Entity Recognition experiment item under the Text Analytics into the Experiment’s area and Link the Reader  Output circle to Named entity Recognition Task Left input circle,

now Right Click the Lower Circle (Output Circle) in the Named Entity Recognition Task  and click publish as output 

 

Now Click Run, 

 

After successful execution visualize the Output 

This is just a simple way to visualize the result of a Text Analytics experiment item of Azure machine learning Account

??Windows??????

什么是通用应用程序

Windows通用应用程序(Universal Windows Apps,简称UWA)Universal Windows Apps它包括了一个开发者为Windows开发软件的开发、设计、修改和在应用商店出售的一整套流程,它运行在windows Runtime上让开发者无需重复工作即可开发分别对应Windows、Windows Phone。

由于我们需要确保我们的用户在不同平台上能有更好的体验以及各平台功能的完整性,往往我们需要在各种平台上分别开发我们的应用。

UWA 还不能像梦想中一样,让我们一次实现到处运行(因为这可能本来就是个梦想),但是微软通过UWA让这一梦想更近了一步,据说在某些应用中共享代码能够达到90%。

windows 通用应用能够让我们快速开发出多终端的应用。
正如下图所示我们可以使用自己喜欢的语言模型来进行开发。 个人觉得C#是首选(毕竟是亲儿子嘛~)

WinRT(windows Runtime)

是 WinRT 使得开发者可以将APP构建在各种windows8.1的设备上的。在之前windows 8.0和windows phone 8.0共享代码是很困难的的。

而现在windows phone 8.1 和windows 8.1 使用了相同的开发栈。这意味着开发者可以在windows phone 8.1 和windows 8.1之间共享开发代码和UI。

关于Windows Phone Silverlight 8.1

随着新的winRT发布windows phone Silverlight 8.1也发布了,使得已有的windows phone 7/8的应用可以移植到windows 8.1上。 但是windows phone Silverlinght 8.1 的应用只能运行在windows phone 8.1上,如果开发者想要支持其他的设备必须单独建立windows 8.1的项目。也就是说开发者不能够重用自己应用中的大量应用代码以及UI,开发者不得不维护两个单独的版本。

Windows Phone Silvelight 8.1 与 WinRT 的区别

主要区别其实在于他们的开发栈。 windows phone 8.0 和 windows phone silvelight 8.1 使用了比较老的Silvelight Xaml stack,然而windows phone 8.1 和windows 8.1 使用了新的Windows Runtime stack

如何构建?

下面我就一步一步的带着大家一起做出第一个通用应用程序

1. 准备

你需要的只是一个Visual Studio 2013 with Update 2 或者是更高版本(下载链接:目前最新的版本是Visual Studio Ultimate 2013 with Update 3

2. 建立工程

1、 按照图1新建一个工程
图1:

2、 在“模板”-》“Visual C#” -》“应用商店应用”-》“通用应用程序” 下选择 “空白应用程序(通用应用程序)”如[图2]](#Image02)所示.
图2:

 3、 添加上自己的工程名,然后确定。出现如图3所示的结果
图3:

3. 一点点解释

解决方案中分别是

(1) Windows 应用商店项目: Windows 应用商店项目包含面向 Windows 的 XAML 页面和代码

(2) Windows Phone 项目:Windows Phone 项目包含面向 Windows Phone 的 XAML 页面和代码

(3) Shared:上面两个项目共享的代码和XAML页面。

图4:

4.开始写代码啦

1、 如图5所示右键 共享的工程(本文中是UniversalApp.shared)然后添加新建项

图5: 

2、 出现一个对话框如图6 然后添加一个类。

图6: 

3、 在新建的类中贴入如下代码

using System; using System.Collections.Generic; using System.Text; namespace UniversalApp { class HelloWorld { public string GetHelloWorld() { #if WINDOWS_APP return "Hello World WINDOWS_APP"; #endif #if WINDOWS_PHONE_APP return "Hello World WINDOWS_PHONE_APP"; #endif } public string GetCurrentTime() { return DateTime.Now.ToString(); } } } 

4、效果如图7所示

图7: 

ps: 关于图7中问题的解释

1、编写共享项目中的跨平台代码 在共享项目中,你通常要编写在两个平台上运行的代码。 要隔离特定于平台的代码部分,请使用 #ifdef 指令。已为你方便地预定义了常数 WINDOWS_APP 和WINDOWS_PHONE_APP。 你可以将文件从一个特定于平台的项目拖放到共享项目(反之亦然), 以更改代码的作用域。 
2、标识并隔离特定于平台的代码 当你在共享项目中编写代码时,Visual Studio 代码编辑器使用面向两个平台之一 的上下文。 在C#中,在编写代码时看到的 Intellisense 特定于代码编辑器的上下文,即特定于  Windows 或Windows Phone。 以下屏幕截图显示 Visual Studio 代码编辑器中的上下文选择器下拉列表。用来 选择你当前使用的上下文。 

图8:  

图9: 

5、 再次添加代码
这次分别在UniversalApp.Windows 和UniversalApp.WindowsPhone工程下的 MainPage.xaml中添加如下代码(): 

 <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center"> <TextBlock x:Name="textBlock" Text="Hello" FontSize="20" /> <Button Click="Button_Click">Click Me</Button> </StackPanel> 

以及���个项目的MainPage.xaml.cs下添加如下代码

 private void Button_Click(object sender, RoutedEventArgs e) { HelloWorld hl = new HelloWorld(); textBlock.Text = hl.GetHelloWorld() + Environment.NewLine + hl.GetCurrentTime(); } 

5.终于可以运行代码了~

1、如下图所示选择你需要的运行方式
图10:

2、 点击运行

3、 windows 以及windows phone 的运行结果分别如下:

图11:

图12:

6.可以参考的链接

视频:
http://channel9.msdn.com/Series/Windows-Phone-8-1-Development-for-Absolute-Beginners/Part-10-Exercise-Tip-Calculator-as-a-Universal-App

文章:

http://msdn.microsoft.com/zh-cn/library/windows/apps/dn609832.aspx
http://developer.telerik.com/products/need-know-windows-universal-apps/
http://blogs.msdn.com/b/eob/archive/2014/04/16/starting-with-universal-apps-on-visual-studio-2013.aspx
http://blog.galasoft.ch/posts/2014/04/about-windows-phone-8-1-and-universal-apps/
https://dev.windows.com/en-us/develop/building-universal-Windows-apps/

??Cortana??????

Windows Phone 8.1 GDR1 + Cortana 中文版的发布后相信很多中国的朋友正在happy的调戏着小娜同学。关于Cortana的应用场景也可参看我之前的文章。
那么如何让用户通过小娜来和你的应用来进行交互呢?下面我们来通过一个例子来学习如何使用小娜。

环境

首先是VS一定要是Visual Studio 2013 Update 2 或者 更新的,我这里使用的Update3

vs2013下载地址

然后需要安装 Windows Phone 8.1 Update and Emulators.

Windows Phone 8.1 Update and Emulators下载地址

如何开启模拟的小娜请看我之前的博文:Cortana(小娜)那些事儿

ps. 建议安装vs的时候使用英文版,因为本人在之前安装的中文版中出现了在创建vcd文件时找不到http://schemas.microsoft.com/voicecommands/1.1 的情况,如果有类似情况的同学,可是尝试重新安装VS的英文版。然后再安装Windows Phone 8.1 Update and Emulators 问题应该就解决了. 建议使用真机进行调试。因为本人在使用模拟器调试时,无论使用任何命令都会跳转到bing搜索。所以本人改用真机。 

开始搞!

应用功能

这里我打算开发一个图片搜索应用来作为一个例子。 功能很简单将用户的语音命令直接到bing去搜索相应的图片。然后返回给用户。 (为了更专注于Cortana的功能- -就没写搜索功能,仅仅是简单的将用户的语音识别结果传送出来)

创建VCD文件

VCD(Voice Command Definition)文件是一个xml文档,用来定义所有你可以使用的语音命令。具体的使用请参考如下两个连接

Quickstart: Voice commands

Voice Command Definition (VCD) elements and attributes

首先在项目上右击选择添加新的项目如下图所示。

 

选择vcd文件

 

创建好文件后打开文件发现里面如下图已经有了很多代码,好我们先全部都删掉。

 

替换为我们的代码

<?xml version="1.0" encoding="utf-8"?> <VoiceCommands xmlns="http://schemas.microsoft.com/voicecommands/1.1"> <CommandSet xml:lang="zh-cn" Name="englishCommands"> <CommandPrefix> Image </CommandPrefix> <Example> Image </Example> <Command Name="ImageSearch"> <Example> find 'something' </Example> <ListenFor> Search </ListenFor> <ListenFor> Search [for] {dictatedSearchTerms} </ListenFor> <ListenFor> Find {dictatedSearchTerms} </ListenFor> <ListenFor> Find </ListenFor> <Feedback> Searching on Bing...</Feedback> <Navigate Target="MainPage.xaml" /> </Command> <PhraseTopic Label="dictatedSearchTerms" Scenario="Search"> <Subject> ImageName </Subject> </PhraseTopic> </CommandSet> </VoiceCommands> 

安装VCD文件

创建好VCD文件是不够的,你必须安装你的VCD文件到你的系统上。如何安装呢?其实很简单就是在启动你的应用时能够执行一句安装vcd文件的命令即可。这里我们在Mainpage的OnNavigatedTo方法中来注册。复制下面的代码即可(别忘记把xml文件的地址改成自己的哦)

 protected override async void OnNavigatedTo(NavigationEventArgs e) { if (e.NavigationMode == NavigationMode.New) { var storageFile = await Windows.Storage.StorageFile.GetFileFromApplicationUriAsync(new Uri("ms-appx:///VoiceCommandDefinition.xml")); await Windows.Media.SpeechRecognition.VoiceCommandManager.InstallCommandSetsFromStorageFileAsync(storageFile); } } 

如果上面的都做完的你就可以尝试的运行下程序了,为了确定你vcd是否安装成功你可以打开小娜的查看更多选项然后拉倒最下面。看看你的应用是不是在下面(如下图所示),如果有了说明你的vcd文件已经注册成功,如果没有请确认的你vcd文件中的语言是否和你的设备的语言环境是相同的,如果不同也可能会无法安装你的vcd文件。

     

ps.         注意你一定要在package.appxmanifest中开启Microphone不然运行会出现问题(语音功能不开mic怎么能行呢是吧^_^)

获取语音命令与控制

做完上面所有的事情后就剩下处理我们的语音命令了。

首先我们需要重写Application.OnActivated事件。确定是不是语音命令来启动我们的应用 的(通过判断IActivatedEventArgs.Kind 是不是 VoiceCommand)

然后我们获取我们语音命令的结果。

我尝试改写MSDN的例子并应用到我们的例子上:

 protected override void OnActivated(IActivatedEventArgs args) { Frame rootFrame = Window.Current.Content as Frame; // 判断是否由语音命令启动 if (args.Kind == Windows.ApplicationModel.Activation.ActivationKind.VoiceCommand) { var commandArgs = args as Windows.ApplicationModel.Activation.VoiceCommandActivatedEventArgs; Windows.Media.SpeechRecognition.SpeechRecognitionResult speechRecognitionResult = commandArgs.Result; // 如果是的话获取语音命令的名字(vcd文件中的Command Name), 命令后用户说出的信息 以及 vcd Command/Navigate@Target 的值. string voiceCommandName = speechRecognitionResult.RulePath[0]; string textSpoken = speechRecognitionResult.Text; string navigationTarget = speechRecognitionResult.SemanticInterpretation.Properties["NavigationTarget"][0]; //判断当前命令式什么 <del>T_T 这里只有一个</del><del> switch (voiceCommandName) { case "ImageSearch": //跳转到相应的page,并将所有说的东西都传过去。(为什么这么跳转?因为写的快- -|||) rootFrame.Navigate(typeof(ShowImage), textSpoken); break; default: rootFrame.Navigate(typeof(ShowImage), "nothing"); break; } } } 

然后创建一个新的page c# 

<Page x:Class="ImageFinder.ShowImage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="using:ImageFinder" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"> <Grid HorizontalAlignment="Center" VerticalAlignment="Center"> <TextBlock x:Name="textBlock" FontSize="50" Text="nothing"></TextBlock> </Grid> </Page> 

Xaml 

using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Controls.Primitives; using Windows.UI.Xaml.Data; using Windows.UI.Xaml.Input; using Windows.UI.Xaml.Media; using Windows.UI.Xaml.Navigation; // The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkID=390556 namespace ImageFinder { /// <summary> /// An empty page that can be used on its own or navigated to within a Frame. /// </summary> public sealed partial class ShowImage : Page { public ShowImage() { this.InitializeComponent(); } /// <summary> /// Invoked when this page is about to be displayed in a Frame. /// </summary> /// <param name="e">Event data that describes how this page was reached. /// This parameter is typically used to configure the page.</param> protected override void OnNavigatedTo(NavigationEventArgs e) { textBlock.Text = e.Parameter.ToString(); } } } 

运行试试

打开小娜对着她说 ImageFinder Search 测试   (呵呵中英混合看看她识别的怎么样) 非常nice她打开了我的应用并跳转到相应的页面,也将我的话打印出来了。

ps 注意测试时尽量使用语音,使用文字可能会出现直接跳转到bing的情况,也许是因为小娜现在还是bete版本的情况吧。 

Cortana????????

8月4日微软正式向开发者推送了WP8.1 Update 1,其中比较受人关注的更新就是Cortana.
Cortana的功能可以说真是够强大~。看了中国版的视频真是觉得如果有了Cortana这个助手,我就能赢取白富美,当上CEO,走向人生高峰~想想还真有点小激动呢~

好了~= =先不做梦了,那Cortana到底都能干点什么呢,对于开发者都有什么新的机遇呢?来我们慢慢整理一下。

Cortana常见的使用情景

手机控制类:

作为手机助手,最重要的功能就是帮你控制你的手机喽。 Cortana在离线和在线时都可以为你提供服务,但是离线时仅仅能为你提供简单的基础服务,打开蓝牙、wifi、设置、微信和拨打电话等,可以使用开启、打开、启动、关闭等关键词(没有Cortana的WP手机也可以控制)。联网时可以用Cortana控制拨打电话发送短信,下载应用,播放音乐等。

  • 打开应用:可以用开启、打开、启动+应用或游戏名称打开应用或游戏。
  • 下载应用:用Cortana控制下载应用,比用在商店搜索和扫二维码的方式快多了(扫二维码隐藏到相机–滤镜–必应影像)
  • 播放音乐:使用Cortana播放音乐也特别方便,常用“播放+歌曲名”控制播放音乐。
  • 电话和短信:语音控制拨打电话发送短信,是一件很酷很方便的事情

提醒类

作为一个合格的助手,老板的日程老板可以忘,助手可不行。而且还要会提醒。提醒这个功能是我们几乎每天都要用到的东西,Cortana的提醒功能很强大很便捷,这可以为我们的生活和工作带来很多方便,提高工作效率,节省时间。

  • 定时提醒:生活中,大部分人需要时间相关的提醒,提醒的内容可归为“到了xx时间,提醒我xx”,“xx生日提醒我xx”,“过xx时间后提醒我xx”等,一般通过日历、闹钟、便签或者记事本设置提醒,这些对Cortana来说是小儿科,;
  • 定点提醒:生活中,可能有人需要这样一种提醒“到了xx地点,提醒我xx”,这个功能其实实现起来不难,却没有这样的应用,然而Cortana的出现,可以实现这个功能了,想要定点提醒功能更准确,可以在我们到了某个常去地点的时候,把地点收藏,设一个别名,如学校,公司,家等,这样定点提醒会更精准;
  • 与某人联系时提醒:这项功能很实用,虽然使用场景不是很多
  • 创建记事:方便的记事方式,还可onenote同步记事内容

生活类

能够照顾好老板生活的助手才是好助手(- -亲 别想歪了)出们前查看天气、路况、限行等信息,可能是很多上班族每天出门必看的信息吧,天气与日常出行联系紧密,Cortana可以为我们提供相关贴心服务,天气、限行、线路、航班等都可以问它(火车信息可查,不可订阅)

  • 天气:除了气温在北京也许最关注的就是pm2.5了。有了小娜也许再也不需要忘记带口罩了吼吼
  • 限行:目前深圳的好像没有开通。
  • 线路:找不到路?小娜来帮你
  • 航班:问:航班CA8216 答:航班计划2014年8月8日12:25起飞,2014年8月8日14:25降落(航班计划从武汉天河机场起飞至北京首都机场降落)。

资讯影视

  • 资讯:想看什么新闻告诉小娜,她就会为你呈现相关新闻
  • 名人:主要是一些知名公众人物,直接说他们的名字,就可以知道他们最近的动态,关注之后可以了解 他们最新的动态。数据来源于必应追星
  • 电影电视剧:

知识检索类

当老板记性会不好想要吟诗却忘词,作为助手的是不是应该提醒老板:“就是你常说的那个 独坐幽篁里,弹琴复长啸”。Cortana知识丰富,除了当秘书小助手外,还可以当我们的老师,很多不懂的可以问他。

  • 唐诗宋词:
  • 唱歌讲笑话绕口令,说段子:
  • 知识问答:
  • 翻译:

聊友

你无聊是么?你寂寞是么?来来来小娜陪你

  • 调侃小娜:
  • 与小娜聊天:
  • 让小娜模仿明星:

调用第三方应用:

发布会上说到Cortana支持的应用有:去哪儿、微信、高德导航、新浪微博、酷狗音乐、爱奇艺、国航,其他的第三应用也都在陆续的支持,而@微软小娜微博说Cortana技能还没全部打开,技能全开会第一时间通知我们的,目前能调用部分三方应用,发布会演示的发微信朋友圈,打开够酷音乐播放汪峰怒放的生命还不能用

目前支持调用的第三方应用:微博、ONE一个、来电通

微博:需要登录微博帐号,才能打开到微博发送界面 指令:微博发表(写)微博 ONE一个:ONE应用有好几个,现在支持的是开发者是XuanStudio那个
指令:ONE一个查看(打开)今天(昨天前天)的文章 来电通: 指令:来电通拨打

如何开启小娜

目前想要开启小娜。如果你是手机用户的话这篇文章已经讲的很详细了。

而如果你是开发者想要在VS和模拟器上体验下小娜的魅力,那么你可以到这里 下载Windows phone 8.1 update 1 的安装包。(不过你至少要保证你是windows8.1 并且你的Visual Studio版本至少是2013 Update 2 如果没有 点这儿 来下载)

下载并安装好windows phone 8.1 update 1 之后 重新打开vs就会发现有几个新的模拟器。 打开新的模拟器后就可以找Cortana的应用

然后按照提示开启小娜的服务权限

接下来登陆你的Microsoft的账户(按照提示即可不再详细描述了) 接下来小娜会问你叫什么(我要走向人生巅峰所以就叫我CEO吧 吼吼)

开始使用了!童鞋们可以自己玩耍一会儿先

学习资源:

Ps: 感谢sunboyheng对小娜使用方式的总结

Lifetime Developer Accounts for Win 8 and Win Phone!

Developing for Microsoft platforms just got cheaper and easier a couple of days ago!

Starting this week, the Windows Dev Center requires only a one-time registration payment, which will grant developers the ability to publish for both platforms with no renewal fee.  That means that if you have never signed up, it only costs a one time charge of $20 to publish for the rest of your life!  In addition, each of our 60,000 registered developers will no longer need to pay any additional fees.  If you are already signed up, you are good for life!

Check out the article online for more details!, http://blogs.windows.com/buildingapps/2014/09/17/new-dev-center-lifetime-registration-benefits-program/

Comment below or find me on twitter @jquickwit with your reactions!

Microsoft Virtual Academy on Construct 2

 

Interested in developing games with Construct 2?

Check out a promo video of my colleague Shahed Chowdhuri and I on MSDN’s Channel 9 (with DevRadio host Jerry Nixon,  to promote our upcoming video tutorial on Microsoft Virtual Academy.  You can find the promo video with the link two links just below and registration information below that.  Looking forward to having you guys join on Thursday, September 25th!

 

Free Registration

To register for the course, simply go to Microsoft Virtual Academy at:

Details:

  • Date/Time: September 25, 2014 9:00am–1:00pm PDT
  • What: Jump Start training with live Q&A
  • Cost: Free
  • Audience: Hobbyists or professionals, of any skill level, interested in learning to build 2D games.
  • Prerequisites: No experience in game development or computer science is required.

Starting Azure Platform as a Service (PaaS) Development 101 Series: Lesson 1 of n – Web Jobs

There is a lot of content available to develop for Azure, if you are looking for baby steps this series of lessons is defiantly not for you. However, if you are developer, regardless of background or platform and looking quickly to get your hands dirty, then you are at the right place. I will not be setting up a fixed or target number of lessons, I will share ideas along the way and keep adding more. This does not mean I don’t have an agenda, on the contrary! I started by asking myself about developer tasks during the life cycle of building a PaaS solution on Azure.

As I mentioned earlier, this a special series that focuses on a point, a task, a recipe. So don’t be surprised if we wont be building fancy samples, I am here to help you get on your feet with PaaS development on Azure.

What’s up for today?

I’ve been doing Azure PaaS development for a while now, and I can tell you that the best place to start learning the robes are Web Jobs. Let me quiz you quickly here: What would you do if you want to run background tasks, executable files, or even scripts on Azure? I bet you would say: let’s spin a new VM and put all that stuff there. Or at least that’s what we used to say before Web Jobs came to life. So in a nutshell, you can schedule and configure on demand executable applications and scripts to run on Azure without spinning a new VM Winking smile 

Let’s get cracking

Below is a simple command line application that will print a time stamp. We will create a Web Job and configure it to run this application every one minute. Yeah I know a bit cheesy, but hey if you can come up with more meaningful examples, fire up the comments section below Hot smile

1 using System; 2 3 namespace PaaS101.Lesson1 4 { 5 class Program 6 { 7 static void Main(string[] args) 8 { 9 Console.WriteLine(DateTime.Now); 10 } 11 } 12 }

Launch the Azure portal and head to Web Sites. Yep that’s right, Web Jobs sit inside Azure Websites and yes you can have multiple web jobs in the same Azure Website. Let’s create a new Website. I will use the same website through all the lessons. I called it paas101 and it will sit on http://paas101.azurewebsites.net.

image

Once created, click on paas101, select WEBJOBS tab, and create a new job.

image

Now you will have to compress your executable and their dependencies in one zip file. Since we decided to run it every minute then select “Run on a schedule” and choose your schedule region. Mine is “West Europe”.

image

Moving on to the next step, select “Recurring Job” for recurrence and set it for one minute. Looks like you have to specify and ending time. I just set it to 11:30PM today my time.

image

Once its done, you will notice that the status is set to “Enabled”. Let’s see how was the execution of our Web Job going. One of the columns is called “LOGS”. Navigate to the URL.

image

This is the logs URL for our Web Job: https://paas101.scm.azurewebsites.net/azurejobs/#/jobs/triggered/PrintTimeEveryOneMinute. Once you land on the logs page you will notice the previous runs below marked with a status:

image

Clicking on the web job will open the Web Job run details. As you can see from the screenshot below, the web job did print the time Smile

image

I hope you enjoyed the quick 101. Let me know if you have any questions or comments. Until next lesson Smile