How to add Apache Cordova in Visual Studio 2015 AS

2019-04-14 01:43发布

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)

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?

2条回答
我欲成王,谁敢阻挡
2楼-- · 2019-04-14 02:13

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

查看更多
在下西门庆
3楼-- · 2019-04-14 02:23

You should open a different Cordova project, MVC is server side and cordova is client side. I suggest you try the ionic template or the onsen ui. You can run this code on a browser no worries. check this out: http://taco.visualstudio.com/en-us/docs/tutorial-ionic/

查看更多
登录 后发表回答