Feb 21, 2017

Post Form Data

When building websites, chances are that you will need to gather data from your users. The most common way to gather data is via a form. But after gathering the data, there are two ways to submit it from the browser to your server; using a HTML form or using an Ajax call

Feb 13, 2017

Websharper Listmodel_local Storage With Ui Next

Last week I wanted to use the browser local storage to store a list of element. I wanted to update the resource split project to have the data stored (temporarily) so that it will be easier to add or remove resources. The browser local storage is ideal for this kind of scenario. Turns out WebSharper.UI.Next has the feature built in to persist ListModel so today I will explain how to do it.

FSharp

Feb 02, 2017

Fix Listmodel Websharper Lost Of Focus

Few months ago, I explained how ListModel worked. Today I would like to share a recurring issue that I used to have - lost of focus on input every time the ListModel values change. There’s an easy solution to that which I will demonstrate by first showing the initial code and explaining what is going on, why the focus is lost, then I will explain how we can work around it.

FSharp

Jan 28, 2017

Authentication Jwt For Websharper

Authentication is an important part of any Web applications. Today I will explain how we can create the essential modules required to authenticate a user. This post will be composed by four parts:

FSharp

Jan 20, 2017

Xamarin Ios Splashscreen

Few weeks ago I explained how we can create a splash screen for Android. Xamarin.Forms takes few seconds to load at each start so it is important to provide a feedback to the user when they click on our icon. The splash screen answers that by providing a way to show a loading screen. Today we will see how we can setup a simple splashscreen with an image centered and with a text label.

Xamarin iOS

Jan 14, 2017

Fontawesome Xamarin Ios Xamarin_forms

Few weeks ago I explained how we could use FontAwesome from our Droid project link. Following the same idea, today I will explain how we can use FontAwesome on an iOS app with Xamarin.Forms.

Xamarin iOS

Jan 07, 2017

Sqlite Xamarin Forms

Today I demonstrate how we can leverage sqlite to save data on mobile which can be useful for local application or to store cached data.

Xamarin iOS Android

Dec 30, 2016

Font Awesome With Xamarin Forms

Icons are important in mobile applications where space is limited. We use icon everywhere to convey action intent like + would be to add an item or a bin would be to delete one. There are two ways to add icons to our mobile app, with images with with fonts.

Xamarin iOS Android

Dec 24, 2016

Nlog Targets Live Stream With Websharper

Logs are an important part of development. Extracting and analysing debug output and errors is very important especially when the web server goes live. In this post I will show how we can setup a Console target, a File target and a Live stream on a static HTML page using NLog. NLog is a log framework which can be configured to output logs on different “target”.

FSharp

Dec 08, 2016

Xamarin Forms Activity To Awaitable

Today I want to share a neat trick which I have been using a lot - transform an asynchronous operation (triggered with StartActivityFromResult) from an Android Activity to an awaitable task - which then can be used with async await keywords in a Xamarin.Forms PCL project.

Xamarin iOS Android

Nov 30, 2016

Folders Xamarin Android

When using Xamarin.Forms and Xamarin.Android, chances are that you had at one point of time to access a local file. Whether it is an image or a text file or even a local sqlite database, accessing a file from a Xamarin.Android project can be confusing. Today I will show you how you can get the absolute path of the different folders available in Xamarin.Android and we will see how we can get the paths from Xamarin.Forms.

Xamarin Android

Nov 21, 2016

Baskee

Few days ago, I released my first Android app Baskee built with Xamarin and F#. In this post, I would like to share with you the most common questions my friends asked me and I hope it will help you understand better why Baskee is useful for you!

Xamarin Android

Nov 18, 2016

Xamarin Android Snackbar

The Sbackbar API is a sleek way to provide notifications in Android. You might have noticed the usage of it in applications that you use daily like Chrome, get the notification that the tab was closed. This is the snackbar. Today we will see how to use the snack bar api with Xamarin Android and how we can call it from our Xamarin Forms project.

Xamarin Android