Parameter Net-Worked-Data with your project!
In appsetting.json file add a section NWDWebRuntimeConfiguration.
Inside this section add :
Inside this section add :
- ProjectIdentity (example : 83308088 )
- EnvironmentKind
- Dev : 0
- PlayTest : 1
- Qualification : 2
- PreProduction : 4
- Production : 5
- PostProduction : 6
- PrivateKey (example : zytGUnNAmRNEIwXIeoszGWcACEYpwMxc )
- PublicKey (example : EwqvcOzGIDXsxFiyNwoFJGQmiWWqxcQJ )
- EditorToken (example : avYUdYynSdMrLQwCjPwVUzjUMxGmZuZv )
appsettings.json
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
},
"AllowedHosts": "*",
"Kestrel": {
"EndPoints": {
"Http": {
"Url": "http://localhost:4050"
},
"Https": {
"Url": "https://localhost:4051"
}
}
},
...
"NWDWebRuntimeConfiguration": {
"ProjectIdentity": "your-project-ProjectIdentity",
"EnvironmentKind": "5",
"PrivateKey": "your-project-PrivateKey",
"PublicKey": "your-project-PublicKey",
"EditorToken": "your-project-EditorToken",
...
},
...
}
SETUP TO REDACT
Parameter NWDWebHookSlack for your project!
In your Slack create an application "Incoming WebHooks" and copy "webhook URL".
In appsetting.json file add a section NWDWebHookSlackConfiguration.
Inside this section add :
Inside this section add :
- Hook (example : https://hooks.slack.com/services/MO4Dv3OiNmWz/KZQeOoCYo4ZC/JJXxW8speJSvQddsz0M1UBu5 )
appsettings.json
{
"Logging": {...},
"AllowedHosts": "*",
"Kestrel": {...},
...
"NWDWebHookSlackConfiguration": {
"Hook": "your webhook URL"
},
...
}
Parameter Net-Worked-Data with your project!
In appsetting.json file add a section NWDWebRuntimeConfiguration.
Inside this section add :
Inside this section add :
- ProjectIdentity (example : 6329512 )
-
EnvironmentKind
- Dev : 0
- PlayTest : 1
- Qualification : 2
- PreProduction : 4
- Production : 5
- PostProduction : 6
- PrivateKey (example : ptgkMbaqocPIBUNUuQSzQalicPXOdmNa )
- PublicKey (example : GuFhSnUGmyxIRDTIIHnsvfNZcxyXKTDf )
- EditorToken (example : JZZoHKUgQHAiFvPYoTymDJChcIyQLyfA )
appsettings.json
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
},
"AllowedHosts": "*",
"Kestrel": {
"EndPoints": {
"Http": {
"Url": "http://localhost:4050"
},
"Https": {
"Url": "https://localhost:4051"
}
}
},
...
"NWDWebRuntimeConfiguration": {
"ProjectIdentity": "your-project-ProjectIdentity",
"EnvironmentKind": "5",
"PrivateKey": "your-project-PrivateKey",
"PublicKey": "your-project-PublicKey",
"EditorToken": "your-project-EditorToken",
...
},
...
}
Add your website's information
In appsetting.json file add a section NWDWebRuntimeConfiguration.
Inside this section add :
Inside this section add :
- Dns (example : etl-game.ooabab.com )
- Secure if use https (example : true )
- WebSiteName (example : ETL-Game )
- WebSiteShortName (example : ETLG )
- WebSiteInitials (example : EG )
- SupportLanguage in standard country-language codes separated by commat , see ISO-639 and ISO-3166 code to generate the approprieted country-language code to use. (example : System.Collections.Generic.HashSet`1[System.String] )
appsettings.json
{
"Logging": {...},
"AllowedHosts": "*",
"Kestrel": {...},
...
"NWDWebRuntimeConfiguration": {
...
"Dns": "www.your-website.com",
"Secure": "true/false",
"WebSiteName": "your-website-WebSiteName",
"WebSiteShortName": "your-website-WebSiteShortName",
"WebSiteInitials": "your-website-WebSiteInitials",
"SupportLanguage": "your-website-SupportLanguage",
...
},
...
}
Add your gitlab information
In appsetting.json file add a section NWDWebRuntimeConfiguration.
Inside this section add :
Inside this section add :
- GitCommit (example : GITunknowCOMMIT )
- GitCommitShort (example : )
- PipelineDate (example : )
- PipelineJob (example : )
- GitCommit = GIT_COMMIT
- GitCommitShort = GIT_COMMIT_SHORT
- PipelineDate = PIPELINE_DATE
- PipelineJob = PIPELINE_JOB
appsettings.json
{
"Logging": {...},
"AllowedHosts": "*",
"Kestrel": {...},
...
"NWDWebRuntimeConfiguration": {
...
"GitCommit": "GIT_COMMIT",
"GitCommitShort": "GIT_COMMIT_SHORT",
"PipelineDate": "PIPELINE_DATE",
"PipelineJob": "PIPELINE_JOB",
...
},
...
}
Add EmailPassword authentification process
In appsetting.json file in section NWDWebRuntimeConfiguration add :
- AddAccountSignEmailPassword with value to true
appsettings.json
{
"Logging": {...},
"AllowedHosts": "*",
"Kestrel": {...},
...
"NWDWebRuntimeConfiguration": {
...
"AddAccountSignEmailPassword": "true",
...
},
...
}
Add LoginPassword authentification process
In appsetting.json file in section NWDWebRuntimeConfiguration add :
- AddAccountSignLoginPassword with value to true
appsettings.json
{
"Logging": {...},
"AllowedHosts": "*",
"Kestrel": {...},
...
"NWDWebRuntimeConfiguration": {
...
"AddAccountSignLoginPassword": "true",
...
},
...
}
Add LoginEmailPassword authentification process
In appsetting.json file in section NWDWebRuntimeConfiguration add :
- AddAccountSignLoginPasswordEmail with value to true
appsettings.json
{
"Logging": {...},
"AllowedHosts": "*",
"Kestrel": {...},
...
"NWDWebRuntimeConfiguration": {
...
"AddAccountSignLoginPasswordEmail": "true",
...
},
...
}
Go to https://developer.facebook.com/apps/ and create a new application for this website.
Redirect URL is ~/NWDAccount/FacebookRedirect/
Redirect URL is ~/NWDAccount/FacebookRedirect/
Change can take long time!
In appsetting.json file in section NWDWebRuntimeConfiguration add :
- AddFacebookSign with value to true
- FacebookClientId and insert Facebook client ID
- FacebookClientSecret and insert Facebook client secret
appsettings.json
{
"Logging": {...},
"AllowedHosts": "*",
"Kestrel": {...},
...
"NWDWebRuntimeConfiguration": {
...
"AddFacebookSign": "true",
"FacebookClientId": "1393783295530129",
"FacebookClientSecret": "9K7lZn7SxCyyKeYN2taFSxin2S5gBJMB",
...
},
...
}
Go to https://console.cloud.google.com/apis/credentials/ and create a new OAuth 2.0 Client IDs credential for this website.
Redirect URL is ~/NWDAccount/GoogleRedirect/
Redirect URL is ~/NWDAccount/GoogleRedirect/
-
Add in Authorized JavaScript origins :
- https://www.your-website.com
- https://localhost:4051
- http://localhost:4050
-
Add in Authorized redirect URIs :
- https://www.your-website.com/NWDAccount/GoogleRedirect/
- https://localhost:4051/NWDAccount/GoogleRedirect/
- http://localhost:4050/NWDAccount/GoogleRedirect/
Change can take long time!
In appsetting.json file in section NWDWebRuntimeConfiguration add :
- AddGoogleSign with value to true
- GoogleClientId and insert Google client ID
- GoogleClientSecret and insert Google client secret
appsettings.json
{
"Logging": {...},
"AllowedHosts": "*",
"Kestrel": {...},
...
"NWDWebRuntimeConfiguration": {
...
"AddGoogleSign": "true",
"GoogleClientId": "5087364995499308",
"GoogleClientSecret": "bZsItmR1LMDWFoiYeOdLvCaSwA2H7rJv",
...
},
...
}
Go to https://www.linkedin.com/developers/apps and create a new App for this website.
Redirect URL is ~/NWDAccount/LinkedInRedirect/
Redirect URL is ~/NWDAccount/LinkedInRedirect/
-
Add in Authorized redirect URIs :
- https://www.your-website.com/NWDAccount/LinkedInRedirect/
- https://localhost:4051/NWDAccount/LinkedInRedirect/
- http://localhost:4050/NWDAccount/LinkedInRedirect/
Change can take long time!
In appsetting.json file in section NWDWebRuntimeConfiguration add :
- AddLinkedInSign with value to true
- LinkedInClientId and insert LinkedIn client ID
- LinkedInClientSecret and insert LinkedIn client secret
appsettings.json
{
"Logging": {...},
"AllowedHosts": "*",
"Kestrel": {...},
...
"NWDWebRuntimeConfiguration": {
...
"AddLinkedInSign": "true",
"LinkedInClientId": "8068147461184069",
"LinkedInClientSecret": "gkvstSD8Ba9KXYFA5SPnoSd28OEgt5N2",
...
},
...
}
Go to https://developer.twitter.com and create a new project for this website.
Redirect URL is ~/NWDAccount/TwitterRedirect/
Redirect URL is ~/NWDAccount/TwitterRedirect/
-
Add in Authorized redirect URIs :
- https://www.your-website.com/NWDAccount/TwitterRedirect/
- https://localhost:4051/NWDAccount/TwitterRedirect/
- http://localhost:4050/NWDAccount/TwitterRedirect/
Change can take long time!
In appsetting.json file in section NWDWebRuntimeConfiguration add :
- AddTwitterSign with value to true
- TwitterClientId and insert Twitter client ID
- TwitterClientSecret and insert Twitter client secret
appsettings.json
{
"Logging": {...},
"AllowedHosts": "*",
"Kestrel": {...},
...
"NWDWebRuntimeConfiguration": {
...
"AddTwitterSign": "true",
"TwitterClientId": "451605271498413",
"TwitterClientSecret": "9tRmKmRnvAcyj5KNy2rJv2IadvwKLA2M",
...
},
...
}
Go to https://www.Apple.com/developers/apps and create a new App for this website.
Redirect URL is ~/NWDAccount/AppleRedirect/
Redirect URL is ~/NWDAccount/AppleRedirect/
Example of Key value :
AuthKey_PPLIOARHTN.p8
-----BEGIN PRIVATE KEY-----
kUfPYkCJrBBTGfWW7cUlcNgGcX2qDAaLk0eQq9kDitBXAt2S5Y4eqa0U7NiXgzkN
EtN3WgIG80AfHAqlGVkH2Cw23b94ZZCEMrLLUUOFM4TduE7iL033lXsYn350LnlK
Y8U16TOmAQMq6orwvPjeAABJoWUAQBkboaD6kztKFq2iIQg7SIbM83x1ObAVsjhA
m1LnDMdX
-----END PRIVATE KEY-----
-
Add in Authorized redirect URIs :
- https://www.your-website.com/NWDAccount/AppleRedirect/
Change can take long time!
In appsetting.json file in section NWDWebRuntimeConfiguration add :
- AddAppleSign with value to true
- AppleClientId and insert App client ID
- AppleTeamId and insert Apple Team ID
- AppleKeyId and insert the Key ID (in the name of AuthKey_PPLIOARHTN.p8 file)
- AppleKeyValue and insert the value of the file, removing the
`-----BEGIN PRIVATE KEY-----`and`-----END PRIVATE KEY-----`prefix and suffix, and insert line by line in a string array.
appsettings.json
{
"Logging": {...},
"AllowedHosts": "*",
"Kestrel": {...},
...
"NWDWebRuntimeConfiguration": {
...
"AddAppleSign": "true",
"AppleClientId": "com.my-website.app",
"AppleTeamId": "8986571304",
"AppleKeyId": "PPLIOARHTN",
"AppleKeyValue": [
"kUfPYkCJrBBTGfWW7cUlcNgGcX2qDAaLk0eQq9kDitBXAt2S5Y4eqa0U7NiXgzkN",
"EtN3WgIG80AfHAqlGVkH2Cw23b94ZZCEMrLLUUOFM4TduE7iL033lXsYn350LnlK",
"Y8U16TOmAQMq6orwvPjeAABJoWUAQBkboaD6kztKFq2iIQg7SIbM83x1ObAVsjhA",
"m1LnDMdX",
],
...
},
...
}
Go to https://www.Microsoft.com/developers/apps and create a new App for this website.
Redirect URL is ~/NWDAccount/MicrosoftRedirect/
Redirect URL is ~/NWDAccount/MicrosoftRedirect/
-
Add in Authorized redirect URIs :
- https://www.your-website.com/NWDAccount/MicrosoftRedirect/
- https://localhost:4051/NWDAccount/MicrosoftRedirect/
- http://localhost:4050/NWDAccount/MicrosoftRedirect/
Change can take long time!
In appsetting.json file in section NWDWebRuntimeConfiguration add :
- AddMicrosoftSign with value to true
- MicrosoftClientId and insert Microsoft client ID
- MicrosoftClientSecret and insert Microsoft client secret
appsettings.json
{
"Logging": {...},
"AllowedHosts": "*",
"Kestrel": {...},
...
"NWDWebRuntimeConfiguration": {
...
"AddMicrosoftSign": "true",
"MicrosoftClientId": "3881653990095334",
"MicrosoftClientSecret": "dppkTWpIe7K6V2mXyEqvBwXj4yiJlKR2",
...
},
...
}
Add your society's information!
In appsetting.json file in section NWDWebRuntimeConfiguration add :
- SocietyName and insert your society's name
- SocietyAddress and insert your society's postal address
- SocietyTown and insert your society's town
- SocietyZipCode and insert your society's zip code
- SocietyCountry and insert your society's country
- SocietySiret and insert your society's offical number
- SocietyApe and insert your society's offical code
- SocietyRcs and insert your society's offical office dependence
- SocietyTva and insert your society's international tax number
appsettings.json
{
"Logging": {...},
"AllowedHosts": "*",
"Kestrel": {...},
...
"NWDWebRuntimeConfiguration": {
...
"SocietyName": "idéMobi",
"SocietyAddress": "43, rue d'Atlanta",
"SocietyTown": "Marcq-En-Barœul",
"SocietyZipCode": "59700",
"SocietyCountry": "FRANCE",
"SocietySiret": "44424955100011",
"SocietyApe": "7722C",
"SocietyRcs": "LILLE",
"SocietyTva": "FR93444249551",
...
},
...
}
Nothing to do to configure this package.
NWDFoundation
NWDRuntime
NWDStandardModels
NWDCustomModels
NWDWebRuntime
NWDWebEmailSender
NWDWebHookSlack
NWDWebStandard
BBOExtractTransformLoad