Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nishanil/dietcalculatorpcl
DietCalculator built using Portable Class Libraries(PCL)
https://github.com/nishanil/dietcalculatorpcl
Last synced: 3 months ago
JSON representation
DietCalculator built using Portable Class Libraries(PCL)
- Host: GitHub
- URL: https://github.com/nishanil/dietcalculatorpcl
- Owner: nishanil
- Created: 2013-10-07T12:01:03.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-12-02T08:25:36.000Z (about 11 years ago)
- Last Synced: 2023-04-04T20:58:06.780Z (almost 2 years ago)
- Language: C#
- Homepage:
- Size: 4.98 MB
- Stars: 10
- Watchers: 4
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
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](http://www.silverlightshow.net/items/Exploring-the-Model-View-Controller-MVC-pattern.aspx )
##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:
- [Porting existing .NET apps to iOS](http://blog.xamarin.com/porting-existing-.net-apps-to-ios/)
- [Porting existing .NET apps to Android](http://blog.xamarin.com/porting-existing-.net-apps-to-android/)
- [Porting existing .NET apps to four mobile platforms](http://blog.xamarin.com/porting-existing-.net-apps-to-four-mobile-platforms-with-pcl/)##Requirements for building the project
WINRT and WP project uses the following libraries from Nuget:
- [WINRT XAML Toolkit](http://www.nuget.org/packages/winrtxamltoolkit/)
- [Windows Phone Toolkit](http://www.nuget.org/packages/WPToolkit/)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 solutionIf you are stuck, let me know - [@nishanil](http://twitter.com/NishAnil)