Açıklama:
.NET MAUI supports the dependency injection (DI) software design pattern, which is a technique for achieving Inversion of Control (IoC) between classes and their dependencies. On top of that it fully supports constructor injection and full dependency resolution when navigating when using Shell. I break down every little thing you need to know about DI, IoC, and constructor injection with .NET MAUI. Note: That [ICommand] is now [RelayCommand] from the .NET community toolkit! Links: Sample Code: https://github.com/jamesmontemagno/MauiApp-DI?WT.mc_id=friends-0000-jamont MVVM Source Generators: https://github.com/jamesmontemagno/MVVMSourceGenerators?WT.mc_id=friends-0000-jamont .NET Podcasts App: https://github.com/microsoft/dotnet-podcasts?WT.mc_id=friends-0000-jamont .NET MAUI Documentation: https://learn.microsoft.com/en-us/dotnet/maui/?view=net-maui-8.0&WT.mc_id=friends-0000-jamont Dependency Injection in .NET: https://learn.microsoft.com/en-us/dotnet/core/extensions/dependency-injection?WT.mc_id=friends-0000-jamont Dependency Injection in ASP.NET Core: https://learn.microsoft.com/en-us/aspnet/core/fundamentals/dependency-injection?view=aspnetcore-8.0&WT.mc_id=friends-0000-jamont .NET MAUI Workshop: https://github.com/dotnet-presentations/dotnet-maui-workshop?WT.mc_id=friends-0000-jamont Join this channel to get access to perks: https://www.youtube.com/channel/UCENTmbKaTphpWV2R2evVz2A/join 👕 Buy some swag! - https://jamesmontemagno.myspreadshop.com/ ☕️ Buy me a coffee - https://www.buymeacoffee.com/jamesmontemagno Chapters: 00:00 - Intro 01:15 - What is dependency injection? 04:55 - Source code walkthrough 07:10 - Registering services 09:30 - Resolving services 12:00 - Constructor injection & resolution of dependencies 14:00 - Automatic dependency resolution with Shell 17:08 - Wrap-up Follow: 👨💻 GitHub: https://github.com/jamesmontemagno 🦜 Twitter: https://twitter.com/jamesmontemagno 📄 Website: https://montemagno.com/ 📰 Newsletter: https://newsletter.montemagno.com/ Disclaimer: This channel, videos, and streams are created in my spare time and are a product of me... James Montemagno! They are NOT officially affiliated or endorsed by Microsoft (my employer) in any way. Opinions and views are my own. What is on my hat? It is the CLE clothing logo because I am from Cleveland! Checkout their awesome CLE merch: https://cleclothingco.myshopify.com/ What is that art on my wall? It is an original piece from the French street artist Gregos of La Butte Montmartre: https://www.facebook.com/unsupportedbrowser My Setup: 💡 Nanoleaf Elements Lights - https://www.amazon.com/Nanoleaf-Elements-Hexagons-Smarter-Panels/dp/B09B83GQKR?language=en_US 🎙 Blue Spark Microphone - https://www.amazon.com/gp/product/B074379C7Q?ie=UTF8&language=en_US 🎙 Blue Pop Filter - https://www.amazon.com/gp/product/B0002H0H4A?ie=UTF8&language=en_US 🤳 Rode Microphone Arm - https://www.amazon.com/gp/product/B001D7UYBO?ie=UTF8&language=en_US 🎧 Sony MDR7306 Headphones - https://www.amazon.com/gp/product/B000AJIF4E?ie=UTF8&language=en_US 📲 Stream Deck - https://www.amazon.com/dp/B06XKNZT1P?_encoding=UTF8&language=en_US 📹 Elgato Cam Link - https://www.amazon.com/gp/product/B07K3FN5MR?ie=UTF8&language=en_US 📷 GoPro Hero - https://www.amazon.com/s?k=go+pro+hero&i=electronics&language=en_US 🖱 MX Master 2S Mouse - https://www.amazon.com/Logitech-Master-Wireless-Mouse-Rechargeable/dp/B071YZJ1G1?language=en_US ⌨️ Tecware Phantom Keyboard - https://www.amazon.com/gp/product/B079HTZQYV?ie=UTF8&language=en_US
İndirme seçeneklerini hazırlama
http://unidownloader.com/ web sitesi, program ve uzantı yüklemeden yapmak istiyorsanız, bir videoyu veya ayrı bir ses parçasını indirmenin en iyi yoludur.
UDL Helper uzantısı, hızlı içerik indirme için YouTube, Instagram ve OK.ru sitelerine sorunsuz bir şekilde entegre edilen kullanışlı bir düğmedir.
UDL Client programı (Windows için), 900'den fazla web sitesini, sosyal ağları ve video barındırma sitelerini ve ayrıca kaynakta bulunan herhangi bir video kalitesini destekleyen en güçlü çözümdür.
UDL Lite, mobil cihazınızdan bir web sitesine erişmenin gerçekten kullanışlı bir yoludur. Yardımı ile videoları doğrudan akıllı telefonunuza kolayca indirebilirsiniz.
En iyi kalite formatları FullHD (1080p), 2K (1440p), 4K (2160p) ve 8K'dır (4320p). Ekranınızın çözünürlüğü ne kadar yüksekse video kalitesi de o kadar yüksek olmalıdır. Bununla birlikte, göz önünde bulundurulması gereken başka faktörler de vardır: indirme hızı, boş alan miktarı ve oynatma sırasında cihaz performansı.
Tarayıcı/bilgisayar tamamen donmamalıdır! Böyle bir durumda lütfen videonun bağlantısını ekleyerek bildirin. Bazen videolar doğrudan uygun bir formatta indirilemez, bu nedenle dosyayı istenen formata dönüştürme özelliğini ekledik. Bazı durumlarda, bu işlem bilgisayar kaynaklarını aktif olarak kullanabilir.
Web sitesini veya PWA uygulaması UDL Lite'ı kullanarak bir videoyu akıllı telefonunuza indirebilirsiniz. UDL Helper uzantısını kullanarak QR kodu aracılığıyla bir indirme bağlantısı göndermek de mümkündür.
En uygun yol, videoyu MP3 formatına dönüştürmeyi destekleyen UDL Client programını kullanmaktır. Bazı durumlarda MP3, UDL Helper uzantısı aracılığıyla da indirilebilir.
Bu özellik UDL Helper uzantısında mevcuttur. Ayarlarda "Video anlık görüntüsü düğmesini göster" seçeneğinin işaretli olduğundan emin olun. Oynatıcının sağ alt köşesinde "Ayarlar" simgesinin solunda bir kamera simgesi görünmelidir. Üzerine tıkladığınızda, videodaki mevcut kare JPEG formatında bilgisayarınıza kaydedilecektir.
Hiçbir maliyeti yok. Hizmetlerimiz tüm kullanıcılar için tamamen ücretsizdir. PRO abonelikleri yoktur, indirilen videoların sayısı veya maksimum uzunluğu konusunda herhangi bir kısıtlama yoktur.