EASYDATACenter
Contents
- AuthenticateResponse
- BackendServer
- CommunicationController
- CustomFtpUser
- CustomString
- DBResult
- DBResultMessage
- DatabaseContextExtensions
- DgmlSchemaApi
- EASYDATACenterContext
- GLOBALNETAuthenticationApi
- GLOBALNETBackendCheckApi
- HostedFtpServer
- HostedFtpServerMembershipProvider
- IdFilter
- MailRequest
- NameFilter
- SHOPINGERAuthenticationApi
- ServerConfigurationServices
- ConfigureAuthentication(services)
- ConfigureControllers(services)
- ConfigureCookie(services)
- ConfigureDatabaseContext(services)
- ConfigureFTPServer(services)
- ConfigureLogging(services)
- ConfigureScopes(services)
- ConfigureServerWebPages(services)
- ConfigureThirdPartyApi(services)
- ConfigureWebSocketLoggerMonitor(services)
- ServerCoreDbOperations
- ServerCoreFunctions
- CheckDirectory(directory)
- CheckFile(file)
- CopyFile(from,to)
- CreatePath(path)
- FileDetectEncoding(FileName)
- GetSelfSignedCertificate(password)
- GetSelfSignedCertificateFromFile()
- GetSystemErrMessage(exception,msgCount)
- GetUserApiErrMessage(exception,msgCount)
- LoadSettings()
- RandomString(length)
- ReadFile(fileName)
- SendEmail(mailRequest,sendImmediately)
- SendMassEmail(mailRequests)
- UnicodeToUTF8(strFrom)
- ServerCoreHelpers
- ServerCoreLoggerWS
- ServerCorePagesApi
- ServerEmailerApi
- ServerEnablingServices
- ServerLocalDbDials
- ServerModules
- ServerModulesEnabling
- ServerRestartApi
- ServerRootApi
- ServerRuntimeData
- ServerSettings
- ConfigApiTokenTimeoutMin
- ConfigCertificateDomain
- ConfigCertificatePassword
- ConfigJwtLocalKey
- ConfigMaxWebSocketBufferSizeKb
- ConfigServerStartupOnHttps
- ConfigServerStartupPort
- ConfigWebSocketTimeoutMin
- DatabaseConnectionString
- DatabaseInternalCacheTimeoutMin
- DatabaseInternalCachingEnabled
- EmailerSMTPLoginPassword
- EmailerSMTPLoginUsername
- EmailerSMTPPort
- EmailerSMTPServerAddress
- EmailerSMTPSslIsEnabled
- EmailerServiceEmailAddress
- ModuleDataManagerEnabled
- ModuleDbDiagramGeneratorEnabled
- ModuleHealthServiceEnabled
- ModuleHealthServiceRefreshIntervalSec
- ModuleMdDocumentationEnabled
- ModuleSwaggerApiDocEnabled
- ServerEnableWebSocketMonitor
- ServerFtpFreeEngineEnabled
- ServerFtpSecurityEnabled
- ServerMvcWebPagesEngineEnabled
- ServerRazorWebPagesEngineEnabled
- ServerTimeTokenValidationEnabled
- ServerWebBrowserEnabled
- ServerWebSocketEngineEnabled
- SpecialCoreCheckerEmailSenderActive
- SpecialEnableMassEmail
- SpecialServerLanguage
- SpecialServerServiceName
- SpecialUseDbLocalAutoupdatedDials
- ServiceHealthCheck
- SetReportFilter
- Startup
- TemplateList
- WebSocketExtension
- WebSocketLogProvider
- WebSocketLogger
AuthenticateResponse type
Namespace
EASYDATACenter.ServerCoreDefinition
Summary
The authenticate response.
Expiration property
Summary
Gets or Sets the expiration.
Id property
Summary
Gets or Sets the id.
Name property
Summary
Gets or Sets the name.
Role property
Summary
Gets or Sets the role.
Surname property
Summary
Gets or Sets the surname.
Token property
Summary
Gets or Sets the token.
BackendServer type
Namespace
EASYDATACenter
Summary
Server Main Definition Starting Point Of Project
ServerRuntimeData constants
Summary
Startup Server Initialization Server Runtime Data
ServerSettings constants
Summary
Startup Server Initialization Server Setting Data
BuildWebHost(args) method
Summary
Final Preparing Server HostBuilder Definition
Returns
Parameters
Name | Type | Description |
---|---|---|
args | System.String[] |
Main(args) method
Summary
Server Startup Process
Parameters
Name | Type | Description |
---|---|---|
args | System.String[] |
RestartServer() method
Summary
Server Restart Controller
Parameters
This method has no parameters.
ServerStartupDbDataLoading() method
Summary
Server Startup DB Data loading for minimize DB Connect TO Frequency Dials Without Changes Example: LanguageList
Parameters
This method has no parameters.
StartServer() method
Summary
Server Start Controller
Parameters
This method has no parameters.
CommunicationController type
Namespace
EASYDATACenter.ServerCoreDefinition
Summary
Server Communication Extensions for Controlling Data
HttpContext property
Summary
Server Request Accessory controller
CheckAdmin() method
Summary
Check Admin Role
Parameters
This method has no parameters.
CustomFtpUser type
Namespace
EASYDATACenter.ServerCoreServers.HostedFtpServerMembershipProvider
Summary
Custom FTP user implementation
#ctor(name) constructor
Summary
Initializes a new instance of the CustomFtpUser instance.
Parameters
Name | Type | Description |
---|---|---|
name | System.String | The user name |
Name property
Summary
Inherit from parent.
IsInGroup() method
Summary
Inherit from parent.
Parameters
This method has no parameters.
CustomString type
Namespace
EASYDATACenter.ServerCoreDBSettings
Summary
Custom Definition for Returning string List from Stored Procedures Name is ColumnName from Stored Procedure Result
DBResult type
Namespace
EASYDATACenter.ServerCoreDefinition
Summary
Database response types definition
DBResultMessage type
Namespace
EASYDATACenter.ServerCoreDefinition
Summary
The DB result message.
ErrorMessage property
Summary
Gets or Sets the error message.
InsertedId property
Summary
Gets or Sets the inserted id.
RecordCount property
Summary
Gets or Sets the record count.
Status property
Summary
Gets or Sets the status.
DatabaseContextExtensions type
Namespace
EASYDATACenter.ServerCoreDBSettings
Summary
Database Context Extensions for All Types Procedures For Retun Data in procedure can be Simple SELECT * XXX and you Create Same Class for returned DataSet
DgmlSchemaApi type
Namespace
EASYDATACenter.ServerCoreDBSettings
Summary
Database Schema Diagram Controller
See Also
#ctor(context) constructor
Summary
Initializes a new instance of the DgmlSchemaApi class.
Parameters
Name | Type | Description |
---|---|---|
context | EASYDATACenter.ServerCoreDBSettings.EASYDATACenterContext | The context. |
Get() method
Summary
Creates a DGML class diagram of most of the entities in the project wher you go to localhost/dgml See https://github.com/ErikEJ/SqlCeToolbox/wiki/EF-Core-Power-Tools
Returns
a DGML class diagram
Parameters
This method has no parameters.
EASYDATACenterContext type
Namespace
EASYDATACenter.ServerCoreDBSettings
Summary
Server Main Database Settings Here is Included ScaffoldContext which is connected via Visual Studio Tool Here can Be added customization which are not on the server Here is Extended the Context with Insert News Functionality Customizing and implement Settings for Automatic Adopted Database Schema for Unlimited Working and Operations For Specifics API schemas
GetApiUserId(httpContext) method
Summary
Return User From API Request if Exist other null
Returns
Parameters
Name | Type | Description |
---|---|---|
httpContext | Microsoft.AspNetCore.Http.HttpContext |
IsAdmin(httpContext) method
Summary
Return User From API Request if Exist other null
Returns
Parameters
Name | Type | Description |
---|---|---|
httpContext | Microsoft.AspNetCore.Http.HttpContext |
GLOBALNETAuthenticationApi type
Namespace
EASYDATACenter.ControllersExtensions
Authenticate(username,password) method
Summary
API Authenticated and Generate Token
Returns
Parameters
Name | Type | Description |
---|---|---|
username | System.String | |
password | System.String |
LifetimeValidator(notBefore,expires,token,params) method
Summary
API Token LifeTime Validator
Returns
Parameters
Name | Type | Description |
---|---|---|
notBefore | System.Nullable{System.DateTime} | |
expires | System.Nullable{System.DateTime} | |
token | Microsoft.IdentityModel.Tokens.SecurityToken | |
params | Microsoft.IdentityModel.Tokens.TokenValidationParameters |
RefreshUserToken(username,token) method
Summary
API Refresh User Token
Returns
Parameters
Name | Type | Description |
---|---|---|
username | System.String | |
token | EASYDATACenter.ServerCoreDefinition.AuthenticateResponse |
GLOBALNETBackendCheckApi type
Namespace
EASYDATACenter.ControllersExtensions
Summary
Simple Api for Checking Avaiability
See Also
GetBackendCheckApi() method
Summary
Gets the backend check API.
Returns
Parameters
This method has no parameters.
HostedFtpServer type
Namespace
EASYDATACenter.ServerCoreServers
#ctor(ftpServerHost) constructor
Summary
Initializes a new instance of the HostedFtpServer class.
Parameters
Name | Type | Description |
---|---|---|
ftpServerHost | FubarDev.FtpServer.IFtpServerHost | The FTP server host that gets wrapped as a hosted service. |
StartAsync() method
Summary
Inherit from parent.
Parameters
This method has no parameters.
StopAsync() method
Summary
Inherit from parent.
Parameters
This method has no parameters.
HostedFtpServerMembershipProvider type
Namespace
EASYDATACenter.ServerCoreServers
Summary
Custom membership provider for Authentication Validation Actual is Set by UserName and Password in Database
ValidateUser(username,password) method
Summary
FTP User Validation Its for Open FTP and User Validation
Returns
Parameters
Name | Type | Description |
---|---|---|
username | System.String | The username. |
password | System.String | The password. |
ValidateUserAsync(username,password) method
Summary
FTP User Validation Async Its for Open FTP and User Validation
Returns
The result of the validation.
Parameters
Name | Type | Description |
---|---|---|
username | System.String | The user name. |
password | System.String | The password. |
IdFilter type
Namespace
EASYDATACenter.ServerCoreDBSettings
Summary
Custom Class Definition for Filtering by record Id
MailRequest type
Namespace
EASYDATACenter.ServerCoreDefinition
Summary
Class Definition for Server Emailer In List of this claas you can use Mass Emailer
NameFilter type
Namespace
EASYDATACenter.ServerCoreDBSettings
Summary
Custom Class Definition for Filtering by string
SHOPINGERAuthenticationApi type
Namespace
SHOPINGER.Controllers
Authenticate(username,password) method
Summary
API Authenticated and Generate Token
Returns
Parameters
Name | Type | Description |
---|---|---|
username | System.String | |
password | System.String |
LifetimeValidator(notBefore,expires,token,params) method
Summary
API Token LifeTime Validator
Returns
Parameters
Name | Type | Description |
---|---|---|
notBefore | System.Nullable{System.DateTime} | |
expires | System.Nullable{System.DateTime} | |
token | Microsoft.IdentityModel.Tokens.SecurityToken | |
params | Microsoft.IdentityModel.Tokens.TokenValidationParameters |
RefreshUserToken(username,token) method
Summary
API Refresh User Token
Returns
Parameters
Name | Type | Description |
---|---|---|
username | System.String | |
token | EASYDATACenter.ServerCoreDefinition.AuthenticateResponse |
ServerConfigurationServices type
Namespace
EASYDATACenter.ServerCoreConfiguration
Summary
Server Core Configuration Settings of Security, Communications, Technologies, Modules Rules, Rights, Conditions, Formats, Services, Logging, etc..
ConfigureAuthentication(services) method
Summary
Server Core: Configure Server Authentication Support
Parameters
Name | Type | Description |
---|---|---|
services | Microsoft.Extensions.DependencyInjection.IServiceCollection@ |
ConfigureControllers(services) method
Summary
Server Core: Configure Server Controllers options.SuppressImplicitRequiredAttributeForNonNullableReferenceTypes = [ValidateNever] in Class options.SerializerSettings.ReferenceLoopHandling = ReferenceLoopHandling.Ignore = [JsonIgnore] in Class
Parameters
Name | Type | Description |
---|---|---|
services | Microsoft.Extensions.DependencyInjection.IServiceCollection@ |
ConfigureCookie(services) method
Summary
Server Core: Configure Cookie Politics
Parameters
Name | Type | Description |
---|---|---|
services | Microsoft.Extensions.DependencyInjection.IServiceCollection@ |
ConfigureDatabaseContext(services) method
Summary
Server Core: Configure Custom Services
Parameters
Name | Type | Description |
---|---|---|
services | Microsoft.Extensions.DependencyInjection.IServiceCollection@ |
ConfigureFTPServer(services) method
Summary
Custom Secure FTP Server
Parameters
Name | Type | Description |
---|---|---|
services | Microsoft.Extensions.DependencyInjection.IServiceCollection@ | The services. |
ConfigureLogging(services) method
Summary
Server Core: Configure Server Logging
Parameters
Name | Type | Description |
---|---|---|
services | Microsoft.Extensions.DependencyInjection.IServiceCollection@ |
ConfigureScopes(services) method
Summary
Server Core: Configure Custom Core Services
Parameters
Name | Type | Description |
---|---|---|
services | Microsoft.Extensions.DependencyInjection.IServiceCollection@ |
ConfigureServerWebPages(services) method
Summary
Configures the MVC server pages.
Parameters
Name | Type | Description |
---|---|---|
services | Microsoft.Extensions.DependencyInjection.IServiceCollection@ | The services. |
ConfigureThirdPartyApi(services) method
Summary
Server Core: Configure HTTP Client for work with third party API
Parameters
Name | Type | Description |
---|---|---|
services | Microsoft.Extensions.DependencyInjection.IServiceCollection@ |
ConfigureWebSocketLoggerMonitor(services) method
Summary
Server core: Configures the WebSocket logger monitor. For multi monitoring and for Example Posibilities
Parameters
Name | Type | Description |
---|---|---|
services | Microsoft.Extensions.DependencyInjection.IServiceCollection@ | The services. |
ServerCoreDbOperations type
Namespace
EASYDATACenter.ServerCoreMethods
Summary
All Server Definitions of Database Operation method
DBTranslate(word,language) method
Summary
Default Operation for Call Translation
Returns
Parameters
Name | Type | Description |
---|---|---|
word | System.String | |
language | System.String |
DBTranslateOffline(word,language) method
Summary
Database LanuageList for Off-line Using Definitions
Returns
Parameters
Name | Type | Description |
---|---|---|
word | System.String | |
language | System.String |
DBTranslateOnline(word,language) method
Summary
Database LanuageList for On-line Using Definitions
Returns
Parameters
Name | Type | Description |
---|---|---|
word | System.String | |
language | System.String |
LoadStaticDbDials(onlyThis) method
Summary
Method for All Server Defined Table for Local Using As Off line AutoUpdated Tables
Parameters
Name | Type | Description |
---|---|---|
onlyThis | System.Nullable{EASYDATACenter.ServerCoreDefinition.ServerLocalDbDials} |
WriteVisit(ipAddress,userId,userName) method
Summary
Trigger User Login History
Parameters
Name | Type | Description |
---|---|---|
ipAddress | System.String | |
userId | System.Int32 | |
userName | System.String |
ServerCoreFunctions type
Namespace
EASYDATACenter.ServerCoreMethods
CheckDirectory(directory) method
Summary
Checks the directory.
Returns
Parameters
Name | Type | Description |
---|---|---|
directory | System.String | The directory. |
CheckFile(file) method
Summary
Checks the file.
Returns
Parameters
Name | Type | Description |
---|---|---|
file | System.String | The file. |
CopyFile(from,to) method
Summary
Copies the file.
Returns
Parameters
Name | Type | Description |
---|---|---|
from | System.String | From. |
to | System.String | To. |
CreatePath(path) method
Summary
Creates the path.
Returns
Parameters
Name | Type | Description |
---|---|---|
path | System.String | The path. |
FileDetectEncoding(FileName) method
Summary
Files the detect encoding.
Returns
Parameters
Name | Type | Description |
---|---|---|
FileName | System.String | Name of the file. |
GetSelfSignedCertificate(password) method
Summary
Gets the self signed certificate For API Security HTTPS.
Returns
Parameters
Name | Type | Description |
---|---|---|
password | System.String | The password. |
GetSelfSignedCertificateFromFile() method
Summary
Set Imported Certificate from file on Server for Https TODO
Returns
Parameters
This method has no parameters.
GetSystemErrMessage(exception,msgCount) method
Summary
Mined-ed Error Message For System Save to Database For Simple Solving Problem
Returns
Parameters
Name | Type | Description |
---|---|---|
exception | System.Exception | |
msgCount | System.Int32 |
GetUserApiErrMessage(exception,msgCount) method
Summary
Mined-ed Error Message For Answer in API Error Response with detailed info about problem
Returns
Parameters
Name | Type | Description |
---|---|---|
exception | System.Exception | |
msgCount | System.Int32 |
LoadSettings() method
Summary
Server Local Startup Configuration Its Running as First - Load from Congig.Json After DB connection Before Server Start Is This configuration Replaced By Data from DB And next Server Start. Its for situation - Bad Connection Server Start with Configuration from File
Parameters
This method has no parameters.
RandomString(length) method
Summary
Randoms the string.
Returns
Parameters
Name | Type | Description |
---|---|---|
length | System.Int32 | The length. |
ReadFile(fileName) method
Summary
Reads the file.
Returns
Parameters
Name | Type | Description |
---|---|---|
fileName | System.String | Name of the file. |
SendEmail(mailRequest,sendImmediately) method
Summary
System Mailer sending Emails To service email with detected fail for analyze and corrections on the Way provide better services every time !!! This You can implement everywhere, !!! In Debug mode is written to Console, in Release will be sent email Empty Sender And Recipients set email for Service Recipient
Parameters
Name | Type | Description |
---|---|---|
mailRequest | EASYDATACenter.ServerCoreDefinition.MailRequest | |
sendImmediately | System.Boolean |
SendMassEmail(mailRequests) method
Summary
Sends the mass mail.
Parameters
Name | Type | Description |
---|---|---|
mailRequests | System.Collections.Generic.List{EASYDATACenter.ServerCoreDefinition.MailRequest} | The mail requests. |
UnicodeToUTF8(strFrom) method
Summary
Unicodes to ut f8.
Returns
Parameters
Name | Type | Description |
---|---|---|
strFrom | System.String | The string from. |
ServerCoreHelpers type
Namespace
EASYDATACenter.ServerCoreDefinition
Summary
System Helpers for EASY working Here are extension for Database Model, WebSocket
AddSocketConnectionToCentalList(newWebSocket,socketAPIPath) method
Summary
Add WeSocket Connection To Central List
Parameters
Name | Type | Description |
---|---|---|
newWebSocket | System.Net.WebSockets.WebSocket | The new web socket. |
socketAPIPath | System.String | The socket path. |
BindList``1(dt) method
Summary
Extension For Using Custom Defined Tables from Database Procedures Its used as Database Context Extension as 'CollectionFromSql' Method in Database Context
Returns
Parameters
Name | Type | Description |
---|---|---|
dt | System.Data.DataTable | The dt. |
Generic Types
Name | Description |
---|---|
T |
DisposeSocketConnectionsWithTimeOut() method
Summary
!! Global Method for Simple Using WebSockets WebSocket Disposed - Cleaning monitored Sockets from Central List. Are Closed and Disposed Only with Timeout or with closed Connection
Parameters
This method has no parameters.
ListenClientWebSocketMessages(webSocket,socketAPIPath) method
Summary
Register Listening Client WebSocket Communication Ist for Receive messages from Client
Returns
Parameters
Name | Type | Description |
---|---|---|
webSocket | System.Net.WebSockets.WebSocket | |
socketAPIPath | System.String |
SendMessageAndUpdateWebSocketsInSpecificPath(socketAPIPath,message) method
Summary
Sends the message and update web sockets in specific path.
Parameters
Name | Type | Description |
---|---|---|
socketAPIPath | System.String | The socket API path. |
message | System.String | The message. |
SendMessageToClientSocket(webSocket,message) method
Summary
Sends the message to client WebSocket. This Is Used by "SendMessageAndUpdateWebSocketsInSpecificPath" For Update Informaions on All Connections in Same WebSocket Path Its Solution FOR Teminals, Group Communications, etc.
Parameters
Name | Type | Description |
---|---|---|
webSocket | System.Net.WebSockets.WebSocket | The web socket. |
message | System.String | The message. |
ServerCoreLoggerWS type
Namespace
EASYDATACenter.ServerCoreDBSettings
Summary
WEBSocket Template still not used Ideal for Terminal Panels, chat, controlling services
Echo(context,webSocket) method
Summary
WebSocket Communication Set Examle
Returns
Parameters
Name | Type | Description |
---|---|---|
context | Microsoft.AspNetCore.Http.HttpContext | The context. |
webSocket | System.Net.WebSockets.WebSocket | The web socket. |
Get() method
Summary
WebSocket Registration Connection API Example
Returns
Parameters
This method has no parameters.
GetBySocketAPIPath(id) method
Summary
Universal WebSocket API Definitions for Connection Paths and Registering To Server Central List ow WebSocket Connections
Returns
Parameters
Name | Type | Description |
---|---|---|
id | System.String |
ServerCorePagesApi type
Namespace
EASYDATACenter.ServerCoreDBSettings
Summary
Server Core Web Pages Controller
See Also
ServerEmailerApi type
Namespace
EASYDATACenter.ServerCoreDBSettings
Summary
Server Email sender Api for logged Communication
See Also
ServerEnablingServices type
Namespace
EASYDATACenter.ServerCoreConfiguration
Summary
Server Core Enabling Settings of Security, API Communications, Technologies, Modules,Rules, Rights, Rules, Rights, Conditions, Cors, Cookies, Formats, Services, Logging, etc..
EnableCors() method
Summary
Server Cors Configuration
Parameters
This method has no parameters.
EnableEndpoints() method
Summary
Server Endpoints Configuration
Parameters
This method has no parameters.
EnableLogging(app,loggerFactory) method
Summary
Enable Server Logging in Debug Mode
Returns
Parameters
Name | Type | Description |
---|---|---|
app | Microsoft.AspNetCore.Builder.IApplicationBuilder@ | |
loggerFactory | Microsoft.Extensions.Logging.ILoggerFactory@ |
EnableWebSocket(app) method
Summary
Server WebSocket Configuration
Returns
Parameters
Name | Type | Description |
---|---|---|
app | Microsoft.AspNetCore.Builder.IApplicationBuilder@ |
ServerLocalDbDials type
Namespace
EASYDATACenter.ServerCoreDefinition
Summary
Special Functions: Definition of Selected tables for Optimal Using to Data nature Its saves traffic, increases availability and for Example implemented Language is in Develop Auto Fill Table when is First Using Its can be used for more Dials
ServerModules type
Namespace
EASYDATACenter.ServerCoreConfiguration
Summary
Configure Server Ad-dons and Modules
ConfigureCoreAdmin(services) method
Summary
Server Module: Automatic DB Data Manager for work with data directly services.AddCoreAdmin("Admin"); is Token RoleName
Parameters
Name | Type | Description |
---|---|---|
services | Microsoft.Extensions.DependencyInjection.IServiceCollection@ |
ConfigureDocumentation(services) method
Summary
Server Module: Generted Developer Documentation for Defvelopers Documentation contain full Server Structure for extremelly simple developing
Parameters
Name | Type | Description |
---|---|---|
services | Microsoft.Extensions.DependencyInjection.IServiceCollection@ |
ConfigureHealthCheck(services) method
Summary
Server Module: Automatic DB Data Manager for work with data directly
Parameters
Name | Type | Description |
---|---|---|
services | Microsoft.Extensions.DependencyInjection.IServiceCollection@ |
ConfigureSwagger(services) method
Summary
Server Module: Swagger Api Doc Generator And Online Tester Configuration
Parameters
Name | Type | Description |
---|---|---|
services | Microsoft.Extensions.DependencyInjection.IServiceCollection@ |
ServerModulesEnabling type
Namespace
EASYDATACenter.ServerCoreConfiguration
Summary
Enable Configured Server Ad-dons and Modules
EnableCoreAdmin() method
Summary
Server Module: Enable Swagger Api Doc Generator And Online Tester
Parameters
This method has no parameters.
EnableDocumentation() method
Summary
Server Module: Enable Generated Developer Documentation
Parameters
This method has no parameters.
EnableSwagger() method
Summary
Server Module: Enable Swagger Api Doc Generator And Online Tester
Parameters
This method has no parameters.
ServerRestartApi type
Namespace
EASYDATACenter.ServerCoreDBSettings
Summary
Server Restart Api for Remote Control
See Also
ServerRootApi type
Namespace
EASYDATACenter.ServerCoreDBSettings
Summary
Server Root Controller
See Also
Index() method
Summary
Server Root "/" Redirection to "server" Folder
Returns
Parameters
This method has no parameters.
ServerRuntimeData type
Namespace
EASYDATACenter.ServerCoreDefinition
Summary
The server runtime data.
CentralWebSocketList constants
Summary
Central WebSocket List for Easy one place Using
LocalDBTableList constants
Summary
The local db table list.
ServerArgs constants
Summary
Server Starup Args
ServerCancelToken constants
Summary
Cancellation Token for Server Remote Control
ServerCoreStatus constants
Summary
Server Core Status
ServerFTPProvider constants
Summary
Server Securited FTP Provider for Remote Control
ServerRestartRequest constants
Summary
Server Restart Request Indicator
ConfigFile property
Summary
Gets or Sets the configure file.
DataPath property
Summary
Gets or Sets the data path.
DebugMode property
Summary
Gets or Sets the debug mode.
Setting_folder property
Summary
Gets or Sets the setting_folder.
Startup_path property
Summary
Gets or Sets the startup_path.
ServerSettings type
Namespace
EASYDATACenter.ServerCoreDefinition
Summary
The server settings.
ConfigApiTokenTimeoutMin property
Summary
Bearer Token Timeout Setting in Minutes. Connection must be Refreshed in Interval After Timeout connection Must Login Again. It is as needed. You Can Change Key for close All connections Immediately. Timeout is good for Webpages Recomended: 15
ConfigCertificateDomain property
Summary
Its Domain for include to Automatic Generated Certificate For Server running on HTTPS. Domain is for Your validation Certificate Domain. Can be Changed for commercial. Recommended: 127.0.0.1
ConfigCertificatePassword property
Summary
Password will be inserted to Server Generated Certificate for HTTPS. Recommended: empty = Maximal Security Randomly generated 20 chars string
ConfigJwtLocalKey property
Summary
Special Functions:Server AutoGenerated encryption Key For Securing Communication On Each Server Restart All Tokens not will be valid and the Login Reconnect is Requested. Its AntiHacker Security Rule Recommended: empty = Maximal Security Randomly generated 40 chars string
ConfigMaxWebSocketBufferSizeKb property
Summary
Maximum socket message size for control Traffic Recomended: 10
ConfigServerStartupOnHttps property
Summary
Setting for Server URL Services. Logically can run only one Http or Https Server has more Security Setting Politics. Recommended: true
ConfigServerStartupPort property
Summary
Set Server Startup Port on Http/HttpS/WebSocket and for All Engines, Modules, API Controler and WebPages Recommended: 5000
ConfigWebSocketTimeoutMin property
Summary
WebSocket Timeout Connection Settings in Minutes. After timeout when not detected any communication socket is closed Set according to your need Recommended: 2
DatabaseConnectionString property
Summary
Server Database Connection string for Full Service of Database Migration/Api/Check/Unlimited Develop !!!Warning: Check this connection for Read/Write/Exec is enabled
DatabaseInternalCacheTimeoutMin property
Summary
Time in Minutes for Database Valid Cache Data and Refreshing Duplicit Functionality with Database Server Recommended: 30
DatabaseInternalCachingEnabled property
Summary
Enable Disable Entity Framework Internal Cache I recommend turning it off : from Logic, Duplicit Functionality with Database Server in complex process can generate problems Recommended: false
EmailerSMTPLoginPassword property
Summary
SMTP Password for Login to External Mail Server Its Necessary for Correct running Server Internal Core Monitoring
EmailerSMTPLoginUsername property
Summary
SMTP UserName for Login to External Mail Server Its Necessary for Correct running Server Internal Core Monitoring
EmailerSMTPPort property
Summary
SMTP Port for Login to External Mail Server Its Necessary for Correct running Server Internal Core Monitoring
EmailerSMTPServerAddress property
Summary
SMTP Server Address for Login to External Mail Server Its Necessary for Correct running Server Internal Core Monitoring
EmailerSMTPSslIsEnabled property
Summary
EmailerSMTPSslIsEnabled SSl Email Protocol for Login to External Mail Server Its Necessary for Correct running Server Internal Core Monitoring
EmailerServiceEmailAddress property
Summary
Service email, for info about not available service from HeatchCheck Can be used for next Develop, automatic checking problems, missing data and all other Its Necessary for Correct running Server Internal Core Monitoring
ModuleDataManagerEnabled property
Summary
Special Function: AutoGenerated Database DataManager for working with Data Running only in Debug mode for simple Develop, can be modified. All changes are Reflected after restart server
ModuleDbDiagramGeneratorEnabled property
Summary
Enable Automatic Database Diagram for Simple show Database structure with All bingings
ModuleHealthServiceEnabled property
Summary
Special Function: More than 200 Server Statuses Can be monitored by HeathCheckService, Over Net can Control Other Company Services Also as Central Control Point With Email Service. For Example: Server/Memory/All DB Types/IP/HDD/Port/Api/NET/Cloud/Environment Must be run for Metrics AddOn https://learn.microsoft.com/en-us/dotnet/architecture/microservices/implement-resilient-applications/monitor-app-health
ModuleHealthServiceRefreshIntervalSec property
Summary
Special Function: More than 200 Server Statuses Can be monitored by HeathCheckService, Over Net can Control Other Company Services Also as Central Control Point With Email Service. For Example: Server/Memory/All DB Types/IP/HDD/Port/Api/NET/Cloud/Environment Must be run for Metrics AddOn !!! run in Release mode for Good Reading of Logs without HeathChecks Cycling info https://github.com/Xabaril/AspNetCore.Diagnostics.HealthChecks https://testfully.io/blog/api-health-check-monitoring/
ModuleMdDocumentationEnabled property
Summary
Enable Server Structure Documentation for Developers Using RootPath, - Block File Browsing Is Good for Server with Documentation only Or Use for Show WebPage and Copy "Only HTML"
ModuleSwaggerApiDocEnabled property
Summary
Special Function: Server Automatically Generate Full Documentation of API structure AND Database Model. Plus Included API Interface for Online Testing All API Methods with Authentication Its Automatic Solution for Third Party cooperation. All changes are Reflected after restart server
ServerEnableWebSocketMonitor property
Summary
Server support online multi watch Logging Its Run on Websocket and the Log Messages are sent for All opened connections for wathing on Path: ServerCoreMonitor You can enable Mass Email Api
ServerFtpFreeEngineEnabled property
Summary
Enable FTP File Server oppened for every connection with full rights
ServerFtpSecurityEnabled property
Summary
Enable FTP Security For access to FTP must be logged
ServerMvcWebPagesEngineEnabled property
Summary
Enable Mvc WebPages support engine with Correct Configuration
ServerRazorWebPagesEngineEnabled property
Summary
Enable Razor WebPages support engine with Correct Configuration for Automaping form folder 'Pages'
ServerTimeTokenValidationEnabled property
Summary
Enable Disable Bearer Token Timeout Validation Token can be valid EveryTime to using: Example for machine connection Or is Control last activity
ServerWebBrowserEnabled property
Summary
Enable WebPages File Browsing from server Url on Server
ServerWebSocketEngineEnabled property
Summary
Enable WebSocket Engine with Default Example Api Controller
SpecialCoreCheckerEmailSenderActive property
Summary
Activation / Deactivation of Email Sender For Server Core Fails Checker All Catch Write to SendEmail, In Debug mode is Written in console in Release mode is Sended email (All incorrect server statuses are monitored) Can be writen to Database - !!! Warning for infinite Cycling (DB shutdown example) Recommended: true
SpecialEnableMassEmail property
Summary
Server support mass emailing as Service You can enable Mass Email Api
SpecialServerLanguage property
Summary
Server Language for Translating Server internal statuses Recommended: cz or en - other languages are not implemented
SpecialServerServiceName property
Summary
Server Service Name automatic figured in All IS/OS/Engines info Recommended: EASYDATACenter
SpecialUseDbLocalAutoupdatedDials property
Summary
Special Function: Using Selected Tables with AutoRefresh On change as Local DataSets, For Optimize Traffic. For Example LanguageList - Static table with often reading Recommended: true - functionality must be implemented in Server Code
ServiceHealthCheck type
Namespace
EASYDATACenter.ServerCoreDefinition
Microsoft#Extensions#Diagnostics#HealthChecks#IHealthCheck#CheckHealthAsync(context,cancellationToken) method
Summary
checks any service whether it ends normally or with an exception
Returns
Parameters
Name | Type | Description |
---|---|---|
context | Microsoft.Extensions.Diagnostics.HealthChecks.HealthCheckContext | |
cancellationToken | System.Threading.CancellationToken |
SetReportFilter type
Namespace
EASYDATACenter.ServerCoreDBSettings
Summary
Database Model Extension Definitions Its API Filter, Extended Classes, Translation, etc
Startup type
Namespace
EASYDATACenter
Summary
Server Startup Definitions
Configure(app,loggerFactory) method
Summary
Server Core: Main Enabling of Server Services, Technologies, Modules, etc..
Parameters
Name | Type | Description |
---|---|---|
app | Microsoft.AspNetCore.Builder.IApplicationBuilder | |
loggerFactory | Microsoft.Extensions.Logging.ILoggerFactory |
ConfigureServices(services) method
Summary
Server Core: Main Configure of Server Services, Technologies, Modules, etc..
Returns
void.
Parameters
Name | Type | Description |
---|---|---|
services | Microsoft.Extensions.DependencyInjection.IServiceCollection |
TemplateList type
Namespace
EASYDATACenter.DBModel
Summary
Template System Class, This Class has all DBLogic auto Fields and user join for simple creating system Only Rename for your new table
WebSocketExtension type
Namespace
EASYDATACenter.ServerCoreDefinition
Summary
WebSocket Extension Definition For Simple Central Control All Connection By Connection Path and Timeout
WebSocketLogProvider type
Namespace
EASYDATACenter.ServerCoreDefinition.ServerCoreHelpers
Summary
!!! Implemented Server Core WebSocket System LogProvider Stream This Is Special Serice For Remote Monitoring On More Devices in OneTime
See Also
WebSocketLogger type
Namespace
EASYDATACenter.ServerCoreDefinition.ServerCoreHelpers
Summary
Server Core WebSocket System Logger Interface
See Also
Log``1(logLevel,eventId,state,exception,formatter) method
Summary
Used to log the entry.
Parameters
Name | Type | Description |
---|---|---|
logLevel | Microsoft.Extensions.Logging.LogLevel | An instance of LogLevel. |
eventId | Microsoft.Extensions.Logging.EventId | The event's ID. An instance of EventId. |
state | ``0 | The event's state. |
exception | System.Exception | The event's exception. An instance of Exception |
formatter | System.Func{``0,System.Exception,System.String} | A delegate that formats |
Generic Types
Name | Description |
---|---|
TState |