.NET MAUI Code & Control Sharing Strategies
Vložit
- čas přidán 8. 09. 2024
- There are many ways to share code across your iOS, Android, macOS, and Windows apps with .NET MAUI and today I plan on breaking down several approaches that you may want to take when develop apps. If you are looking to share code across multiple apps or create a cross-platform NuGet package to share with the world, this video is for you.
Links:
* Multi-Targeting: learn.microsof...
Source Code: github.com/jam...
Join this channel to get access to perks:
/ @jamesmontemagno
👕 Buy some swag! - jamesmontemagn...
☕️ Buy me a coffee - www.buymeacoff...
Follow:
👨💻 GitHub: github.com/jam...
🦜 Twitter: / jamesmontemagno
📄 Website: www.montemagno...
📰 Newsletter: newsletter.mon...
Disclaimer: This channel, videos, and streams are created in my spare time and are a product of me... James Montemagno! They are NOT officially affiliated or endorsed by Microsoft (my employer) in any way. Opinions and views are my own.
What is on my hat? It is the CLE clothing logo because I am from Cleveland! Checkout their awesome CLE merch: cleclothingco....
What is that art on my wall? It is an original piece from the French street artist Gregos of La Butte Montmartre: / bcez1onhiqx
My Setup:
📷 Canon M50 Mark II - amzn.to/3P8R7lp
💡 Nanoleaf Elements Lights - amzn.to/3umwJVW
🎙 Blue Spark Microphone - amzn.to/3qgtYkq
🎙 Blue Pop Filter - amzn.to/3jEWM3r
🤳 Rode Microphone Arm - amzn.to/2Z68AlE
🎧 Sony MDR7306 Headphones - amzn.to/372jxta
📲 Stream Deck - amzn.to/373Uk1n
📹 Elgato Cam Link - amzn.to/3a9eGbh
📷 GoPro Hero - amzn.to/374lm90
🖱 MX Master 2S Mouse - amzn.to/3d7J2gj
⌨️ Tecware Phantom Keyboard - amzn.to/3aUP4y9
#dotnetmaui #dotnet #visualstudio
Hey James! Thank you for sharing this content! Your videos are so helpful! Please, when possible, could you talk about Internationalization and Themes. Thank you so much!!!
Nice. got to say I have been loving maui for the past few months now
Thank you!!! Can you make a responsive UI for different platform(at least android, IOS) and different devices sizes(different phones, tablets sizes, depending of landscape mode, portrait mode and width and height of the device too) and an easy way to test it. Because at end an UI designing will be always incomplete if it does not take care of that. I think it would really be helpful for the community. A deep example not just basic UI like the others teachers show. Thank you sir for all your effort and good content, keep it up please!
Hey James! What's the best place/forum to look for help related with MAUI?
r/dotnetMAUI
Great video, was waiting for an explanation of this. I've done this with regular projects but was not sure what the main differences were between library types.
I like the different intro :D
The intro😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂
But James, please talk about Google Ads in Maui
Thanks james 🙏 ❤
For all you help you tutorial alway very simple easy to learn and very very useful 👍
Hi James, thanks for your videos. Would you do one about validations in Maui?
Thank you🔥
Thanks for ur nice work , but pls we need tut for publish on iOS ,what must errors we could face , till now , we still face alot of problems to compile release and pack and archive for iOS
Thanks for the great Maui videos. I have not yet seen an example of the new Maui .NET7 RC1 Windows size and other features. Would you consider adding an example to a future video. Specifically things like
X/Y position*
Width/Height*
Minimum Width/Height
Maximum Width/Height
SizeChanged
Thanks James - great video.
With Maui Class Libraries, rather than forcing a specific implementation per platform, if I want an implementation to just be cross platform I asusme I can also do that too?
id love to see how one can share ui parts. is it possible to do so in the same nuget?
What if the native logic needs some third-party native dependencies? How to properly wrap those xcframework and jar binaries? I had some binding projects which did work fine with x.forms but maui app is just unable to link those. Looking forward to a corresponding tutorial. Thanks in advance.
Hi James, I appreciate your your work on MAUI! I have question, which torments me for a while. Is there a way to implement reCaptcha in a MAUI application ?
Hi James, thanks for all the great videos.
Would you consider doing a video on SQL Connection for .netMAUI. Because using System.Data.SqlClient; not working in .NET MAUI for net6.0-android.
We have 89 projects in our solution and consume 19 internal nugets from side projects. About 30 of the projects are test projects.
Not everybody put’s everything in one project ;)
Great, James! Quite clear. Is there a similar way to share resourcedictionaries between apps?
You should be able to package them up into a nuget package most likely and then add them in. Else maybe a git submodule?
@@JamesMontemagno Thanks.
Nice intro hahaha
How to package the library project actually and share the nuget package with world like you and other nuget creators do? Please can you share that too?
Hey, James, thanks for the video. If I make a Maui library instead of a .net class library, can I still share it with Blazor and Asp?
You can by adding net8.0 into the TFM list
@@JamesMontemagno Thanks
Hi ! I want to know how to reference JAVA's Jar library。please tell me!
Will there be support to creating games/apps for metaverse platforms using MAUI?
You technically can look at czcams.com/video/3jcVYUE-Tww/video.html and other engines built for .NET MAUI, but you may want to also consider Unity, Godot, or other optimized game engines
If I use a Net 7 class library, my Pipeline complains about project assetts for each of the frameworks. I need to explicitly set .net7.0-android in all class libraries to get the dotnet build -f net7.0-android -c Release to run without errors
Thanks king