This project is read-only.

Deployment Guide

This page describes how to install and configure MVC Time Planner. As this project is in alpha right now I expect it to be put up on development environment.

Database

  1. Create database FullCalendarExample.
  2. Add new user to database (my example uses FullC__user: FullC__pwd) and grant access to FullCalendarExample database. This user needs permissions to read and write to tables.
  3. Make sure that new user can access database.
  4. Open solution in Visual Studio 2010 and deploy Gp.Examples.FullCalendar.Schema project to database.
  5. Open hibernate.cfg.xml (it is in web application project’s bin folder) and modify connection.connection_string setting to use the user credentials you created before. This connection string is used by web application.
  6. Save hibernate.cfg.xml.

LiveId

  1. Using your LiveId log in to Azure LiveId services page.
  2. Create new service (New service => Existing services) and insert parameters: <br/>
Service Component Label – it is identifying name for your application
Domain – insert something there (you will modify IP mappings later, I am using MyCloudService.com)
Return URL – insert the URL to authentication service (I am using http://MyCloudService.com:81/Authentication/LiveIdHandler.ashx) NB! You must run web application on some fixed port because LiveId returns you back to given URL that contains also port (if it is not 80). By default the sample application uses port 81.
  1. Save service settings.
  2. Goto application root folder and rename settings.config.template to settings.config
  3. Open settings.config and copy-paste values from Azure page to your AppSettings block (WLAApplicationId is Application ID and WLAApplicationKey is Secret Key).
  4. Save settings.config.
  5. Open c:\windows\system32\drivers\etc\hosts and add there the following line right after 127.0.0.1 mapping (you have to open this file using elevated permissions):
127.0.0.1 MyCloudService.com
  1. Save hosts file.

Last edited May 30, 2010 at 6:33 PM by gpeipman, version 2

Comments

No comments yet.