API Diff between 2.2.119-beta and 2.1.298-beta
176 Additions
28 Removals
GSF.Web
GSF.Web.Hosting
GSF.Web.Hubs
GSF.Web.Model
-
public class DataContext : IDisposable
- public Dictionary<Type, IEnumerable<KeyValuePair<string, string>>> CustomTableOperationTokens { get; }
- public AdoSecurityProvider SecurityProvider { get; }
- public string AddSelectField<TModel, TOption>(string fieldName, string optionValueFieldName, string optionLabelFieldName = null, string optionSortFieldName = null, string fieldLabel = null, string fieldID = null, string groupDataBinding = null, string labelDataBinding = null, string requiredDataBinding = null, string customDataBinding = null, string dependencyFieldName = null, string optionDataBinding = null, string toolTip = null, bool initialFocus = false, RecordRestriction restriction = null, bool showNoRecordOption = false, string noRecordValue = "-1", string noRecordText = "No records")
- public string AddSelectField<TOption>(string fieldName, bool required, string optionValueFieldName, string optionLabelFieldName = null, string optionSortFieldName = null, string fieldLabel = null, string fieldID = null, string groupDataBinding = null, string labelDataBinding = null, string requiredDataBinding = null, string customDataBinding = null, string dependencyFieldName = null, string optionDataBinding = null, string toolTip = null, bool initialFocus = false, RecordRestriction restriction = null, bool showNoRecordOption = false, string noRecordValue = "-1", string noRecordText = "No records")
- public string AddSelectField<TModel, TOption>(string fieldName, string optionValueFieldName, string optionLabelFieldName = null, string optionSortFieldName = null, string fieldLabel = null, string fieldID = null, string groupDataBinding = null, string labelDataBinding = null, string requiredDataBinding = null, string customDataBinding = null, string dependencyFieldName = null, string optionDataBinding = null, string toolTip = null, bool initialFocus = false, RecordRestriction restriction = null, bool allowUnset = false, string unsetCaption = "Select value...", bool addEmptyRow = false, string emptyRowValue = "", bool showNoRecordOption = false, string noRecordValue = "-1", string noRecordText = "No records")
- public string AddSelectField<TOption>(string fieldName, bool required, string optionValueFieldName, string optionLabelFieldName = null, string optionSortFieldName = null, string fieldLabel = null, string fieldID = null, string groupDataBinding = null, string labelDataBinding = null, string requiredDataBinding = null, string customDataBinding = null, string dependencyFieldName = null, string optionDataBinding = null, string toolTip = null, bool initialFocus = false, RecordRestriction restriction = null, bool allowUnset = false, string unsetCaption = "Select value...", bool addEmptyRow = false, string emptyRowValue = "", bool showNoRecordOption = false, string noRecordValue = "-1", string noRecordText = "No records")
- public void EstablishUserRolesForPage<TModel>(RecordOperationsCache cache, object viewBag)
- public void EstablishUserRolesForPage(Type model, RecordOperationsCache cache, object viewBag)
- public void EstablishUserRolesForPage<TModel>(RecordOperationsCache cache, object viewBag)
- public void EstablishUserRolesForPage(Type model, RecordOperationsCache cache, object viewBag)
- public string RenderLookupFunction<TModel>(string valueFieldName, string keyFieldName = "ID", string lookupFunctionName = null, string arrayName = null)
- public string RenderViewModelConfiguration<TModel>(RecordOperationsCache cache, object viewBag, string defaultSortField = null, string hubClassName = "GSF.Web.Security.SecurityHub", string hubScriptName = "securityHub", object[] parentKeys)
- public string RenderViewModelConfiguration<TModel>(RecordOperationsCache cache, object viewBag, string defaultSortField = null, string hubClassName = "GSF.Web.Security.SecurityHub", string hubScriptName = "securityHub", object[] parentKeys)
- public bool UserIsInGroup(string group)
- public bool UserIsInGroup(string[] groups)
- public bool UserIsInRole(string role)
- public bool UserIsInRole(string[] roles)
- public bool UserIsInGroup(SecurityPrincipal securityPrincipal, string group)
- public bool UserIsInGroup(SecurityPrincipal securityPrincipal, string[] groups)
- public bool UserIsInRole(SecurityPrincipal securityPrincipal, string role)
- public bool UserIsInRole(SecurityPrincipal securityPrincipal, string[] roles)
-
public class HtmlHelper
-
public interface IRecordOperationsHub : IDisposable
-
public class RazorEngine<TLanguage> : IRazorEngine, IRazorEngineService, IDisposable where TLanguage : LanguageConstraint
-
public class RazorView
- public const double DefaultSessionMonitorInterval = 60000
- public const double DefaultSessionTimeout = 20
- public static double SessionMonitorInterval { get; }
- public static double SessionTimeout { get; }
- public ReadonlyWebServerOptions WebServerOptions { get; set; }
- public static event EventHandler<EventArgs<Guid, DynamicViewBag>> SessionExpired
- public RazorView(IRazorEngine razorEngine, string templateName, object model = null, Type modelType = null, Type pagedViewModelDataType = null, Type pagedViewModelHubType = null, AdoDataConnection database = null, Action<Exception> exceptionHandler = null)
- public RazorView(IRazorEngine razorEngine, string templateName, object model = null, Type modelType = null, Type pagedViewModelDataType = null, Type pagedViewModelHubType = null, AdoDataConnection database = null, Action<Exception> exceptionHandler = null, ReadonlyWebServerOptions webServerOptions = null)
- public static bool ClearSessionCache(Guid sessionID)
- public string Execute(HttpRequestMessage request, bool isPost)
- public Task<string> ExecuteAsync(HttpRequestMessage request, bool isPost, CancellationToken cancellationToken)
- public string Execute(HttpRequestMessage request, HttpResponseMessage response, bool isPost)
- public Task<string> ExecuteAsync(HttpRequestMessage request, HttpResponseMessage response, bool isPost, CancellationToken cancellationToken)
-
public class RecordOperationsCache
GSF.Web.Model.Handlers
GSF.Web.Security
-
public static class AppBuilderExtensions
-
public class AuthenticationHandler : AuthenticationHandler<AuthenticationOptions>
-
public class AuthenticationMiddleware : AuthenticationMiddleware<AuthenticationOptions>
-
public class AuthenticationOptions : AuthenticationOptions
-
public class AuthorizationCache
-
public class AuthorizeControllerRoleAttribute : FilterAttribute, IAuthorizationFilter, IExceptionFilter
-
public class AuthorizeHubRoleAttribute : AuthorizeAttribute
-
public static class HttpConfigurationExtensions
-
public class ReadonlyAuthenticationOptions
-
public class SecurityHub : RecordOperationsHub<SecurityHub>
-
public class SessionHandler : DelegatingHandler
- public const string DefaultAuthenticationToken = "x-gsf-auth"
- public const string DefaultSessionToken = "x-gsf-session"
- public string AuthenticationToken { get; }
- public string SessionToken { get; }
- public static event EventHandler<EventArgs<Exception>> ProcessException
- public SessionHandler(string authenticationToken = "x-gsf-auth", string sessionToken = "x-gsf-session")
- public static string GetAuthenticationTokenFromCookie(HttpRequestMessage request, string authenticationToken)
- public static string GetAuthenticationTokenFromCookie(IOwinRequest request, string authenticationToken)
- public static Guid GetSessionIDFromCookie(HttpRequestMessage request, string sessionToken)
- public static Guid GetSessionIDFromCookie(IOwinRequest request, string sessionToken)
- public static Guid GetSessionIDFromCookie(IRequest request, string sessionToken)
- public static bool TryGetCachedCredentials(string authenticationToken, out string username, out string password)
- public static bool TryGetSessionID(HttpRequestMessage request, string sessionToken, out Guid sessionID)
GSF.Web.Shared
-
public static class Resources
- public static readonly string
- public const string Root = "/@GSF/Web"