Contoso ISV Overview

ISV_Big.png ISV_Small.png ISV_SL_Fullscreen.png ISV_Messenger.png ISV_Messenger_2.png ISV_Alert.png
  • Contoso ISV site http://contosoisv.mslivelabs.com A professional services website using the Windows Live platform services for a customer acquisition / CRM scenario. Featured technologies are the Windows Live Messenger IM Control where customers can interact with sales staff, and the sales staff can schedule an appointment within the Windows Live Messenger client via an activity which integrates Microsoft Virtual Earth and Windows Live Alerts. This application also leverages Silverlight Streaming by Windows Live to provide an interactive video carousel.
    • Contains Silverlight application with multiple videos
    • Listing of stories / content (right now this is static)
    • Shows presence of sales staff using Windows Live Messenger IM Control (see below for configuration).
  • Contoso ISV Sales Activity an ASP.NET application which gets surfaced within Windows Live Messenger see http://contosoisvactivity.mslivelabs.com/
    • Used by sales staff scheduling a meeting with a customer
    • sales staff enter the address of customer, time, and directions are generated from Virtual Earth
    • the service staff can then get notified using Windows Live Alerts by clicking Send Appointment. To test this you must sign up to the Alert.

How to run the demo of this site

Website setup

The website is an ASP.NET 2.0 application utilising the ASP.NET AJAX Extensions and Futures.
Server / Development Requirements

Configurations:

  • Contoso Site:
    • News Items are stored in Contoso.Common.Logic.NewsBL
      • web.config - Contoso Site
      • Set your allert PIN and password in the appsettings, repacing xxx with your values
      • <appSettings>
        • <add key="AlertPIN" value="xxx"/>
        • <add key="AlertPassword" value="xxx"/>
        • <add key="TransportType" value="MSNA"/>
      • </appSettings>

URL Query String:

  • The Contoso site in both flavours accepts a replacement Live ID for the first news item presence and the webIM.
  • The format is: default.aspx?id=XXXXXXXXXX)
  • Where XXXXXXXXXX is the hexidecimal ID generated for communication with Windows Live Messenger IM Control for that Live ID. It is appended to @apps.messenger.live.com

Sales site (messenger activity):

For testing in Messenger place MSGRP2P.xml in location where messenger is installed e.g. C:\Program Files\MSN Messenger
Configure MSGRP2P.xml to point to the default page of the sales site using the following setting:
*<URL>xxxxx</URL>

Windows Live Alert for the Contoso Sales Staff

  • Set your allert PIN and password and the group to send messages to in the appsettings, repacing xxx with your values:
    • <appSettings>
      • <add key="AlertPIN" value="xxx"/>
      • <add key="AlertPassword" value="xxx"/>
      • <add key="TransportType" value="MSNA"/>
      • <add key="MessageGroup" value="xxx"/>
    • </appSettings>
  • Signing up for Alerts, creating groups and assigning users to groups:
    • User ContosoSite/AlertSignup.aspx
  • To add a user:
    • Enter the email address or identifier for the new user in the first text box and hit signup for alerts. If the user hasn't signed up before they will be taken to the alerts signup page. If nothing happens they already exist.
  • To add a user to a group
    • Enter their email address or identifier in the first box and the name of the group in the 2nd box and hit Add to Group. If the user doesn't exist, they will be prompted before being added to the group. If the group doesn't exist, it will be created.

Agent setup (Uses Windows Live Alerts)

  • To get the runtime see Windows Live Alerts
  • To set the liveid/pwd for login for the agent set the following in the IDE and then save:
    • <service type="MSN">
      • <login>your liveid email address</login>
      • <password>your live id password</password>

Localization

  • Localize Contoso
    • Copy Default.aspx.resx, Default_BIG.aspx.resx, AlertSignup.aspx.resx to Default.aspx.<language>.resx, Default_BIG.aspx.<language>.resx, AlertSignup.aspx.<language>.resx in Contoso\App_LocalResources folder. Where <language> is the language you want to localize to. For example, en-us, zh-cn, de-de.
      • DefaultRecipient is default recipient in IM control.
      • HomePageNewsFeed is the RSS feed where your news come from. Recommend to create a space in Windows Live Spaces.
      • PlayVideos is videos played with SilverLight Streaming.
    • Copy Contoso\css\en-us to Contoso\css\<language>. Replace the images with your localized staff with the same name.
      • Modify ImagePath in Default.aspx.<language>.resx and Default_BIG.aspx.<language>.resx.
  • Localize Contoso.Sales
    • Copy Default.aspx.resx to Default.aspx.<language>.resx in Contoso.Sales\App_LocalResources folder. Where <language> is the language you want to localize to. For example, en-us, zh-cn, de-de.
      • DefaultLatLong is the default latitude and longitude of initial map position.
      • OfficeLatLong is default latitude and longitude of your office postion.
    • Copy Resource.resx to Resource.<language>.resx in Contoso.Sales folder.
    • Copy Contoso.Sales\css\en-us to Contoso.Sales\css\<language>. Replace the images with your localized staff with the same name.
      • Modify ImagePath in Default.aspx.<language>.resx.
  • View the result
    • In "Internet Options" -> Languages, add your language and make it be first. Then browse Contoso. See the following screen shots.
ISV_Localization1.PNG ISV_Localization2.png ISV_Localization3.png ISV_Localization4.png ISV_Localization5.png ISV_Chinese.png ISV_Chinese_Big.png

Last edited Feb 19, 2008 at 2:39 PM by Mallik, version 33

Comments

No comments yet.