如何将我的MVC项目转换为移动应用程序? [英] How do I convert my MVC project into a mobile app?
本文介绍了如何将我的MVC项目转换为移动应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好
我正在Visual Studio 2015中处理ASP.NET mvc项目,现在我需要将我的项目转换为Android移动应用程序它使用API将数据保存在同一个数据库中。
您如何建议我这样做?
我尝试过:
我研究了一种使用Xamarin工作室的方法,但我似乎无法找到一种方法连接到与主MVC相同的数据库项目使用API。
解决方案
使用Phonegap(Cordova)
您的网站将在webview中呈现
有一个名为设备就绪的事件你只需要重定向到网站URL
下载Phonegap桌面实现这一目标。添加新项目
第3步:创建您的应用程序| PhoneGap Docs [ ^ ]
Hello
I am working on a ASP.NET mvc project in Visual Studio 2015, and I have now been required to convert my project into an android mobile application which saves data in the same database using API's .
How would you suggest I go about doing that?
What I have tried:
I've researched a way to use Xamarin studio but I can't seem to find a way to connect to the same database as the main MVC project using API's.
解决方案
Use Phonegap(Cordova)
Your website will render in webview
there is an event called device ready u just need to redirect to Website URL
Download Phonegap Desktop To achieve this. Add new project
Step 3: Create Your App | PhoneGap Docs[^]
这篇关于如何将我的MVC项目转换为移动应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文