visual c++ with html 5 project template not found - visual-studio-2012

I downloaded Microsoft visual studio express 2012 for windows phone.
But when I go to new project, I can't find HTML5 app for visual c++ project template.
However HTML5 app for visual c# and visual basic is found.
It seem like microsoft done this on purpose (don't know why).
Does anyone know guide to create new HTML5 app with visual c++ project template?
any link would be useful.
edit: I did more searching and found this
http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj206940(v=vs.105).aspx
HTML-based phone apps aren’t a supported app model in Windows
Phone 8. However, a developer can create a managed app with a XAML
front end that uses an embedded browser control to display local HTML
content,
However this only apply to windows phone 8 and not windows 8
which is the source of confusion for me.

This is because the HTML app template is a WebBrowserControl hosted inside in small XAML/.NET app layer, and it isn't currently possible to write a XAML/C++ app on WP8.
If you need to add C++ you should be able to add a Windows Runtime component to your app and call through to that: although that would mean calling through from JS->.NET->WinRT.

Related

automatically generate API controllers in Visual Studio

I have an existing SQL Server database that I want to use in a ASP.NET Core 3.0 web API project using Visual Studio 2019.
I'm following this tutorial to help me figure out how to do this:
Create a web API with ASP.NET Core
I don't need any views, because I'm going to have a separate ReactJS project for my front-end views that the user will interact with in a browser. I just want to use this API so that the ReactJS part can connect to it when it needs to
I have the solution created, but I'm not sure how to get Visual Studio to automatically generate the controllers from the database for what the tutorial calls CRUD.
I installed the Microsoft.EntityFrameworkCore.SqlServer package using the Nuget Package Manager in Visual Studio.
Is there a special command I need to run or do I need to install a library?
Thanks!

Should I use empty website or spa web application template for an Angular 2 project in Visual Studio?

For an angular project every tutorial on web, indicates to use Visual Studio Code. I am familiar with visual studio environment for like ten years besides there will be more project in my solution. Visual studio code is fine for an angular project but what about other projects in my solution? like services or class libraries.
So i decided to use visual studio 2017 rather than visual studio code. But i couldnt decide which template to choose for angular project, a website or spa template? And is there a way to run an angular project on nodejs just clicking run button.
I would really recommend using the Angular CLI if possible. The CLI adds tooling for testing and AOT among other things that will save you a lot of time in the future.
here is an article about using the CLI with Visual Studio in an MVC app it may give you more info on specifics that you have.
http://candordeveloper.com/2017/04/12/how-to-use-angular-cli-with-visual-studio-2017/
There are some excellent custom templates available for Visual Studio. I personally use this one for Visual Studio 2015. However, I am sure it would work for Visual Studio 2017.
https://marketplace.visualstudio.com/items?itemName=Drag13.Angular2WebTemplate
You can try out the new templates available via "dotnet new" such as "dotnet new angular" You can find out more here: https://dotnetcore.gaprogman.com/2017/04/20/dotnet-new-angular-single-page-application-setup-and-how-the-template-works/

How to know if an android app is developed on Android Studio or App Inventor?

How to find out whether an android app is developed using Android Studio or App Inventor ??
The apps if created by App Inventor and published on the play store contains a link or a credit for App Inventor.
If the apps are created using Android Studio, there won't be such a credit for third party app development software.
Also as far as on development, a majority of android apps created using Android Studio are professional in look and use, while App Inventor is often used by novice or those who are trying to learn the basics.
I hope this helps.
Inside of app, press the Android menu button.
About this app
Here you go! Some apps might have commented the credit with <!--, but still, the existence of this menu should tell you the truth.

How to use PhoneGap with Visual Studio

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.

visual studio 2012 web and desktop

I have visual studio 2012 express for web, now I need to make a desktop app, need I to download visual studio 2012 express for desktop or is there any addon I can install on web edition?
thanks
You can create Class Library projects in the web edition of Visual Studio Express, change the Output Type in the project properties to Console Application or Windows Application, add any library references you'd need (particularly for the Windows application, as none of the forms stuff will be included by default), and go from there.
This works well for console applications, but I imagine you're going to run into issues with Windows applications. The project templates are nonexistent, so you're on your own for setting things up from scratch. The forms designer probably isn't there, or if it is probably won't work as expected. And this won't work at all for Windows Store applications.
It's a lot easier to just download both editions and run them both. I've been running Web, Desktop, Windows 8, and Database editions side-by-side for a while now without problems.
need I to download visual studio 2012 express for desktop
Yes, you do.
That's part of the limitation of express editions.

Resources