This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var SITE_URL = "https://theurlofyourwebsitethisisrunningon.com"; | |
var IDENTITY_URL = "https://yourenant.eu.auth0.com/"; | |
var config = { | |
authority: IDENTITY_URL, | |
client_id: "YourAuth0ClientId", | |
loadUserInfo : true, | |
post_logout_redirect_uri : SITE_URL + "/your-logout-callback-path", | |
redirect_uri: SITE_URL + "/your-callback-path", | |
response_type: "code", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var SITE_URL = "https://theurlofyourwebsitethisisrunningon.com"; | |
var IDENTITY_URL = "https://youridentityserver.com/"; | |
var config = { | |
authority: IDENTITY_URL, | |
client_id: "YourClientId", | |
loadUserInfo : true, | |
post_logout_redirect_uri : SITE_URL + "/your-logout-callback-path", | |
redirect_uri: SITE_URL + "/your-callback-path", | |
response_type: "code", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM microsoft/windowsservercore | |
SHELL ["powershell"] | |
ENV CATALINA_HOME C:\\Tomcat\\apache-tomcat-8.5.9 | |
RUN C:\Tomcat\apache-tomcat-8.5.9\bin\service.bat install | |
ADD Search/solr C:\\Tomcat\\apache-tomcat-8.5.9\\solr | |
ENTRYPOINT ["C:\\ServiceMonitor.exe", "Tomcat8"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ENV JRE_HOME C:\\Java\\jre1.8.0_91 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2.1' | |
services: | |
web: | |
build: | |
context: . | |
dockerfile: Web.dockerfile | |
depends_on: | |
- db | |
db: | |
build: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2.1' | |
services: | |
web: | |
build: | |
context: . | |
dockerfile: Web.dockerfile | |
depends_on: | |
- db | |
db: | |
build: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
networks: | |
default: | |
external: | |
name: nat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker pull microsoft/windowsservercore | |
docker pull microsoft/mssql-server-windows-express |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using Telligent.Evolution.Extensibility.Api.Version1; | |
using Telligent.Evolution.Extensibility.Version1; | |
namespace ClassLibrary2 | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private readonly Regex _iframeRegex = new Regex(@"<iframe(.*)src=""(?<url>[^""].*?)""(.*?)/>", RegexOptions.Compiled | RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); | |
public string Body | |
{ | |
get | |
{ | |
return _iframeRegex.Replace(_body, (match) => | |
{ | |
return string.Format(@"<iframe src=""{0}"" frameborder=""0"" webkitallowfullscreen="""" mozallowfullscreen="""" allowfullscreen=""""></iframe>", match.Groups["url"].Value); | |
}); |
NewerOlder