Making Android App with Xamarin 3 – Connecting with ASP.Net Identity

Many of ASP.Net guys or girls are taking great feature of ASP.Net Identity to manage credential of their web services.  When offering same service via App, it is nice to be able to use the same credential management.

Continue on from  Making Android App with Xamarin 2 – Get InsntaceID. Now that we know how to get InsntaceID to identify the app, we will connect this ID with ASP.net Identity.

Continue reading “Making Android App with Xamarin 3 – Connecting with ASP.Net Identity”

Making Android App with Xamarin 2 – Get InsntaceID

Continue on from the previous article on Making Android App with Xamarin 1 – Splash Screen.  Let’s now make sure the device has valid credential, and if not ask user to input their login information.

Since TWC handles sensitive personal information I want to make sure the app is secured.  So there will be two way authentication to manage credential and devices.

There are two things that can happen, when they launch the app.

  1. The user is already a member, already registered via web service.
  2. The user is new want to register as a member.

If the case, user is a member, then;

First get device ID and see if it is valid to move forward.

If valid then move forward to the main Activity, if not, then get ready link that device ID and credential information.

Continue reading “Making Android App with Xamarin 2 – Get InsntaceID”

Azure Search, Deleting A Document

Here is how to delete a document in your Azure Search Index collection, using Azure Search SDK for .Net version 1.1.0

Reference: https://msdn.microsoft.com/en-us/library/azure/microsoft.azure.search.models.indexbatch.delete.aspx#M:Microsoft.Azure.Search.Models.IndexBatch.Delete(System.Collections.Generic.IEnumerable{Microsoft.Azure.Search.Models.Document})

I shall put full run through tutorial on Azure Search .. soon soon.

Agile Project

Agile project management is about

  • continuous improvement
  • scope flexibility
  • team input
  • delivering products

which are all great things when it comes to developing web services in team.  If you want to run a well managed project, read http://www.dummies.com/how-to/content/agile-project-management-for-dummies-cheat-sheet.html and follow.

On the other side of agile there is a waterfall style development.  These two models have pros and cons.  Please read, http://www.base36.com/2012/12/agile-waterfall-methodologies-a-side-by-side-comparison/.

Memo on RAID

What is RAID? RAID, abbreviation for redundant array of independent disks, is a technology to manage disk IO in multiple disks. (more accurate and detail version of definition is at Wiki (https://en.wikipedia.org/wiki/Standard_RAID_levels).

RAID has few different types and called RAID 0, 1, 2, 3, 4, 5, 6.

It’s not like I did background check on facts, but I hear, the most popular types are RAID 0 and 5 today.

RAID 0 evenly distribute data across n number disks.  It’s simple straightforward way to take advantage of adding multiple disks.  The risk, if one of the disk goes wrong, then it’s all gone.

RAID 5 distribute data across n number disks randomly, plus parity information on one of the disk, so if one of the disk is damaged, you can recover like nothing happened.

Next I will organize pros, cons, and theological speed of each RAID.

What is Azure Active Directory

What is Azure Active Director? and of course they have exact same title article covering exactly I wanted to know at https://azure.microsoft.com/en-us/documentation/articles/active-directory-whatis/.  So here is my short memo version.

Azure Active Directory is a service where you can manage things around credentials.  You can offer your app, API and other services based on credentials that you manage on Azure Active Directory.

For example, you have API service that is privately offering and want to manage accesses, you can do so through Azure Active Directory.

Mastering Azure Scheduler 1

Hi all. I just want to make my life easier and want my machines to do all of my schedule tasks.  Don’t you?

To manage schedule tasks, the machine has to be on for 24 hours, 7 days a week, and Azure Scheduler offers that service.

This article covers how to manage all schedulers on your account programmatically.

Continue reading “Mastering Azure Scheduler 1”