How to use PhoneGap with Visual Studio - visual-studio-2012

I'm having trouble getting started with PhoneGap on windows 8, VS 2012, namely:
I don't know how to install the templates
I open the template projects I've downloaded from PhoneGap, but they are in compatible with VS2012
I don't know where to start in respect to creating my first simple CRUD application
I want to connect to a WCF API and make some calls
How to publish the result allowing installation on many devices:
I mainly want to use iPhone and Android devices
How do I get started with PhoneGap?

#Smithy, Microsoft just made it possible to develop Cordova apps with Visual Studio 2013 Update 2.
Its just a preview as far as I understand, but go have a look.
If you have the latest version of Visual Studio installed, you need to go to Microsoft'd download page and download the installer:
http://www.microsoft.com/en-us/download/details.aspx?id=42675
This comes along with documentation on how to get started and how to install and set it up in VS 2013.
Good luck.
UPDATE:
With the release of Visual Studio 2013 Community Edition along with Update 4, MS has made it easier than ever to create Cordova project....and best thing of all is it's FREE!!!!
Benefit is that if your used to VS like me, this is a comfortable environment, and its super easy to get started.
To get access to these templates, follow the steps when creating a new project in VS, and you will be prompted to install additional software, including but not limited to SDK Manager, adt, iTunes, emulators etc..
After these are installed, it is now simple to create projects, edit and run them in the included RIPPLE emulator.
These projects can also in addition be deployed to your device from VS.
To check if your device is picked up on your PC, open a cmd and run "adb devices" to see if your device is picked up on your PC and a list of connected devices.
Easy, effective and it works. From, see link on terms of use and limitations in organisations: Free Dev Tools
Download link here: http://www.visualstudio.com/en-gb/products/free-developer-offers-vs
Q: Who can use Visual Studio Community?
A: Here’s how individual developers can use Visual Studio Community:
Any individual developer can use Visual Studio Community to create their own free or paid apps.
Here’s how Visual Studio Community can be used in organizations:
An unlimited number of users within an organization can use Visual Studio Community for the following scenarios: in a classroom learning environment, for academic research, or for contributing to open source projects.
For all other usage scenarios: In non-enterprise organizations, up to 5 users can use Visual Studio Community. In enterprise organizations (meaning those with >250 PCs or > $1 Million US Dollars in annual revenue), no use is permitted beyond the open source, academic research, and classroom learning environment scenarios described above.
Thanks Microsoft!

You can use VS to edit the html, css, and javascript files, but I don't believe there are any VS project templates available. At least I've never seen any.
But, you won't be able to compile and deploy. The templates for Android for instance are eclipse project templates since phonegap is building a java application in order to deploy to android.
If you want to develop for android, follow the getting started guide from Phonegap ( I can't get you a link right now due to firewall issues). The files you put in the www folder will be the html, css, and javascript files for your project and you can use anything you want to edit them, including VS.

You can create PhoneGap application using
Cordova vs plugin
Telerik App Builder
vsnomad
for more information please see the below link
http://sourcefreeze.com/cross-platform/visual-studio-cordova-plugins-for-cross-platform-mobile-apps/

You may also want to refer to this post that describes how to use Phonegap projects in the new Multi-Device Hybrid Apps that uses Cordova integration in VS - https://stackoverflow.com/a/23621633/1277291

RedGate has a product called Nomad which integrates beautifully with Visual Studio 2013.
It makes use of the PhoneGap Build cloud service. With this approach you don't need all the platform SDK's on your system. Works very well.
See this video. Unfortunately RedGate recently stopped supporting Nomad. I'm hoping Microsoft's new offering will offer similar capability.

Related

Is it possible to use the ServiceStack templates in Visual Studio 2017 or 2019?

Is it possible to use the ServiceStack templates in Visual Studio 2017 or 2019? I've seen the documentation reference VS Code. I'm able to run the projects in VS 2019. If there is a place ask ServiceStack, I haven't found it yet.
All ServiceStack Project Templates should work in Visual Studio, eventually all .NET Core projects will be upgraded to use .NET Core 3.1 LTS when it's released where you'll need to use VS 2019.
But most of the Single Page App Templates utilizes npm utils to provide web transformations and each SPA Framework has unique formats like Vue's SFC's, React JSX and .svelte templates which are poorly supported in Visual Studio, you'll have a much better development experience using either VS Code or JetBrains Rider with first-class support for these formats and much better Terminal integration to run watched npm utils.
If I needed to use Visual Studio I'd only use it for all back-end C# development whilst using VS Code for all front-end development and running built-in npm utils in its multi terminal window support.
Otherwise for non SPA project templates using Visual Studio should provide a good development experience.
If there is a place ask ServiceStack, I haven't found it yet.
If you're asking if there's a specific place to ask ServiceStack questions, you can use the ServiceStack Customer Forums.

Recompile on save isn't working

I started a Node.js project on Visual Studio 2017 Community on my PC at home, just to test a few things out and play around.
When I begin "debugging" (as in get Visual Studio to compile and launch the website), any changes I make and save to files are not reflected until I restart the entire debugging process. I've Node.js projects through Visual Studio on other computers, and they seemed to recompile the individual files as they were saved, reflecting any changes immediately. I can't seem to find anything online that would suggest a solution, I guess Visual Studio/node.js is a pretty rare combination.
My Visual Studio Community 2017 installation on Windows 10 is fairly slim. In terms of components:
Cloud, database, and server:
Connectivity and publishing tools
Web Deploy
Code tools: Developer Analytics tools
Debugging and testing: JavaScript diagnostics
Development activities:
JavaScript and TypeScript language support
Node.js support
SDKs, libraries, and frameworks: TypeScript 2.5 SDK
Would anyone how I can make Visual Studio recompile each file on save while debugging? It's definitely possible, I'm probably just missing something!
I've since figured that this is not native functionality for VisualStudio to recompile each time an application-dependent file is changed. There are, however, packages available that can allow Node to do this, such as Nodemon.

Create Mac apps with Xamarin from Visual Studio

It seems to be easy enough to create Android and IOS apps on Xamarin in Visual Studio, but I can't see how to create OSX apps.
On the Xamarin download page for Windows/VS it states that this "Includes the following: Mac - Develop Apps with Xamarin.Mac". There is no option to create an OSX/Mac project
Apologies if I'm being dense but I am going round in circles here and always end up with information on creating IOS apps. I know I can create apps using Xamarin Studio on the Mac but that isn't ideal.
It wasn't possible before, but it is possible now with Xamarin for Visual Studio 4.2. The support is limited to certain project types though. More information is available in the blog post.

IPP and Visual Studio 2012

I've been trying to get the .NET Dev Kit and Azure SDK to work with Visual Studio 2012 and am not having much luck. What am I missing?
The Azure SDK installation instructions don't work on VS 2012. When I search for anything Intuit-related from the VS Extension Manager, nothing comes up.
I tried installing from the VS Gallery but then there's no Intuit Anywhere menu in VS as shown in the VS 2010 screen shot. (These instructions are highly suspect, since Intuit has moved away from the "Intuit Anywhere" name. But given that the developer site was overhauled recently I would expect the instructions to be up to date.)
Is there an easy way to get this to work with VS 2012, or am I wasting my time? Am I better off just building everything from scratch? (We have done that in another project, just not with Azure.)
The Plugin for Visual Studio has not been updated for Visual Studio 2012, the last supported version is 2010.
The code that the plugin generates is available as templates and sample code as well.
It includes the Oauth grant and handler pages, as well as the OpenId handlers.
regards,
Jarred

What installer options are there for Visual Studio 2012 Express for Desktop

So Microsoft released Visual Studio 2012 Express for desktop apps. That's great, but how does one create an installer for open source apps that are built in Visual Studio Express? There are no installer templates available by default, and they have disabled browsing the online gallery. Sure, I could purchase something like InstallShield, but that kind of defeats the purpose of an open source application if you ask me. Any suggestions?
You can use the open source NSIS or WiX tools to create fairly nice installers.
Since both should work without the Visual Studio integration that Express won't give you, they should both be usable (even if not quite as nicely) without problems.
I would use Inno Setup, which is a little easier to learn than most other setup programs.
I have a link here:
http://www.jrsoftware.org/ishelp/

Resources