C# Class MyProducts.Services.Controllers.PersonalizationController

NOTE: This is a hard-coded sample - usually the data would sit in a DB! Web API to deliver personalized application features and UI claims based on incoming user identity.
Inheritance: ApiController
Datei anzeigen Open project: ChristianWeyer/myProducts-End-to-End

Public Methods

Method Description
GetPersonalizationData ( ) : MyProducts.Web.Api.DTOs.Personalization.PersonalizationData

Get application personalization information based on the incoming user.

Private Methods

Method Description
GetCapabilities ( string userName ) : Capabilities
GetConstraints ( string userName ) : Constraints
GetFeatures ( string userName ) : IEnumerable
GetItemsLimit ( string userName ) : double
GetNameValueClaims ( string userName ) : NameValueClaims

Method Details

GetPersonalizationData() public method

Get application personalization information based on the incoming user.
public GetPersonalizationData ( ) : MyProducts.Web.Api.DTOs.Personalization.PersonalizationData
return MyProducts.Web.Api.DTOs.Personalization.PersonalizationData