Skip to content

Instantly share code, notes, and snippets.

@nickpagz
Last active June 8, 2019 14:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nickpagz/b159a471a51c172f4f4600a6c2c7d513 to your computer and use it in GitHub Desktop.
Save nickpagz/b159a471a51c172f4f4600a6c2c7d513 to your computer and use it in GitHub Desktop.
Adding signalr route

Just a readme file

public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
{
//
// Omitted standard content for brevity...
//
app.UseSignalR(cfg => cfg.MapHub<FeedHub>("/feed"));
}
<?php
/**
* The base configuration for WordPress
*
* The wp-config.php creation script uses this file during the
* installation. You don't have to use the web site, you can
* copy this file to "wp-config.php" and fill in the values.
*
* This example only includes a small portion of the file you would normally get.
*
* @link https://codex.wordpress.org/Editing_wp-config.php
*
* @package WordPress
*/
define( 'WP_DEBUG', true );
if ( WP_DEBUG ) {
@error_reporting( E_ALL );
@ini_set( 'log_errors', true );
@ini_set( 'log_errors_max_len', '0' );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );
define( 'CONCATENATE_SCRIPTS', false );
define( 'SAVEQUERIES', true );
}
<?php
/**
* The base configuration for WordPress
*
* The wp-config.php creation script uses this file during the
* installation. You don't have to use the web site, you can
* copy this file to "wp-config.php" and fill in the values.
*
* This example only includes a small portion of the file you would normally get.
*
* @link https://codex.wordpress.org/Editing_wp-config.php
*
* @package WordPress
*/
define( 'WP_DEBUG', true );
if ( WP_DEBUG ) {
@error_reporting( E_ALL );
@ini_set( 'log_errors', true );
@ini_set( 'log_errors_max_len', '0' );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );
define( 'CONCATENATE_SCRIPTS', false );
define( 'SAVEQUERIES', true );
}
@nickpagz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment