27 October 2011 0 Comments

電通と日本マイクロソフトがソーシャルメディアマーケティング分野で業務提携、Windows Azure Platform で稼働する「sociobridge」がサービス提供開

電通、電通レイザーフィッシュ、および日本マイクロソフトは、ソーシャルメディアマーケティングの領域において、業務提携することを発表しました。この業務提携の第 1 弾として、Windows Azure Platform 上に構築された Facebook ページ運用統合管理ツール「sociobridge」がサービス提供開始となりました。 SNS やブログなどユーザーが発信する ソーシャルメディア におけるマーケティングが注目されていますが、こちらのサービスでは Facebook ページの運用管理、ユーザー投稿の把握の他、新ページ作成やカスタマイズなどを行うことが可能です。 MIcrosoft PressPass > 電通グループと日本マイクロソフトソーシャルメディアマーケティング領域における業務提携で基本合意 sociobridge – Facebook ページ運用統合管理ツール

18 October 2011 0 Comments

SQL PASS Summit 2011 アナウンス (2) : SQL Azure 2011 Q4 アップデート発表 – SQL Azure Federation, Reporting, Data Sync

SQL PASS Summit 2011 にて 発表されている SQL Azure 関連情報ですが、2011 年 Q4 (10 ~ 12 月) のアップデートがアナウンスされました。主なアップデートは以下になります; 最大データベースサイズを 50GB から 150GB に拡大 SQL Azure Federation SQL Azure Reporting SQL Azure Data Sync SQL Azure 管理ポータル リニューアル SQL Azure Federation データベースサイズやアプリケーションのワークロードを基にして、パーティション分割パターンによりデータベースを自在に拡張することが可能になる機能です。 Microsoft TechNet Wiki  >  SQL Azure Federations: Building Scalable, Elastic, and Multi-tenant Database Solutions SQL Azure Reporting これまで招待制にて試用可能だった、BI 機能を提供する SQL Azure Reporting ですが、 CTP リリースによりどなたでも試用が可能になりました。可用性・パフォーマンスなどの統計情報の向上、SQL Azure Reporting Server の自動配置、Windows Azure 管理ポータルからの SQL Azure Reporting 管理、などの機能が合わせて追加されています。  Windows Azure Team Blog > Announcing The New SQL Azure Reporting CTP Release SQL Azure Data Sync SQL Azure の各地域間の同期や、オンプレミスの SQL Server との間で同期を可能にする SQL Azure Data Sync が CTP (Community Technology Preview) で提供されます。こちらは、Windows Azure 管理ポータルから操作・試用することが可能です (Windows Azure 管理ポータル のメニューに “Data Sync” が追加されています)。 Data Sync をオンプレミス側で設定するクライアントツールとして、 SQL Azure Data Sync Agent  をインストールしてください。 Windows Azure Team Blog > Announcing The New SQL Azure Data Sync CTP Release SQL Azure 管理ポータル リニューアル 正方形タイルの “Metro Style” にデザインが変更され、データベースのモニタリング他、管理機能が強化されています。   SQL PASS Summit 2011 関連のまとめはこちらから。 Windows Azure Team Blog > Just Announced at SQL PASS Summit 2011: Upcoming Increased Database Limits & SQL Azure Federation; Immediate Availability of Two New SQL Azure CTPs Windows Azure Team Blog > Announcing: Upcoming SQL Azure Q4 2011 Service Release PASS Summit 2011 Official Website

1 October 2011 0 Comments

MSC2011 D3-303 “Windows Phone/iOS/Android から Windows Azure を利用する” session follow up – Part 2 : Babel.cam ソリューション解説-1

皆様、こんにちは!それでは、Part 2から、本セッション内容の解説になります。 まず最初にご紹介したのは、Babel.Camというソリューションでした。こちらは、 皆様がダウンロード可能な資料 にもありますので、こちらをご覧ください。 このソリューションは何をするものか、というところですが、名前からも推測できるよう、翻訳ソリューションです。 Windows Phone のカメラで撮った、英語やフランス語等外国語の文章を、画像ファイルとしてWindows Azure ストレージにUpload します。その情報がQueue に格納されます。それを、Windows Azure (雲の絵のところです)にいる Worker Role が、常にチェックしていて、画像が入ってきたというQueueの情報をもとに、Microsoft Research が提供しているHawaii というOCRのWeb サービスに渡して、テキストファイル化します。その後、Bing Translator Services という SOAPのWeb サービスにそのテキストファイルを渡して、翻訳を行います。翻訳が完了すると、MPNS (Microsoft Push Notification Service) を使って、その通知をWindows Phone に送付すると同時に、翻訳された結果のテキストファイルを、Windows Phone に送付します。 それでは、さっそく実行してみましょう。Visual Studio 2010 を 管理者権限 で起動します。 ※セットアップ方法は、 C:WindowsAzureWATWindowsPhoneDocsのReadme.docx および、 C:WindowsAzureWATWindowsPhoneSamplesWP7.1BabelCamC# のReadme.txt に詳しく書いてあります。Windows Azure Tookit for Windows Phone のセットアップが終わっていること、Hawaii OCR Services と Bing Translator Services のIDを取得することが必要です。セットアップについて詳しくは、次のエントリーでご紹介しますが、ソフトウェア要件は、下記のとおりです。 · Microsoft Visual Studio 2010 Professional (or higher) or both Microsoft Visual Web Developer 2010 Express and Microsoft Visual Studio 2010 Express for Windows Phone · Microsoft ASP.NET MVC 3 · Entity Framework 4.1 Code First · Microsoft SQL Server 2008 R2 Express (or higher) · Windows Phone SDK 7.1 Release Candidate · Silverlight for Windows Phone Toolkit · Internet Information Services 7 (IIS7) · Windows Azure SDK 1.4.1 Refresh · Windows Azure Tools for Microsoft Visual Studio 2010 1.4 – August 2011 · Windows Identity Foundation Runtime · Internet Explorer 9 (or any other modern Web browser supporting HTML5) なお、実行前に、表示メニューから、ソリューションエクスプローラーを、クリックしておいてください。これにより、デバッグ中も、ソリューションエクスプローラーが表示されますので、順次、他のプロジェクトの実行等ができます。 BabelCam という Cloud プロジェクトを右クリックして、 コンテキストメニューから、デバッグ→新しいインスタンスを開始、を選択します。 そうすると、次のような画面が出ますが、SSL前提のサイトで証明書がインストールされていないので、気にせず、”このサイトの閲覧を実行する”を選んでください(毎回こうなります)。 そうすると、ログオン画面になりますので、ここでは、ユーザーID は admin と入力して、ログオンします。 ※パスワードはC:WindowsAzureWATWindowsPhoneDocsのReadme.docx のP.27に書いてありますので、そちらをご覧ください。 ログオンすると下記の画面にリダイレクトされるはずです。 Users をクリックすると、私が追加したユーザーが出てきます。AppFabric ACSを使って、一度認証されたユーザーがここに表示されることになります(最初はだれもいません)。表示名は、その時決めることができます。私のは、Windows Live IDユーザーなのでこの名前にしてあります。 それでは、今度は、Windows Phone アプリケーションを起動しましょう。先ほどと同じく、上から3番目の、 BabelCam.Phone というプロジェクトを右クリックして、 コンテキストメニューから、デバッグ→新しいインスタンスを開始、を選択します。 そうすると、次のような画面が出ます。 この画面は、Windows Azure のAppFabric のAccess Control Services のポータルにある、Identity Provider 一覧から、そのまま取得されています。これまで、AppFabric のAccess Control Services のポータルをご覧になったことがない方もおられるようでしたので、こちらに、ポータルを表示しておきます。 皆様の方で、Facebookや、Twitter等、新たなIdentity Provider を追加したい場合には、開発や設定を行って戴ければ、追加は可能です。 ※これに関しては、こちらの記事をご参照ください。 Identity Providers http://msdn.microsoft.com/en-us/library/gg185971.aspx ACS 2.0 Samples and Documentation http://acs.codeplex.com/ またWindows Azure Training Kit にも、同様のシナリオも用意されていますので、ぜひご利用ください。私もBlogで順次日本語にして、解説してきたいと思っています。 SSLの証明書がないので、Install Certificate のリンクを押してください。そうすると、下記のような手順で、画面の指示に従い、インストールが行えます。 ここで 注意点 があります。 OK ボタンをクリックすると、再び タップしてファイルを開く の画面(上記一番左)に戻ります。この状態で、 必ずBackキーで、元のログイン画面に戻って ください。これをしないと証明書がうまくインストールされない場合があります。また手順的にも Loop になってしまいます。 次にこの画面に戻ってきたら、どれかidpを選んでクリックします。 ここではWindows Live IDを選択します。そうするとLive の認証画面にリダイレクトされます。 ここで、PgUpキーを押しますと、PC側のキーボードで入力できますので、こちらを使って入力します。 そうすると、初めて登録の時には、Live IDをこのポータルにUser登録するための画面に遷移し、表示名の入力を求められますので、適当につけます(私の場合は、上記のとおり shotaro-hotmail )。Register Succeeded で OK を押すと、下記の画面に遷移します。 チェックボックスON で Enable… にすると、MPNS (Microsoft Push Notification Service)のChannel を開いて、Live サービスにURI を登録します。このURI はWindows Azure のTable ストレージに保存されるので、後程の記事で中身を見てみましょう。 これでNotification と、翻訳済みテキストファイルを受信する準備が整いました。 ※注意点として、この Push Notification を使用するときは、できるだけご自宅等の環境でお試しください。企業のネットワーク内からだとポート制限やプロキシの関係で、URI が登録できないことがあり、エラーでデバッガが止まってしまいます。 サンプル画像としてアップロードをするためにカメラを起動するボタンがついていますので、これをクリックして、適当な画像を撮影し決定、アップロードボタンをクリックします。テキストが含まれていないので関係ないのですが、一応 TO : 言語の箇所をフランス語に変更しておきます(^^;) そうすると、この情報がWindows Azure のQueue ストレージに入り、それを常にチェックしている Worker Role がその内容を見て、画像を Hawaii OCR Service に画像を渡します。画像の中にあるテキストがテキストファイルに変換されると、今度は Bing Translator Services にそのテキストが渡され、FROM : 言語からTO : 言語に翻訳されて、その結果が返ってきます。 テキストがないので、[No text was found]という結果が返ってきます。そこで今度は、その下のリンクで、sample text image を使って同じ処理を行ってみましょう。 ※このサンプルテキストイメージは、皆様の好きな画像に差し替え可能ですので、色々変更してお試しください。 TO : 言語にフランス語を指定した結果と、日本語を指定した結果、そして画面をタップして次の画面に遷移すると、履歴の画面に遷移します。リフレッシュボタンを押して、最新の結果を取得してください。 以上でBabel.Camのデモ部分の解説は終了です。この後のエントリーでは、ソースコードを見てみましょう。おもに Worker Role.cs がその中心となります。 ※本稿に関して、詳しく知りたい方は、C:WindowsAzureWATWindowsPhoneDocsのReadme.docx をご覧ください。 鈴木 章太郎

30 September 2011 0 Comments

How To: Use AD FS Endpoints When Developing Claims Aware WCF Services Using WIF

This post is based on WIF Built-in Bindings Overview and AD FS Endpoints . This information should provide a more cohesive view for developers when developing claims aware WCF services using AD FS and WIF.

26 September 2011 0 Comments

Windows Azure Architecture Guide リリース

マイクロソフトのテクノロジーをベースとした エンタープライズ プラットフォームに Windows Azure を適用する場合に、最適化するためのアーキテクチャデザインを行うためのガイド、Windows Azure Architecture Guide がリリースとなりました。 Microsoft Download Center > Windows Azure Architecture Guide こちらのガイドでは、ビジネス要件からエンタープライズアーキテクチャを導き出して最適化を行い、マイクロソフトのテクノロジーをどのように適用して、論理および物理アーキテクチャを構成するのか、順を追って紹介しています。 patterns & practices の Windows Azure Architecture Guide ( Part 1 日本語 / Part 2 日本語 ) は具体的な実例を挙げて説明し、サンプルコードや HOL(ハンズオン) を合わせて公開しているのに対して、今回の Architecture Guide は実際にアーキテクチャを設計する際の手順書といった内容になります。

23 September 2011 0 Comments

Tutoriel : Contrôle de l’accès au service de données OGDI avec Windows Azure AppFabric – 2nde partie

Comme présenté dans la première partie de ce tutoriel, nous intéressons à l’utilisation du contrôle d’accès de la plateforme Windows Azure AppFabric pour accéder à une instance du service de données OGDI (Open Government Data Initiative). Dans cette optique, pour accéder au service de données RESTful OGDI, le client va demander via le protocole d’autorisation OAuth 2.0 au service de contrôle d’accès ACS d’émettre un jeton de sécurité de type SWT suite à une authentification réussie, et ce via un login et un mot de passe gérés par ACS, ou autrement dit une identité du service ACS

15 September 2011 0 Comments

Configuring a build server against your shiny new hosted TFS account

Now that you have a Team Foundation Service account, some of you are going to be interested in setting up a build machine to work with it.  Richard Hundhausen did a very nice video to walk you through this process but I’m going to recap it because there’s a few additional things I want to explain.  If you watch his video, it’s higher fidelity than this post but you might get some additional understanding here. First let’s talk about options.  You can install and configure a build machine to run against your Team Foundation Service account.  You will have to use a TFS 11 build agent.  The TFS build agent is part of the TFS install and is available to MSDN subscribers on the download site and will be available to everyone tomorrow (Friday 9/16) at this url: http://go.microsoft.com/fwlink/?LinkId=225714 You can install the build server on any machine you use – a workgroup machine at home, a domain machine at work, an Azure VM Role, an Amazon VM, whatever you like.  TFS doesn’t really care.  The machine just has to have connectivity to the internet to get to tfspreview.com. Run the TFS installer on the machine you want to install the build controller/agent on and you’ll accept the license, copy the bits on to the machine, etc and then get an install screen like this.  Since you are just installing a build server, you don’t want to choose any of the Team Foundation Application Server wizard.  You just want the Configure Team Foundation Build Service.  Click on “Configure Team Foundation Build Service” and then click the Start Wizard button at the bottom

22 June 2011 0 Comments

Business Agility and the Cloud

A paper on how cloud technologies increase business agility. Click the image to download. It’s a good paper for a developer to share with somebody from the business-side of an organisation to explain one aspect of the benefits of the cloud – agility.

22 June 2011 0 Comments

Mobile Development at DevTeach

There was a lot of buzz around mobile development at DevTeach Montreal a few weeks ago with an entire track dedicated to mobile development, 4 Windows Phone 7 sessions, and a post-conference full day event all about Windows Phone 7 with Colin Melia . As an added bonus, Carl Franklin ( @carlfranklin ) and Richard Campbell ( @richcampbell ) were on hand to host a special .NET Rocks! show – Panel of Mobile Platform Experts. On the panel were Kevin McNiesh, iPhone expert; Robert MacHale, Android expert; Michael Hutchinson, Mono expert; and Colin Melia, Windows Phone 7 expert.

11 April 2011 0 Comments

ACS Configuration For Development and Production Or Staging

During the work on Securing Windows Azure Web Role ASP.NET Web Application Using Access Control Service v2.0 I needed to handle both Compute Emulator and actual Windows Azure deployment in the context of ACS. By handle I mean that I needed to constantly change web.config entries and those that are managed by ACS Management Portal

9 April 2011 0 Comments

How-To’s And Scenarios Indexes For Windows Azure, Visual Studio Tools For Windows Azure, SQL Azure, Service Bus, And ACS

Windows Azure How-to Index Windows Azure Tools for Microsoft Visual Studio Scenario: Creating a New Windows Azure Project with Visual Studio Scenario: Managing Roles in the Windows Azure Project with Visual Studio Scenario: Configuring the Windows Azure Application with Visual Studio Scenario: Accessing the Windows Azure Storage Services Scenario: Debugging a Windows Azure Application in Visual Studio Scenario: Deploying a Windows Azure Application from Visual Studio Scenario: Using Remote Desktop with Windows Azure Roles Scenario: Using Windows Azure Connect to Create Virtual Networks Scenario: Troubleshooting ACS How To’s SQL Azure Development: How-to Topics Service Bus How-To’s": How to: Design a WCF Service Contract How to: Expose a REST-based Web Service Through the AppFabric Service Bus How to: Design a WCF Service Contract for use with the Service Bus .

7 April 2011 0 Comments

Invalid Web.Config Caused Failure To Deploy ASP.NET App To Windows Azure: “All role instances have stopped”, “Busy”, “Aborted”, “Recovering role…”, “Preparing node…”

Improper configuration settings in web.config caused failure to deploy and start Windows Azure role and instance. This is what I observed via Windows Azure Management portal with changing statuses as depicted below: In Visual Studio I observed the following statuses: After trying to figure out for several hours what’s going on I opened service ticket and the result was this: Exception:System.Runtime.InteropServices.COMException (0x800700B7): Filename: \?E:approot_WASR_web.config Line number: 42 Error: Config section ‘system.web/authentication’ already defined