HomeНаука и техникаRelated VideosMore From: Microsoft Visual Studio

Building cross-platform mobile apps using C# and Visual Studio 2015

1857 ratings | 335307 views
Xamarin Developer Evangelist James Montemagno shows you how the Xamarin Platform enables developers to leverage their C# and .NET skills to create native mobile apps for iOS, Android, Mac, and Windows. With Xamarin, you use the same language, APIs, and data structures on every platform to build a single, shared C# codebase across all targets. Use your favorite IDE, Visual Studio, to build, design, debug, and deploy your iOS and Android applications. Xamarin features deep integration into Visual Studio 2015 with full iOS and Android designers for you to build your native user interfaces. Additionally, you can take advantage of existing libraries available on NuGet and in the Xamarin Component Store to accelerate your mobile app development.  Visit http://xamarin.com to get started today.
Html code for embedding videos on your blog
Text Comments (211)
Chakra Bracelet (2 months ago)
I like how you talk with your hands. Don't listen to the negative people on here. Good job!
shashi bhushan (2 months ago)
do i need to get ide 2015 then its a waste as i have 2013
C 0 (2 months ago)
Love the enthusiasm!
Bonsu Adjei-Arthur (2 months ago)
i like this guy...very great...lol. Leave the dude alone...haha. He is a Xamarin Developer.Thats extra
krishna ch (3 months ago)
Dancing class lol
Nicow Braz (4 months ago)
uhh yeeaaaaahhhh, c'mon guy let's twist !!!!
Johan Albrectsen (4 months ago)
What the hell is wrong with this guy? Fucking relax
TheYogurtFamily (4 months ago)
I want him to be both
Akv vr. (4 months ago)
Can i develop android app by using vb 2013 express
Victor Niki (5 months ago)
You are dancing beautifully
asim ali (5 months ago)
nice
krishna kanhaiya (6 months ago)
Hi Microsoft Visual Studio, How we communicate our anderono board or other physical device throught crossplatform xamarin app in VS2017 ??
Balanel Gabriel (6 months ago)
I maked 2 apps. You can see my apps on Google Play, search "Balanel Gabriel" The name of apps are "Clash Royale Training Guide" and "Heroes Guide"
2008clinton (6 months ago)
Please revise this demo, (or do a new demo) by using Visual Studio 2017 Community version, so that newbies like me can follow, and keep up, step by step, to your onscreen video demo. I can start the new, blank, program to build OK. However, I can not deploy to target. I am using Windows 10, 32bit, professional, Visual Studio 17 (community version). My target device is a Samsung Galaxy mobile phone (J3, 2016).
Xivias Company (6 months ago)
Man, this guy makes me remember the "Wolf of Wall Street", man you have already sell me this! Are you making a tutorial or selling visual studio subscribes??? But nice work..
Siwakorn Apichitsopa (8 months ago)
Best concept but Bad execute.
Daniel Phil (8 months ago)
Xamarin is 10GB. Tf?
Ib Central (9 months ago)
Eminem 8 mile rd on c#
Nevaran (9 months ago)
Since im not sure where to ask thiis ill ask it here: Creating a blank projects gives a warning, and starting the project after a build crashes the emulator, when i got it to run, the emulator is a black , blank window
Constantine Tvalashvili (9 months ago)
So many bugs...........
KoKo Korea (10 months ago)
I don't understand why everyone is bitching about his entertaining way of talking.
Ossama Nadeem (10 months ago)
Why you movin so much??
Merul Dhiman (10 months ago)
just a second why is a Microsoft employee running Mac OS on a virtual machine
Sebastian Sawa (8 months ago)
bcs you cant debug ios app on windows
Manuel Ro (11 months ago)
"We'll take care of everything for you" - This scares the shit out of me. You're making dumb developers who believe they know how to program, this has been Microsoft's business for ages.
Desert Rockxxx (11 months ago)
i was all about to make a programmer joke but i cant C# https://www.youtube.com/watch?v=H_NG1yXT6QY
Senior c56edfrq (11 months ago)
Xamarin takes a lot of memory
Qasim Arthuna (1 year ago)
Can we make xamarim windows 10 phone from windows 8.1 pc without upgrading to windows 10 pc
Ima SuperPerson (1 year ago)
One size fits all... Oh yeah. That has "always" worked out great in the past. LOLOL
M. Rebsamen (1 year ago)
Do I need a Mac to emulate iOS devices? or is it enough to just plug in a device?
phonybliar (1 year ago)
If you tied his hands behind his back I believe he would be unable to speak.
TigerLionCheetah (1 year ago)
Is he using the MVC Model to make these programs? (i am a beginner)
Mac (1 year ago)
Why C# and Visual Studio are not compatible with what I downloaded as visual studio 2017 and xamirin studio I get errors on baic programing help
Ima SuperPerson (1 year ago)
Because they've pulled Xamarin into the .NET "Core" crap and Visual Studio, so this entire video is obsolete. Already.
Hack Kite (1 year ago)
bars for programmers
Chris Y (1 year ago)
Thanks for the free content, but please drop the ghetto-cool act. ;)
husam int (1 year ago)
welcome I'm husam from iraq, when i install the visualstudio show for me warrning not all features install correctly please help for solving this problem thank you husam
Asif Shahriar (1 year ago)
there is lot bugs in cross platform
yotamarker (1 year ago)
funny when I double click the button in the designer nothing happens
toni3393 (1 year ago)
Hey guys I could really use some help. I got a week to program a basic app for school that contains a few pages of information with a few pictures. And one page that contains a system where you can say for example how much you ran last week. That's it. The thing is, I am a very unexperienced with programming, and I was wondering if doing it via this method is the easiest. Or should I use Android Studio? And if I do it via visual studio, does it matter if I use iPhone or android? I am most familiar with iPhone Any help is greatly appreciated.
36 people don't like white rappers
MsUncleKevin (1 year ago)
3:25 I cant find mobile apps tab what to do?
phoenix (1 year ago)
what about c++ ????????????????????????
Mohamad Quraitem (1 year ago)
please help me my Visual Studio 2015 does not contain the (Blank App ...) what shall i do to fix it ?
Mohamad Quraitem (1 year ago)
huxaiphaer Idris not yet , but the new news there is a problem with my labtop it self now 😭😭
huxaiphaer Idris (1 year ago)
Me tooo man , did you fix it
Predatora (1 year ago)
► Just: AMAZING! Thanks Microsoft!
cao hung nguyen (1 year ago)
nice
Lil Vodka (1 year ago)
R U A DJ?
Sanderson Corrêa (1 year ago)
a microsoft developer using Apple hahahahah
Herbert Rodriguez (1 year ago)
Sanderson Corrêa, that is what Microsoft is try to show a cross developer program !
Toby Caulk (1 year ago)
Sanderson Corrêa You have to use a Mac to debug/deploy iOS apps. Good job dude.
Old school mindset should no longer exist - MS is cloud company now which means cross platform is definitely required.
famous art guy meme (1 year ago)
if you have amd you wont get it to work rip
Mario De Cristofaro (1 year ago)
really?
Mukdad Akka (1 year ago)
u have to say that microsoft and windows is shtt and we have to using an apple device to create a cross platform or xamarin studio. i hatttt this shtt. sorry to say that but the true.
Hugo Leblanc (1 year ago)
He is using a Virtual Machine with Windows...
Umair Nasir (1 year ago)
@3:38 I don't see 'Mobile Apps' option. I can see Windows, Android and iOS but no 'Mobile Apps' after installing Xamarin. Anybody any idea?
fact gasm (6 months ago)
Trying running Visual Studio installer. From there you can select any missing functionality you are currently missing.
Yada Yada (1 year ago)
Umair Nasir I know I'm late but if you still need to know I'm on 2017 VS and I just click visual basic and it shows up at a cross platform blank mobile app in C#
Coppy Lobbies (1 year ago)
Umair Nasir Just click android if you want to make an android app
Quuick Solutions (1 year ago)
yeah!!! l like your way of presentation. Thanks for sharing this useful info. Keep updating same way. Mobile app development companies in Bangalore : https://goo.gl/rZEwKJ
Sirfatandblack (1 year ago)
Could I do this if Xamarin is installed on Windows?
fact gasm (6 months ago)
The most intelligent answer I've seen here so far.
TZCoder (1 year ago)
Sort off, you can do this on Windows but to build the Android App only, to actually compile an iOS app you need Xcode which is only available an Mac, this a restriction by Apple. What you can do is run OSX(Mac) in a Virtual Machine on Windows, do a youtube search for OSX on VMWARE.
Mukdad Akka (1 year ago)
to use xamarin u need an apple device. no one explain us from the beginning, that we need to have apple device to using xamarin to create a cross platform for all devices. and all vs team or microsoft guys always using apple products and don´t say any thing about this.
Swatantra Singh (1 year ago)
very good for beginners... thanks!
Scott Baker (1 year ago)
Dude, you twitch around like you're hosting an episode of MTV Spring Break. Just relax and cool it with the gesticulating.
Brice Emry (1 year ago)
Hello, I am apprentice and I just need to know something: I have an android application developed on Android Studio. Can I import it into Visual Studio for other platforms (iOS and Windows)? Thank you!
TZCoder (1 year ago)
No, these are written in C# and .Net not Java.
Shreyas Acharya (1 year ago)
Congrats! you are ready for rap battle!! :p
John Andrade (1 year ago)
#Arora Sten you should consider making a wee transition to Visual Studio 2015 @Arora Sten
John Andrade (1 year ago)
#barun tait #Readme .txt What a hell!!!!! 21 GBs for Xamarin! @rastavibez007 @Elias Lexl
John Andrade (1 year ago)
#Szymon Smykała How do you get all those templates the i only have 1 per category and there isn't any cross-platform @Mercede
Jyetoukoum Hamza (1 year ago)
Can i have an Iphone Virtual Device just like you? and how? I'm on Windows and when i Compile it show me an Android Nexus virtual Device.
All Reviews on YT (1 year ago)
#Mercede I bet you can not develop databases, use compression libraries, encrypting and hardware 'Back', 'Menu', 'Home' buttons for those devices only in one code. He just presented us a simple button. Let him try setting the OnBackButtonClicked Listener and so on... @Manas Srivastava
barun tait (1 year ago)
cant i do it on c++ only in c#
fact gasm (6 months ago)
Run Visual Studio Installer and select the functionality you require.
Sandzz (1 year ago)
mute audio and open a jazz music on another tab....thank me later
OneManModder (1 year ago)
+All Reviews on YT use xcode8 for only old but this does both iOS and android(cross platform)
All Reviews on YT (1 year ago)
#Deezhan +Mahernoz Daruwala why i Need a mac for developing an IOS app ? visual stuido with xamarin is enough, or? @Anh Nguyễn Ngọc
All Reviews on YT (1 year ago)
#Readme .txt What a hell!!!!! 21 GBs for Xamarin! @rastavibez007
Jyetoukoum Hamza (1 year ago)
I love you, man
Readme .txt (2 years ago)
How the Back and Menu buttons are treated regarding Android vs iOS differences in this matter?
Ali Al Yousuf (1 year ago)
I assume that is a function in the phone itself not the device, so you never program that, the device already capable to know how to act inside the app.
MetusBatmanV14 (2 years ago)
Shitty tutorial, no mac.
fact gasm (6 months ago)
What you can do is run OSX(Mac) in a Virtual Machine on Windows, do a youtube search for OSX on VMWARE.
Szymon Smykała (2 years ago)
i cant use storyboard, bacause i don't have mac ;(
Edvin Prince (1 month ago)
vm
fact gasm (6 months ago)
Yep, I'm in exactly the same position. I have a good idea for an app but it seems it can't be fully developed without buying a Mac first. I am going to try creating a virtual machine running macOS on my PC first to see if that works. If it does work, it will save a lot of money. VMWare Player www.vmware.com How To Install macOS (El Capitan) in VMware on Windows https://www.youtube.com/watch?v=5RQ21XG8Ts4&t=0s How To Install macOS (High Sierra) in VMware on Windows https://www.youtube.com/watch?v=szHn5GunojU
Edwin Capidos (1 year ago)
I'm actually considering buying a Mac just because of this. I hate Apple but I think I don't have a choice.
Shahzeb Ali (1 year ago)
u said it bro thats why the andriod market is hotter at this time
Szymon Smykała (1 year ago)
it's fucking annoying, so i started programming in Android Studio ;-;
TheG Shmettzel (2 years ago)
How do you get all those templates the i only have 1 per category and there isn't any cross-platform
fact gasm (6 months ago)
Run Visual Studio Installer and select the functionality you require.
Alexandre Marco (2 years ago)
hi tks for the very good video...may I go for a very basic question. Forgive my ignorance I'm totally new at programming. Can I do just the same using python code instead C#? In your professional opinion if C# has an advantage above python could you please share it with me? btw the question goes to all people interested in add with some constructive opinion.. tks
Clément Duveau (1 year ago)
I think you can't. Xamarin is like a middleware, you code using C# for every platform and Xamarin translate it for you (Java for Android, Objective-C for iOs). I never heard about a Python based app. C# and Python are OOP languages, you can easily learn C# if you know Python.
marcinbaum (2 years ago)
Turn on subtitles at 7:24 LOOOOL
Manas Srivastava (2 years ago)
Does hybrid app sucks? will c# give same result like swift?
Hiba Nassar (2 years ago)
I'm trying to develop cross platform app using xamarin,and I want to use game engine I try cocosSharp and urhoSharp ,unfortunately I could not draw my own shapes and could not add touch event to the 2D shapes(in urhosharp),so that i'm trying to find away if I could integrate unity as game engine with my xamarin project in visual studio 2015. I wish that I get an answer as soon as possible. Thanx a lot :)
Bowl (2 years ago)
cant wait to learn! Thank you
Supun W (2 years ago)
Revealed! Even the Microsoft developers use Apple! :D See closer to the video!
SupremePoll RBLX (2 months ago)
And Lemme tell you another thing, Mac is superior when used for Coding or making apps, even the security is too good!
Edwin Capidos (1 year ago)
Because you can't deploy/debug iOS apps without using a Mac.
Carson Katri (2 years ago)
This guy sounds like Christopher Walken at some points.
Anh Nguyễn Ngọc (2 years ago)
Nice, but accessing the Mobile's resource by C# still the big question. Can you guys create a file manager app in android with C#??
rastavibez007 (2 years ago)
is that possible?
Elias Lexl (2 years ago)
What a hell!!!!! 21 GBs for Xamarin!
jason bryant (4 months ago)
Right!
VyprMoto (1 year ago)
Elias Lexl yeahh wtffff
Chukwudi Nwachukwu (2 years ago)
what about visual studio 2013?
SuperLeap (2 years ago)
you should consider making a wee transition to Visual Studio 2015
Marcos Beni (2 years ago)
This is the best thing since Internet porn!!!
Readme .txt (2 years ago)
No, it is not :)
DevilLime (2 years ago)
lol
Mercede (2 years ago)
I have to agree with you. Look at this faggot's moves
Amazingly Cool Stuff (2 years ago)
Subscribe to my channel and comment below when done. A I will subscribe back to your channel.☺
Jonathan (2 years ago)
I cant find the toolbox tools there is a message that say : " There are no usable controls in this group. Drag an item onto this text to add it to the toolbox" Someone can help me pls?
Mercede (2 years ago)
Please stop dancing and concentrate on the Xamarin!
Fata Morgana (1 year ago)
*rofl*
Quuick Solutions (1 year ago)
I really like when people are expressing their opinion and thought
Mercede (2 years ago)
Oh my God! Get a life Mr. Indian!
Mercede (2 years ago)
You know you are the first person to say that. I suspect you are actually him using a fake account to persuade people not to make fun of you!
Alien Shizz (2 years ago)
yes hes got quite the moves.stop moving around man ..its like austin powers dancing
So I am planning to buy a Mac or a pc for cross platform app/game developemnt. For apps I will use Visual Studio with xamarin paired up. Should I buy a Mac and run visual studios on vm or should I buy a pc and pair it up(build host) it with my Mac mini? Which one would you prefer and why? Thank you!
+Daniel Weinert Any suggestion on pc? I am not willing to build one. I have a budget of 1000 to 1100$
Daniel Weinert (2 years ago)
+energy can neither be created nor destroyed That is true and in my opinion it is easier to develop for different platforms on windows than on mac.
+Daniel Weinert Thanks for the feed back! I am going with that too. Mac kind of turns out really expensive.
Daniel Weinert (2 years ago)
+energy can neither be created nor destroyed I would go with buying a PC and pair it up with ur mac if u want too
hakan akdag (2 years ago)
It is too hard to setup properly Xamarin in VS 2015. All tutorials are missing some steps.
Readme .txt (2 years ago)
I bet you can not develop databases, use compression libraries, encrypting and hardware 'Back', 'Menu', 'Home' buttons for those devices only in one code. He just presented us a simple button. Let him try setting the OnBackButtonClicked Listener and so on...
fordfiveohh (2 years ago)
All those news anchor gestures are distracting...
Nico Briones (2 years ago)
does it work on visual studio 2010?
Ahnis Aneja (2 years ago)
coooool
Kshitij Jande (2 years ago)
Will xamarine work on visual studio 2013?
Laila Issa (2 years ago)
Here is https://twitter.com/Funny_And_Happy/status/693889374459695104?pidid=4b87fa09-7433-4897-8c2e-373bbc126254 a great way to spy frends, with this WhatsApp hack. Building cross-platform mobile apps using C# and Visual Studio 2015
Islame Madour (2 years ago)
I Have Accessed My Desired Whatsapp Number, This https://twitter.com/Funny_And_Happy/status/693889374459695104?pidid=8f565cb0-2e53-421d-9dfc-1136e78b42f5 is Really Awesome, Bookmarked!!Enjoying :) Building cross-platform mobile apps using C# and Visual Studio 2015
https://twitter.com/Funny_And_Happy/status/693889374459695104?pidid=f04d8c8f-853b-4bb7-a9d6-d80193bcab1f working like magic! Building cross-platform mobile apps using C# and Visual Studio 2015
Alex Misakian (2 years ago)
I cant see the Main.storyboard where you could place buttons like he did. When I click on main.storyboard something went wrong and tells me to connect my mac to a server. I'm on a PC, so does anyone know how I could connect to the ''Mac server'' when I am on a PC? Thanks
CareTaker (2 years ago)
You need a real Mac connected to your PC over a network for you to test and design an iOS application.
rajat Pangi (2 years ago)
can c++ be used to write the android app.. !
rajat Pangi (2 years ago)
great.:0 !
Eddie Amaya (2 years ago)
dam , looks like C# is where its at!!!!!
Dr. Dayal D. Purohit (2 years ago)
what is the specification of the PC running this demonstration? or what would you recommend? thanks.
Mahernoz Daruwala (2 years ago)
if u want to develop ios apps, u need to have a mac, xamarin also needs to be on mac to develop ios apps. you can't develop ios apps using windows pc. 
Tiroler Wadl (2 years ago)
+Mahernoz Daruwala why i Need a mac for developing an IOS app ? visual stuido with xamarin is enough, or?
Mahernoz Daruwala (2 years ago)
+JDS Purohit You will need a Mac to develop IOS apps.
Dr. Dayal D. Purohit (2 years ago)
+Jurrasicjack sounds very minimal to me.
Jurrasicjack (2 years ago)
+JDS Purohit Hardware requirements 1.6 GHz or faster processor. 1 GB of RAM (for x86) or 2 GB of RAM (for x64); add 512 MB to host if running a virtual machine. 3 GB of available hard disk space. 5400 RPM hard disk drive. DirectX 9-capable video card that runs at 1024 x 768 or higher display resolution.
Thạch Phong (2 years ago)
thansk so
trantrum (2 years ago)
+James Montemagno you did a great job - No fooling around by being cute or telling stories - You went right to the information I'm interested in. Thanks.
I don't have a Mobile App template installed, although I have Xamarin installed. I keep get a message to download Xamarin.
DitIsTijn (2 years ago)
Wooooooow Microsoft om Mac......
Oliver Waldemar (2 years ago)
It's a virtual machine ;) you need a Mac to develop iOS apps :/
Camper Guy (2 years ago)
I'm just getting started with programing and especially with C#. But thats just awesome!
Tomas Av. (2 years ago)
XAMARIN IS SHIT
Voixnoire (2 years ago)
So.. you need to use a mac to be able to execute the app for apple products..
+Angel Casas Thanks man. True genymotion is amazing for a free tool i've been using it for a while now .. Thanks for your time!
Voixnoire (2 years ago)
My bad Xamarin have their own too: https://xamarin.com/android-player
Voixnoire (2 years ago)
Yes remotely here's the link https://developer.xamarin.com/guides/ios/getting_started/installation/windows/ also, if you are a student you get the professional version for free of xamarin I think. If you are emulating android I suggest you use Genymotion which I think they offer free premium programs too. so, Genymotion is cool you can emulate android x10 times faster trust me. but I'm having problems trying to start it up I never had this problem. :)
+Angel Casas Do you mean like connceting them together via home network? Can you please send me a link ? Would be greatful !!
Voixnoire (2 years ago)
You need to set the IP address or something when selecting ios I saw this in a Microsoft video using visual studio
Cebuano Translator (2 years ago)
This guy is the Eminem of .Net and Xamarin! lol
Pradip Tripathy (2 years ago)
+Thirdy Tuldok He must have had his mom's spaghetti ..
Rafael Coleto (2 years ago)
This is heaven

Would you like to comment?

Join YouTube for a free account, or sign in if you are already a member.