Desktop Development Improvements in .NET 5 - WPF, WinForms, and ClickOnce

Sdílet
Vložit
  • čas přidán 28. 07. 2024
  • With the latest version of Visual Studio and .NET 5, there have been a few really powerful changes to desktop development in C#. In this video, we are going to look at the changes specifically to WinForms and WPF development along with the re-introduction to ClickOnce deployment in .NET.
    Purchase courses: www.iamtimcorey.com
    Source Code: leadmagnets.app/?Resource=Des...
    Publish.htm workaround: developercommunity2.visualstu...
    Mailing List: signup.iamtimcorey.com/
    Design-time binding docs: docs.microsoft.com/en-us/visu...
    0:00 - Intro
    0:55 - Windows Form App .NET
    6:29 - WPF .NET
    7:07 - WPF: intellisense
    8:24 - WPF: XAML double quote
    11:27 - WPF: Design time binding
    15:58 - WPF: Live Visual Tree
    19:49 - WPF: Hot Reload
    23:30 - ClickOnce Deployment
    33:59 - ClickOnce: publish.htm bug workaround
    40:16 - /*Azure FTP*/
    41:45 - Install the application
    43:43 - ClickOnce: Application updates
    45:37 - ClickOnce: Summary
    47:50 - Concluding remarks
    Thanks to Ralfs HBK for the chapters breakdown

Komentáře • 191

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

    0:00 - Intro
    0:55 - Windows Form App .NET
    6:29 - WPF .NET
    7:07 - WPF: intellisense
    8:24 - WPF: XAML double quote
    11:27 - WPF: Design time binding
    15:58 - WPF: Live Visual Tree
    19:49 - WPF: Hot Reload
    23:30 - ClickOnce Deployment
    33:59 - ClickOnce: publish.htm bug workaround
    40:16 - /*Azure FTP*/
    41:45 - Install the application
    43:43 - ClickOnce: Application updates
    45:37 - ClickOnce: Summary
    47:50 - Concluding remarks

  • @xx_shorbs
    @xx_shorbs Před měsícem

    I'm watching this video in 2024 and its so interesting to see all the formatting and workflow issues you noted during the publishing process are fixed exactly how you said they should be.

    • @IAmTimCorey
      @IAmTimCorey  Před měsícem

      Yep, a lot of improvements have been made.

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

    I like the d: binding. I used to use the fallback value for that because the designer would display it, but that can have consequences at runtime as well if you forget to initialise in your model. So this is better.

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

    I am so glad to hear you will be covering application signing and developer certificates, this has been a major source of confusion for a while. Is this the same certificate you would use for passing SSL / TLS certificates for secure communication connections? Also, do you plan on doing a video to discuss how to create the type of certificates needed for secure communication, and how to have applications accept your certificate?

  • @RobertMunteanu105
    @RobertMunteanu105 Před 3 lety

    Thanks for the highlights Tim!

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

    Thanks Tim, great info....
    I like ClickOnce.... It's super cool as it comes back in .Net5 again.
    I have using it since .Net Framework, it helps me distribute my software into the automation system I built.
    Even today I still using it for my Windows Desktop project under .Net Framework.
    Thanks again!

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

    So Much Thanks.Please Carry On telling us New Innovations of .NET

  • @minchaudhary
    @minchaudhary Před 3 lety

    Really Great Feature ClickOnce Deployment. I spent 1 week for this feature on .net core 3.1 wpf application

  • @iancarr3923
    @iancarr3923 Před 3 lety

    Very useful section on click-once deployment.

    • @IAmTimCorey
      @IAmTimCorey  Před 3 lety

      Glad it was helpful!

    • @iancarr3923
      @iancarr3923 Před 3 lety

      @@IAmTimCorey As I am sure you know the Publish.htm issue has been fixed in VS 16.9. BTW: although I ftp all the files over to Azure and the App.html page displays correctly I get an error as it appears to fail to download the .application file. Frustratingly the log does not give any clues on why it is happening. Many thanks again.

  • @AdamsTaiwan
    @AdamsTaiwan Před 3 lety +31

    Ctrl + d (duplicate) is much faster than copy/paste. Also, alt up/down to move lines instead of cut/paste.

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

      Yep, I just use it so infrequently that I forget it.

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

      I believe this has been available since long, I remember start using it 3 years ago

    • @erik....
      @erik.... Před 3 lety

      I always have to think about it because it's shift+alt+down arrow in VS Code.

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

      @@erik.... I changed my vscode shortcuts to be the same as vs2019. It's an extension.

    • @AvgDan
      @AvgDan Před 3 lety

      I got so used to using Shift+Del to cut and then Shift+Insert twice to duplicate a line back in edit.com, I still use it, that and ctrl+arrows and shift+(ctrl+arrows|pgup|pgdown).

  • @czeysy
    @czeysy Před 3 lety

    Thanks for the great content !

  • @StudentCompanion
    @StudentCompanion Před 3 lety

    Great tutorial. Thanks a lot

  • @salmanalikhan8290
    @salmanalikhan8290 Před 3 lety

    Best video... I waited for.... Thanks alot

    • @IAmTimCorey
      @IAmTimCorey  Před 3 lety

      Most welcome 😊

    • @salmanalikhan8290
      @salmanalikhan8290 Před 3 lety

      @@IAmTimCorey you are really a good and a real educator. I have learned many complex topics from u. And I would say please make a video on entity framework code first approach including stored procedures in it.

  • @ahmedh2482
    @ahmedh2482 Před 2 lety

    You are awesome man,
    Waiting for developer certificate

  • @jakubkubala8082
    @jakubkubala8082 Před 2 lety

    Thanks, very helpful

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

    It would be awesome if they made the Panel control behave just like a in winForms. That would solve a lot of typography issues.

    • @IAmTimCorey
      @IAmTimCorey  Před 3 lety

      That's mixing layout philosophies, though. WPF's philosophy is much more conducive to that concept.

  • @mohammedal-sabbagh8463

    Awesome thank you very much

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

    This is great, thanks Tim, so practical.
    I hope they add the deployment webpage feature, all please go up vote it!
    If you create another video on this (and please do) it would be great if you could explain more about the signing of the app.
    Where is the best place to get the certificate from?
    What option (product) to choose from on the site?
    Can I sign more than one app with the same certificate?
    After a year I buy a new one and then replace the old one?
    Some questions about ClickOnce:
    Can I set my publish location to an Azure container?
    Is there an advantage to using Azure App Service over a public Azure container in this use case?
    Why does it give me (and you) an error when pasting the URL? Is that a bug?
    With Target runtime, is Portable just the way to go? When to use the other options?
    What is the lowest version of Windows that a .Net 5 WPF app will run on?
    If you only get to most of these questions in your next video, that's fine, I'll wait. :)
    Ps. Setting the minimum version to the same as the current version is a great way of not giving the end user the option of skipping the update, solved a lot of problems for me.

    • @IAmTimCorey
      @IAmTimCorey  Před 3 lety

      Thanks for the suggestions, added my suggestions list

    • @kaidouz7756
      @kaidouz7756 Před rokem

      @@IAmTimCorey would be good if you could do a full video about signing an application with a paid certificate

  • @elpe21
    @elpe21 Před 3 lety

    Thanks for the video. Tim , how to handle appsettings.json in this scenario? Let's assume there is one. User has updated the file manually and with the next update you want to add new setting to the file. ( something I've asked about before , but the videos for TimCo don't answer that ). Do we have to code something into the program to 'create' new settings but never overwrite the file ? Or perhaps create a different json file ? But this could lead to 100s of json files in big project.
    Thanks

  • @damiansuess
    @damiansuess Před 3 lety +3

    I still use, WinForms! You don't always need a sports car to haul dirt.
    It's great for quick prototyping and generic application use.

  • @HollandHiking
    @HollandHiking Před 3 lety

    Thank you for this demo! One comment. If you use .Net Core or .Net5.0 you will need to publish function anyway to collect all files as input for the installer. When I just migrated to .Net Core, my installed projects did not work very well, till I discovered the Publish function.

  • @MarioStaats
    @MarioStaats Před 3 lety

    Everytime a great Information from you. @IAmTimCorey - Is on your Roadmap a overview of WinUI 3?

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

      It is, although I am going to wait until it is close to release date, if not already released (sometime in 2021).

  • @Ahmad_Hamdy_Hamdeen
    @Ahmad_Hamdy_Hamdeen Před 3 lety

    A lot of thanks 😍❤

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

    Thank you so much Tim for your good Video , just a question maybe i miss it in the Video , what is new in .net 5 for Hot Reload feature because this feature was availabe in previous versions

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

      They have improved it and made it more stable. It is also now in Xamarin (again, a new version that works better).

  • @Isra-p1
    @Isra-p1 Před 3 lety +1

    Hi Tim, thanks for this wonderful video. So, as a .NET noob I wonder, what use cases would not be suited for click once and would better suited for an msi installer? Do you also have resources to learn how to deploy using msi installer?

    • @IAmTimCorey
      @IAmTimCorey  Před 3 lety

      An MSI installer would be necessary if you wanted to install to a specific path or if you wanted to add additional resources (install a database engine, update the registry, etc.)

  • @ivandrofly
    @ivandrofly Před 3 lety

    thanks for tutorial :)

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

    Hello Tim Corey... loving your videos... especially for this one using WPF, do you think you could do an updated video on creating a WPF application? I am a student currently doig computer sciences (which godammit... its all maths)... but will be starting C# soon... thanks in advance

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

      Check out the TimCo Retail Manager series. We built a .NET Framework WPF app and then upgraded it to .NET Core. It talks to an API for its data after authenticating against that API.

    • @notdefined5768
      @notdefined5768 Před 3 lety

      @@IAmTimCorey Much love sir...

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

    I love WinForms. It's so easy to use and you can design forms quickly. Don't even think about getting rid of it.

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

      I don't think they will, although Microsoft would probably prefer to use an easier UI like a XAML-based one.

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

    Hello Tim. I will be returning to C# after 3 years now that it fits my needs with NET 5. I have pretty much forgotten everything. Do you have any recommanded order in your channel? I was planning so far to use my old text based resource which is pretty dated but quick + go through your retail manager. Good vid and thanks for update.

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

      This is the video that discusses to overall path - czcams.com/video/LUv20QxXjfw/video.html. I also have most of my videos organized in playlists, so follow the playlist's order czcams.com/users/IAmTimCoreyplaylists

  • @RalfsBalodis
    @RalfsBalodis Před 3 lety

    What a great time to enter C#. So much cool stuff with C# 9 and .Net5...
    I had no idea that hot reload is a relatively new feature. For me - it was there forever. (That is 2020 start of summer)
    You have a designer pane next to your xaml but still, I found that it's just not the same when you can use hot reload. I just can't explain why that is...
    Also, ClickOnce. Looks very handy.
    Design time binding, kind of nice. But then - what the x: stands for? I use simply "Name" not "x:Name" if I have to reference element in my code. Seems to work just fine.
    not to mention
    xmlns:x...
    xmlns:d...
    xmlns:mc...
    What is a that?

  • @markosteubner9831
    @markosteubner9831 Před 3 lety

    Does an application update download the full installation or is it also possible to do partial updates via click-once? In case of bigger applications it saves time and bandwidth.

    • @Christobanistan
      @Christobanistan Před 3 lety

      Use Squirrel for Windows, gives your partial updates and you can embed your update UI inside your app.

  • @laycoonz302
    @laycoonz302 Před 3 lety +3

    Could you make a tutorial about json deserializing with system text json??
    I haven't found any quality content online with this topic, every video just cover very very basic stuff that does not apply to real world APIs
    Understanding how to deal with complex nested json structures would be awesome and I'm pretty sure you would do a fantastic job

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

      Noted, added to my list of suggestions

    • @matejskerjanc7703
      @matejskerjanc7703 Před 3 lety

      @@IAmTimCorey I second that with Jorge, I've been still using newtonsoft since the lack of any useful doc

  • @wayahedia9989
    @wayahedia9989 Před 3 lety

    I use fallback values in wpf to see what's goin' on in the designer. The live visual tree saved my butt last week while trying to follow datacontext through nested listviews.

  • @luckyJYK
    @luckyJYK Před 3 lety

    Thanks Tim for the recent rapid videos on .NET 5. About the ClickOnce, is appsetting.json file available with this deployment ? Because if I'm not mistaken, it's not available with deployment into single EXE file.

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

      You would need to include that file with your project and exclude it from the single file (if you are doing single-file - ClickOnce does not create a single file unless you tell it to). We do this in the TimCo Retail Manager series.

    • @luckyJYK
      @luckyJYK Před 3 lety

      @@IAmTimCorey Thanks Tim I'll check it out

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

    26:50 this part had me howling, haha. C'mon microsoft!

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

    It would be nice, to have a Video about Squirrel.Windows and .Net 5. Install and Update similar to Click Once.

    • @IAmTimCorey
      @IAmTimCorey  Před 3 lety

      Added to my suggestions list, thanks!

    • @Christobanistan
      @Christobanistan Před 3 lety

      Great package, used by VSCode, Discord, lots of well known apps. I like that it lets you get rid of the ClickOnce installer window and do all the UI in your app!

  • @kevinfurst8163
    @kevinfurst8163 Před 3 lety

    Hi Tim! Do you know if there will be an (easy) way to migrate a wpf app to a maui app once its released?
    I would like to make my windows desktop app crossplatform for macOS.

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

      MAUI isn't out yet, so we don't know yet what the upgrade path will be. My guess is that they will attempt something but we don't know how effective it will be.

  • @nnguyetnam
    @nnguyetnam Před 2 lety

    great content! Could you focus more on signing certificates as mentioned plan in video clip? many thanks Tim!

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

      I will add it to the list. Thanks for the suggestion.

    • @nnguyetnam
      @nnguyetnam Před 2 lety

      @@IAmTimCorey we are small start-up company, I see it cost # more than 230 $/year just to own a Extended Validation certificate to remove the "ugly smart screen filter" . Could you also giving us some tips how to do it with lowest/lower possible cost? great thanks in advance

  • @bradbernhardt750
    @bradbernhardt750 Před 2 lety

    When I first created a project I chose to deploy to a file path (but not ClickOnce). Now ClickOnce isn't an option when I publish. Is there a way to reset the publish options so I can use ClickOnce?

    • @IAmTimCorey
      @IAmTimCorey  Před 2 lety

      You can delete the existing publish options but it sounds like you just need to add a new publish option instead of using the existing one.

  • @DSilvandoBlade
    @DSilvandoBlade Před 3 lety

    7:00
    Everytime I make a new WPF.NET project it doesn't give me a display at all. I don't know how to go about adding it and there isn't any online help. Please help.

    • @IAmTimCorey
      @IAmTimCorey  Před 3 lety

      Are you sure you are creating a WPF app and not a WCF app? You should always get a UI like that in the MainWindow.xaml file.

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

    At this point in time, it would have been weird NOT to have a hot reload really :D

  • @tchpowdog
    @tchpowdog Před 3 lety

    Is your clickoncedemo app service a .Net 5 container? Because I just published an app service and .NET 5 nor .Net Core 5.0 was an option. I had to select 3.1.. I think.

    • @IAmTimCorey
      @IAmTimCorey  Před 3 lety

      At 29:10, I show off switching to .NET 5 before I created the ClickOnce app so yes, it is .NET 5.

  • @leriosindane720
    @leriosindane720 Před 2 lety

    very good video
    In the past I saw a video where you recommended Squirrel.
    I wonder, with the current ClickOnce Deployment
    Which do you recommend?

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

      I haven't used the current ClickOnce enough to know yet. That would probably be a good suggestion to add to the suggestion site: suggestions.iamtimcorey.com

    • @leriosindane720
      @leriosindane720 Před 2 lety

      @@IAmTimCorey i will do that

  • @girornsveinsson7970
    @girornsveinsson7970 Před 3 lety

    What on earth happened to Azure Devops in the VS update??? I have been trying to google that but unfortunately found no answers! :(

    • @IAmTimCorey
      @IAmTimCorey  Před 3 lety

      Not sure what you mean. It seems fine to me.

  • @bobclemens8065
    @bobclemens8065 Před 3 lety

    Even if you sign your app with a certificate, don't you run into issues where the user still gets warnings based on how many downloads you've had, or some other criteria?

  • @BigBassti
    @BigBassti Před 3 lety

    Hi Tim! I started using Entity Framework about 1,5 years ago. I decided to use Ef 6. 4, because the core variant was not really ready.could you make a Video on how it is possible to use ef 6 under .Net 5? Or is it nessessary to port my code to ef core 5 now? If so, can you explain how to do this? That would be a great Tutorial on ef and.Net 5!

    • @IAmTimCorey
      @IAmTimCorey  Před 3 lety

      I'm not sure you can use it under .NET 5 but I know that you want to be on EFCore now. It is a lot more efficient than EF6.

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

    Hi there ! Does the winforms designer now works when project is built in x64 ?

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

      I don't think so. That is because VS instance itself is x86 so it must execute a x86 project to be able to run it inside and display anything.

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

      @@luislhg Indeed, you got a good point there, maybe a x64 version someday, fingers crossed ! But anyway I rarelly will be doing designer stuff anymore, went back to WinForms for a job afters years of WPF, hard times... Back to Xaml soon :D

  • @bobclemens8065
    @bobclemens8065 Před 3 lety

    Can you deploy WinForms and WPF apps through the Windows Store?

    • @IAmTimCorey
      @IAmTimCorey  Před 3 lety

      You can now, yes. Check out my video on MSIX.

  • @lissa4080
    @lissa4080 Před 3 lety

    Will ClickOnce work if used with something like a Github Pages repo?

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

      I believe so but I haven't tried it.

  • @hawarhekmat1174
    @hawarhekmat1174 Před 3 lety

    the only problem that I have with C# is it have a lot of class and don't know which one is right thing, for example if i want make http request in javascript i just use fetch but in C# i don't know how many classes should I use and which one

    • @Kirides
      @Kirides Před 3 lety

      Tl;Dr: use HttpClient. If you got that working, fine. If you plan on doing serious stuff: read up on "HttpClientFactory".
      in JavaScript you have XMLHttpRequest, fetch and then some other libraries that abstract things away even more.
      in C# you have "WebClient" which should not be used in any modern HTTP development
      and HttpClient which as the name implies, is a client for any sorts of HTTP-Requests and the only class that should be used for HTTP requests in C#.
      While you _can_ use the "HttpWebRequest" class to build and execute HTTP requests, it does not allow you to "plug-in" functionality like, eg. Polly, or any kind of Http-DelegateHandller as with the HttpClient.

  • @madaralives
    @madaralives Před 2 lety

    @IAmTimCorey, Just a quick question, I work for a company that is transitioning from using a 4gl language (Genero/Informix) to dotnet. I have been working in C# personally for years but never bothered learning windows forms or WPF. I do have Win32 programming experience, but that's been 10+ years. My question is; should I spend my time learning WPF, or should I focus on a different UI technology? Thanks!
    -- Just to expand add detail; my concern is that WPF will be replaced after I have spent the time to get somewhat proficient in it.

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

      I'm pretty sure Tim would tell you "Learn C#" then, whether its WPF, Blazor or another C# based UI, you are covered. If you really know C#, you can handle any of them. I you want to dive deeper, you can email me at Help@iamtimcorey.com

    • @madaralives
      @madaralives Před 2 lety

      @@tomthelestaff-iamtimcorey7597 Thanks Tom for the response. I have been using C# for backend applications for years, we are just transitioning as a company for our client software from an older language to .net, so now I have to start brushing up on frontend code, and wanted to make sure WPF is still what the majority of the market is using and its not going to be marked depreciated in the next few months due to MAUI etc.. etc.. Thanks again for the response!

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

      @@madaralives Well, I can't say what the world will do (but I would love to be King for a day, LoL), but know that Tim does have some free WPF video to help you! Please check out - czcams.com/users/IAmTimCoreysearch?query=wpf

  • @ryandaley8927
    @ryandaley8927 Před 3 lety

    Not sure if this is even possible since I havent found any info on it yet, but is it still possible to self host SignalR server in Winforms apps anymore and broadcast to clients? I have an old Winforms application in .NET Framework that needs to be migrated to .NET 5.

    • @IAmTimCorey
      @IAmTimCorey  Před 3 lety

      I haven't tried it so I'm not sure.

    • @ryandaley8927
      @ryandaley8927 Před 3 lety

      @@IAmTimCorey Was able to self host in .NET Framework Winforms but havent been able to successfully port to .NET 5. Wasnt sure if that was even possible to begin with lol.

  • @ameermansour_
    @ameermansour_ Před 3 lety

    Hi did you use app usage of DevOps for desktop applications ?

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

      I am sorry, I am not sure what you are asking.

    • @ameermansour_
      @ameermansour_ Před 3 lety

      Sorry if I used wrong idiom
      I meant application insights
      docs.microsoft.com/en-us/azure/azure-monitor/app/windows-desktop

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

    I gather from the way you skipped over it, that Winforms "just works" as you'd expect? I've personally got no interest in WPF etc (I'm still sulking and ignoring new UI platforms after Silverlight ;))

    • @BittermanAndy
      @BittermanAndy Před 3 lety +3

      Last I heard, the Winforms form designer still has some significant bugs. Though at least it actually exists now I guess. Can't believe they put the designer so low on the priority list every time.
      I mean just look at the WPF experience that immediately follows in the video. "I want my form to look like THIS, so I type in THIS and THIS and need to remember to type in THIS..." Why would anyone want that in any kind of visual UI designer? It's like making an image with command line switches instead of Photoshop. Terrible experience.

  • @zuimelanieforno4654
    @zuimelanieforno4654 Před 3 lety

    Hello Mr. Corey.
    Again it is a pleasure to watch your Videos.
    Your new .NET 5 Videos are really helpful for me.
    I am an old (very old) Visual Basic user, but now I will switch finally to C#.
    You gave me the last "CheckBox" for the Decision to make... :) "CheckBoxCSharp.checked = true"
    Can You please do a WinUI 3 (Preview) with a .NET 5 Video?
    I wanted to create a "UWP Blank App with Packaging", that did not worked as expected.
    If You have any Tips I would be Greatful (not Dead... :).
    Could You also Talk about how we as .Net Framework Devs should approach the "Big Consolidation Change" to ".NET" ?
    I wish You a easy .NET life, and also a super IntelliCode Suggestion... ;)
    Greetings from Hamburg, Germany.

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

      Added onto the Suggested Topics list, thanks!

  • @luislhg
    @luislhg Před 3 lety

    Aren't all of these wpf features a visual studio 2019 thing? And it works for regular. NET framework.
    I never used. NET 5 yet, but I have been using all of those features for a couple years now.

    • @boomurtv
      @boomurtv Před 3 lety

      Features for .NET Framework may not always be available to other runtimes.

    • @IAmTimCorey
      @IAmTimCorey  Před 3 lety

      They are bringing them back into .NET Core. They have also redone the hot reload so that it works better.

  • @yourdailydoseofcode
    @yourdailydoseofcode Před 3 lety

    After installation my application does absolutely nothing only a dialog shows up for about a second saying that it is checking something: prnt.sc/zly8ld

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

    we need that video about sign my app and certificate stuff

    • @IAmTimCorey
      @IAmTimCorey  Před 3 lety

      I will add it to the list. Thanks for the suggestion.

  • @Chatsworth1979
    @Chatsworth1979 Před 3 lety

    Agghhhh, crushed my hope of ever seeing WinForms run on Linux+Mac.

    • @IAmTimCorey
      @IAmTimCorey  Před 3 lety

      Sorry. Not WinForms, but there will be a desktop application type that will work cross platform in .NET 6 (November 2021).

  • @minchaudhary
    @minchaudhary Před 3 lety

    Can you make a video how to deploy wpf .net5 with component Microsoft.Web.WebView2.Wpf using ClickOnce Deployment

  • @mustafakakac86
    @mustafakakac86 Před 3 lety

    SO MUCH TANHK YOU!!! and

    • @mustafakakac86
      @mustafakakac86 Před 3 lety

      could the next your video be about winform authentication and authorization form and event based?

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

      Added to the suggestion list, thanks. I have a few videos on Authentication you may want to look at - czcams.com/users/IAmTimCoreysearch?query=authent

  • @theMagos
    @theMagos Před 3 lety

    Why does new projects create as dot net core instead of dot net 5? You have to manually change it every time, and then you get some warnings that you have to hack the project file to get rid of.

    • @IAmTimCorey
      @IAmTimCorey  Před 3 lety

      They just need to update the templates. They haven't done that yet for desktop apps.

  • @burtonrodman
    @burtonrodman Před 3 lety

    Great content. Super painful watching resize windows... learn snap

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

      Not quite that easy with large font sizes for demonstration purposes.

  • @bclaminack
    @bclaminack Před rokem

    You would be surprised how many SaaS are now implementing WinForms!

    • @IAmTimCorey
      @IAmTimCorey  Před rokem

      That's an interesting choice, for sure.

    • @bclaminack
      @bclaminack Před rokem

      @@IAmTimCorey I am a WinForms Specialist and have been seeking a new position since the first of the year. I was worried if I would find another good WinForms position but was surprised at how many are available. I came across a handful of VB apps that need to be converted to C# WinForms. A dozen or so new projects implementing WinForms for SaaS. And a handful of WinForms written in the early 2000s needing to be updated. I was surprised. I have landed a new position and start next Monday on a 1 year contract. Like you I have been programming since late 1990's beginning with Visual Basic 6 and converting to C# in 2001.

  • @zehsofficial
    @zehsofficial Před 2 lety

    Why do you have two cursors?

    • @IAmTimCorey
      @IAmTimCorey  Před 2 lety

      I don't. Are you sure one of them isn't just your cursor on the video? Hopefully you aren't seeing double. 😀

  • @michelchaghoury870
    @michelchaghoury870 Před 3 lety

    tnx a lot for your work, I learned a lot and still,
    will you make videos about ML.NET or IoT, and on Xamarin?

  • @AinurEru
    @AinurEru Před 3 lety

    I didn't count how many clicks were involved in the ClickOnce publishing, but it was more than one click... :P

  • @andrewelmendorf2602
    @andrewelmendorf2602 Před 3 lety

    I used to love clickonce until I switched to dotnet core 3 for wpf development. I switched to WiX and don't think I'll ever look back

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

      I've been debating doing a video on WiX.

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

      @@IAmTimCorey that would probably help a lot of people. WiX looks
      intimidating from the outside and I think scares a lot of new developers off. I was surprised how simple and flexible it was once I finally gave it a chance..

  • @redaleta
    @redaleta Před 3 lety

    This new Click Once sounds a lot like the old Click Once which is not a bad thing

  • @markosteubner9831
    @markosteubner9831 Před 3 lety

    When you create a .net 5 project and realize you are still on .net core 3.1 :D

  • @AvgDan
    @AvgDan Před 3 lety

    22:55 Haha, Windows 3.1. Haven't seen that in a long time.

    • @IAmTimCorey
      @IAmTimCorey  Před 3 lety

      Yeah, you know. The latest version of Windows 3.1. Wasn't that Windows for Workgroups?

    • @AvgDan
      @AvgDan Před 3 lety

      @@IAmTimCorey "windows for workgroups" 3.11 rings a bell, that and DOS Shell. Did you ever play nibbles.bas and gorilla(s).bas?

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

      Loved them, especially the gorilla game.

  • @wayahedia9989
    @wayahedia9989 Před 3 lety

    I wish we could use comments anywhere in xaml. As well as conditionals to turn off large pieces of code.

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

      As far as I know, you can use comments anywhere in XAML. I routinely comment out chunks of code. As for conditionals, you can do that. Use the Visible property and set it to "Visible", "Hidden", or "Collapsed" to show, hide, or "remove" your XAML chunk at runtime.

    • @wayahedia9989
      @wayahedia9989 Před 3 lety

      @@IAmTimCorey I can't use them inside of controls. I usually have to move that line out and I place it above or below the control, out of the < /> container or my xaml won't work.
      Makes my code messy but I like to leave reminders of what I have changed while I am developing and unsure of what might have worked or not. Sometimes, I would like to be able to just turn off larger areas of xaml where even setting visibility to hidden doesn't take enough old code temporarily out of the picture.

  • @kcvinu
    @kcvinu Před 3 lety

    So there is nothing new in WinForms. It just works in dot net 5. That's all.

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

      The editor is updated (to actually work better) but that's about it, yes.

  • @ramadanlives7815
    @ramadanlives7815 Před 3 lety +3

    are you kidding me, all these stuff are old

    • @IAmTimCorey
      @IAmTimCorey  Před 3 lety

      I can see what you are saying but they are back and improved. ClickOnce wasn’t in .NET Core, hot reload was overhauled, etc.

  • @reg-net8956
    @reg-net8956 Před 3 lety

    Those clipping textboxes in the click-once menus are really bush league; Microsoft should be excoriated for that type of BS!

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

      Sounds like you must have some awesome personal libraries you could share with everyone to replace those "bush league" tools. 😉

  • @Wizatek
    @Wizatek Před 3 lety

    I would never use WPF, its horrible

    • @IAmTimCorey
      @IAmTimCorey  Před 3 lety

      You don't have to use it. It is not, however, horrible. It is a viable option that provides tons of power and flexibility. Not everyone can deal with the power and flexibility it provides, and that is ok.

  • @vandeljasonstrypper6734

    Nope sorry
    With latest Apple M1
    Microsoft had been forced to make Win32 obsolete. Windows on Arm is going to be a replacement and developers MUST move to WinRT UWP
    Another bad new
    XAML is now an old UI Framework language. Everyone now moving from MVVM to MVU
    Android: Jetpack compose
    Swift: Already there
    Windows: the reason why Microsoft had been invest so much in React Native to make UWP is because they realize how outdated MVVM is and they started making our own RxNet which is MAUI and it's not even close stable.
    .NET now are all about making dotnet core and the cloud
    .NET desktop developer now is completely 3 years fall behind compare to web technologies, leave Win32 and move on

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

      Well, this is a bad take. Here's why - you assume that all development is only for the latest trend. The investment in WinForm/WPF has nothing to do with cross-platform development or running on ARM. It has everything to do with supporting the tens of thousands of applications and application developers who are building, maintaining, and improving desktop applications on Windows.
      As for MAUI being not close to stable, that's because it doesn't exist yet. That comes with .NET 6. Some of the work in .NET 5 was about laying the groundwork. MAUI is not some type of extension of UWP. It is the next evolution of .NET itself with the unification of Xamarin and .NET Core. This also has nothing to do with MVVM, which is a pattern, not a technology. In fact, Blazor Server implements a type of MVVM. The different types of patterns (MVVM, MVC, MVU, etc.) have their uses and values. They are not technology-specific.

  • @satiesbasant7375
    @satiesbasant7375 Před 3 lety

    Dear Corey you make me a littlebit crazy with the summary and the strange arguments you give just show what to do and say this is the procedure, dont explain every stupid choice microsoft did made, because it is all preliminary, I am not so keen on your youtubes, but there is nobody else to display / demo the latest stuff. But i need to stop watching your youtubes, it drives me crazy and mad/angry man, i think i am impatient or something? did you have people with the similair reaction as i have. All dotnet .conf stuff from all microsoft presentors i realy can digg , but you not. Sorry.

    • @IAmTimCorey
      @IAmTimCorey  Před 3 lety

      No one is forcing you to watch. My content is different because I have a different focus. Instead of just telling you about new stuff, my goal is to prepare you for the real world. Knowing what something can do is cool, but knowing when to use it, when not to use it, what the best practices are, and what pitfalls to avoid enable you to make better choices about if you are going to use a feature in your specific situation. You see, just because you have the option to use something does not mean you should. I teach you how to make that choice.

  • @lextr3110
    @lextr3110 Před 3 lety

    design time binding like this to enter design data is f. stupid ... hate that they add stuff like this that will bloat the code ex. xml doc
    just show how clueless MS coders are they dont even know that you can bind designviewmodel at the root of the binding tree and load this one at design time

  • @VladMihailescu
    @VladMihailescu Před 3 lety

    Try and stop double and triple explaining everything and stop emphasizing so much on 'do you see this button, this button right here, these pixels I'm hovering over right this moment ...' just explain once and move on. Stop thinking that your audience is mentally incapacitated when first of all you post technical stuff.
    Overall this video shouldn't have been more than 10 minutes.

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

      Doing this would be limiting my audience to a small sub-section of people. Instead of sharing "just the facts" and keeping it to 10 minutes, I make sure I am clear in what I am saying, I emphasize important points, and I explain context. By doing so, I ensure that a larger group of people understand the topic and know how to use it in production. If you wanted a quicker version of this video, go to Channel 9 and watch the video from .NET Conf on it. I took that content, plus some blog content, plus some research on my own and contextualized it into a cohesive whole.

    • @VladMihailescu
      @VladMihailescu Před 3 lety

      @@IAmTimCorey I can see your point and understand that this is the direction you want to go and won't argue any further. At the end of the day it is your time and effort spent for us and for free, for that I am grateful be it long or short video. Stay healthy, stay strong!

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

      @@IAmTimCorey Great response.