API Diff between 2.4.53-beta and 2.1.347-beta
311 Additions
46 Removals
GSF.Web
GSF.Web.Hosting
-
public class ReadonlyWebServerOptions
-
public class WebPageController : ApiController
- public AdoDataConnection Database { get; set; }
- public string DefaultWebPage { get; set; }
- public static IDependencyResolver GetDependencyResolver(WebServer webServer, string defaultWebPage = null, object model = null, Type modelType = null, AdoDataConnection connection = null)
- public Task<HttpResponseMessage> GetPage(CancellationToken cancellationToken)
- public Task<HttpResponseMessage> GetPage(string folder1, string pageName, CancellationToken cancellationToken)
- public Task<HttpResponseMessage> GetPage(string folder1, string folder2, string pageName, CancellationToken cancellationToken)
- public Task<HttpResponseMessage> GetPage(string folder1, string folder2, string folder3, string pageName, CancellationToken cancellationToken)
- public Task<HttpResponseMessage> GetPage(string folder1, string folder2, string folder3, string folder4, string pageName, CancellationToken cancellationToken)
- public Task<HttpResponseMessage> GetPage(string folder1, string folder2, string folder3, string folder4, string folder5, string pageName, CancellationToken cancellationToken)
- public Task<HttpResponseMessage> GetPage(string folder1, string folder2, string folder3, string folder4, string folder5, string folder6, string pageName, CancellationToken cancellationToken)
- public Task<HttpResponseMessage> GetPage(string folder1, string folder2, string folder3, string folder4, string folder5, string folder6, string folder7, string pageName, CancellationToken cancellationToken)
- public Task<HttpResponseMessage> GetPage(string folder1, string folder2, string folder3, string folder4, string folder5, string folder6, string folder7, string folder8, string pageName, CancellationToken cancellationToken)
- public Task<HttpResponseMessage> GetPage(string folder1, string folder2, string folder3, string folder4, string folder5, string folder6, string folder7, string folder8, string folder9, string pageName, CancellationToken cancellationToken)
- public Task<HttpResponseMessage> GetPage(string folder1, string folder2, string folder3, string folder4, string folder5, string folder6, string folder7, string folder8, string folder9, string folder10, string pageName, CancellationToken cancellationToken)
- public Task<HttpResponseMessage> PostPage(string folder1, string pageName, CancellationToken cancellationToken)
- public Task<HttpResponseMessage> PostPage(string folder1, string folder2, string pageName, CancellationToken cancellationToken)
- public Task<HttpResponseMessage> PostPage(string folder1, string folder2, string folder3, string pageName, CancellationToken cancellationToken)
- public Task<HttpResponseMessage> PostPage(string folder1, string folder2, string folder3, string folder4, string pageName, CancellationToken cancellationToken)
- public Task<HttpResponseMessage> PostPage(string folder1, string folder2, string folder3, string folder4, string folder5, string pageName, CancellationToken cancellationToken)
- public Task<HttpResponseMessage> PostPage(string folder1, string folder2, string folder3, string folder4, string folder5, string folder6, string pageName, CancellationToken cancellationToken)
- public Task<HttpResponseMessage> PostPage(string folder1, string folder2, string folder3, string folder4, string folder5, string folder6, string folder7, string pageName, CancellationToken cancellationToken)
- public Task<HttpResponseMessage> PostPage(string folder1, string folder2, string folder3, string folder4, string folder5, string folder6, string folder7, string folder8, string pageName, CancellationToken cancellationToken)
- public Task<HttpResponseMessage> PostPage(string folder1, string folder2, string folder3, string folder4, string folder5, string folder6, string folder7, string folder8, string folder9, string pageName, CancellationToken cancellationToken)
- public Task<HttpResponseMessage> PostPage(string folder1, string folder2, string folder3, string folder4, string folder5, string folder6, string folder7, string folder8, string folder9, string folder10, string pageName, CancellationToken cancellationToken)
-
public static class WebPageControllerAppBuilderExtensions
-
public class WebServer
- public bool ClientCacheEnabled { get; set; }
- public bool MinifyJavascript { get; set; }
- public bool MinifyStyleSheets { get; set; }
- public ReadonlyWebServerOptions Options { get; }
- public bool UseMinifyInDebug { get; set; }
- public string WebRootPath { get; }
- public WebServer(string webRootPath = null, IRazorEngine razorEngineCS = null, IRazorEngine razorEngineVB = null)
- public WebServer(WebServerOptions options = null, IRazorEngine razorEngineCS = null, IRazorEngine razorEngineVB = null)
- public Task<HttpResponseMessage> RenderResponse(HttpRequestMessage request, string pageName, bool isPost, CancellationToken cancellationToken, object model = null, Type modelType = null, AdoDataConnection database = null)
- public Task<HttpResponseMessage> RenderResponse(HttpRequestMessage request, string pageName, CancellationToken cancellationToken, object model = null, Type modelType = null, AdoDataConnection database = null)
-
public class WebServerOptions
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>(Dictionary<string, string> options, string fieldName, bool required, 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, bool allowUnset = false, string unsetCaption = "Select value...", bool addEmptyRow = false, string emptyRowValue = "", bool showNoRecordOption = false, string noRecordValue = "-1", string noRecordText = "No records")
- public string <TModel, TOption>(string fieldName, 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, bool allowUnset = false, string unsetCaption = "Select value...", bool addEmptyRow = false, string emptyRowValue = "", bool showNoRecordOption = false, string noRecordValue = "-1", string noRecordText = "No records") where TOption : struct, IConvertible
- public string <TOption>(string fieldName, bool required, 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, bool allowUnset = false, string unsetCaption = "Select value...", bool addEmptyRow = false, string emptyRowValue = "", bool showNoRecordOption = false, string noRecordValue = "-1", string noRecordText = "No records") where TOption : struct, IConvertible
- 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 abstract class ExtendedTemplateBase : TemplateBase
-
public abstract class ExtendedTemplateBase<T> : TemplateBase<T>
-
public class HtmlHelper
-
public class ModelController<T> : ApiController
-
public class RazorEngine<TLanguage> : IRazorEngine, IRazorEngineService, IDisposable where TLanguage : LanguageConstraint
-
public class RazorView
- public ReadonlyWebServerOptions WebServerOptions { get; set; }
- 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 string Execute(HttpRequestMessage request, bool isPost)
- public Task<string> ExecuteAsync(HttpRequestMessage request, bool isPost, CancellationToken cancellationToken)
- public string Execute(HttpRequestMessage request, HttpResponseMessage response)
- public Task<string> ExecuteAsync(HttpRequestMessage request, HttpResponseMessage response, CancellationToken cancellationToken)
GSF.Web.Security
-
public static class AntiForgery
-
public static class AntiForgeryConfig
-
public static class AppBuilderExtensions
-
public class AuthenticationHandler : AuthenticationHandler<AuthenticationOptions>
-
public class AuthenticationMiddleware : AuthenticationMiddleware<AuthenticationOptions>
-
public sealed class AuthenticationOptions : AuthenticationOptions
-
public class AuthorizationCache
-
public class AuthorizeControllerRoleAttribute : FilterAttribute, IAuthorizationFilter, IExceptionFilter
-
public class AuthorizeHubRoleAttribute : AuthorizeAttribute
-
public static class HttpConfigurationExtensions
-
public interface IAntiForgeryAdditionalDataProvider
-
public sealed class ReadonlyAuthenticationOptions
-
public class SecurityHub : RecordOperationsHub<SecurityHub>
-
public class SessionHandler : DelegatingHandler
- public const string DefaultAuthenticationToken = "x-gsf-auth"
- public const double DefaultSessionExpirationDays = 30
- public const double DefaultSessionMonitorInterval = 60000
- public const double DefaultSessionTimeout = 20
- public const string DefaultSessionToken = "x-gsf-session"
- public static double SessionMonitorInterval { get; }
- public static double SessionTimeout { get; }
- public string AuthenticationToken { get; }
- public string SessionToken { get; }
- public static event EventHandler<EventArgs<Exception>> ProcessException
- public static event EventHandler<EventArgs<Guid, DynamicViewBag>> SessionExpired
- public SessionHandler(string authenticationToken = "x-gsf-auth", string sessionToken = "x-gsf-session")
- public static bool ClearSessionCache(Guid sessionID)
- 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)
- public static bool TryGetSessionState(HttpRequestMessage request, string sessionToken, out DynamicViewBag sessionState)
-
public class ValidateRequestVerificationTokenAttribute : ActionFilterAttribute
GSF.Web.Shared
-
public static class Resources
- public const string DefaultRoot = "/@GSF/Web"
- public static string { get; }
- public static string Root { get; }
-
public class SharedHub : RecordOperationsHub<SharedHub>
- public static readonly Guid DefaultNodeID
- public SharedHub()
- public SharedHub(Action<string, UpdateType> logStatusMessageFunction, Action<Exception> logExceptionFunction)
- public SharedHub(string settingsCategory, Action<string, UpdateType> logStatusMessageFunction, Action<Exception> logExceptionFunction)
- public void AddNewCompany(Company company)
- public void AddNewVendor(Vendor vendor)
- public void AddNewVendorDevice(VendorDevice vendorDevice)
- public void DeleteCompany(int id)
- public void DeleteVendor(int id)
- public void DeleteVendorDevice(int id)
- public Statistic GetStatistic(object metadataRecord)
- public IEnumerable<object> GetStatisticFormatRecords(IEnumerable<object> metadata)
- public Company NewCompany()
- public Vendor NewVendor()
- public VendorDevice NewVendorDevice()
- public IEnumerable<Company> QueryCompanies(string sortField, bool ascending, int page, int pageSize, string filterText)
- public int QueryCompanyCount(string filterText)
- public int QueryVendorCount(string filterText)
- public int QueryVendorDeviceCount(string filterText)
- public IEnumerable<VendorDevice> QueryVendorDevices(string sortField, bool ascending, int page, int pageSize, string filterText)
- public IEnumerable<Vendor> QueryVendors(string sortField, bool ascending, int page, int pageSize, string filterText)
- public void UpdateCompany(Company company)
- public void UpdateVendor(Vendor vendor)
- public void UpdateVendorDevice(VendorDevice vendorDevice)
-
public class SubscriberHub : Hub
- public SubscriberHub()
- public void Connect(string subscriberID)
- public void Disconnect(string subscriberID)
- public void Dispose(string subscriberID)
- public IEnumerable<object> GetMetadata(string subscriberID, string tableName, string filter, string sortField, int takeCount)
- public void SendCommand(string subscriberID, ServerCommand commandCode, string message)
- public void SetMeasurementFormat(string subscriberID, Guid signalID, string format, string dataType)
- public void SetMeasurementFormats(string subscriberID, IEnumerable<object> formatRecords)
- public void Subscribe(string subscriberID, JObject data)
- public void Unsubscribe(string subscriberID)
GSF.Web.Shared.Model