May be this is a question when a programmer/developer thinks to start mobile application development. But he is habitual of a particular environment in which he is working from several years. So it would be more comfortable that he can develop mobile app in the same environment what he is using from years.
I am currently working in Asp.Net MVC with C#, Visual Studio 2013 and i like it most. I am working on a large MIS and want to make available my solution to all platforms. As we know mobile devices are the most powerful technology current days.
Please suggest some way that i can work in visual studio and can develop cross platform mobile application that can work on Android, MAC, Windows Mobile and Windows PC/Laptops
I know there is many tools are available, but i need an expert suggestion on this particular scenario. If you provide a solution then please describe how to enable it in visual studio or how to customize current solution for that.
To have .net apps running on mobile platforms other than microsoft, have a look at xamarin
This is the front office for the mono framework
I know it's probably old question but you can try Apache Cordova with Visual Studio.
More options described in here
Related
I've developed a WinForms application with C# in Visual Studio on Windows and I need a version for macOS but I don't know which way is the best.
I also have a Mac machine so don't have problems about the compiler: I already used VS2017 with integrated Xamarin to develop an iOS app using my mac as the required build server but didn't find any such method for developing a Mac desktop application. NET core only works with console application and even Visual Studio for Mac is different from Visual Studio for Windows and doesn't provide any visual designer. Am I forced to redo the whole application using an Apple product?
There are multiple solutions to building desktop apps targeting a Mac using .NET.
Mono is an alternative implementation of the .NET Framework that reimplements the underlying Windows API calls that Win Forms makes. It's probably the most straightfoward way to port an existing Win Forms app to Mac.
ElectronNET is a combination of Electron and .NET. Electron provides a desktop development framework combining a Chromium rendering engine with NodeJS. It's best if you have a lot of familiarity with web development. It's notable that major companies that want to build cross platform apps are using Electron (Visual Studio Code, Slack, Atom etc) so those with the time to invest in researching how to do a cross platform app seem to choose this option.
Avalonia is a .NET desktop framework that is inspired by WPF, but it's cross platform.
So no, you aren't forced to redo your application. Hopefully you've done a good job of separating UI logic from business logic, which will make using one of these other technologies easier.
Note that even though .NET Core 3 (which is cross platform) has support for Win Forms and WPF, that functionality will only be working on Windows. Win Forms still depends on the underlying Windows APIs, and WPF still depends on DirectX.
.NET Core is cross-platform in that you can develop and run an application on your desired platform (Mac, Linux, or Windows). However, I can't find any information on cross-platform development of an application, in particular, of an ASP.NET Core application.
We are building a new website and we need to be able to have some users work on an ASP.NET Core application on Windows and some on Mac. (There is currently no need to support development on Linux.) On the Windows side, we would ideally like to work in VS 2015 (Community).
Is this possible? If so, are there any required or recommended steps to follow or workarounds to help make the process smoother? Are there any limitations to this approach?
The official documentation has everything you need to get started https://learn.microsoft.com/en-us/aspnet/core/tutorials/your-first-mac-aspnet
Update: For Visual Studio instructions: https://learn.microsoft.com/en-us/aspnet/core/tutorials/first-mvc-app/
Been searching the web and stackoverflow for 3 days, and I can't find an answer for what I need. I am a C# developer, not a Pro one but I am pretty good with developing Windows (desktop) software.
Now I want to port a windows software to Mac, but I simply can't find a guide on how to do this.
I installed VS coomunity 2015 with xamarin, but I didn't find any tutorials or guide on how to port a desktop software to mac os X (not to ios/windows phone).
I know that using Mono will help do that, but I simply have no clue where to start. I installed vmware with elcapitan, have everything set-up but I have no clue what to do next.
So knowing that I developed a C# .net app, that uses only the default .net libs that are supported in MONO, what should I do to port it on mac os X?
How can I compile in VS 2015 and simply run on Mac OS X?
Thanks a lot!
Vlad
Developing a Xamarin.Mac app is currently not supported in Visual Studio and requires Xamarin Studio running on a Mac with the latest version of Xcode installed.
Windows Forms and Windows APIs are not supported in Xamarin.Mac so you will need to port your UI to NSWindows, NSViewControllers and NSViews. However, you can share the back end code across platforms such as your data models and business level classes. A typical app can share up to 80% of the code across platform.
I would suggest starting with our Hello, Mac documentation as it gives a needed base required for the rest of the Mac documentation.
Yesterday at the xamarin webinar I asked if it was possible to install xamarin studio for IOS development on a windows machine and was given the answer that it was possible but developers usually went for visual studio. Today I've tried to find info about how to do this but can only find posts that it can only be done via Visual Studio. Most of the posts are a couple of months old though so which is the correct answer?
Unfortunately, I think your fears are true. Another post talks a little about this:
How to develop iOS app using Xamarin Studio on Windows?
The official Xamarin documentation also says pretty clearly that you need Visual Studio to do iOS development in Windows. On top of that, you also need a Mac on the network to compile the iOS project.
Using Mac build Host you can do but you'll need the networked mac
for developing and debugging too.
or else you can use Xamarin Live Player using which you can
debug,develop and deploy the app completely in windows without the
help of any Apple system but to sign and release the app to appstore
you will need Apple System though
You can access Xamarin Studio from a Windows machine by accessing a remote Mac from services such as MacinCloud.com. Although you are not running Xamarin Studio directly on your Windows machine, the ability to access a Mac server for development allows you to run Xamarin Studio, and other Mac-only tools easily.
Is there a way to write iphone and android apps using visual studio and c#? Also if I make a phone app can I easily write it for android, iphone, and windows without havong to write it in 3 different languages?
xamarine is another approach. You can create both Android and iPhone/iPad apps.
MonoTouch
MonoTouch allows developers to create
C# and .NET based applications that
run on Apple's iPhone, iPad, and iPod
Touch devices
MonoDroid
MonoDroid is a development stack for
using C# and core .NET APIs to develop
Android-based applications.
XNATouch
MonoGame is a free implementation of
the XNA Framework for MonoTouch,
MonoDroid and Mac OS X.
Although Visual Studio is really good for Windows and Windows Phone development, it won't help you with Android or iPhone development by itself. And C# being from Microsoft, it's got good support for Windows, and then lesser support through avenues such as Mono. That being said, C# and .NET are open specifications so it is possible to see them on non-Microsoft products such as an Android phone.
That means there are opportunities for using an engine that has been designed as multiplatform. If you're making games, then you can use a platform such as Unity 3D. Unity can be programmed using Visual Studio and scripted using C#. It's also free for personal programming, but the iPhone version does cost money.
Along those same lines, Adobe makes AdobeĀ® Device Central CS5 software. It's programmed with Actionscript, not C#, but I think they are very similar methods of programming. CS5 can be used for both iPhone and Android.
Nokia's QT supports a lot of platforms, including Mac and Windows, Symbian and Linux. There's a port for Android called Necessitas. However, I don't think there's support for iPhone just now.
The main question consideration then is whether you will be happy with your final product. The programming language or engine that you use has a certain influence on how well you achieve your goals.
If you're making a game and know C# already, you might consider Unity although there is a bit of learning involved. I do know that some game studios are using Unity for their games. Check out AirAttack, Startrooper and Batching, as well as the games on this thread: http://forum.unity3d.com/threads/14591-Unity-iPhone-Apps-in-the-Store-List-Yours-Here/page39.
PS: even if you're programming Unity on a Windows computer, at the end of the day to publish on the iPhone you would need to have a Mac and an iPhone SDK installed on it. So technically the answer is yes, you can write iphone apps using visual studio and c#. But to get them into the store and onto an iPhone, you need to perform some steps outside the Visual Studio development environment.
Just to add to the list:
UmbrellaSDK
http://www.umbrellasdk.com
Web development tool for creating portable apps for iPhone as well as Android. You can publish apps to the App Store or Google Play since the apps can be packaged as native on each platform.
DragonFireSDK
http://www.dragonfiresdk.com
Allows iPhone development on Windows (using Visual C++, even Express editions) using C/C++. Apps are fully native and compiled on a Mac server and delivered to your device over the air.
Cheers!
Unfortunately, the short answer is no. But here are some resources that will help you out:
MonoTouch
MonoTouch allows you to build iPhone applications using C#. Unfortunately it is not free, and you need to run it on a Mac.
PhoneGap
PhoneGap lets you build cross-mobile-platform apps using HTML, CSS, and JavaScript. And it's free! No VisualStudio support.
Adobe Flash CS5
With some recent plugins Adobe Flash can now build and publish/package applications for Android and iPhone, as well as desktop applications.