9 |
Disaster Prep
10 |
Here are some resources to help you and your family know what to do should your family become separated in a disaster.
11 |
The CDC has an excellent and detailed resource on how to prepare your family in the event of a disaster.
12 |
CDC Disaster Preparedness
13 |
A contact card is a really good way to start. These cards can be placed in wallets, backpacks, inside phone cases (between the phone and the case). It’s a great way to make sure that your family members all have the info they need to reunite with you in a disaster
14 |
ReadyGov Family_Emegency_Plan.pdf
15 |
In particular, think about these things:
16 |
17 | - Does your city, school system and employer have a disaster preparedness guide?
18 | - Do you know what will happen if you need to be evacuated?
19 | - If your children need to be evacuated from school?
20 | - Have you signed up for your city’s Reverse 911 and Code Red systems, so that you will be notified in the case of an emergency?
21 | - If you are signed up, is your information current? Consider checking to be sure.
22 |
23 |
Quickly familiarizing yourself with this information will go a long way toward reunifying with your family after a mass disaster.
24 |
25 |
26 |
--------------------------------------------------------------------------------
/docs/Deploy Environment.md:
--------------------------------------------------------------------------------
1 | In order to deploy the API application out to Azure, there are a few things that need to be installed first.
2 |
3 | 1. [Install Azure SDK](https://azure.microsoft.com/en-us/downloads/)
4 |
5 | Once you have your environment setup, you will want to open ~/deploy/MCM.KidsIdApp.Template/MCM.KidsIdApp.Template.sln
6 |
7 | 1. Once the solution file is opened - open up templates\azuredeploy.parameters.json
8 | 1. Modify parameters as needed (changing host name, etc)
9 | 1. Right click the project file (MCM.KidsIdApp.Template) and select "Deploy" -> "New Deployment..."
10 | 1. Inside the deployment window select your account and subscription
11 | 1. For Resource Group either choose an existing resource group or create a new one
12 | 1. Click on Edit Parameters to double check everything is correct
13 | 1. Click save and then click "Deploy"
14 | 1. Validate the output window, the very bottom part should say something similar to "Deployment succeeded"
15 |
16 | You can run ARM templates via PowerShell if needed by using the New-AzureRmResourceGroupDeployment
17 | More information about this topic can be found here: [ARM Template MSDN Article](https://azure.microsoft.com/en-us/documentation/articles/resource-group-template-deploy/)
18 |
19 | Once the Mobile App is inside your resource group inside [Azure Portal](http://portal.azure.com/), we will select it and modify the settings to add the social authentications
20 |
21 | Click on "All settings"
22 |
23 | 
24 |
25 | Select "Authentication / Authorization"
26 |
27 | 
28 |
29 | Select the On option
30 | Enter in each social network key and secret
31 |
--------------------------------------------------------------------------------
/src/MobileKidsIdApp/MobileKidsIdApp/Services/FamilyRepository/FamilyRepository.storage.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.IO;
4 | using System.Text.Json;
5 | using MobileKidsIdApp.Models;
6 |
7 | namespace MobileKidsIdApp.Services
8 | {
9 | public partial class FamilyRepository
10 | {
11 | private readonly string FileName = "f.htbox";
12 | private readonly char[] PaddingChars = new char[]
13 | {
14 | (char)0x0B, (char)0x0e, (char)0x0F,
15 | (char)0x01, (char)0x02, (char)0x03, (char)0x04, (char)0x05,
16 | (char)0x06, (char)0x07, (char)0x08, (char)0x09, (char)0x10
17 | };
18 |
19 | private string BasePath => Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments);
20 | private string FilePath => Path.Combine(BasePath, FileName);
21 |
22 | private List