In this blog post, we’re activity to lay the base for approaching posts about Xamarin Forms. We’ll analyze briefly what’s Xamarin Forms and why it’s so powerful. Again we’ll allocution about .NET Standard and we’ll accept why it’s a actual big accomplishment for the .NET ecosystem.
Xamarin Forms is an API to advance cross-platform apps for iOS, Android, and Windows from a distinct aggregate C# codebase. It’s not a one-size-fits-all technology, but it’s actual advantageous back cipher administration is added important than a custom UI for every platform. If we are Windows developers, we’ll adulation Xamarin because it allows us to reclaim all our hard-earned abilities like XAML, binding, MVVM, and so on. If we charge device-specific features, we can admission them, too.
The .NET Standard is a academic blueprint of .NET APIs that are advised to be accessible on all .NET implementations. The action abaft the .NET Standard is establishing greater accord in the .NET ecosystem, enabling developers to aftermath carriageable libraries that are accessible beyond .NET implementations, application this aforementioned set of APIs.
We can attending at .NET Standard as a blueprint of .NET APIs that accomplish up a set of contracts. These affairs are implemented in anniversary .NET implementation. This enables portability beyond altered .NET implementations, acceptance our cipher to run everywhere.
Before accepting started, accomplish abiding you’ve run the Visual Studio Installer and accept upgraded to the latest abiding absolution of Visual Studio. At the time of this writing, I accept this setup:
The aboriginal footfall to creating a cross-platform Xamarin Forms app is to actualize a new activity with Visual Studio.
When we columnist OK, a new window appears. We accept blank-app as a template, Xamarin.Forms as the UI Technology, and .NET Standard as the Cipher Administration Strategy (read actuality about Aggregate Projects).
When we hit OK, Visual Studio works for a while and prepares a new band-aid for us.
The new band-aid is composed of four projects:
To analysis that aggregate is ok we try to body and run the Android adaptation of the App in an emulator. We set the Android Activity as the Startup Activity with appropriate bang in the Band-aid Explorer and again Set as Startup Project.
We accept our admired Android Virtual Device (AVD – I created a custom configuration) and again we columnist Play/Run.
After accumulation and ablution the AVD, Visual Studio will arrange and run the app.
We can do the aforementioned affair with the added two device-specific projects. Keep in apperception that to body the iOS Activity you charge a Mac on your network.
In this column we created a Xamarin Forms Activity with the Visual Studio template, we abstruse the purpose of Xamarin Forms and .NET Standard. Now we accept the basics to advance the app of our dreams.
In the approaching posts, we’ll advance this app introducing MVVM and added concepts.
What I Wish Everyone Knew About Xamarin Forms Documentation | Xamarin Forms Documentation – xamarin forms documentation
| Welcome for you to my personal website, within this moment We’ll teach you concerning xamarin forms documentation