Check performance of Installed app in WIndows Phone - visual-studio

I'm trying to check the performance (CPU, Memory, Battery, etc) of popular apps (like Facebook, Youtube, etc) on a Windows Phone Device. However, unlike iOS and Android, I do not see an option to check the performance of installed apps in Visual Studio. Is there a way to perform this analysis using any tools or is it only possible to check the performance of apps with source code?

I think you are looking for windows phone application analysis. From Visual Studio you can accessed for BUILD menu or ALT+F11

Related

Windows Forms application on Windows 10 tablets?

As part of an internship project, I am looking to deploy an application on PC (Windows 10) as well as on mobile digital media such as tablets.
I have some programming knowledge in VB.Net and have the Visual Basic 2010 Express IDE. Is a Windows Forms Application executable on Windows 10 tablets? If yes, are there compatibility issues (e.g. tactile events)? I am looking for the most suitable equipment for daily use for production monitoring operations. All the devices must have access to the same database to draw up daily reports from a master tool (a PC).
Is a Windows Forms Application executable on Windows 10 tablets?
Yes, Windows 10 tablets are able to run traditional Win32/.NET desktop applications. Please refer to the following article for more information about this: https://www.windowscentral.com/windows-10-arm-not-windows-rt.
As mentioned in the comments, you should be aware of the fact that tablet users may excpect a more touch friendly UI compared to what a traditional Windows Forms application may offer by default though.
If you intend to target only Windows 10+, you might want to to take a look at the Universal Windows Platform (UWP).

How to develop Windows app on Visual Studio for Mac

I recently bought an iMac in order to develop my App on Visual Studio for Mac in a better environment (lots of issues on Windows), but on the Visual Studio for mac, there is no UWP projects.
It is understood that I have to create a new .NET project, but what are exactly the steps to follow in order to achieve that correctly for the app to work on Windows with a peace of mind? Should I have gone with Visual Studio code, which support the .NET core framework completely?
I saw on other answers that I need the .NET SDK tool, and so forth, but further details are needed if you don't mind on the why (not the installation stuffs, only the tech savvy explanations for the app to build correctly at the end!
You will need to run a Windows installation (eg, via Parallels or Boot Camp) and then run the Windows version of Visual Studio to create UWP apps.
You can do a lot of the business-logic coding inside Visual Studio on MacOS, but you will need Visual Studio and the Windows SDK to use WinRT types (which are required to build a UWP app) and to correctly build / package the app for deployment.
.NET is a big ecosystem. As you cannot develop all kinds of .NET projects using Visual Studio on Windows (Xamarin.Mac for example), you cannot do the same using Visual Studio for Mac (like you found, WinForms/WPF/UWP and so on). Such limitation comes from vendor SDK availability or other underlying systems.
In your case, you can easily develop web apps, Mac apps, and iOS apps. If you do want to develop Windows specific apps, like the other answer shows, please use Windows.
You mentioned ".NET SDK", but I believe that should be ".NET Core SDK". .NET Core apps are cross platform. Thus, you can develop such apps in Visual Studio for Mac, and then deploy to Windows. However, so far only console apps and web apps can be developed. What might happen in the future is still to be determined.
Visual Studio Code, however, is just a code editor. It won't give you extra flexibility.
For those whom imperatively needs to develop their app on all platforms, here is what I did, and the pros and cons:
Buying an Imac, thinking that I could also develop UWP projects within it
After realizing that I couldn't, I bought a cheap Windows 7 pro License on ebay (around 5$), and installed it on VirtualBox.
From there, I upgraded to Windows 10 for free and installed everything. It worked like a charm.
Cons: Buying a brand new IMac while a Macbook pro would have been better. An old one even since YOU CAN'T upgrade the ram.
Working on 8go of ram computer when you must give 4go of RAM to your VM isn't quite great. 4go gets you a laggy environment! Really frustrating.
So, prefer something older, but up-gradable (a cheap Macbook pro with 16go of RAM would do).
Not to mention that you will have to install Ubuntu as another VM in order to setup a .Net core Server for the majority of you.
What environment to favor while developing, most importantly when you are a C# and Xamarin noob like me?
The best being to develop from Mac as you will have FAR LESS ERRORS AND BUGS than in VS for Windows.
Correcting mistakes is really daunting and the best is really to develop from Mac to mitigate the damages, but it won't be hurdles free as well!
It took me more time debugging than coding within VS Windows.
After developing chunk of your app within Visual Studio MAC, the best is to get the code on the windows machine and arrange it to work in UWP.
UWP apps compile fastly and like a charm, so better is to get rid of errors within macOS, IOS, Android, and then go and adapt to UWP. This is easier IF YOU THINK ABOUT CHOOSING THE CORRECT LIBRARIES (working on all platforms, hence check my last advice).
From VS Mac, compile using macOS as a host! It's the easiest way to develop fastly, and correct your bugs.
Here is an article on how to get started from Mac:
https://blog.xamarin.com/preview-bringing-macos-to-xamarin-forms/
Cons: Always having to commit the code for it's use within UWP. But that's also a good way to save your project as well, so that if you screw up (like it happened to me numerous time) you roll back.
Hope that helps others whom didn't know what to do and where to start.
ALSO:
Don't follow tutorials dating from before 2017. Use the .Netstandard/.NET Core framework to develop your App so that libraries are more portable (following the blog article above should do).
Otherwise, headaches ahead!

Multiple WindowsPhone Devices on Visual Studio 2012

How can i use multiple WP device in Visual Studio? I need to test an application on multiple devices at the same time, how can I do? I do not need to start debugging on both, I just need to be able to deploy on both phones. One is WP8 and the other WP7. Thanks for the help
Sorry, you can't automate deployment to multiple devices using Visual Studio, DeployXap or CoreCon11 APIs. The way Visual Studio 2012 and DeployXap.exe do their thing is by using the CoreCon11 APIs (which I demoed here and explained here). However, the way CoreCon11 APIs work is that they only recognize one physical connected device at a time and one version of each emulator. Here's a print out of all available devices on a machine with 2 WP8s connected to it:
As you can see, there's only one "device" available from the CoreCon11 APIs. Because CoreCon11 APIs only support deployment to a single device, you can't automate those APIs or anything using them to deploy to multiple devices.
It might be possible to change how the CoreCon11 DataStore PlatformContainer works and add additional devices, but I don't have a code sample to share.
You can deploy to the first phone by connecting it and selecting Deploy from the Build menu. You can then disconnect the first device, connect the second device and debug as per usual.

Website for Mobile Devices - Using Visual Studio

I am new to Mobile specific website development. I want to know does Visual Studio provides way to create a web site which can be targeted to mobile devices? Also can this website be run on phones running on OS other than Windows OS like iPhone, Android or slimier other OS?
My aim is to develop a website which can be targeted to phone running on any OS. Does Visual Studio and .NET can be used for this purpose?
If yes then can someone provide me some content to start with.
Thanks
Paresh
Any phone with a web browser can view a web site, regardless of what technology platform that site is written on. It's one of the best and defining characteristics of the web...
You can certainly code a website for mobile devices with Visual Studio and run it on the .NET platform on IIS (or Mono).
As far as targeting all devices, your man concern should be the UI of the website and how it will render in each phone's browser. I'd recommend an approach of making the site look good for the most popular platforms first (iPhone's Safari, Android's browser), and making it 'good enough' for the rest.

Windows Mobile Debugging

I am working on creating a windows mobile application and I have a quick question. I have looked around for the answer and cant find anything. Is it possible to run a windows mobile application on a physical hardware device from visual studio? I don't need to be able to debug really, I just would like to be able to select my device and have it build, copy to the device, and run. Is there anyway to set this up?
There is a "Device" toolbar that should let you choose your target device. Check for it under the View -> Toolbars menu (for VS 2008... not sure if you are on a different VS version).
If you are only showing emulators, you might need to install the windows mobile 6 sdk (I don't know for sure, but I do know I also have that installed... could be that this only includes the emulators as well).
Update:
It might also be worthing right clicking on your project in the solution explorer and selecting properties. From the properties page, go into the Device tab. It might be that some devices are listed there that are not listed in the target device drop down list on the toolbar. Worth a shot, but no promises.
It's simple believe me.
I'm currently working on Visual Studio 2008 and I have already installed Windows Mobile 6.0 SDK. It's simple just two steps.
Plug your device to your computer via usb cable then you should see the ActiveSync connected your device.
Open VS and choose from target device menu that "Windows Mobile Professional Device", then push the VS Debug button (it's slower that simulator but it's working perfectly). (look at the picture)
alt text http://img38.imageshack.us/img38/3638/screenhy.jpg
I hope this will be able help to you.
Yes. If it's like mine (Verizon Motorola Q) Visual Studio will copy several files to the device and the device will prompt you to allow them. You only have to do that part once. Then when you debug on your device you may get a prompt to allow the program you're debugging to run. It seems to copy your program over to a folder in the devices "Program Files" folder and runs it from there. And it leaves it there even after you stop debugging.
And one more thing. With Visual Studio 2005, you'll need at least the standard edition to do mobile development. With Visual Studio 2008, you'll need at least the professional edition.
Thanks for the help everyone. My solution was a mix of a couple answers. I had to switch the project to the Windows Mobile 6 Professional SDK first and then I was able to select "Windows Mobile Professional Device"

Resources