DietCalculator built using Portable Class Libraries(PCL)
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.nuget
DietCalculator.Core
DietCalculator.Droid
DietCalculator.WP
DietCalculator.WinRT
DietCalculator.iOS
Silverlight_MVC.Web
Silverlight_MVC
.gitattributes
.gitignore
DietCalculatorVS.sln
DietCalculatorXS.sln
README.md

README.md

DietCalculatorPCL

DietCalculator built for 4 mobile platforms(iOS, Android, Windows Phone, Windows Store Apps) using shareable codebase in Portable Class Libraries.

##About Diet Calculator

DietCalculator is a Silverlight MVC application written few years ago that calcuates daily diet requirements based on few inputs from the user. Check this blog

##Port to Mobile

Many .NET developers working on the Windows platform don’t realize that lots of existing .NET code can easily be ported to all the popular mobile platforms, including iOS and Android. Almost any .NET codebase, including Windows Forms, WPF, ASP.NET, and Silverlight, has sharable code that can be ported to Xamarin.iOS, Xamarin.Android, Windows Phone & Windows Store.

This project demonstrates the re-use of platform agnostic C# code on all the major platforms.

Refer these blogs for detailed explanation:

##Requirements for building the project

WINRT and WP project uses the following libraries from Nuget:

Please update them before compiling:

  • Right click on the Solution node in Solution Explorer and select Enable NuGet Package Restore.
  • Clean and Re-build the solution

If you are stuck, let me know - @nishanil