0x01 Preface

  This post is mainly to share the technologies on my practice about the .NET Cross-Platforms.

If you had watched my first top post,you will know most of technologies uesd in my practice.Now,

I will Introduce the detials about this. Ready to go? Let's start!

0x02 What I am using

1.  Xamarin

   Using the Xamarin to build the mobile Apps,such as the Android app and the IOS app.but in

my practice,I only completed the Android app,the IOS app didn't complete yet,Ohm..because I do

not hava a Mac,I can't compiler the application.

2. Universal Windows Platform(UWP)

  Using the UWP to build the App of Windows Phone mobile or Windows . Due to my busy job,I can't

complete it as well . I am learning the Encrypt and Decrypt Algorithms on the UWP , there are some

differents between UWP and other situation,such as the namespace,the dealing method.

3. NancyFx

  Using the NancyFx to build the manage website and the data service website.The manage website

is hosting with aspnet and the data service website is hosting with owin.

4. MongoDB(Migrated from MS SQL Server)

  At first,I use the MS SQL Server as my database , but I think it is not suitable for  a little application .

So I migrated the database from MS SQL Server to MongoDB.And I use RobThree's MongoRepository to

Operate the MongoDB. It's very convenient to use MongoRepository like the Entity Framework , but there

are some differents between them.

0x03 How do I do

Let's look at the below picture first.

There are two websites : one is the data service,providing the services for the mobile,

the other one is the manage website,managing the data of this system.

The more detials are as follow:

I use two Virtual Machines to host the Data Service and the Manage website.The Operation

System of both two Virtual machines is CentOS.

For the Data Service,I depoly it with the TinyFox . The Data Service is based on the NancyFx

and OWIN,why I choose this combination? RESTful , RESTful , RESTful .This combination do

well in it . You can try this combination in your project.

For the Manage Website,I depoly it with the Jexus . The Manage Website is based on the NancyFx

Hosting with asp.net.So, there is no doubt that I will choose the Jexus for the Server.

If you do not hava any ideas of Jexus and the TinyFox , you can find them in  http://linuxdot.net/

And what about the database?

I use my own compute to host the MongoDB.I build a service for MongoDB so that makes it easy to use.

Completed the above step, all of the things are done.At this time, the apps can run successfully.

0x04  What I am thinking about the next

  Using the Xamarin to build the Navite Apps is a very good things,we can do everything like

the Navite Android and the IOS.Xamarin.Android and the Xamarin.IOS can do those work for us .

And I think the Xamarin.Forms may more suitable for what I do . And there are some problems

when I use the Xamarin.Forms .  For everything ,  the best way may not exist , but the suitable way do exist .

  Using the NancyFx to build the data service and the manage website will not change.I konw

the asp.net core rtm will Release soon,but I still do not want to use it now. The NancyFx team is also working hard .

  The Cross-Platforms is very nice.

  This is  the first time for me to use the english to write a post, so many oral english here. Please forgive me and

my mistakes on this post.

  And I am ready to find a new job after finishing all of my tasks . Maybe one month or a little more . If your company need

a developer not on time , you can Contact with me.

  At last,the source code

  https://github.com/hwqdt/Catcher.Finance

The Practice of .NET Cross-Platforms的更多相关文章

  1. C++ development cross platforms

    1. target platforms: linux suse, windows server, both use vmware virtual machine on lab server. 2. c ...

  2. [Erlang 0114] Erlang Resources 小站 2013年7月~12月资讯合集

    Erlang Resources 小站 2013年7月~12月资讯合集,方便检索.     附 2013上半年盘点: Erlang Resources 小站 2013年1月~6月资讯合集    小站地 ...

  3. 什么是Cocos2d-x

    以下是官方对Cocos2d-x的说明."       Cocos2d-x is an open-source mobile 2D game framework, released under ...

  4. Chapter 6 - How to Play Music and Sound Effect

    In this chapter, we would add background music to the game and play sound effect when the hero fires ...

  5. 通过HTML5的getUserMedia实现拍照功能

    参考HTML5Rocks的这篇文章实现的一个简单的例子. 思路如下: 1. 把冰箱门打开 2. 把大象放进冰箱里 3. 把冰箱门关上 好了不开玩笑了,其实思路是: 1. 通过getUserMedia调 ...

  6. Cross Site Request Forgery (CSRF)--spring security -转

    http://docs.spring.io/spring-security/site/docs/3.2.0.CI-SNAPSHOT/reference/html/csrf.html 13. Cross ...

  7. Computer Graphics Principles And Practice (James Foley / Andries Van Dam / Morgan McGuire / David Sklar / James D. Foley 著)

    1 Introduction 2 Introduction to 2D Graphics Using WPF 3 An Ancient Renderer Made Modern 4 A 2D Grap ...

  8. XSS CSS Cross SiteScript 跨站脚本攻击

    XSS攻击及防御 - 高爽|Coder - CSDN博客 https://blog.csdn.net/ghsau/article/details/17027893 XSS又称CSS,全称Cross S ...

  9. Comparing Xamarin and Delphi XE5 to Xcode for Cross Platform Mobile App Development

    Comparing Xamarin and Delphi XE5 to Xcode for Cross Platform Mobile App Development If you are consi ...

  10. aarch64 cross compile 交叉编译 opencv

    需求 : linux host :  UBUNTU opencv source : opencv 3.3.1.zip CMAKE  :  apt-get install cmake cmake-qt- ...

随机推荐

  1. 【译】PHP的变量实现(给PHP开发者的PHP源码-第三部分)

    文章来自:http://www.aintnot.com/2016/02/12/phps-source-code-for-php-developers-part3-variables-ch 原文:htt ...

  2. 细说ES7 JavaScript Decorators

    开篇概述 在上篇的ES7之Decorators实现AOP示例中,我们预先体验了ES7的Decorators,虽然它只是一个简单的日志AOP拦截Demo.但它也足以让我们体会到ES7 Decorator ...

  3. 使用WCF的Trace与Message Log功能

      原创地址:http://www.cnblogs.com/jfzhu/p/4030008.html 转载请注明出处   前面介绍过如何创建一个WCF Service http://www.cnblo ...

  4. Hystrix框架1--入门

    介绍 在开发应用中或多或少会依赖各种外界的服务,利用各个服务来完成自己的业务需求,现在流行的微服务架构更是离不开各个服务之间的调用,这就导致整体应用的可用性依赖于各个依赖服务的可用性. 比如一个依赖3 ...

  5. Javascript算法系列之快速排序(Quicksort)

    原文出自: http://www.nczonline.net/blog/2012/11/27/computer-science-in-javascript-quicksort/ https://gis ...

  6. WPF自定义控件与样式(2)-自定义按钮FButton

    一.前言.效果图 申明:WPF自定义控件与样式是一个系列文章,前后是有些关联的,但大多是按照由简到繁的顺序逐步发布的等,若有不明白的地方可以参考本系列前面的文章,文末附有部分文章链接. 还是先看看效果 ...

  7. 深入理解脚本化CSS系列第六篇——脚本化伪元素的6种方法

    × 目录 [1]动态样式 [2]CSS类[3]setAttribute()[4]CSSRule对象添加[5]空样式覆盖[6]CSSRule对象删除 前面的话 我们可以通过计算样式来读取伪元素的样式信息 ...

  8. ASP.NET WebAPi之断点续传下载(中)

    前言 前情回顾:上一篇我们遗留了两个问题,一个是未完全实现断点续传,另外则是在响应时是返回StreamContent还是PushStreamContent呢?这一节我们重点来解决这两个问题,同时就在此 ...

  9. 《HTML重构》读书笔记&思维导图

    最近读了<HTML重构>这本书,以下做出自己的总结归纳,大家可以一起学习交流. 什么是重构?重构是在不改变程序行为的基础上进行小的改动是代码基本逐渐完善的过程,通常需要一些自动化工具的帮助 ...

  10. 如何完全卸载OneDrive (Windows 10 64bit)

    原文参考 http://lifehacker.com/how-to-completely-uninstall-onedrive-in-windows-10-1725363532 To complete ...