Xamarin Tutorial for Beginners - Build iOS & Android Apps with C#, Visual Studio, and Xamarin.Forms

Поділитися
Вставка
  • Опубліковано 21 лип 2024
  • .NET MAUI is here! Checkout my new .NET MAUI Tutorial for Beginners video: • .NET MAUI Tutorial for...
    Let's start our journey together to build beautiful native cross-platform apps with .NET, Xamarin, and Visual Studio! In this video I am going to guide you through the entire process and describe everything that is in File - New for Xamarin.
    Full Xamarin Beginner's Playlist - • Xamarin & Xamarin.Form...
    👕 Buy some swag! - jamesmontemagno.myspreadshop....
    Time Codes
    00:00 - Intro & What is .NET, C#, Xamarin
    04:20 - Creating First Project in Visual Studio
    08:45 - What's in the solution (.NET Standard, iOS, Android)
    12:40 - Exploring iOS and Android project setup 7 shared code
    14:15 - MVVM (Model-View-ViewModel)
    15:30 - Exploring XAML (App, AppShell, and Pages)
    21:00 - Deploying to Android, Debugging, & XAML Hot Reload
    28:20 - Deploying to iOS with Hot Restart
    35:45 - Wrap-up
    Links:
    * Microsoft Learn for Xamarin - docs.microsoft.com/learn/brow...
    * Xamarin homepage: dotnet.microsoft.com/apps/xam...
    * Xamarin documentation: docs.microsoft.com/xamarin/?W...
    * Xamarin learning resources: dotnet.microsoft.com/learn/xa...
    * Xamarin blog: devblogs.microsoft.com/xamari...
    * Xamarin 101 video series: channel9.msdn.com/Series/Xama...
    * Xamarin on UA-cam: / xamarindevelopers
    * Source Code: github.com/jamesmontemagno/my...
    Disclaimer: This channel, videos, and streams are created in my spare time and are a product of me... James Montemagno! They are NOT officially affiliated or endorsed by Microsoft (my employer) in any way. Opinions and views are my own.
    What is on my hat? It is the CLE clothing logo because I am from Cleveland! Checkout their awesome CLE merch: cleclothingco.myshopify.com/
    What is that art on my wall? It is an original piece from the French street artist Gregos of La Butte Montmartre: / bcez1onhiqx
    Follow:
    👨‍💻 GitHub: github.com/jamesmontemagno
    🦜 Twitter: / jamesmontemagno
    🔴 Twitch: / jamesmontemagno
    📄 Website: www.montemagno.com
    📰 Newsletter: newsletter.montemagno.com/
    My Setup:
    * Blue Spark Microphone - amzn.to/3qgtYkq
    * Blue Pop Filter - amzn.to/3jEWM3r
    * Rode Microphone Arm - amzn.to/2Z68AlE
    * Sony MDR7306 Headphones - amzn.to/372jxta
    * Stream Deck - amzn.to/373Uk1n
    * Elgato Cam Link - amzn.to/3a9eGbh
    * GoPro Hero - amzn.to/374lm90
    * MX Master 2S Mouse - amzn.to/3d7J2gj
    * Tecware Phantom Keyboard - amzn.to/3aUP4y9
    #Xamarin #Beginner #XamarinForms #XAML
  • Наука та технологія

КОМЕНТАРІ • 418

  • @JamesMontemagno
    @JamesMontemagno  3 роки тому +15

    .NET MAUI is here! Checkout my new .NET MAUI Tutorial for Beginners video: ua-cam.com/video/rumfIg9qJ_Y/v-deo.html
    Important updates since this video has come out:
    1.) Xamarin.Forms 5 is now the default in Visual Studio 2019 v16.9 / Mac v8.9
    2.) Hot Restart for iOS is under Tools -> Xamarin -> iOS Settings to turn it on.
    3.) Changes only for XAML Hot Reload is now the default and AWESOME with Xamarin.Forms 5 in newer versions of Visual Studio
    Checkout my full Xamarin 101 playlist - ua-cam.com/play/PLwOF5UVsZWUiHY1CkRVjYJ6dm0iCvAlfw.html
    Don't forget to subscribe & 👍 for more content!

    • @chiprecious9012
      @chiprecious9012 2 роки тому

      When the Android device manager is showing error instead of start, what is the solution

  • @prinautospares
    @prinautospares 2 роки тому +27

    Can't wait to start building apps. Your teaching style is so clear and detailed. You make learning easy. Be blessed.

  • @juanbanuelos2934
    @juanbanuelos2934 3 роки тому +49

    OMG thats the kind of videos that i need ,i need details to not get frustrated while learning

  • @douglastrouette1583
    @douglastrouette1583 2 роки тому +25

    Great vid. It's nice to hear English I can understand. Your explanations about the videos content is neither too complicated nor too dumbed down and I feel I can learn from you. Thanks for that. On to the next video!

  • @cameronleebell97
    @cameronleebell97 3 роки тому +8

    Love this tutorial, great pacing, information, and clarity. Found it very useful

  • @revronvic
    @revronvic Рік тому +1

    I began as a Visual Basic (3.0) developer, built business applications using Visual Studio for the banks in my city until leaving development in 2008. I am now learning development on mobile devices and this video you have is excellent. I have just subscribed to your channel and will view your others. Thank you for the getting started video!👍

  • @paulreinhardt6052
    @paulreinhardt6052 3 роки тому +5

    Exactly what I was looking for - how to test on iOS w/o needing a Mac. I saved your video for reference. Going to try this out this week.

  • @anirbansaha4793
    @anirbansaha4793 3 роки тому +1

    Firstly very much thank you for your wonderful explanation.. I started my IT career with xamarin application.. I was confused and tensed where to look after to start.. then I found your series.. just loved it.. Thank you soo much

  • @TheDan1371
    @TheDan1371 3 роки тому +1

    About to start diving into this and build my first app, thank you for this video and I cant wait to watch the rest and go from there! Subscribed!

  • @denisdominguez7287
    @denisdominguez7287 2 роки тому +2

    Clear, simple and direct. Awesome video, mate! 😁👍

  • @khalednabilcs
    @khalednabilcs 3 роки тому +4

    James, thank you so much
    I love your detailed tutorials, keep it going 👍

  • @chester0bennington
    @chester0bennington 3 роки тому +3

    Thank you so much! You've explained everything in a very understandable way

  • @amaluk7146
    @amaluk7146 3 роки тому +6

    Wow! This one is really great!!
    You deserve more views

  • @stanleyakachukwu7881
    @stanleyakachukwu7881 2 роки тому +4

    Man, this is cool. I have been thinking of budgeting for Mac just so that I preview or simulate IOS. But this video cleared all my questions. So all I need now is to plug in my iPhone and with HOT RESTART and I am good to go. I am glad! Thanks, James. I can't delay coming back for more. Already hit the subscribed!

    • @tristanmeijer7080
      @tristanmeijer7080 2 роки тому

      I'm trying to use my iphone as a simulator on my Windows device but it doesn't work. To make this work you have to be registered as an Apple developer. This is really annoying cause it cost 99 bugs a year 😥Does anybody knows a different way to connect apple device on Windows for debugging?

  • @linneydew450
    @linneydew450 2 роки тому +1

    Very informative and well done! I'm eager to begin the series. And I subscribed too. Thank you.

  • @Ianuarius
    @Ianuarius 2 роки тому +28

    Really clear and nice tutorial that's filled with information without getting bogged down or being confusing. Some people just know how to do them!

  • @Clean_Slate
    @Clean_Slate 3 роки тому +3

    Great turorial, really helpful!
    I will definitely watch the rest of the videos in this series, I like the way you teach!

  • @generalchannel8833
    @generalchannel8833 3 роки тому +4

    High 5 for you!
    This is a great tutorial to start with, you have given me a basic understanding of this all. Thanks for the great work. Please I want to know how to start xamarin more from here, grid and stacklayout and how to add buttons and the rest, how to make c# communicate with them. Thanks

  • @ziebplew
    @ziebplew Рік тому

    Really appreciate the video. This was super helpful! I'm working on a Xamarin app for work and this was a great starting point to learn.

  • @Jordaneal
    @Jordaneal 2 роки тому

    New to Xamarin. Thanks for the tutorials! Will be watching more.

  • @christellannmataac559
    @christellannmataac559 3 роки тому +1

    Great introduction about Xamarin.
    Thank you!

  • @tarunkumarravipati
    @tarunkumarravipati 3 роки тому +1

    Finally got to know about xamarian in a simple way thanks mate

  • @do99uk9uk
    @do99uk9uk Рік тому +1

    I tried each step and successfully build my first iOS app! Got stuck on Hot Restart because I haven't updated to new version of VS. Overall this video is well detailed and easy to learn. Thank you so much James!

  • @LisaKinoti
    @LisaKinoti Рік тому

    I just want to say Thank you, James!!! You are a lifesaver! You have no idea. Developing a mobile app for school to complete the term so whether I pass or not depends on this project. I was intimidated by all the moving parts at first but you explained everything very well and in a language, I could understand (not too technical). I have learned not only how to create the app but also why things are the way they are in the IDE. I wish I could send you a gift basket but just accept my thanks. Subscribing now!

  • @pruthvirajchauhan6095
    @pruthvirajchauhan6095 2 роки тому +1

    I Am a beginner and the way you describe, it help me a lot. Thank You So much Man....

  • @user-qf6yt3id3w
    @user-qf6yt3id3w 3 роки тому +2

    This looks like a really interesting set of videos. I'm just starting working on a cross-platform iOS/Android app in Xamarin.

    • @JamesMontemagno
      @JamesMontemagno  3 роки тому

      Awesome! checkout the full series that I am putting out and I am releasing more so please comment and let me know what you would like to see.

  • @gurur5481
    @gurur5481 2 роки тому +1

    Dude I love your channel so much!!!!

  • @blastergame
    @blastergame 2 роки тому

    Thank you James, great tutorial, just got all set up in like a half an hour!

  • @fatemehtabrizi9584
    @fatemehtabrizi9584 2 роки тому +1

    Thank you very much. I really needed this. A clear and straight tutorial

    • @JamesMontemagno
      @JamesMontemagno  2 роки тому

      Glad it helped out! make sure you checkout the full playlist ua-cam.com/video/zvp7wvbyceo/v-deo.html

  • @akiveo006
    @akiveo006 2 роки тому +1

    James you are awesome! Thanks, I have started learning mobile app development by today onwards..

  • @alexanderhall5702
    @alexanderhall5702 Рік тому +1

    WOW I LOVE C# AND XAMARIN! THANK YOJ FOR THE VIDEO

  • @kaiwang2924
    @kaiwang2924 Рік тому

    Thanks James, I really like your video. It is easy to follow, exactly what developers need.

  • @jaye7679
    @jaye7679 Рік тому +2

    Clear voice / good mic / no audio clipping / easy to follow :) 👍

    • @JamesMontemagno
      @JamesMontemagno  Рік тому

      Thanks! Also, when ready be sure to explore .NET MAUI, I got you covered! ua-cam.com/video/rumfIg9qJ_Y/v-deo.html

  • @RyanLBuchanan
    @RyanLBuchanan Рік тому +1

    You ROCK, my Friend! Thanks so much! Just what I needed!

  • @monikamolnar1548
    @monikamolnar1548 2 роки тому

    Excellent tutorial, James!

  • @richardle899
    @richardle899 2 роки тому +1

    This is a fantastic tutorial for beginner like me. Thank you very much,

  • @carlosespinoza9539
    @carlosespinoza9539 3 роки тому

    Amazing ... i will follow all the course. Thanks from Ecuador

  • @peacefulpresentation8330
    @peacefulpresentation8330 2 роки тому

    I'm almost spiteful that I hadn't found this series when I started in December, thank you mate.

    • @JamesMontemagno
      @JamesMontemagno  2 роки тому

      Glad you found it now, and I hope you enjoy the series! :)

  • @matteoc7084
    @matteoc7084 3 роки тому

    I want to have a "safety mode" switch in my app that when enabled I want to use vague strings instead of explicit ones. Do I need to make a custom locale for localization? Can you make a video about it?

  • @ajay_murthy
    @ajay_murthy 2 роки тому +1

    the best Xamarin tutorial ever, Thanks James

  • @dannyh807
    @dannyh807 3 роки тому +1

    Really nice video, gave me a nice overview and idea of what I need to be looking at was really well explained as well, thank you

  • @tjans1979
    @tjans1979 2 роки тому +1

    You have a super approachable way about you. Great video, thanks for putting this together.

  • @snakeeyes1649
    @snakeeyes1649 2 роки тому

    Fantastic video. Well explained and easy to listen to voice.. thanks!

  • @chadzulu4328
    @chadzulu4328 2 роки тому +1

    A super clear explanation, thank you so much!

  • @DWHO168
    @DWHO168 8 місяців тому +1

    Thank you, very much appreciated. Very clear and excellent introduction before actually coding.

  • @AnthonyJBiondoJr
    @AnthonyJBiondoJr 2 роки тому +1

    Thanks for making this video. Great intro tutorial.

  • @haihonguyen
    @haihonguyen 3 роки тому

    Hi James, do you have a tutorial/example for Xamarin.Forms and CoreData?
    Thanks!

  • @gtelephone
    @gtelephone 7 місяців тому +1

    Really good (and great) overview details.

  • @ManiVel-ud9zg
    @ManiVel-ud9zg 2 роки тому +1

    Excellent Video for beginners.. Thank you so much...

  • @ibrahimlita66
    @ibrahimlita66 3 роки тому

    Thanks a lot dear friend ..this is first video I watch and going to learn an work on Xamarin

  • @camiloandresgomezm.3021
    @camiloandresgomezm.3021 3 роки тому

    Hi James, thank for the video How to get rid of that annoying flyout open/close lag on android?

  • @Szpzer
    @Szpzer Рік тому

    Very good explanation! I like your style! Thanks!

    • @JamesMontemagno
      @JamesMontemagno  Рік тому

      Glad you liked it! Be sure to checkout my updated video on .NET MAUI - ua-cam.com/video/rumfIg9qJ_Y/v-deo.html

  • @DragurOH
    @DragurOH 3 роки тому

    I love this videos!! Thanks James!!

  • @Shredfam
    @Shredfam 2 роки тому +1

    So Glad I found This

  • @abdolrezaeshghipour7390
    @abdolrezaeshghipour7390 3 роки тому

    Very well done! Keep up nice work.

  • @nc7807
    @nc7807 Рік тому +1

    Your video has been incredibly helpful in giving me an idea of how to get started with Xamarin.Forms development. I already know Xamarin will be deprecated very soon. I am required to use it for my mobile app development course - my request to use MAUI got a big "No" lol.
    I look forward to checking out your other videos

  • @TinaFg5064
    @TinaFg5064 3 роки тому

    Thank you! Great video 👌🏾

  • @sampahemmanuel2643
    @sampahemmanuel2643 2 роки тому

    Very Simple and direct. I love this. Please any advice on how to get the Reflector 3 App

  • @andrescordero1180
    @andrescordero1180 Рік тому

    Thanks James for this tutorial for beginners, did fill the information that I was looking for, I really appreciate the effort to put this video available 🤙🏼💪🏼😄

  • @vukilesimelane2033
    @vukilesimelane2033 3 роки тому +1

    Thank you sooo much James

  • @MihaiMoisei
    @MihaiMoisei 3 роки тому

    Best introduction to Xamarin .

  • @kamalkhaja9508
    @kamalkhaja9508 Рік тому

    Thanks, very well explained, useful video.

  • @mishalevintov1060
    @mishalevintov1060 3 роки тому +1

    Awesome and up to date video! thank you

  • @JuanNadal
    @JuanNadal 3 роки тому

    Thank you!! Awesome video.

  • @troythompson8206
    @troythompson8206 2 роки тому

    I was ready to give up before I found this video. Super great presentation, Thanks!!!!!!

  • @henriknordlof1821
    @henriknordlof1821 Рік тому

    Realy like your videos! Very informative and helpful. Is the coffee shop project available for downloading anywhere? It would be so nice to have as reference when you need to look up how to do a specific task.

  • @janschonberger1407
    @janschonberger1407 2 роки тому

    Very good video, thank you for sharing. :)

  • @zachmanhansen
    @zachmanhansen 2 роки тому

    Great Video! Thank you

  • @gregorynovikov1450
    @gregorynovikov1450 2 роки тому

    Love the hat and tutorial, I'm from Cleveland as well!

  • @harishjhamnani838
    @harishjhamnani838 3 роки тому

    Thanks ! That was very Helpful

  • @Deecompoza
    @Deecompoza 2 роки тому

    Thank you so much for this demonstration, its so helpful. If it was Android studio it would run graddle for ever.

  • @abdurrahimankhan7498
    @abdurrahimankhan7498 3 роки тому

    Beautiful teaching man.

  • @ElmarJackLSalva
    @ElmarJackLSalva 2 роки тому

    Thank you so much sir
    I love your detailed tutorials, keep it going
    From: Philippines

  • @sirinebibicha2024
    @sirinebibicha2024 Рік тому +1

    Thanks sir .. Very cool.. It's fun to learn programming from you, as well as the English language

  • @anthonywoods2550
    @anthonywoods2550 2 роки тому +1

    Great Video on Mobile App Development. Thank you.

  • @andreitulbure6345
    @andreitulbure6345 3 роки тому

    Hi James, when I create a new project and click on "mobile" from project types is showing "Not finding what you're looking for? Instal more tools and features" but I already installed all of them. Do you have any idea why?

  • @johnkumar958
    @johnkumar958 2 роки тому

    Thank you James

  • @mehmetemincelik4954
    @mehmetemincelik4954 Рік тому +1

    I watched 240p. An easy to understand detailed video. you are very good.

  • @mister_stadler
    @mister_stadler 2 роки тому

    thanks, it is still helpful! God bless you!

  • @aakash4045
    @aakash4045 5 місяців тому

    Great vid thankyou sirrr 🇳🇵

  • @tonyjones9292
    @tonyjones9292 3 роки тому

    Is there a way to share the business logic with the Web? Typically I have a PCL Project and a Project for Android and iOS. I want to share all the business rules to the web version of the app. I have not found much guidance on this. Would this be a good candidate for a bunch of services that are subscribed to? Or a Class Library that is referenced in all projects? Or...? Looking for some opinions / resources. Much appreciated

  • @tarssinas1
    @tarssinas1 Рік тому +1

    Thanks alot for this tutorial, you are a nice teacher

  • @keithkatane4854
    @keithkatane4854 11 місяців тому

    Excellent tutorial, James. I've taken copious notes over several months.
    Anybody having issues with JDKs and SDKs for getting Hot Reload to work? My environment variables seem to be in order but I keep getting "There were deployment errors."
    Thanks in advance.

  • @jccamp5584
    @jccamp5584 2 роки тому

    Hi, do we need a mac device to create an IPA file from Xamarin Forms project?

  • @samsara2024
    @samsara2024 2 роки тому

    Thanks for the video! Could you recomend us a video where we can see how to export in Release the app to try in a local mobile phone? Thanks

  • @phxJohn2010
    @phxJohn2010 3 дні тому +1

    This was great, thank you

    • @JamesMontemagno
      @JamesMontemagno  3 дні тому

      Make sure you checkout the updated .NET MAUI video: ua-cam.com/video/rumfIg9qJ_Y/v-deo.html

  • @grantolosi
    @grantolosi 3 роки тому

    Very good explenation, thanks like and subscribed

  • @tekmakerUK
    @tekmakerUK 2 роки тому

    Awesome tutorial, very well explained!

  • @harounbouhdid9046
    @harounbouhdid9046 Рік тому +1

    Nice job!

  • @knowledgepower8712
    @knowledgepower8712 2 роки тому

    Thank you for sharing good contents

  • @TheDan1371
    @TheDan1371 3 роки тому

    Quick question, is there a way in Xamarin.Forms where you can have an entries for numbers and then use a button to perform a calculation with those entries?

    • @charlesm.2604
      @charlesm.2604 2 роки тому

      Yes of course the whole design is to segment the business logic and the UI logic into multiple projects and have UI projects calling the "Core" business logic independently of their targeted platform.
      So in your business logic you would have a function who take an integer as a parameter and does the calculation and in the UI projects you would have a button that calls the function when activated.
      Essentially you can see it as business logic = class library and UI projects = clients who host the business logic if it makes more sense.

  • @asepth3itteam594
    @asepth3itteam594 2 роки тому

    best tutorial for first xamarin user 👍

  • @VyorOppier
    @VyorOppier 2 роки тому

    Thanks buddy!

  • @daudsadiq5035
    @daudsadiq5035 3 роки тому

    amazing tutorial. Thanks alot!!

  • @selwyncerejo3769
    @selwyncerejo3769 3 роки тому +1

    Great tutorial to start with xamarin

  • @radoslavatanasov8846
    @radoslavatanasov8846 3 роки тому

    Where can we find the .db file and explore it into db browser tool for ex.

  • @mohaarulez
    @mohaarulez 3 роки тому

    Love these video's!

  • @mohamadsoltani1982
    @mohamadsoltani1982 3 роки тому +1

    excellent as always

  • @hmcustomthreads2460
    @hmcustomthreads2460 5 місяців тому

    Hello James, I just came across your video, and I am super new to all of this. I have VS 2022. The hot restart option was not available, and I was also not able to load an Android emulator. Would you be able to help me this?

  • @truyentieuho9624
    @truyentieuho9624 2 роки тому

    Hi James, I'm using vs2019 community. But my ide not show design and split bar same you with xaml file. How can i fix this?