• Asp.netCore

    Asp .net Core for Xamarin Dev Part 1

    At first Fire up your your Visual Studio for windows or MAC Machine In this tutorial we are going to create our simple API Step 1: Create ASP.net core WEB API in Mac where as in windows Create Asp.netcore Web Application > API Name it as (Solution Name : TripTrackerLive Project Name: TripTracker.BackService) Now let’s Start Create a New Folder Name it as Model (Inside which create a class called Trip) Trip.cs (Here we have added some annotation like key , Required we will be talking about that later ) Repository.cs Step2: Now our fun part begins we are going to call the controller . Create a new Controller called…

  • Asp.netCore

    Asp.netcoreMVC with Xamarin Forms [Core #1]

    This is my first article regarding xamarin forms with Asp.net core mvc so lets start : File > New > Project > Web >  Asp.net core web application >give it name as (Myxamarintest)>WebapplicationMVC> Step2: Add nuget packages : Ooui Ooui.Forms Ooui.ASPNetCore Xamarin.Forms Step3 : create a new Page as MyPage which will look like this :   it’s code behind will look like this : Now we have to configure startup.cs Add this line of code to the given class : Now at last Inside HomeController.cs set your page as starting page : That’s All Output :     181 total views, no views today