All Projects → Magenic → MyVote

Magenic / MyVote

Licence: Apache-2.0 license
myvotelive.com/

Programming Languages

C#
18002 projects
typescript
32286 projects
HTML
75241 projects
PLpgSQL
1095 projects
javascript
184084 projects - #8 most used programming language
powershell
5483 projects

MyVote

MyVote is an app developed by Magenic as a comprehensive demo for the Modern Apps Live! conference held twice a year as part of Live! 360 Dev.

The code in this repo has been scrubbed to remove sensitive key values for encryption and services. The following is a list of changes you'll need to make to insert your own keys into the codebase:

src/MyVote.UI.W8/Services/MobileService.cs

	private readonly MobileServiceClient mobileService = new MobileServiceClient(
		new Uri("MyUrl", UriKind.Absolute),
		"MyKey"
	);
  • Replace "MyUrl" with your Azure Mobile Services url.
  • Replace "MyKey" with your Azure Mobile Services application key.

src/MyVote.AppServer/Web.config

  • Replace the value of the zumoMaster appSettings entry with your Azure Mobile Service master key.

src/MyVote.AppServer/Web.Release.config and Web.Staging.config

  • Replace the connection string with your production and staging environment connection strings.

src/MyVote.AzureService/ServiceConfiguration.Cloud.cscfg

  • If you want to enable remote desktop access to your Cloud Service VM, follow the instructions found here. Set the thumbprint value in the Certificate tag.

src/MyVote/AzureService/Profiles

  • To publish the Cloud Service to Azure, configure it in the Azure Management Portal, download the Publish profile, and import it into this project.

src/MyVote.Client.W8/app.xaml.cs and src/MyVote.Client.Wp8/Bootstrapper.cs -> Configure()

  • Replace Csla.ApplicationContext.DataPortalUrlString values with your server urls.

src/MyVote.Client.Web/Web.config

  • Replace the value of the zumoKey entry with your Azure Mobile Service application key.

src/MyVote.Client.Web/Web.Release.config and Web.Staging.config

  • Replace the value of the apiUrl appSettings entries with the URLs of your Production and Staging cloud services.

MyVote iPad Setup

src/iPad/MyVoteLV/MyVoteLV/HelperClasses/Constants.m

Replace "kURL" with your Azure Mobile Service url. Replace "kAppKey" with your Azure Mobile Services application key. Replace "kMALAPIBaseURLString" with your REST API endpoint.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].