From e64dad8db49deb6ada2951750bb5d276a0497f26 Mon Sep 17 00:00:00 2001 From: Martin Mena Date: Fri, 18 Dec 2020 11:14:13 -0800 Subject: [PATCH 1/2] Update dependencies and add some config stuff --- .gitignore | 4 +- README.md | 2 +- VideoAccessTokenServer/.mergify | 8 ++ VideoAccessTokenServer/Local.config.example | 6 ++ .../VideoAccessTokenServer.csproj | 82 ++++++++++--------- VideoAccessTokenServer/Web.config | 51 ++++++++++++ VideoAccessTokenServer/packages.config | 23 +++--- 7 files changed, 122 insertions(+), 54 deletions(-) create mode 100644 VideoAccessTokenServer/.mergify create mode 100644 VideoAccessTokenServer/Local.config.example create mode 100644 VideoAccessTokenServer/Web.config diff --git a/.gitignore b/.gitignore index 8345878..89e439e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,5 @@ -# Ignore Web.config, which contains app keys -VideoAccessTokenServer/Web.config +# Ignore Local.config, which contains app keys +VideoAccessTokenServer/Local.config ## Ignore Visual Studio temporary files, build results, and ## files generated by popular Visual Studio add-ons. diff --git a/README.md b/README.md index 65979d3..3e3ad1d 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ or possibly your system environment variables. ## Setting up the Application -After downloading the repo, copy the `VideoAccessTokenServer/Web.config.example` to `Web.config` in the same directory. Next, open up `VideoAccessTokenServer.sln` in Visual Studio. Edit `Web.config` with the three values we obtained above: +After downloading the repo, copy the `VideoAccessTokenServer/Local.config.example` to `Local.config` in the same directory. Next, open up `VideoAccessTokenServer.sln` in Visual Studio. Edit `Local.config` with the three values we obtained above: ```xml diff --git a/VideoAccessTokenServer/.mergify b/VideoAccessTokenServer/.mergify new file mode 100644 index 0000000..07e551b --- /dev/null +++ b/VideoAccessTokenServer/.mergify @@ -0,0 +1,8 @@ +pull_request_rules: + - name: automatic merge for Dependabot pull requests + conditions: + - author=dependabot-preview[bot] + - status-success=build + actions: + merge: + method: squash diff --git a/VideoAccessTokenServer/Local.config.example b/VideoAccessTokenServer/Local.config.example new file mode 100644 index 0000000..da8f85e --- /dev/null +++ b/VideoAccessTokenServer/Local.config.example @@ -0,0 +1,6 @@ + + + + + + diff --git a/VideoAccessTokenServer/VideoAccessTokenServer.csproj b/VideoAccessTokenServer/VideoAccessTokenServer.csproj index c6f72e7..b0398b6 100755 --- a/VideoAccessTokenServer/VideoAccessTokenServer.csproj +++ b/VideoAccessTokenServer/VideoAccessTokenServer.csproj @@ -1,7 +1,6 @@  - - + Debug @@ -24,6 +23,7 @@ + true @@ -43,27 +43,27 @@ 4 - - ..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.1.0.0\lib\net45\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.dll - True + + ..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.3.6.0\lib\net45\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.dll - - ..\packages\Microsoft.IdentityModel.Logging.1.1.2\lib\net451\Microsoft.IdentityModel.Logging.dll - True + + ..\packages\Microsoft.IdentityModel.JsonWebTokens.6.8.0\lib\net45\Microsoft.IdentityModel.JsonWebTokens.dll - - ..\packages\Microsoft.IdentityModel.Tokens.5.1.2\lib\net451\Microsoft.IdentityModel.Tokens.dll - True + + ..\packages\Microsoft.IdentityModel.Logging.6.8.0\lib\net45\Microsoft.IdentityModel.Logging.dll - - ..\packages\Newtonsoft.Json.9.0.1\lib\net45\Newtonsoft.Json.dll - True + + ..\packages\Microsoft.IdentityModel.Tokens.6.8.0\lib\net45\Microsoft.IdentityModel.Tokens.dll - - ..\packages\System.IdentityModel.Tokens.Jwt.5.1.2\lib\net451\System.IdentityModel.Tokens.Jwt.dll - True + + ..\packages\Newtonsoft.Json.12.0.3\lib\net45\Newtonsoft.Json.dll + + ..\packages\System.IdentityModel.Tokens.Jwt.6.8.0\lib\net45\System.IdentityModel.Tokens.Jwt.dll + + + @@ -73,6 +73,24 @@ + + ..\packages\Microsoft.AspNet.WebPages.3.2.7\lib\net45\System.Web.Helpers.dll + + + ..\packages\Microsoft.AspNet.Mvc.5.2.7\lib\net45\System.Web.Mvc.dll + + + ..\packages\Microsoft.AspNet.Razor.3.2.7\lib\net45\System.Web.Razor.dll + + + ..\packages\Microsoft.AspNet.WebPages.3.2.7\lib\net45\System.Web.WebPages.dll + + + ..\packages\Microsoft.AspNet.WebPages.3.2.7\lib\net45\System.Web.WebPages.Deployment.dll + + + ..\packages\Microsoft.AspNet.WebPages.3.2.7\lib\net45\System.Web.WebPages.Razor.dll + @@ -80,33 +98,14 @@ - - ..\packages\Twilio.5.4.0\lib\net451\Twilio.dll - True + + ..\packages\Twilio.5.52.1\lib\net451\Twilio.dll - - ..\packages\Microsoft.AspNet.Razor.3.2.3\lib\net45\System.Web.Razor.dll - - - ..\packages\Microsoft.AspNet.Webpages.3.2.3\lib\net45\System.Web.Webpages.dll - - - ..\packages\Microsoft.AspNet.Webpages.3.2.3\lib\net45\System.Web.Webpages.Deployment.dll - - - ..\packages\Microsoft.AspNet.Webpages.3.2.3\lib\net45\System.Web.Webpages.Razor.dll - - - ..\packages\Microsoft.AspNet.Webpages.3.2.3\lib\net45\System.Web.Helpers.dll - ..\packages\Microsoft.Web.Infrastructure.1.0.0.0\lib\net40\Microsoft.Web.Infrastructure.dll - - ..\packages\Microsoft.AspNet.Mvc.5.2.3\lib\net45\System.Web.Mvc.dll - @@ -123,6 +122,8 @@ + + Web.config @@ -160,12 +161,13 @@ + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/VideoAccessTokenServer/packages.config b/VideoAccessTokenServer/packages.config index 1d7c984..5561bfb 100755 --- a/VideoAccessTokenServer/packages.config +++ b/VideoAccessTokenServer/packages.config @@ -1,14 +1,15 @@  - - - - - - - + + + + + + + + - - - - \ No newline at end of file + + + + From fcc876e4a04408bb201350596f18666c20e0e5ce Mon Sep 17 00:00:00 2001 From: Martin Mena Date: Fri, 18 Dec 2020 12:38:49 -0800 Subject: [PATCH 2/2] Update .Net framework to 4.7.2 --- .../VideoAccessTokenServer.csproj | 8 +-- VideoAccessTokenServer/Web.config | 50 +++++++++++-------- VideoAccessTokenServer/packages.config | 12 ++--- 3 files changed, 39 insertions(+), 31 deletions(-) diff --git a/VideoAccessTokenServer/VideoAccessTokenServer.csproj b/VideoAccessTokenServer/VideoAccessTokenServer.csproj index b0398b6..54ae0fc 100755 --- a/VideoAccessTokenServer/VideoAccessTokenServer.csproj +++ b/VideoAccessTokenServer/VideoAccessTokenServer.csproj @@ -14,7 +14,7 @@ Properties VideoAccessTokenServer VideoAccessTokenServer - v4.5.2 + v4.7.2 true @@ -24,6 +24,7 @@ + true @@ -59,6 +60,7 @@ ..\packages\Newtonsoft.Json.12.0.3\lib\net45\Newtonsoft.Json.dll + ..\packages\System.IdentityModel.Tokens.Jwt.6.8.0\lib\net45\System.IdentityModel.Tokens.Jwt.dll @@ -70,8 +72,6 @@ - - ..\packages\Microsoft.AspNet.WebPages.3.2.7\lib\net45\System.Web.Helpers.dll @@ -91,13 +91,13 @@ ..\packages\Microsoft.AspNet.WebPages.3.2.7\lib\net45\System.Web.WebPages.Razor.dll - + ..\packages\Twilio.5.52.1\lib\net451\Twilio.dll diff --git a/VideoAccessTokenServer/Web.config b/VideoAccessTokenServer/Web.config index a8053d3..bdf1de2 100644 --- a/VideoAccessTokenServer/Web.config +++ b/VideoAccessTokenServer/Web.config @@ -1,51 +1,59 @@ - + - - - - + + + + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + diff --git a/VideoAccessTokenServer/packages.config b/VideoAccessTokenServer/packages.config index 5561bfb..80ba909 100755 --- a/VideoAccessTokenServer/packages.config +++ b/VideoAccessTokenServer/packages.config @@ -3,13 +3,13 @@ - - - - - + + + + + - +