View Program.cs
using System; | |
using System.Linq; | |
using System.Linq.Expressions; | |
using Microsoft.EntityFrameworkCore; | |
using Microsoft.EntityFrameworkCore.Diagnostics; | |
using Microsoft.Extensions.Logging; | |
namespace ProjectionCriteria | |
{ | |
public interface ISomeable |
View dotenv_2_mt_reliability_workaround_vendor.patch
This is a workaround patch for `getenv()` unstable behavior in multithreaded "PHP as Apache module" environments | |
(e.g. some prepackaged WAMP stacks). | |
See | |
https://github.com/vlucas/phpdotenv/issues/76 | |
https://github.com/vlucas/phpdotenv/issues/163 | |
This fix is intended only for development environments, the same as Dotenv itself. | |
The paths are based on Composer's vendor directory. | |
diff --git a/vendor/vlucas/phpdotenv/src/Dotenv.php b/vendor/vlucas/phpdotenv/src/Dotenv.php | |
index 0737a70..d734a8b 100644 | |
--- a/vendor/vlucas/phpdotenv/src/Dotenv.php |
View laravel_5_x_getenv_dotenv_mt_reliability_workaround.patch
This is a workaround patch for `getenv()` unstable behavior in multithreaded "PHP as Apache module" environments | |
(e.g. some prepackaged WAMP stacks). | |
See | |
https://github.com/vlucas/phpdotenv/issues/76 | |
https://github.com/vlucas/phpdotenv/issues/163 | |
This fix is intended only for development environments, the same as Dotenv itself. | |
In production, you should use Laravel's `config:cache` command to avoid `env` helper and Dotenv altogether. | |
The paths are based on Composer's vendor directory. | |
diff --git a/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/DetectEnvironment.php b/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/DetectEnvironment.php | |
index 673ce3a..f250729 100644 |
View Basic unit-of-work for Laravel
Simple contract or interface, call as you wish: | |
interface UnitOfWork | |
{ | |
public function begin(); | |
public function commit(); | |
public function rollback(); | |
} |
View dotenv_1_1_1_concurrent_fix_vendor.patch
Fix for Dotenv and Laravel issues with concurrent requests failing because of PHP threaded getenv/putenv implementation. | |
diff --git a/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php b/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php | |
index de5939e..715673d 100644 | |
--- a/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php | |
+++ b/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php | |
@@ -625,10 +625,15 @@ if (!function_exists('env')) | |
*/ | |
function env($key, $default = null) | |
{ |
View laravel_5_1_7_session_write_improvements_vendor.patch
Improvement to prevent writing session data even if it has not changed. | |
Improvement to specify session metadata update frequency in session configuration instead of updating on every request. | |
These both improvements will also reduce the risk for race conditions for concurrent requests. | |
Also, add 'metadata_update_threshold' => 1, to your config/session.php | |
diff --git a/vendor/laravel/framework/src/Illuminate/Session/EncryptedStore.php b/vendor/laravel/framework/src/Illuminate/Session/EncryptedStore.php | |
index edf34b8..0b5b763 100644 | |
--- a/vendor/laravel/framework/src/Illuminate/Session/EncryptedStore.php | |
+++ b/vendor/laravel/framework/src/Illuminate/Session/EncryptedStore.php | |
@@ -22,12 +22,13 @@ |
View session_write_improvements.patch
Improvement to prevent writing session data even if it has not changed. | |
Improvement to specify session metadata update frequency in session configuration instead of updating on every request. | |
These both improvements will also reduce the risk for race conditions for concurrent requests. | |
Also, add 'metadata_update_threshold' => 1, to your config/session.php | |
diff --git a/vendor/laravel/framework/src/Illuminate/Session/EncryptedStore.php b/vendor/laravel/framework/src/Illuminate/Session/EncryptedStore.php | |
index edf34b8..0b5b763 100644 | |
--- a/vendor/laravel/framework/src/Illuminate/Session/EncryptedStore.php | |
+++ b/vendor/laravel/framework/src/Illuminate/Session/EncryptedStore.php | |
@@ -20,13 +20,14 @@ |
View dotenv_concurrent_fix.patch
Fix for Dotenv and Laravel issues with concurrent requests failing because of PHP threaded getenv/putenv implementation. | |
diff --git a/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php b/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php | |
index de5939e..715673d 100644 | |
--- a/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php | |
+++ b/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php | |
@@ -603,9 +603,14 @@ if ( ! function_exists('env')) | |
*/ | |
function env($key, $default = null) | |
{ |