Thursday, February 04, 2016

Google Drive, Docs, Classroom

Here's the difference between Google Docs and Google Drive
"There may be some confusion on the difference between Google Drive and Google Docs. Google launched Google Drive to offer an alternative to other online shared document systems like Microsoft 365. Portions of the existing Google Docs platform, specifically the document storage system, were migrated to the new Google Drive service"

"Google Docs is the web-based editing program that allows users to create, share and edit documents through a secure networked system. There are also offshoots called Google Sheets and Google Slides that allow users to create spreadsheets and presentations"
"Google Drive is a cloud storage solution for storing files."


Simple & Flexible Pricing Plans – Google Apps for Work
$5/user/month, email, video&voice comm, 30 GB storage
$10/user/month, 1 TB/unlimited storage, advanced email features, drive admin
"Google Classroom is a blended learning platform for schools that aim to simplify creating, distributing and grading assignments in a paperless way. It was introduced as a feature of Google Apps for Education following its public release on August 12, 2014.[1] Its aim is to be a paperless educational system...
Assignment creation and distribution is accomplished through Google Drive while Gmail is used to provide classroom communication"

Validate Email Address in C#

I Knew How To Validate An Email Address Until I Read The RFC - You've Been Haacked
at-sign
C# code to validate email address - Stack Overflow

using System.Text.RegularExpressions;
public static class EmailValidator {
    static Regex ValidEmailRegex = new Regex(
              @"^(?!\.)(""([^""\r\\]|\\[""\r\\])*""|"
            + @"([-a-z0-9!#$%&'*+/=?^_`{|}~]|(?<!\.)\.)*)(?<!\.)"
            + @"@[a-z0-9][\w\.-]*[a-z0-9]\.[a-z][a-z\.]*[a-z]$"
            , RegexOptions.IgnoreCase);
    }
    public static bool IsValid(string emailAddress) {
        return ValidEmailRegex.IsMatch(emailAddress);
    }
}