The Practice of .NET Cross-Platforms
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的更多相关文章
- C++ development cross platforms
1. target platforms: linux suse, windows server, both use vmware virtual machine on lab server. 2. c ...
- [Erlang 0114] Erlang Resources 小站 2013年7月~12月资讯合集
Erlang Resources 小站 2013年7月~12月资讯合集,方便检索. 附 2013上半年盘点: Erlang Resources 小站 2013年1月~6月资讯合集 小站地 ...
- 什么是Cocos2d-x
以下是官方对Cocos2d-x的说明." Cocos2d-x is an open-source mobile 2D game framework, released under ...
- 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 ...
- 通过HTML5的getUserMedia实现拍照功能
参考HTML5Rocks的这篇文章实现的一个简单的例子. 思路如下: 1. 把冰箱门打开 2. 把大象放进冰箱里 3. 把冰箱门关上 好了不开玩笑了,其实思路是: 1. 通过getUserMedia调 ...
- 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 ...
- 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 ...
- XSS CSS Cross SiteScript 跨站脚本攻击
XSS攻击及防御 - 高爽|Coder - CSDN博客 https://blog.csdn.net/ghsau/article/details/17027893 XSS又称CSS,全称Cross S ...
- 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 ...
- aarch64 cross compile 交叉编译 opencv
需求 : linux host : UBUNTU opencv source : opencv 3.3.1.zip CMAKE : apt-get install cmake cmake-qt- ...
随机推荐
- EQueue性能测试计划
1.发送消息吞吐量的测试: 1)单台producer单个进程的发送消息tps2)单台producer多个进程的发送消息tps3)单台broker的接收消息tps,由于单台producer可能压不满,所 ...
- Java NIO5:选择器1---理论篇
选择器 最后,我们探索一下选择器.由于选择器内容比较多,所以本篇先偏理论地讲一下,后一篇讲代码,文章也没有什么概括.总结的,写到哪儿算哪儿了,只求能将选择器写明白,并且将一些相对重要的内容加粗标红. ...
- 【Prince2是什么】PRINCE2认证之项目四大管理步骤
昨天谈到PRINCE2要求项目经理在做项目的时候要考虑四大核心指标(成本.时间.质量.范围)加风险与收益这两个重要要素. 然后PRINCE2基于这几大要素进行了四大管理步骤,分别是: 1.计划 2.授 ...
- 大叔也学Xamarin系列
回到占占推荐博客索引 我就是我,请叫我仓储大叔 大叔听很多客户说,xamarin的资料网上太少了,是的,大叔也相信,因为大叔在学xamarin里确实很费劲,只能看看androd for java了,呵 ...
- Attribute富文本使用方法
★★★Attribut富文本★★★ 在UITextView和UILable的使用中很多的时候会用到富文本. UITextView和UILable的区别在于: ★★★★UITextView 当文字大于一 ...
- selenium的安装
一.安装selenium 通过pip命令安装selenium包:(pip的安装方法:http://www.cnblogs.com/zhengyihan1216/articles/6011640.htm ...
- VMware 安装虚拟机安装MAC (OSX10_11)
一.简述前言: 1.本案例是基于 VMware Workstation Pro(专业版)12 上创建一个MAC操作系统(版本 :OSX10_11),下面的步骤基本上和安装其他类型的虚拟机没有什么区别. ...
- LINQ系列:Linq to Object相等操作符
相等操作符通过比较两个序列来检查它们相应的元素是否相同.如果两个序列有相同的元素,并且对应元素的值相同,则认为这两个序列是相等的. SequenceEqual操作符判定两个集合是否相等.判定是通过并行 ...
- MVVM框架下,WPF实现Datagrid里的全选和选择
最近的一个项目是用MVVM实现,在实现功能的时候,就会有一些东西,和以前有很大的区别,项目中就用到了常用的序号,就是在Datagrid里的一个字段,用checkbox来实现. 既然是MVVM,就要用到 ...
- 《JS设计模式笔记》 3,观察者模式
<script type="text/javascript"> //挂插着模式又叫发布订阅模式应该是最常用的模式 //1,dom事件就是观察者模式,只要订阅了click ...