Welcome to Xamarin Guy Show Blog

Keep updated for latest and Greatest Posts from Xamarin guy

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 :

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 :

 

 

 1,044 total views,  1 views today

Leave a Reply