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- ...
随机推荐
- 标准数据源访问库 - JayData
JayData 是一个标准的.跨平台的库和方法,用于访问和操作各种不同的数据源,最适合用于 JavaScript 和 HTML5 应用. 官方网站:http://jaydata.org/ ASP.N ...
- 开始研究web,mark一下
之前想要搞引擎,经过思考之后,定位为webgl方面的引擎,这个决定早就做了,只是没有写下来 做了一些调研之后,确定使用babylon.js 和typescript 和c# 来开发 Babylo ...
- ASP.NET MVC 5– 使用Wijmo MVC 5模板1分钟创建应用
开始使用 使用ComponentOne Studio for ASP.NET Wijmo制作MVC5应用程序,首先要做的是安装Studio for ASP.NET Wijmo . 测试环境 VS201 ...
- Oracle没有WM_CONCAT函数的解决办法
WM_CONCAT是oracle的非公开函数,并不鼓励使用,新版本oracle并没有带此函数,需要手工加上. 1.下载三个文件:owmctab.plb . owmaggrs.plb . owmagg ...
- C语言 · 删除数组0元素
从键盘读入n个整数放入数组中,编写函数CompactIntegers,删除数组中所有值为0的元素,其后元素向数组首端移动.注意,CompactIntegers函数需要接受数组及其元素个数作为参数,函数 ...
- 《Entity Framework 6 Recipes》中文翻译系列 (38) ------ 第七章 使用对象服务之动态创建连接字符串和从数据库读取模型
翻译的初衷以及为什么选择<Entity Framework 6 Recipes>来学习,请看本系列开篇 第七章 使用对象服务 本章篇幅适中,对真实应用中的常见问题提供了切实可行的解决方案. ...
- ie6 z-index不起作用的解决方法
一.概念 z-index伴随着层的概念产生的.网页中,层的概念与photoshop或是flash中层的概念是一致的.熟悉photoshop或是flash的应该知道,层级越高(图层越靠上),越在上面显示 ...
- Mac SVN 设置代理(Proxy)并 Checkout 代码
1. 设置代理 Finder 菜单里面 -> 前往 -> 前往文件夹 -> /Users/username/.subversion -> 编辑文件 servers 在文件的 [ ...
- Sql Server系列:数据类型转换函数
T-SQL提供了两个显示转换的函数:CAST函数和CONVERT函数. 1. CAST函数 语法: CAST ( expression AS data_type [ ( length ) ] ) 示例 ...
- Triangle - Delaunay Triangulator
Triangle - Delaunay Triangulator eryar@163.com Abstract. Triangle is a 2D quality mesh generator an ...