Intro to UWP (Universal Windows Platform) Apps in C#

Sdílet
Vložit
  • čas přidán 4. 07. 2024
  • You may have heard about Universal Windows Platform Applications, also known as UWP applications and wondered what they are. In this video, I am going to introduce the topic of UWP and show you how to get started building your own applications using this framework. Along the way, we will talk about when you would build a UWP app, what pitfalls to avoid, and how you can get up to speed faster.
    Source Code: leadmagnets.app/?Resource=Int...
    Mailing List: signup.iamtimcorey.com/
    C# Courses: www.iamtimcorey.com
    What is UWP: docs.microsoft.com/en-us/wind...
    Choosing a UWP Version: docs.microsoft.com/en-us/wind...
    Checking for API availability: docs.microsoft.com/en-us/wind...
    0:00 - Intro
    1:30 - Windows Template Studio extension
    2:58 - Creating UWP app
    4:09 - What is a UWP app?
    9:57 - Creating UWP app: Windows Template Studio Wizard
    10:50 - Wizard: Project type
    11:42 - Wizard: Design pattern
    13:18 - Wizard: Pages
    16:03 - Wizard: Features
    18:50 - Wizard: Services (Data)
    21:01 - Wizard: Testing
    22:11 - Creating UWP app
    24:15 - Demo app code overview
    31:46 - Demo app launching and UI overview
    41:11 - Demo app Unit tests
    43:50 - Demo class library
    45:01 - Windows versions: Min and Target
    51:06 - Windows versions: Feature fallback for older Windows versions
    53:43 - Windows versions: summary
    55:35 - Installing UWP app: Sideload apps
    58:53 - UWP app without Windows Template Studio
    1:00:26 - Summary and concluding remarks
    Thanks Ralfs HBK for the chapters breakdown

Komentáře • 211

  • @jamesmacrae7730
    @jamesmacrae7730 Před 4 lety +16

    I am new to desktop application programming and still slightly confused with stuff but thanks to your videos it is finally starting to make sense. Keep up the awesome work!

    • @IAmTimCorey
      @IAmTimCorey  Před 4 lety +5

      I am glad it was helpful. This video might shed some more light on the subject: czcams.com/video/yq0dSkA1vpM/video.html

    • @jamesmacrae7730
      @jamesmacrae7730 Před 4 lety +2

      @@IAmTimCorey Thank you very much. I didn't expect such a fast response!

  • @rolandogonzalez1374
    @rolandogonzalez1374 Před 4 lety +3

    Excellent video Tim, thank you for it.

  • @lutzheinrichs2120
    @lutzheinrichs2120 Před 2 lety

    Thank you so very much for this. I can follow along, live, and learn by doing which is sort of important for my brain. I will check out your other content.

  • @Mo_TEK
    @Mo_TEK Před 4 lety +7

    Thank you for the lesson 😊 . more lesson for UWP please thx.

  • @RalfsBalodis
    @RalfsBalodis Před 3 lety +14

    0:00 - Intro
    1:30 - Windows Template Studio extension
    2:58 - Creating UWP app
    4:09 - What is a UWP app?
    9:57 - Creating UWP app: Windows Template Studio Wizard
    10:50 - Wizard: Project type
    11:42 - Wizard: Design pattern
    13:18 - Wizard: Pages
    16:03 - Wizard: Features
    18:50 - Wizard: Services (Data)
    21:01 - Wizard: Testing
    22:11 - Creating UWP app
    24:15 - Demo app code overview
    31:46 - Demo app launching and UI overview
    41:11 - Demo app Unit tests
    43:50 - Demo class library
    45:01 - Windows versions: Min and Target
    51:06 - Windows versions: Feature fallback for older Windows versions
    53:43 - Windows versions: summary
    55:35 - Installing UWP app: Sideload apps
    58:53 - UWP app without Windows Template Studio
    1:00:26 - Summary and concluding remarks

    • @IAmTimCorey
      @IAmTimCorey  Před 3 lety +7

      Thank you. Not sure if you realize it, but by adding this detail, it adds a keyword search type experience for users when doing searches within the entire channel. You Rock!

    • @RalfsBalodis
      @RalfsBalodis Před 3 lety +2

      @@IAmTimCorey I did not know that.

  • @automationtesting3149
    @automationtesting3149 Před 3 lety

    I am really finding it useful and am able to learn C# really well

  • @OthmanAlikhan
    @OthmanAlikhan Před 5 měsíci +2

    Fast forward to 2024, the plugin is no longer called "Windows Template Studio" but "Template Studio for UWP".

  • @florent9555
    @florent9555 Před 3 lety +8

    If I look in the options in the design patterns I see that there is a Mvvm Toolkit available. Since caliburn micro is marked as deprecated could you do an uwp tutorial with that toolkit if it is extremely different to caliburn micro?

    • @mariofares4692
      @mariofares4692 Před rokem +1

      Agree with this. Please Tim make a Community Toolkit tutorial. There are none out there.

  • @muraliprasanthd
    @muraliprasanthd Před 3 měsíci

    Great Video. It helped me a lot.

  • @georgekerwood9100
    @georgekerwood9100 Před rokem +1

    "Oh I have to do a new C# thing, I hope there's a Tim Corey video for it?"... of course there is!

  • @CoolModderJaydonX
    @CoolModderJaydonX Před rokem

    Personally, I was wanting to make apps for the Xbox One and/or Windows PCs, so this tutorial seems perfect to me.

  • @user-jo1mz4se4j
    @user-jo1mz4se4j Před 4 lety +34

    What do you think about UWP:
    Does it have future?
    Is it dead?
    Should we instead stick with WPF?

    • @IAmTimCorey
      @IAmTimCorey  Před 4 lety +5

      Here are my thoughts: czcams.com/video/yq0dSkA1vpM/video.html In genreal, none of these are dead but I'm not a huge fan of UWP.

    • @gatep5
      @gatep5 Před 4 lety +2

      Stick with WPF, or do some Xamarin Forms if you haven’t already.

    • @richardalbury
      @richardalbury Před 4 lety +3

      Back when Windows Phone/Windows 10 Mobile was a thing, UWP was interesting because of the promise of having an app run on phones, tablets, and desktops. Phones are gone, and Windows 10 runs WPF and WinForms apps on tablets and desktops, so... ¯\_(ツ)_/¯ Look on Dice or some other job site for UWP listings versus WPF or Xamarin: that should also give you an idea.

    • @sent4dc
      @sent4dc Před 4 lety +3

      No, yes and no.
      Think about it. If you code something in pure UWP, it will run only on Windows 10. (OK, on hologram and Xbox as well, but let's be realistic, what app will run on all three of them :) So I doubt that any self-respecting developer will want to limit his choices like that.
      What I would suggest is coding a normal desktop application and then convert it to UWP:
      developer.microsoft.com/en-us/windows/bridges/desktop/
      I personally code my apps in C++ and then convert them to UWP, but you can use .NET and WebForms, etc. There are quite a few gotchas (rules) that you need to follow to be able to convert them, but all-in-all, if it succeeds, in the end you will have a working desktop app (that in theory can run on anything from Windows XP and up) and you can use UWP infrastructure to post your converted UWP app in the Windows Store. (And get maybe 2 or 3 extra downloads a month ... 'cause let's face it, Windows Store for now is only good for growing crickets.)

    • @williamscsharpwalkthroughs4316
      @williamscsharpwalkthroughs4316 Před 4 lety +1

      @@gatep5 Indeed, WPF seems to be a tried-and-true solution and the choice go-to for many Windows Desktop developers. However I think one of the biggest attractions towards UWP is its deployment options. The integrated Windows Store deployment functionality I think gives it an edge over WPF- where in my experience- I've used utilities such as Inno Setup to create MSI/EXE files, or the WIndows Desktop Bridge; If you're not deploying your application, then it's just sitting there on your PC.
      Nevertheless, I do prefer WPF because of its richness, but tech is progressing-- I think its worth-while for any Windows developer to at least be aware of UWP and better still somewhat capable to develop on the platform.

  • @lokigaming459
    @lokigaming459 Před 3 lety

    Alright Tim. I have a question (maybe a couple) that I'd like your feedback. I'm looking to make a project/inventory manager app that a new project gets added to my server (will call it a sub server, give a sec and you'll see why) that takes a folder from a network drive (part of the main and existing server), this would house pdfs and such, and copy the fold to its own harddrive. Then the stations would log in and pull a copy from the sub server. What are your thoughts on what to use? I have already done research but wanted your opinion as well.

    • @IAmTimCorey
      @IAmTimCorey  Před 3 lety

      You want one central app to pull the files from the machines of the sub-servers? That sounds like a Worker Service as the main service. Unless it needs a UI, it can just sit in the background and do its thing on a schedule.

  • @BudoReflex
    @BudoReflex Před 4 lety

    Thankyou. So very helpful. 😊

  • @gabrielhering270
    @gabrielhering270 Před rokem

    How did you get that windows template studio option in the create new project menu ?
    All I can find for UWP is the create a blank project option.

  • @amosmatthew1211
    @amosmatthew1211 Před 3 lety

    Thank you for creating and posting this video. It was very informative. Do you have additional videos for this section?

    • @IAmTimCorey
      @IAmTimCorey  Před 3 lety +1

      Not yet! I have added it to my list

    • @amosmatthew1211
      @amosmatthew1211 Před 3 lety

      @@IAmTimCorey Okay, looking forward for it, Tim. Thank you!

  • @OthmanAlikhan
    @OthmanAlikhan Před 5 měsíci

    Thanks for the video =)

  • @sent4dc
    @sent4dc Před 4 lety

    Hey, Corey, thanks. Couple questions:
    1. Do know if there's a tool like dnSpy but for UWP apps?
    2. Is there a service to localize (translate) resources for your app?

    • @IAmTimCorey
      @IAmTimCorey  Před 4 lety

      dnSpy does work on UWP apps. As for a service to translate your apps, I'm not sure what you mean. If you mean automatically, I'm not sure but even if there is, it won't be perfect. If you mean a paid service, yes, there are services out there to localize your applications.

    • @sent4dc
      @sent4dc Před 4 lety

      @@IAmTimCorey it does? Are you sure? Can you name UWP app that dnSpy works on?

    • @llothar68
      @llothar68 Před 4 lety

      Get some student kid on Fiverr a little bit of money to localize it. Program resources are hard to automatically translate because of the requirement to need the shortest possible translation and the little context in which the words appear. Manual translators need screenshots or you get the same ackward translation as using Bing translate.

  • @markpolak8622
    @markpolak8622 Před 3 lety

    Hi Tim, thanks for the video, whats you thoughts about WinUI? Any introduction to that?

  • @orehcele
    @orehcele Před 3 lety +1

    Duude thanks so much for the video. This helped me a lot on how to start a companion desktop app I need to develop

  • @satish8299
    @satish8299 Před 2 lety

    Thank you for the short kickstart. You have a kickstart of Xamarin for desktop. Is it possible better not to use UWP but use Xmarin for desktop application so your Xamarin application later on could be adjusted for phone? I dont know it is a good strategy in Xamarin dont focus on phone layout and features but focus at Desktop ? and year later on phone features ?

    • @IAmTimCorey
      @IAmTimCorey  Před 2 lety

      That is more of what .NET MAUI will do (the successor to Xamarin) next year.

  • @MilanTiwariMessi
    @MilanTiwariMessi Před 3 lety

    Hi Tim, I want to read an excel file and store it in a datatable do the operations and export it back to excel without using any third parties. I dan do this for Desktop app using interop but I want to know if there is a way to do that for UWP.

  • @dharkundercity1796
    @dharkundercity1796 Před 4 lety

    Do you have any videos on UWP file encryption using Credential Manager PasswordVault to create a descriptor from the currently logged in user, of a UWP app so that the same descriptor can be used in roaming settings in the same app on a different PC for the same user to decrypt a file on OneDrive that was backed up using the APP from the original PC?

    • @IAmTimCorey
      @IAmTimCorey  Před 4 lety

      No, sorry. That's fairly specific too, so I don't think that will be covered this year.

    • @dharkundercity1796
      @dharkundercity1796 Před 3 lety

      @@IAmTimCorey NO worries. I finally figured it all out this past spring during mandatory stay at home orders during the pandemic. Here is my final result which has double encryption... no one is getting to this data inside my app :-) : Password-Vault found here in the Microsoft Store by RS Creations: www.microsoft.com/store/apps/9N639H9BNZ9Q .
      Even the backup file is encrypted.

  • @LukeStratton94
    @LukeStratton94 Před 2 lety +4

    Thanks for this Tim, it answered some questions I had about UWP. The part I’m confused about now is what Microsoft are doing with this.. are they discontinuing UWP in favour of WinUI 3? How do the two differ? Would be great if you could make a video on WinUI 3 describing the differences if you can!

    • @IAmTimCorey
      @IAmTimCorey  Před 2 lety +2

      Pretty much. UWP is not the way forward.

    • @lambertwangi367
      @lambertwangi367 Před rokem +2

      @@IAmTimCorey But what is the way forward ?

  • @ZZZXYZ
    @ZZZXYZ Před 2 lety

    Safe to assume that Master/Detail is now called "ListDetails"? they have same identifying image.

  • @freedom_aint_free
    @freedom_aint_free Před 4 lety +4

    I need I "bottom up" approach, that is: starting from the bare minimum GUI app and it's elements, I need to know how to find the events of each GUI component that I put in the window, e.g. button -> on click, check box -> on check (instead of a "Top down" starting from a already huge code created by the wizard). If anybody knows I good book to start with I would be glad to know, thank y'all.

    • @IAmTimCorey
      @IAmTimCorey  Před 4 lety +3

      I don't have a book to recommend. The way I would suggest is to go through the wizard and add just one item. Read the code, figure out how it works, then recreate it from scratch. Then do it again with the next item. Learning from code this way will be hugely beneficial to the development of your skills.

  • @jeanjagnow2524
    @jeanjagnow2524 Před 4 lety

    Hello, would you recommend developing a desktop ERP system in Electron with vue js and .net core api or UWP?

    • @IAmTimCorey
      @IAmTimCorey  Před 4 lety

      That is a question I can't give you a direct answer on. It depends on your team's skill, what you are building, the scope of the project, who will use it, and a LOT more. Sorry.

    • @rajasaid8227
      @rajasaid8227 Před 3 lety

      i tried making desktop program using electron with react and it was a mess. i am in this video to learn native development. java fx would be a great choice if you want cross platform compatibility

    • @fieryscorpion
      @fieryscorpion Před 2 lety

      Just build apps with .NET MAUI.

  • @queenstownswords
    @queenstownswords Před 4 lety +1

    Hello Tim. I understood that windows 7 end of (support) life was 14 Jan 2020. I think there is a very low % of windows 8.1 out there; hence, most developers can gamble that the majority of windows users are on windows 10.
    UWP seems a bit like Windows Flow or Microsoft Power Automate, would you agree?

    • @IAmTimCorey
      @IAmTimCorey  Před 4 lety +3

      I understand the basic thought, but this isn't as clear cut as you would hope. Not everyone follows the Microsoft support. For instance, banks and hospitals are notorious for being very far behind the curve. The government is also usually well behind the curve. The slowness to adopt in these areas usually is because of security (a new OS needs to be thoroughly vetted for safety reasons) and compatibility (all of the apps also need to be able to run on the new OS and need to be vetted all over again). So if you are building apps that target any of those markets, you are less likely to be able to use UWP at all. Home users are a mixed bag. While they are more likely to have Windows 10 (because they bought a PC in the past few years), they are less likely to know if the updates stop working (virus, poor configuration, etc.) Small businesses tend to try to make their money last longer, so they don't upgrade as often (and they use older apps that might not support the newest OS). At the end of the day, it all depends on your market. You can't just assume that even the general numbers apply to your audience. And those general numbers are still not really in favor of Windows 10. As of January, 2020, Windows 10 had a 57% market share, but Windows 7 had a 25% market share: www.netmarketshare.com/operating-system-market-share.aspx?options=%7B%22filter%22%3A%7B%22%24and%22%3A%5B%7B%22deviceType%22%3A%7B%22%24in%22%3A%5B%22Desktop%2Flaptop%22%5D%7D%7D%5D%7D%2C%22dateLabel%22%3A%22Custom%22%2C%22attributes%22%3A%22share%22%2C%22group%22%3A%22platformVersion%22%2C%22sort%22%3A%7B%22share%22%3A-1%7D%2C%22id%22%3A%22platformsDesktopVersions%22%2C%22dateInterval%22%3A%22Monthly%22%2C%22dateStart%22%3A%222020-01%22%2C%22dateEnd%22%3A%222020-01%22%2C%22segments%22%3A%22-1000%22%7D

    • @charlesbyrne71
      @charlesbyrne71 Před 4 lety

      We have gone past windows support dates on many occasions because of applications that our organization runs that cannot upgrade. What types of apps? Well apps with support contracts that use earlier versions of sql that haven't been upgraded, bridge and middle ware apps that may use specific supported drivers for high end scanners and expensive mail sorters etc. For a document work flow application we literally had to hold off then finally jump 6-7 versions and upgrade from sql 2005 then 2012 then upgrade 2 more versions (64 bit win 8 then win 10) and finally sql 2016, but only after we upgraded from Oracle 10g to 12c and I think Mulesoft was about the only thing that didn't get upgraded. These integrated apps are used heavily by our call center, licensing, accounting, enforcement and legal and would shut down our call center and other sectors if these apps couldn't communicate and work flow items.
      The Win XP to Win 7 upgrade was a nightmare, windows 7 will be missed, but the upgrade to 10 was not as bad. We skipped 8 since some of the LTS contracts wouldn't support the Client apps on Win 8 without additional costly fees. On the bright side the OS and server upgrades are getting smoother since and not as costly which benefits the taxpayers (state government), but we still wince when Microsoft, Oracle, and various vendors decide to force upgrades. The lawmakers at the budget requests always ask why and didn't we just upgrade software. If they only knew.

  • @nandkishorsonwale69
    @nandkishorsonwale69 Před 4 lety

    Thank you sir for such great introduction about UWP. If possible please create video about secure deployment of wpf app and about MSIX packaging. It will be great help. Thank you.

  • @amosmatthew1211
    @amosmatthew1211 Před 2 lety

    (1) The type or namespace name 'Screen' could not be found (are you missing a using directive or an assembly reference?)
    (2) Severity Code Description Project File Line Suppression State
    Error CS0518 Predefined type 'System.Object' is not defined or imported MyUWP C:\Users\Aemzs\source
    epos\MyUWPApp\MyUWP\ViewModels\DataGridViewModel.cs 9 Active

  • @mileadavid7007
    @mileadavid7007 Před 4 lety

    hi. i'm new to Visual Studio or programming in general. I took this windows platform studio for a project at the university, and I can not find how I am actually supposed to change the information from the Master Detail Page, can someone help me? Thx.

    • @IAmTimCorey
      @IAmTimCorey  Před 4 lety

      Look at docs.microsoft.com They have examples there of how to work with UWP applications.

  • @HYR_1
    @HYR_1 Před 2 lety +1

    Thanks Please Upload more tutorials on building a UWP apps 😊👍
    HUMBLE REQUEST !!

    • @IAmTimCorey
      @IAmTimCorey  Před 2 lety

      Unfortunately, I probably won't be doing that. UWP is no longer being improved by Microsoft. They are moving away from it. It is still supported, but their efforts are going towards WinUI and MAUI instead.

    • @HYR_1
      @HYR_1 Před 2 lety +1

      @@IAmTimCorey Hmm :( btw loved your tutorial

  • @gowthamraj6846
    @gowthamraj6846 Před rokem

    can you help me in to show system file like(ppt,text file) inside xaml application using button click in UMP

  • @softwebprojects5013
    @softwebprojects5013 Před 3 lety

    brother how can i connect with sqlserver database using entityframework please guide

  • @anfstudios1479
    @anfstudios1479 Před 4 lety

    Do I need Windows 10 SDK, after installing the extension, it says that I need (10.1904) SDK. Should I install that? I already have the one before that the 18 version.

    • @IAmTimCorey
      @IAmTimCorey  Před 4 lety +1

      I didn't need to install an extension but I am not sure. Maybe try just updating Windows and seeing if that is all it takes?

    • @anfstudios1479
      @anfstudios1479 Před 4 lety

      ​@@IAmTimCorey For now, I have the latest (supported version) for Windows and cannot upgrade to version 2004 (which I found out that it needs after installing the SDK). However, I can run everything else (including a blank document). So, is there any other alternative tutorial for that. If not, I'd be happy to learn Xamarin for mobile development (any videos that you suggest?). Also, a tutorial on creating a zip archiver would be amazing as no other CZcamsr has done that yet.
      Thanks for your time :D

  • @TheAneesshariff
    @TheAneesshariff Před 3 lety

    Which mocking framework can I use , and i have no interfaces in my application and its a 8.1 windows application

    • @IAmTimCorey
      @IAmTimCorey  Před 3 lety

      I'm not sure if you are actually asking for a mocking framework (which is used in unit testing to replace dependencies) or if you are thinking of something else. If you are asking about a mocking framework, check out Moq: czcams.com/video/DwbYxP-etMY/video.html

  • @lutzheinrichs2120
    @lutzheinrichs2120 Před 2 lety

    Thanks!

  • @okolol
    @okolol Před 2 lety

    Hi, I just get started with c# and I decided to start it with UWP because I have some prior coding experience. However, I can't get "step 1" get out of the way, I can't find the "Windows Template Studio" on my visual studio 2022 community edition online extension manager, and then I start to look it up on google and find the exact same one like yours, so I downloaded it, but when I try to install it, the installer gives me an error saying "This extension is not installable on any currently installed products." and I stuck here now.
    I really hope that you can help me, since I can't find why exactly did this happen.
    Thank you in advance.

    • @joao.mambelli
      @joao.mambelli Před rokem +1

      on 2022 it's just "Template Studio for UWP" now

  • @wrtoomes600
    @wrtoomes600 Před rokem +1

    Good day Mr. Corey. I have Visual Studio 2022 (free) I do not see anything that you are talking about. What I am saying is: I do not see "Windows Templet Studio" in the Extentions.
    Thank you for reading.
    I look forward to your reply.
    wrtoomes

  • @charlesbyrne71
    @charlesbyrne71 Před 4 lety

    We limit our updates, but we do so through a phased rollout because of various COTS (consumer off the shelf) applications that are customized or integrated with our enterprise apps across the organization. I was hoping for something simpler, but this is sounding like a nightmare. I was hoping for an electron style app in visual studio or similiar option that would harness the full win 10 OS. It is still interesting and it sounds like some good code content, but it sounds like I'll be sticking with win forms with some different styling and WPF instead. This doesn't sound like a viable option. Also a little bummed out that the xaml is different than WPF.

    • @IAmTimCorey
      @IAmTimCorey  Před 4 lety

      Yeah, there isn't anything horrible in UWP, it is more that there are small issues that act like sand in your shoe when developing.

  • @berengamble1882
    @berengamble1882 Před 4 lety

    Very good overview, thanks....Trying to follow along, but I don't have Caliburn.Micro as an option. Only the top three.

    • @berengamble1882
      @berengamble1882 Před 4 lety

      It's a separate exension.. I searched for Caliburn.Micro extension and installed it, now it appears as an option.

    • @IAmTimCorey
      @IAmTimCorey  Před 4 lety

      I'm glad you figured it out.

  • @HenrikRClausen
    @HenrikRClausen Před 4 lety +1

    Being fluent in three (human) languages and able to read a few more, I realiy appreciate the support for internationalization/localization. Getting that right isn't trivial.

    • @IAmTimCorey
      @IAmTimCorey  Před 4 lety +1

      You are definitely correct. That is hard to get right.

  • @amosmatthew1211
    @amosmatthew1211 Před 2 lety

    Great Video, Tim. Visual Studio generators many errors before I Build the Application. Type or namespace "Task" could not be found is one of these errors. How can I fix thix?

    • @IAmTimCorey
      @IAmTimCorey  Před 2 lety

      Try doing a build first. Sometimes you need to bring in NuGet packages that have not been downloaded yet. Otherwise, compare what you did with what I did. You might be missing something minor.

    • @amosmatthew1211
      @amosmatthew1211 Před 2 lety

      @@IAmTimCorey OK, thanks.

  • @germainenriquez2095
    @germainenriquez2095 Před 3 lety

    hi, best way to build app for windows 10 tablet? wpf or uwp?

    • @IAmTimCorey
      @IAmTimCorey  Před 3 lety

      Personally, I prefer WPF because of the freedom, but both will do the job.

  • @jonaslara175
    @jonaslara175 Před 4 lety

    I am new to the UWP world and the first thing I notice is that there is no support for data visualization.
    Any advice on how is the visual representation of the data (graphs, charts and all that stuff) achieved?

    • @IAmTimCorey
      @IAmTimCorey  Před 4 lety

      Not sure that you mean by data visualization. There is support for graphs, charts, datagrids, and more.

    • @jonaslara175
      @jonaslara175 Před 4 lety

      @@IAmTimCorey Yes, I meant all of that.
      I didn't find any charts, datagrids or graphs "out of the box" and the only options that I've found is by third-party packages.
      There is something that I'm missing?
      :(

    • @IAmTimCorey
      @IAmTimCorey  Před 4 lety

      Charts and graphs come from third parties. Microsoft provides the platform, you get the additional tools and UI you need from third parties (which can be free - for example, Syncfusion is free if you are on a team of 5 or less and your company/you makes less than $1 million per year).

  • @dhakshayinikoppad1411

    Hello Tim Corey, Your tutorials are great and informative. Can you please do a tutorial for developing a Bluetooth application with UWP. I have to develop a Bluetooth app that connects to a device, sends and receives data. There is not a lot of material out there on this topic.

    • @IAmTimCorey
      @IAmTimCorey  Před rokem

      Unfortunately, UWP has been deprecated, so I won’t be creating new material for it.

  • @diegongbayong
    @diegongbayong Před 2 lety

    Hi, I'm watching this in 2022. May I know if the app still compatible for the current Vs Version ? i tried looking for it and it's not appearing. Thank you

    • @IAmTimCorey
      @IAmTimCorey  Před 2 lety

      It is. You have to install the UWP package when installing Visual Studio though. You can add the package now using the first option under the Tools menu.

  • @bhagyeshpatel8413
    @bhagyeshpatel8413 Před 4 lety

    Which Ad Network is best to monetize UWP App?

    • @IAmTimCorey
      @IAmTimCorey  Před 4 lety

      I don’t have a recommendation, sorry.

  • @jannickbreunis
    @jannickbreunis Před rokem

    Why are the ViewModels located in the main project of the solution and not in the core part? Shouldn't the ViewModels be in the same place as the Models?

    • @IAmTimCorey
      @IAmTimCorey  Před rokem

      ViewModels are UI. They are at the same "layer" level as your Views. If you put them in a class library, that class library becomes a UI library, not a core library.

  • @janne_kekalainen
    @janne_kekalainen Před 4 lety

    I Think Windows 10 versions have an 18-month support period from release, meaning 1809 is the oldest still supported version. So, for non-business use cases, this is the most extreme (and still practical) min version to use. This is just my opinion.

    • @IAmTimCorey
      @IAmTimCorey  Před 4 lety

      It all depends on the audience. There are a lot of people out there with older laptops/desktops. Even people on Windows 10 don't always have the latest updates. What Microsoft supports doesn't really affect what people use.

  • @sohaibarif2835
    @sohaibarif2835 Před 4 lety +3

    Great videos. Can you do one on SignalR?

    • @IAmTimCorey
      @IAmTimCorey  Před 4 lety +2

      It is high on the suggestion list.

    • @vandeljasonstrypper6734
      @vandeljasonstrypper6734 Před 4 lety

      @@IAmTimCorey yeah please do a chat app and store message in SQL

    • @davestorm6718
      @davestorm6718 Před 3 lety

      @@vandeljasonstrypper6734 - isn't this being phased out for Blazor?

  • @CRBarchager
    @CRBarchager Před 4 lety +8

    9:14 Windows 7 went End of Life on January 14, 2020

    • @IAmTimCorey
      @IAmTimCorey  Před 4 lety

      Thanks.

    • @llothar68
      @llothar68 Před 4 lety

      And they now declared in May 2020 that they will even backport Edge to Windows 7. So it is more a LOL then EOL. Too many important big businesses still depend on it.

  • @fieryscorpion
    @fieryscorpion Před 2 lety

    Which one should we use now? WPF or UWP or WinUI or MAUI?

    • @IAmTimCorey
      @IAmTimCorey  Před 2 lety

      Thanks for the suggestion. Please add it to the list on the suggestion site so others can vote on it as well: suggestions.iamtimcorey.com/

  • @markcain2116
    @markcain2116 Před 4 lety

    I didn't have a Web API option in services.

    • @IAmTimCorey
      @IAmTimCorey  Před 4 lety

      My guess is that you need an update to either Visual Studio or Windows. Then the plug-in should update itself with the latest options.

  • @muhtasimahmedtausif2090

    I can't find this extension in online menu.
    i am using community edition 2022.
    please reply me .

    • @IAmTimCorey
      @IAmTimCorey  Před 2 lety

      You probably didn't install the UWP package when you installed Visual Studio. In the Tools menu, select "Get Tools and Features". That will let you configure what is installed in Visual Studio. Select the Universal Windows Platform option and install it.

    • @muhtasimahmedtausif2090
      @muhtasimahmedtausif2090 Před 2 lety

      @@IAmTimCorey
      I selected the option
      Universal Windows platform .
      Before installing .but didn't work.

  • @saya1_
    @saya1_ Před 4 lety

    I only have MVVM Basic and MVVM Light options and Code Behind, why?

    • @IAmTimCorey
      @IAmTimCorey  Před 4 lety +1

      Not sure. Maybe you have a different version of the tool.

    • @hattoff
      @hattoff Před 3 lety +1

      This probably won't help you, as it is 5 months past, but might help others:
      I am using Visual Studio 2019, but the steps should be the same in VS2017. Create a new UWF project (you can just delete it later). Click "Project" -> "Manage NuGet Packages..." Then select the "Browse" tab. Search "Caliburn.Micro" and install the latest version v3.2.0 by Rob Eisenberg. It will ask to install supporting files, click OK. Close and trash that project then follow along with the tutorial as normal (I am sure there is a way to install it with PowerShell but I don't use NuGet that often). The option should now be available as shown in the video.
      Note: Caliburn.Micro is no longer under active development at the time of writing this comment. The original creator, Rob Eisenberg, stepped away from the code years ago; it was being maintained by Nigel Sampson. In June of 2020 Nigel stepped away from the maintenance of this code as app development is no longer the primary focus of their new job. Nigel will still continue to host the webpage and has pushed the release candidate for v4.x, but is looking for interested, responsible developers to transition and continue the opensource project. You can find the website in the NuGet package Info pane or by searching Caliburn.Micro .
      Good luck.

    • @saya1_
      @saya1_ Před 3 lety +1

      @@hattoff Thank you very much for writing this, I didn't figure it out myself.

  • @randydiaz323
    @randydiaz323 Před 3 lety

    How do i push an existing UWP from my computer to my xbox one?

    • @IAmTimCorey
      @IAmTimCorey  Před 3 lety

      You need to go through the Microsoft Store.

    • @randydiaz323
      @randydiaz323 Před 3 lety

      @@IAmTimCorey Nice!! Thanks for the pointer Tim!

  • @LuigiZambetti
    @LuigiZambetti Před 4 lety

    In .NET 5 - on Nov. 2020 - UWP will be supported again?

    • @IAmTimCorey
      @IAmTimCorey  Před 4 lety +1

      UWP is still supported. It hasn't lost support. I'm not sure what you are asking about.

    • @LuigiZambetti
      @LuigiZambetti Před 4 lety

      @@IAmTimCorey If is it a good idea to start brand new project in UWP after .NET 5 will be released.

    • @IAmTimCorey
      @IAmTimCorey  Před 4 lety +2

      I can't guarantee the future but Microsoft is putting a lot of faith in UWP as the future.

    • @gavinw77
      @gavinw77 Před 4 lety +1

      UWP never stopped being supported.

    • @obinnaokafor6252
      @obinnaokafor6252 Před 4 lety

      It has always been supported.

  • @j5ylim396
    @j5ylim396 Před 3 lety

    new to uwp, useful video. thanks
    though lol visualstudio seems horribly slow especially since i came in from vscode.
    running on a 3700x and a blank project locks it up for a while

    • @tomthelestaff-iamtimcorey7597
      @tomthelestaff-iamtimcorey7597 Před 3 lety

      Interesting. First time only when you launched, or every time?

    • @j5ylim396
      @j5ylim396 Před 3 lety

      every time, unfortunately

    • @IAmTimCorey
      @IAmTimCorey  Před 3 lety

      Visual Studio is slow compared to VSCode because Visual Studio is doing a lot more. However, those lockups seem suspicious. Do you have a spinning hard drive? That may be the issue. Otherwise, submit a feedback response about it.

    • @j5ylim396
      @j5ylim396 Před 3 lety

      my installations on an nvme..
      ig ill just chalk it up to the program having to do a lot of shit as you said

  • @019KADESH
    @019KADESH Před 4 lety +1

    Resource file 29:42

  • @airbus5717
    @airbus5717 Před 3 lety

    which is easier to learn WPF or UWP

    • @IAmTimCorey
      @IAmTimCorey  Před 3 lety

      I think WPF because there is less restrictions and less hoops to jump through.

    • @airbus5717
      @airbus5717 Před 3 lety

      @@IAmTimCorey yep i noticed when trying uwp app dev

  • @jcbritobr
    @jcbritobr Před 3 lety

    Too complicated. I installed in cli. There is so many templates that it stops working when i call dotnet new --list.

    • @IAmTimCorey
      @IAmTimCorey  Před 3 lety

      That sounds like an issue on your PC.

  • @longbra
    @longbra Před 3 lety

    Will there ever be a day when the barrier to entry into programming basic applications on Windows isn't such a horrific nightmare? It is sad when we have to rely on reverse engineering complex code that is generated from a code generator. Sometimes I wonder if some software developers are trying to over obfuscate things in order to restrict entry into this field.

    • @IAmTimCorey
      @IAmTimCorey  Před 3 lety +1

      No, I think the issue here is the plethora of options. If you had a really simple system, it wouldn't do what you want. So you would add a feature or two to make it perfect. Now imagine hundreds of thousands of people did that. Think of all of the options you would have. That's the issue. .NET Core applications have done a better job at hiding the complexity at startup. Look at how easy it is to get started with a Blazor Server app even though you are using dependency injection, application logging, HTTPS redirects and enforcement, SignalR, and more. UWP is just messy. Don't overlook what we are doing by reading the code, though. That is one of the best ways to learn how to build code, by reading code. Don't discount that as bad.

    • @longbra
      @longbra Před 3 lety

      Thanks for the reply. Yeah, I think I will stay away from UWP for now. I come from Windows Forms with MFC, but most of my experience is in developing C for embedded microcontrollers. Most of the code on the embedded devices I had worked on was written by me (no RTOS). I'm trying to come up to speed with WPF and .NET Core now that I'm out of a fulltime job and need to find a source of income soon. Also, thanks for all your your fabulous videos.

  • @brajanekanimejszyn
    @brajanekanimejszyn Před 2 lety

    I can't find the extension :(

  • @nicolascarlo8099
    @nicolascarlo8099 Před 3 lety

    Uno Platform is making UWP actually Multiplatform including Linux/OS X, iOS, Android, WASM.

  • @bradsnapp8437
    @bradsnapp8437 Před rokem

    Using VS2022 and Windows Template Studio is not an option.

    • @IAmTimCorey
      @IAmTimCorey  Před rokem

      They stopped working on it for a while, then they restarted but they renamed it to "Template Studio". You need to pick the one you want (WPF, UWP, or WinUI): github.com/microsoft/TemplateStudio The extensions are in the Visual Studio Marketplace as well.

  • @mostafadamirchi5833
    @mostafadamirchi5833 Před 3 lety

    Hi, my name is Erfan, How I can be sponsor of your videos?

    • @IAmTimCorey
      @IAmTimCorey  Před 3 lety

      I do not accept sponsorships for my videos. I did briefly at one time, but have not since.

    • @mostafadamirchi5833
      @mostafadamirchi5833 Před 3 lety

      @@IAmTimCorey what about an affiliate program?

  • @mariofares4692
    @mariofares4692 Před rokem

    Please make a Community Toolkit tutorial. There are none out there.

    • @IAmTimCorey
      @IAmTimCorey  Před rokem

      Thanks for the suggestion. Please add it to the list on the suggestion site so others can vote on it as well: suggestions.iamtimcorey.com/

  • @vandeljasonstrypper6734
    @vandeljasonstrypper6734 Před 4 lety +1

    I don't know if I should trust this
    But the marketing is so risky
    + UWP just got removed it's ad-platform
    + UWP got performance issues with windows 10
    + UWP have sandbox
    + UWP have so few supported libraries so rewriting everything from sratch is pain in the ass
    The only place the UWP is recommended is Kinosk mode
    For single Computer purpose in Enterprise
    But remember I don't mind the those limitations, but I really concerned the how Microsoft support it
    They put a bullet in Windows Phone, Windows RT and even Cortana
    I don't know whether I should recommend this to any kind developers and we seem don't have great choice either. Win32 is so OLD
    Right now the best way to treat .net is a cloud platform
    Stay away all the UI framework as far as possible
    P/s: the Windows IoT Core haven't updated since 2016
    So IoT might be a no go

    • @IAmTimCorey
      @IAmTimCorey  Před 4 lety +1

      Yeah, I did a video on my thoughts about desktop apps in C# ( czcams.com/video/yq0dSkA1vpM/video.html ). WPF and WinForms are actually pretty modern. They just got backed by .NET Core ( czcams.com/video/uc3tC6_mEvk/video.html ), they are now supported with MSIX deployers ( video coming next week), and you can put them in the Store. Working in the cloud is a great option, though, if you don't mind web. Razor Pages, Blazor, and even third-party frameworks like Avalonia and Platform Uno are great options.

    • @dnwheeler
      @dnwheeler Před 4 lety +2

      Microsoft got rid of their own app ad platform, but you can certainly use another one in your UWP app. Not sure what performance issues you are talking about - UWP compiles to native code and is typically faster than standard .NET. The UWP sandbox is generally a very good thing, you can still write unsafe code and get "full system access" if you want, though. Any .Net library targeting the ".NET Standard" will work on UWP and the .NET Framework - most libraries are moving in this direction for maximum compatibility.

    • @vandeljasonstrypper6734
      @vandeljasonstrypper6734 Před 4 lety

      @@dnwheeler
      UWP xaml elements really getting mess up when you on high resolution display,
      Acrylic, Gridview
      I have been reported this for them years ago but they still haven't fixed it

  • @RealStuntPanda
    @RealStuntPanda Před 9 měsíci

    1:30 And herein lies the problem with extensions: in the far, far future of Visual Studio 2022 Community Edition there is no Windows Template Studio extension so these well thought out, well done tutorials are pretty much useless. And this is an extension _made by Microsoft!_

    • @IAmTimCorey
      @IAmTimCorey  Před 9 měsíci +1

      There still is. They just called it Template Studio instead of Windows Template Studio: github.com/microsoft/TemplateStudio

    • @RealStuntPanda
      @RealStuntPanda Před 9 měsíci +1

      @@IAmTimCorey You're a champion!

  • @shaneclk9854
    @shaneclk9854 Před 3 lety

    u didnt tell us how to install visual studio

    • @IAmTimCorey
      @IAmTimCorey  Před 3 lety

      Nope, that wasn't the point of this video. I can't start from scratch each video. I do have a video on how to install Visual Studio though: czcams.com/video/G1-Zfr9-3zs/video.html

  • @MrBambaGamer
    @MrBambaGamer Před rokem

    "Corey" is shown for 1ms in 23:26 🤨

    • @IAmTimCorey
      @IAmTimCorey  Před rokem

      I Alt+Tabbed, which shows the desktop background. I tried to do it quick, but it still showed up. The "Corey" is the desktop background art I was using at the time, which said "I Am Tim Corey" in script and it had logos for CZcams, Twitter, etc.

  • @hansa5867
    @hansa5867 Před 2 lety

    Hehe, this is the worst part about school. The assignment is to use UWP, not extensions... So this tutorial is essentially useless to me at this point :P

    • @IAmTimCorey
      @IAmTimCorey  Před 2 lety +1

      I wouldn't think so. While you might not be able to use the template code that the wizard builds for you, you can learn from it and use it as a sample for what you want to do. That way you don't need to manually figure out each step. You can see it done for you and then just bring over what you want.

  • @benjamenkuhman6808
    @benjamenkuhman6808 Před 3 lety

    RIP Rider users

  • @sarooptrivedi
    @sarooptrivedi Před 3 lety

    your screen is really black. Hard to read. try next time with white background

  • @seephor
    @seephor Před 3 lety

    Why has Windows turned into a mess like this? They keep abstracting over abstractions over other abstractions. This will not end up good in the long run. They need to develop new platform, agree on a set standard and virtualize all older apps. Windows has turned into a cluster-F. They have no direction or real innovation. It's a building pieced together with scraps. Who's leading the Windows development? They need to be fired ASAP.

    • @IAmTimCorey
      @IAmTimCorey  Před 3 lety

      Trying to maintain legacy applications while innovating is very difficult. I agree that I don't think they have done a great job, but it is a hard job to get right. Don't forget that a bit reason why UWP struggles so much is because people won't get off of Windows 8, 7, and even XP. Creating a new OS/system would be even worse. Virtualization isn't really the solution, either, since you would end up basically running multiple older operating systems in parallel with your main system, which would cause all kinds of security holes.

    • @seephor
      @seephor Před 3 lety

      @@IAmTimCorey I think Microsoft has done too good of a job supporting legacy apps but It's a double edge sword. You trade off having a better operating system with apps written for Windows 95 still able to run. I think Apple has a better balance on this thus a cleaner architecture. Look how they pulled off moving off Intel to ARM with virtually zero issue. I think it's possible for Microsoft to clean up by rewriting all their GDI windows APIs with what've learned so far. They can then support legacy apps with a Windows 10 sub system that's decoupled from the host OS via virtualization. They can then pour all their resources into a single development stack native to the OS API. Eventually after a decade, they can drop the legacy Windows support. Imagine all the new employment opportunities this will bring to the market. It's a bold move and I think it's possible from a technology standpoint. Whether Microsoft can pull it off is a different story. The failures of Microsoft beginning from Windows Vista to present has really been shameful.

  • @GdeVseSvobodnyeNiki
    @GdeVseSvobodnyeNiki Před rokem

    Lol, how does it feel like to learn all this crap only to discover it is being deprecated just couple of years later?

  • @DK-ew4hp
    @DK-ew4hp Před rokem

    Thanks!