如何在Visual Studio 2015 ASP.NET MVC项目中添加Apache Cordova [英] How to add Apache Cordova in Visual Studio 2015 ASP.NET MVC project

本文介绍了如何在Visual Studio 2015 ASP.NET MVC项目中添加Apache Cordova的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用一个常见的ASP.NET后端为多个目标系统,一个Web应用程序和一个混合移动应用程序创建一个项目. 据我所知,现在可以使用Visual Studio 2015中的Apache Cordova Apps模板创建混合移动应用程序.我也熟悉ASP.NET MVC. 是否可以将Apache Cordova和Angular添加到ASP.NET MVC项目中以同时启用移动视图,以便还可以对其进行测试并将其部署到任何移动平台上? (我更喜欢使用ASP.NET MVC而不是Web API)

I want to create a project for multiple target systems, a web application and a hybrid mobile app using a common ASP.NET back-end. As far I know it's possible to create now a hybrid mobile app using the Apache Cordova Apps template in Visual Studio 2015. I'm also familiar with ASP.NET MVC. Is it possible to add Apache Cordova and Angular to an ASP.NET MVC project to enable also mobile views, so it can be also tested and deployed to any mobile platforms? (I'd prefer to use ASP.NET MVC instead of Web API)

如果否,是否可以将ASP.NET Web应用程序的Apache Cordova Apps项目扩展到后端以达到相同的目标?

If no, is it possible to extend the Apache Cordova Apps project with ASP.NET Web Application for back-end to reach the same goals?

有没有可用的样本来说明项目的结构?

Are any samples available, which demonstrate the project structure for?

推荐答案

您可能想在托管应用程序上阅读此文章,以了解更多信息: http://taco.visualstudio.com/en-us/docs/create-a-hosted-app/

You might want to read this article on hosted apps for more info: http://taco.visualstudio.com/en-us/docs/create-a-hosted-app/

这篇关于如何在Visual Studio 2015 ASP.NET MVC项目中添加Apache Cordova的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆