David Barker
7566643369
Issues with the version number as 3.1.1
...
nuspec suggests that this is greater than or equal to
VS code reports error, changing this to 3.1.12 resolves this error?
2021-03-04 00:35:20 +08:00
David Barker
21082165d6
Update nuspec to 3.1 version to match aspnetcore3.1
...
Add pack.ps1 to build the nuget package using dotnet pack
2021-03-03 17:24:09 +08:00
David Barker
4c8bd6a225
Removed AspNet 2.2 dependencies from test application
2021-03-03 16:54:23 +08:00
David Barker
91329b8653
Updated tests based on changes to AspNet Identity Core
...
Added .AddDefaultTokenProviders() after the call to ConfigureMongoDbIdentity
Note: There are four places in the test project
Added .AddAuthentication() to register all the authentication types
Fixed aspnetsettings.json IncludeScopes to empty object, not false
Updated unit test packages to latest version
Added project reference for unit test rather than package reference
Removed all references to AspNet framework assemblies as these are now part of the netcoreapp3.1
2021-03-03 16:04:49 +08:00
David Barker
c39a8b3109
Removed AspNet 2.2 dependencies
...
Included Microsoft.Extensions.Identity.Core instead of Microsoft.AspNetCore.Identity
Changed initialisation to return the IdentityBuilder so that the token providers can be set independently
Had to remove AddDefaultTokenProviders as this is part of the AspNet 3.1 framework and not dotnet standard 2.1
2021-03-03 15:51:44 +08:00
d-barker
758735560e
Merge pull request #1 from alexandre-spieser/master
...
Pull latest changes
2021-03-03 15:00:44 +08:00
Alexandre SPIESER
dd56195366
Update README.md
2020-06-09 17:19:58 +01:00
Alexandre SPIESER
e8a788c314
Update README.md
2020-06-05 07:29:07 +01:00
Alexandre SPIESER
51a40cfd57
Merge pull request #31 from alexandre-spieser/alex/release/2.1.1
...
Alex/release/2.1.1
2020-05-17 18:59:32 +01:00
Alexandre SPIESER
4bdaa5faee
new release pushed
2020-05-17 18:58:50 +01:00
Alexandre SPIESER
581a630bc9
added another 2nd document update to ensure it works consecutively
2020-05-17 17:42:49 +01:00
Alexandre SPIESER
b45564a291
added test to validate that updates works
2020-05-17 17:36:26 +01:00
Alexandre SPIESER
35013795ea
bug fixes, upgrade to latest MongoDbGenericRepository package
2020-05-17 16:35:35 +01:00
Alexandre SPIESER
026d4720bc
Merge pull request #30 from mjebrahimi/master
...
[BugFix]: Set name parameter to the Name property
2020-05-17 15:17:01 +01:00
Mohammad Javad Ebrahimi
b1597c1900
[BugFix]: Set name parameter to the Name property
...
[BugFix]: Set name parameter to the Name property. related to #29 issue
2020-05-16 01:23:33 +04:30
Alexandre SPIESER
57827c64b2
fix runtime errors due to different mongodb driver versions.
2020-01-27 22:25:34 +00:00
Alexandre SPIESER
b3db4eb39f
Merge pull request #25 from d-barker/master
...
Migrate MVC project to netcoreapp3.1
2020-01-27 21:15:14 +00:00
d-barker
c544f0e8e8
Update azure-pipelines.yml for Azure Pipelines
2020-01-24 17:17:50 +08:00
d-barker
33434bd965
Update azure-pipelines.yml for Azure Pipelines
2020-01-24 17:10:10 +08:00
d-barker
68b5e63b4e
Update azure-pipelines.yml for Azure Pipelines
2020-01-24 16:51:04 +08:00
d-barker
727b9a8041
Update azure-pipelines.yml for Azure Pipelines
2020-01-24 16:38:45 +08:00
d-barker
b5365249d9
Update azure-pipelines.yml for Azure Pipelines
2020-01-24 16:09:32 +08:00
d-barker
236bfb3cdc
Update azure-pipelines.yml for Azure Pipelines
2020-01-24 16:06:31 +08:00
d-barker
fbc039f73a
Update azure-pipelines.yml for Azure Pipelines
2020-01-24 16:03:37 +08:00
d-barker
57c01c3297
Update azure-pipelines.yml for Azure Pipelines
2020-01-24 16:00:03 +08:00
d-barker
79f54b212f
Update azure-pipelines.yml for Azure Pipelines
2020-01-24 15:30:54 +08:00
d-barker
4ed2e6f6ec
Update azure-pipelines.yml for Azure Pipelines
2020-01-24 15:20:37 +08:00
d-barker
d5d8346857
Update azure-pipelines.yml for Azure Pipelines
2020-01-24 14:27:25 +08:00
d-barker
6bb122f497
Set up CI with Azure Pipelines
...
[skip ci]
2020-01-24 14:13:46 +08:00
David Barker
b159af4e72
Added environment variables to the configuration load
2020-01-24 12:59:04 +08:00
David Barker
02c6a1c934
Update nuspec package for CI/CD
...
Added package.ps1 file for building, testing and packaging the library
2020-01-24 12:58:47 +08:00
David Barker
80b35e3baf
Add appsettings config load for tests
...
Enables the config to be changed outside of the test
appsettings.local.json is not checked into the repo
2020-01-24 12:57:51 +08:00
David Barker
f1265ec3df
add razor runtime compilation for development environment
2020-01-24 10:32:54 +08:00
David Barker
c59d7017f8
added launch for VS Code
2020-01-24 10:22:39 +08:00
David Barker
9f4c5668bd
Upgraded to dotnetcore 3.1
...
as per migration recommendations
2020-01-24 10:21:11 +08:00
David Barker
41ea9aac8f
add vs code launch settings
2020-01-24 09:43:04 +08:00
David Barker
811d543d35
Changed IHostingEnvironment to IWebHostEnvironment
...
Added insights telemetry to configure services
Added local settings json for storing localised settings
2020-01-24 09:42:50 +08:00
David Barker
59213089ed
Migrated main to 3.1 format
2020-01-24 09:30:34 +08:00
David Barker
b58edfadfc
remove the AspNetCore assemblies as these are no longer needed
2020-01-24 09:25:51 +08:00
David Barker
d078e256c8
remove comments from json file
2020-01-24 09:25:31 +08:00
David Barker
d7fdd1fe58
Added appsettings.local.json to ignore file
...
This file can be used to override local settings
like the connection string.
2020-01-24 09:25:18 +08:00
Alexandre SPIESER
6212092dd5
Merge pull request #24 from alexandre-spieser/alex/fixMvCSample
...
Fix errors at startup.
2020-01-23 23:08:32 +00:00
Alexandre SPIESER
6b25924df3
Fix errors at startup.
2020-01-23 23:07:28 +00:00
Alexandre SPIESER
8019387b0f
Merge pull request #23 from d-barker/master
...
Updated library to netcoreapp3.1 and netstandard2.1 (all unit tests passing)
2020-01-23 22:53:33 +00:00
David Barker
d5ae41844f
Fixed build issue in LoggerFactory
2020-01-23 22:54:02 +08:00
David Barker
b9491256b0
- Used the work from @knight1219 (Daniel Mathews) as the basis.
...
* Fixed the unit tests so that they are now passing.
Note: This is my first real introduction to Moq, so there are probably a few things that can be improved.
Changes:
* Had a few issues with the mock logger, ended up adding a LoggerFactory and Logger implementation to work around this issue (for some reason the mock logger was never called and the unit tests failed because the string builder was never updated).
* Accommodated changes to the SignInManager, UserManager where the latest version has added Logging to constructor
* SecurityStamp functions in UserManager now check for null and throws an exception, so the unit tests can no longer call GetSecurityStampAsync before its set. Line 866: https://github.com/dotnet/aspnetcore/blame/605c522fa3e875fd6d3aefa783a71d1745b7e4c7/src/Identity/Extensions.Core/src/UserManager.cs
* SignInManager.RefreshSignInAsync has changed the internal method from s.SignInAsync to SignInWithClaimsAsync
2020-01-23 22:46:35 +08:00
Alexandre SPIESER
bf44fca3ae
Merge pull request #14 from alexandre-spieser/alex/UpdateMongoRepoDep
...
updating package / sln deps
2019-04-23 23:46:22 +01:00
Alexandre SPIESER
bfa4ca2ffb
updating package / sln deps
2019-04-23 23:43:43 +01:00
alexandre-spieser
deb70ca9c2
updated nuget packages to latest version
2018-11-15 09:02:06 +00:00
alexandre-spieser
c817c7db52
Update to MongoDB Driver 2.7.0, MongoDbGenericRepository 1.3.8.
2018-10-07 20:40:37 +01:00