menu

Search This Blog

Part 1 :- Xamarin Forms Introduction Tutorial in Hindi

 Part 1 :- Xamarin Forms Introduction Tutorial in Hindi


Xamarin is an open-source platform for building modern and performant applications for iOS, Android, and Windows with .NET. Xamarin is an abstraction layer that manages communication of shared code with underlying platform code. Xamarin runs in a managed environment that provides conveniences such as memory allocation and garbage collection.


Ø  Share code, test and business logic across platforms.

Ø  Write cross-platform applications in C# with Visual Studio.


Ø  .Class This project is the .NET Standard library project that holds all of the shared code and shared UI.
Ø  .Android – This project holds Android-specific code and is the entry point for the Android application.
Ø  .iOS – This project holds iOS-specific code and is the entry point for the iOS application.
Ø  .UWP – This project holds Universal Windows Platform (UWP) specific code and is the entry point for the UWP application.


The project has a Dependencies node that contains NuGet and SDK nodes:

Ø  NuGet – the Xamarin.Forms and sqlite-net-pcl NuGet packages that have been added to the project.

Ø  SDK – the NETStandard.Library metapackage that references the complete set of NuGet packages that define .NET Standard



Knowledge requirement for Xamarin Forms

Ø   Computer Fundamentals

Ø Basic knowledge of C# and OOP(Object Oriented Programming) concepts.


IDE

Ø  Xamarin Studio (Available for Mac || Windows)

Ø  Visual Studio with Xamarin(Windows || Mac)


For developing Xamarin Forms application we need following system requirements

Ø  Universal Windows Platform(UWP).

Ø  UWP application requires Windows 10,Visual Studio 2015 or newer and Universal Windows Development tools.

Ø  Windows 8.1 and Windows Phone 8.1 WinRT.

Ø  For developing windows 8.1 application we need windows 8.1 and Visual Studio 2013 Update or newer.

 

The project also consists of a number of files:

Ø  Models\Note.cs – This class defines a Note model whose instances store data about each note in the application.

Ø  App.xaml – The XAML markup for the App class, which defines a resource dictionary for the application.

Ø  App.xaml.cs – The code-behind for the App class, which is responsible for instantiating the first page that will be displayed by the application on each platform, and for handling application lifecycle events.

Ø  AssemblyInfo.cs – This file contains an application attribute about the project, that is applied at the assembly level.

Ø  NotesPage.xaml – The XAML markup for the NotesPage class, which defines the UI for the page shown when the application launches.

Ø  NotesPage.xaml.cs – The code-behind for the NotesPage class, which contains the business logic that is executed when the user interacts with the page.

Ø  NoteEntryPage.xaml – The XAML markup for the NoteEntryPage class, which defines the UI for the page shown when the user enters a note.

Ø  NoteEntryPage.xaml.cs – The code-behind for the NoteEntryPage class, which contains the business logic that is executed when the user interacts with the page.