Coder Social home page Coder Social logo

adatar's Introduction

Issue Stats Issue Stats

Adatar

This project can be used to scaffold a prototypical .NET solution including file system layout and tooling. This includes a build process that:

In order to start the scaffolding process run

$ build.cmd // on windows    
$ build.sh  // on mono

Read the Getting started tutorial to learn more.

Documentation: http://fsprojects.github.io/ProjectScaffold

Avatar Providers

Gravatar

See https://en.gravatar.com/site/implement/images/

Active Directory

Use https://github.com/ghuntley/active-directory-photo-toolkit

Azure Active Directory

Use https://github.com/AzureADSamples/WebApp-GraphAPI-DotNet/blob/master/WebAppGraphAPI/Controllers/UsersController.cs#L376

Exchange EWS

See https://msdn.microsoft.com/en-us/library/office/jj190905(v=exchg.150).aspx See http://stackoverflow.com/questions/27314335/retrieve-user-photo-with-office365-rest-api

   WebRequest.Create("https://www.contoso.com/ews/exchange.asmx/s/[email protected]&size=HR240x240") 

Metrics

All metrics are prefixed with a namespace which is used to denote which environment the application is running on and the hostname of the machine:

<environment [local|dev|preprd|prd]>.adatar.<hostname>

Nouns are used to define the target and past tense verbs to define the action which is a very useful convention when you need to nest metrics:

<namespace>.<instrumented section>.<target (noun)>.<action (past tense verb)>

fetchavatar

(counter)     fetchavatar.gravatar.attempted
(counter)     fetchavatar.gravatar.succeeded
(counter)     fetchavatar.gravatar.query.<emailaddress>
(timer)       fetchavatar.gravatar.query_time
(counter)     fetchavatar.gravatar.failure.account_not_found
(counter)     fetchavatar.gravatar.failure.authentication_failed
(counter)     fetchavatar.gravatar.failure.query_failed

(counter)     fetchavatar.activedirectory.attempted
(counter)     fetchavatar.activedirectory.succeeded
(counter)     fetchavatar.activedirectory.query.<emailaddress>
(timer)`      fetchavatar.activedirectory.query_time
(counter)     fetchavatar.activedirectory.failure.account_not_found
(counter)     fetchavatar.activedirectory.failure.authentication_failed
(counter)     fetchavatar.activedirectory.failure.query_failed

(counter)     fetchavatar.azure_activedirectory.attempted
(counter)     fetchavatar.azure_activedirectory.succeeded
(counter)     fetchavatar.azure_activedirectory.query.<emailaddress>
(timer)       fetchavatar.azure_activedirectory.query_time
(counter)     fetchavatar.azure_activedirectory.failure.account_not_found
(counter)     fetchavatar.azure_activedirectory.failure.authentication_failed
(counter)     fetchavatar.azure_activedirectory.failure.query_failed

(counter)     fetchavatar.exchange_ews.attempted
(counter)     fetchavatar.exchange_ews.succeeded
(counter)     fetchavatar.exchange_ews.query.<emailaddress>
(timer)`      fetchavatar.exchange_ews.query_time
(counter)     fetchavatar.exchange_ews.failure.account_not_found
(counter)     fetchavatar.exchange_ews.failure.authentication_failed
(counter)     fetchavatar.exchange_ews.failure.query_failed

Maintainer(s)

The default maintainer account for projects under "fsprojects" is @fsgit - F# Community Project Incubation Space (repo management)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.