Тёмный

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

IAmTimCorey
Подписаться 421 тыс.
Просмотров 120 тыс.
50% 1

Опубликовано:

 

2 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 211   
@OthmanAlikhan
@OthmanAlikhan 8 месяцев назад
Fast forward to 2024, the plugin is no longer called "Windows Template Studio" but "Template Studio for UWP".
@IAmTimCorey
@IAmTimCorey 8 месяцев назад
Thanks for sharing.
@wrtoomes600
@wrtoomes600 Год назад
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
@ЂорђеМилановић
@ЂорђеМилановић 4 года назад
What do you think about UWP: Does it have future? Is it dead? Should we instead stick with WPF?
@IAmTimCorey
@IAmTimCorey 4 года назад
Here are my thoughts: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-yq0dSkA1vpM.html In genreal, none of these are dead but I'm not a huge fan of UWP.
@gatep5
@gatep5 4 года назад
Stick with WPF, or do some Xamarin Forms if you haven’t already.
@richardalbury
@richardalbury 4 года назад
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 4 года назад
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 4 года назад
@@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.
@jamesmacrae7730
@jamesmacrae7730 4 года назад
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 4 года назад
I am glad it was helpful. This video might shed some more light on the subject: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-yq0dSkA1vpM.html
@jamesmacrae7730
@jamesmacrae7730 4 года назад
@@IAmTimCorey Thank you very much. I didn't expect such a fast response!
@RalfsBalodis
@RalfsBalodis 3 года назад
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 3 года назад
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 3 года назад
@@IAmTimCorey I did not know that.
@florent9555
@florent9555 3 года назад
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 2 года назад
Agree with this. Please Tim make a Community Toolkit tutorial. There are none out there.
@freedom_aint_free
@freedom_aint_free 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 4 года назад
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.
@Mo_TEK
@Mo_TEK 4 года назад
Thank you for the lesson 😊 . more lesson for UWP please thx.
@IAmTimCorey
@IAmTimCorey 4 года назад
You are welcome.
@CRBarchager
@CRBarchager 4 года назад
9:14 Windows 7 went End of Life on January 14, 2020
@IAmTimCorey
@IAmTimCorey 4 года назад
Thanks.
@llothar68
@llothar68 4 года назад
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.
@LukeStratton94
@LukeStratton94 2 года назад
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 2 года назад
Pretty much. UWP is not the way forward.
@HoKi-Owan
@HoKi-Owan Год назад
@@IAmTimCorey But what is the way forward ?
@cenkyenikoylu2670
@cenkyenikoylu2670 2 месяца назад
Would you consider making a video for the new Windows App WinUI3 ? I want to start a project specifically for the Microsoft Store. I haven't been able to find any enterprise-level content on database connection patterns for a few days. I don't know if I should connect the MVVM pattern directly to SQL Server. Or if I should develop a Web API and connect to the database with it. Maybe I need to create a Cosmos DB in Azure for licensing and set up a local SQL Server Express for the user. Where can I find content on architectural questions like these?
@IAmTimCorey
@IAmTimCorey 2 месяца назад
WinUI 3 is not very high on my list of things to cover, specifically because Microsoft doesn't put a lot of effort into it and because it is so limited in where it can be deployed. Even Microsoft recommends WinForms and WPF over WinUI 3. But as to your questions, building an API is almost always a good idea. It allows for more secure communication to the database and it allows you to have multiple UIs that work off of the same logic. This allows you to build a WinUI 3 project today and then easily transition to an Uno project tomorrow so that you can have your app deployed everywhere.
@georgekerwood9100
@georgekerwood9100 Год назад
"Oh I have to do a new C# thing, I hope there's a Tim Corey video for it?"... of course there is!
@IAmTimCorey
@IAmTimCorey Год назад
lol I'm glad it was helpful.
@vandeljasonstrypper6734
@vandeljasonstrypper6734 4 года назад
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 4 года назад
Yeah, I did a video on my thoughts about desktop apps in C# ( ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-yq0dSkA1vpM.html ). WPF and WinForms are actually pretty modern. They just got backed by .NET Core ( ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-uc3tC6_mEvk.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 4 года назад
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 4 года назад
@@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
@diegongbayong
@diegongbayong 2 года назад
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 2 года назад
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.
@RealStuntPanda
@RealStuntPanda Год назад
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 Год назад
There still is. They just called it Template Studio instead of Windows Template Studio: github.com/microsoft/TemplateStudio
@RealStuntPanda
@RealStuntPanda Год назад
@@IAmTimCorey You're a champion!
@jannickbreunis
@jannickbreunis 2 года назад
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 2 года назад
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.
@amosmatthew1211
@amosmatthew1211 3 года назад
(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
@HYR_1
@HYR_1 2 года назад
Thanks Please Upload more tutorials on building a UWP apps 😊👍 HUMBLE REQUEST !!
@IAmTimCorey
@IAmTimCorey 2 года назад
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 2 года назад
@@IAmTimCorey Hmm :( btw loved your tutorial
@hansa5867
@hansa5867 2 года назад
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 2 года назад
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.
@softwebprojects5013
@softwebprojects5013 3 года назад
brother how can i connect with sqlserver database using entityframework please guide
@rolandogonzalez1374
@rolandogonzalez1374 4 года назад
Excellent video Tim, thank you for it.
@IAmTimCorey
@IAmTimCorey 4 года назад
You are welcome.
@gowthamraj6846
@gowthamraj6846 Год назад
can you help me in to show system file like(ppt,text file) inside xaml application using button click in UMP
@gabrielhering270
@gabrielhering270 2 года назад
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.
@jestificated
@jestificated 3 года назад
Safe to assume that Master/Detail is now called "ListDetails"? they have same identifying image.
@bradsnapp8437
@bradsnapp8437 Год назад
Using VS2022 and Windows Template Studio is not an option.
@IAmTimCorey
@IAmTimCorey Год назад
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.
@GdeVseSvobodnyeNiki
@GdeVseSvobodnyeNiki Год назад
Lol, how does it feel like to learn all this crap only to discover it is being deprecated just couple of years later?
@sohaibarif2835
@sohaibarif2835 4 года назад
Great videos. Can you do one on SignalR?
@IAmTimCorey
@IAmTimCorey 4 года назад
It is high on the suggestion list.
@vandeljasonstrypper6734
@vandeljasonstrypper6734 4 года назад
@@IAmTimCorey yeah please do a chat app and store message in SQL
@davestorm6718
@davestorm6718 3 года назад
@@vandeljasonstrypper6734 - isn't this being phased out for Blazor?
@mariofares4692
@mariofares4692 2 года назад
Please make a Community Toolkit tutorial. There are none out there.
@IAmTimCorey
@IAmTimCorey 2 года назад
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/
@queenstownswords
@queenstownswords 4 года назад
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 4 года назад
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
@charlesbyrneShowComments4all
@charlesbyrneShowComments4all 4 года назад
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.
@okolol
@okolol 2 года назад
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 Год назад
on 2022 it's just "Template Studio for UWP" now
@fieryscorpion
@fieryscorpion 2 года назад
Which one should we use now? WPF or UWP or WinUI or MAUI?
@IAmTimCorey
@IAmTimCorey 2 года назад
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/
@muhtasimahmedtausif2090
@muhtasimahmedtausif2090 2 года назад
I can't find this extension in online menu. i am using community edition 2022. please reply me .
@IAmTimCorey
@IAmTimCorey 2 года назад
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 2 года назад
@@IAmTimCorey I selected the option Universal Windows platform . Before installing .but didn't work.
@satish8299
@satish8299 2 года назад
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 2 года назад
That is more of what .NET MAUI will do (the successor to Xamarin) next year.
@randydiaz323
@randydiaz323 3 года назад
How do i push an existing UWP from my computer to my xbox one?
@IAmTimCorey
@IAmTimCorey 3 года назад
You need to go through the Microsoft Store.
@randydiaz323
@randydiaz323 3 года назад
@@IAmTimCorey Nice!! Thanks for the pointer Tim!
@dhakshayinikoppad1411
@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 Год назад
Unfortunately, UWP has been deprecated, so I won’t be creating new material for it.
@nicolascarlo8099
@nicolascarlo8099 3 года назад
Uno Platform is making UWP actually Multiplatform including Linux/OS X, iOS, Android, WASM.
@IAmTimCorey
@IAmTimCorey 3 года назад
It is.
@019KADESH
@019KADESH 4 года назад
Resource file 29:42
@mostafadamirchi5833
@mostafadamirchi5833 3 года назад
Hi, my name is Erfan, How I can be sponsor of your videos?
@IAmTimCorey
@IAmTimCorey 3 года назад
I do not accept sponsorships for my videos. I did briefly at one time, but have not since.
@mostafadamirchi5833
@mostafadamirchi5833 3 года назад
@@IAmTimCorey what about an affiliate program?
@seephor
@seephor 3 года назад
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 3 года назад
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 3 года назад
@@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.
@jcbritobr
@jcbritobr 3 года назад
Too complicated. I installed in cli. There is so many templates that it stops working when i call dotnet new --list.
@IAmTimCorey
@IAmTimCorey 3 года назад
That sounds like an issue on your PC.
@amosmatthew1211
@amosmatthew1211 3 года назад
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 3 года назад
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 3 года назад
@@IAmTimCorey OK, thanks.
@CoolModderJaydonX
@CoolModderJaydonX Год назад
Personally, I was wanting to make apps for the Xbox One and/or Windows PCs, so this tutorial seems perfect to me.
@IAmTimCorey
@IAmTimCorey Год назад
Great!
@lokigaming459
@lokigaming459 4 года назад
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 4 года назад
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.
@MrBambaGamer
@MrBambaGamer Год назад
"Corey" is shown for 1ms in 23:26 🤨
@IAmTimCorey
@IAmTimCorey Год назад
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 RU-vid, Twitter, etc.
@TheAneesshariff
@TheAneesshariff 4 года назад
Which mocking framework can I use , and i have no interfaces in my application and its a 8.1 windows application
@IAmTimCorey
@IAmTimCorey 4 года назад
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: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-DwbYxP-etMY.html
@OthmanAlikhan
@OthmanAlikhan 8 месяцев назад
Thanks for the video =)
@IAmTimCorey
@IAmTimCorey 8 месяцев назад
You are welcome.
@mileadavid7007
@mileadavid7007 4 года назад
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 4 года назад
Look at docs.microsoft.com They have examples there of how to work with UWP applications.
@niewiembartek
@niewiembartek 2 года назад
I can't find the extension :(
@niewiembartek
@niewiembartek 2 года назад
Oh right i have visual studio *code* lol
@germainenriquez2095
@germainenriquez2095 3 года назад
hi, best way to build app for windows 10 tablet? wpf or uwp?
@IAmTimCorey
@IAmTimCorey 3 года назад
Personally, I prefer WPF because of the freedom, but both will do the job.
@MilanTiwariMessi
@MilanTiwariMessi 4 года назад
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.
@IAmTimCorey
@IAmTimCorey 4 года назад
I don't think UWP can do interop.
@anfstudios1479
@anfstudios1479 4 года назад
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 4 года назад
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 4 года назад
​@@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 RU-vidr has done that yet. Thanks for your time :D
@lutzheinrichs2120
@lutzheinrichs2120 2 года назад
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.
@IAmTimCorey
@IAmTimCorey 2 года назад
You are welcome.
@j5ylim396
@j5ylim396 3 года назад
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 3 года назад
Interesting. First time only when you launched, or every time?
@j5ylim396
@j5ylim396 3 года назад
every time, unfortunately
@IAmTimCorey
@IAmTimCorey 3 года назад
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 3 года назад
my installations on an nvme.. ig ill just chalk it up to the program having to do a lot of shit as you said
@janne_kekalainen
@janne_kekalainen 4 года назад
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 4 года назад
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.
@nandkishorsonwale
@nandkishorsonwale 4 года назад
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.
@IAmTimCorey
@IAmTimCorey 4 года назад
Tune in tomorrow. ;-)
@longbra
@longbra 4 года назад
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 4 года назад
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 4 года назад
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.
@markpolak8622
@markpolak8622 3 года назад
Hi Tim, thanks for the video, whats you thoughts about WinUI? Any introduction to that?
@tomthelestaff-iamtimcorey7597
@tomthelestaff-iamtimcorey7597 3 года назад
We appreciate the suggestion and I have added it to Tim's list.
@jonaslara175
@jonaslara175 4 года назад
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 4 года назад
Not sure that you mean by data visualization. There is support for graphs, charts, datagrids, and more.
@jonaslara175
@jonaslara175 4 года назад
@@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 4 года назад
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).
@dharkundercity1796
@dharkundercity1796 4 года назад
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 4 года назад
No, sorry. That's fairly specific too, so I don't think that will be covered this year.
@dharkundercity1796
@dharkundercity1796 3 года назад
@@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.
@berengamble1882
@berengamble1882 4 года назад
Very good overview, thanks....Trying to follow along, but I don't have Caliburn.Micro as an option. Only the top three.
@berengamble1882
@berengamble1882 4 года назад
It's a separate exension.. I searched for Caliburn.Micro extension and installed it, now it appears as an option.
@IAmTimCorey
@IAmTimCorey 4 года назад
I'm glad you figured it out.
@bhagyeshpatel8413
@bhagyeshpatel8413 4 года назад
Which Ad Network is best to monetize UWP App?
@IAmTimCorey
@IAmTimCorey 4 года назад
I don’t have a recommendation, sorry.
@automationtesting3149
@automationtesting3149 3 года назад
I am really finding it useful and am able to learn C# really well
@IAmTimCorey
@IAmTimCorey 3 года назад
Great to hear!
@HenrikRClausen
@HenrikRClausen 4 года назад
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 4 года назад
You are definitely correct. That is hard to get right.
@DK-ew4hp
@DK-ew4hp Год назад
Thanks!
@IAmTimCorey
@IAmTimCorey Год назад
Thank you!
@lutzheinrichs2120
@lutzheinrichs2120 2 года назад
Thanks!
@IAmTimCorey
@IAmTimCorey 2 года назад
Thank you!
@muraliprasanthd
@muraliprasanthd 6 месяцев назад
Great Video. It helped me a lot.
@IAmTimCorey
@IAmTimCorey 6 месяцев назад
You are welcome.
@amosmatthew1211
@amosmatthew1211 4 года назад
Thank you for creating and posting this video. It was very informative. Do you have additional videos for this section?
@IAmTimCorey
@IAmTimCorey 4 года назад
Not yet! I have added it to my list
@amosmatthew1211
@amosmatthew1211 4 года назад
@@IAmTimCorey Okay, looking forward for it, Tim. Thank you!
@markcain2116
@markcain2116 4 года назад
I didn't have a Web API option in services.
@IAmTimCorey
@IAmTimCorey 4 года назад
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.
@sent4dc
@sent4dc 4 года назад
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 4 года назад
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 4 года назад
@@IAmTimCorey it does? Are you sure? Can you name UWP app that dnSpy works on?
@llothar68
@llothar68 4 года назад
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.
@saya1_
@saya1_ 4 года назад
I only have MVVM Basic and MVVM Light options and Code Behind, why?
@IAmTimCorey
@IAmTimCorey 4 года назад
Not sure. Maybe you have a different version of the tool.
@hattoff
@hattoff 3 года назад
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_ 3 года назад
@@hattoff Thank you very much for writing this, I didn't figure it out myself.
@orehcele
@orehcele 3 года назад
Duude thanks so much for the video. This helped me a lot on how to start a companion desktop app I need to develop
@IAmTimCorey
@IAmTimCorey 3 года назад
Glad it helped!
@jeanjagnow2524
@jeanjagnow2524 4 года назад
Hello, would you recommend developing a desktop ERP system in Electron with vue js and .net core api or UWP?
@IAmTimCorey
@IAmTimCorey 4 года назад
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.
@kingofgods-w3t
@kingofgods-w3t 3 года назад
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 2 года назад
Just build apps with .NET MAUI.
@airbus5717
@airbus5717 4 года назад
which is easier to learn WPF or UWP
@IAmTimCorey
@IAmTimCorey 4 года назад
I think WPF because there is less restrictions and less hoops to jump through.
@airbus5717
@airbus5717 4 года назад
@@IAmTimCorey yep i noticed when trying uwp app dev
@LuigiZambetti
@LuigiZambetti 4 года назад
In .NET 5 - on Nov. 2020 - UWP will be supported again?
@IAmTimCorey
@IAmTimCorey 4 года назад
UWP is still supported. It hasn't lost support. I'm not sure what you are asking about.
@LuigiZambetti
@LuigiZambetti 4 года назад
@@IAmTimCorey If is it a good idea to start brand new project in UWP after .NET 5 will be released.
@IAmTimCorey
@IAmTimCorey 4 года назад
I can't guarantee the future but Microsoft is putting a lot of faith in UWP as the future.
@gavinw77
@gavinw77 4 года назад
UWP never stopped being supported.
@obinnaokafor6252
@obinnaokafor6252 4 года назад
It has always been supported.
@benjamenkuhman6808
@benjamenkuhman6808 4 года назад
RIP Rider users
@IAmTimCorey
@IAmTimCorey 4 года назад
Why?
@BudoReflex
@BudoReflex 4 года назад
Thankyou. So very helpful. 😊
@IAmTimCorey
@IAmTimCorey 4 года назад
You are welcome.
@sarooptrivedi
@sarooptrivedi 3 года назад
your screen is really black. Hard to read. try next time with white background
@shaneclk9854
@shaneclk9854 4 года назад
u didnt tell us how to install visual studio
@IAmTimCorey
@IAmTimCorey 4 года назад
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: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-G1-Zfr9-3zs.html
@charlesbyrneShowComments4all
@charlesbyrneShowComments4all 4 года назад
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 4 года назад
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.
Далее
Учёные из Тринидад и Тобаго
00:23
Getting started with UWP
25:05
Просмотров 31 тыс.
Power Apps Model Driven Apps FULL COURSE for Beginners
3:23:34
Учёные из Тринидад и Тобаго
00:23