Lucky Lottery Numbers (Cloud Service Only): A Simple Cloud Application (Azure)

Lucky Lottery Numbers (Cloud Service Only): A Simple Cloud Application (Azure)

A Windows Azure Cloud Application with WCF Service Web Role [also reference WCF Data Services (Windows Communication Foundation)]

This service accepts a user’s name and age then outputs six lucky lottery numbers. The lucky numbers are based on the user’s age, today’s date, a random number generator, and the most frequent powerball number is 20. Note: The maximum possible PowerBall number is 69.

Code Samples:
ILuckyLotteryNumbersService.cs
LuckyLotteryNumbersService.svc
LuckyLotteryNumbersService.svc.cs
WebRole.cs
Visual Studio Solution (42 MB): myCloudServiceDemo_VSS
Deployment: Azure Cloud WCF services is not free and I do not currently have a paid subscription for WCF Services to currently demonstrate this on the actual cloud. You can sign-up for a free trial version for Azure and after the trial period continue to pay for individual services. I am hoping in the future the Microsoft Imagine program will include WCF Services free under the student subscription.
(Build –> Publish to Microsoft Azure)
(Publish Settings –> Build Configuration: Release, Service Configuration: Cloud)