Commit Graph

609 Commits

Author SHA1 Message Date
Rowan Miller d27d18fe5a 💚 Fix more calls to UseDatabaseErrorPage
Some more calls that I missed in my previous commit. The overload being used in the templates has swapped to a builder pattern (see aspnet/Diagnostics#184). But rather than updating to the new signature, just swapping to the parameterless overload since it enables everything by default (same as UseDeveloperExceptionPage()).
2015-10-21 10:22:43 -07:00
Rowan Miller 42a5a28210 💚 React to API change in UseDatabaseErrorPage
The overload being used in the Startup.cs has swapped to a builder pattern (see https://github.com/aspnet/Diagnostics/issues/184). But rather than updating to the new signature, just swapping to the parameterless overload since it enables everything by default (same as UseDeveloperExceptionPage()).
2015-10-21 10:00:03 -07:00
Victor Hurdugaci 69ed946970 Move compiler shared to its own folder 2015-10-16 10:11:09 -07:00
あまみや ゆうこ 912aaaa9d2 To correct word spell 2015-10-16 09:49:04 -07:00
Pranav K f8b39bea63 Reacting to Cors rename 2015-10-15 16:00:05 -07:00
Kiran Challa 916bca69fc Fix tests 2015-10-13 10:27:58 -07:00
Nate McMaster 176a89dfe7 React to EF rename 2015-10-05 13:50:45 -07:00
Pranav K 576023cc0f Renaming Microsoft.Framework.* -> Microsoft.Extensions.* 2015-10-03 15:44:59 -07:00
Eilon Lipton 26aca2b99c Remove unneeded namespaces, use new startup APIs 2015-10-01 18:34:21 -07:00
Doug Bunting f3fb2374ac Cleanup dependencies and restore runtime installations
- remove and sort `using`s
- remove a couple of `project.json` dependencies reached transitively
  - both pretty clean before I started this

Also install runtimes needed for testing
- accidentally lost in 19f8830
2015-10-01 16:42:49 -07:00
Ajay Bhargav Baaskaran 019a50b3db React to aspnet/Mvc#3165 2015-09-25 11:03:20 -07:00
Pranav K a3f24bcb1d Reacting to Configuration changes 2015-09-25 07:51:25 -07:00
Arthur Vickers c4097f8080 React to EF fluent API changes 2015-09-24 10:44:30 -07:00
Kiran Challa ea3fb85006 Changed google and twitter oauth client id and secret 2015-09-23 17:04:53 -07:00
Kiran Challa d89747927e Minor clean up related to formatting 2015-09-23 16:31:21 -07:00
Hao Kung 21c043d788 React to Caption => DisplayName 2015-09-23 15:11:27 -07:00
Kiran Challa f9a03e83e9 Fix the way data is seeded to prevent using disposed ef contexts 2015-09-23 13:20:49 -07:00
Kiran Challa 2c1f1a277a [Fixes #537] Clear up MusicStore repo 2015-09-22 10:04:26 -07:00
Hao Kung cf6008e947 React to security 2015-09-18 12:59:03 -07:00
Ryan Nowak abd5303bb4 React to MVC renames 2015-09-17 00:17:15 -07:00
Nate McMaster d162fff906 Temporary workaround for https://github.com/aspnet/EntityFramework/issues/3144 2015-09-15 15:33:02 -07:00
Kiran Challa bfe1de4819 React to Cors api changes 2015-09-14 11:08:11 -07:00
Kiran Challa 77a8eca1fd React to errorhandler and errorpage extension name changes 2015-09-10 12:10:56 -07:00
Kiran Challa 7f25096dda React to RazorPreCompileModule changes 2015-09-10 08:32:21 -07:00
Hao Kung 16a9872a55 React to identity 2015-09-02 16:40:27 -07:00
Hao Kung d147f259a8 React to identity/security/options changes 2015-09-02 16:09:46 -07:00
Chris R 2255f3f7ad React to IApplicationBuilder.Server change. 2015-09-02 08:28:36 -07:00
Ryan Nowak 6d26d5efd7 React to breaking changes in MVC 2015-09-01 23:25:46 -07:00
Kiran Challa 0972116697 Removed SignalR related code from the sample and tests. 2015-09-01 10:54:32 -07:00
Pranav K 1c986b3bb5 Reacting to HttpAbstractions changes 2015-08-31 10:31:58 -07:00
Pranav K ef24402f1d Reacting to Mvc renames 2015-08-26 09:43:35 -07:00
Brennan acefcff61d Make work on Xplat CoreCLR 2015-08-21 16:28:16 -07:00
Ryan Nowak dbeba581ea Revert "React to MVC model binding changes and fix build break"
This reverts commit 52e2784f82.

This 'MVC change' listed here was a compatibility bug with earlier
versions of MVC and has been reverted.
2015-08-16 16:43:32 -07:00
Kiran Challa 52e2784f82 React to MVC model binding changes and fix build break 2015-08-14 13:13:09 -07:00
Kirthi Krishnamraju b271887d9f fix build break due to aspnet/configuration #246 2015-08-14 10:59:21 -07:00
Stephen Halter 599217e7f8 React to Kestrel rename
aspnet/KestrelHttpServer#11
2015-08-12 12:26:48 -07:00
Kiran Challa 540bcc7950 Clear session on logoff 2015-08-07 10:45:13 -07:00
Peter Blazejewicz 012eb9a864 Use proper JavaScript comment. Closes #519
This commit replaces Razor syntax specific comment with default,
line JavaScript comment
2015-08-07 09:34:31 -07:00
Peter Blazejewicz 7f88a655c9 Add missing helper tag fallback attr. Closes #520
This commit add missing fallback test attribute to script tag helper.
This fix will remove missing fallback attribute warning from console
for this specific tag helper.
2015-08-07 09:34:30 -07:00
Kiran Challa a0ef3ee814 [Fixes #510] Remove or fix Helios.cmd 2015-08-04 13:48:19 -07:00
Victor Hurdugaci 04c33bffd0 React to DNX renames 2015-07-29 11:49:38 -07:00
Brice Lambson ce3b958f69 Revert "React to aspnet/EntityFramework#2613"
This reverts commit 8fae544fb3.
2015-07-21 15:40:02 -07:00
Brennan cdcc5ae306 Add Serialization.Primitives dependency 2015-07-15 11:34:40 -07:00
Brice Lambson 8fae544fb3 React to aspnet/EntityFramework#2613 2015-07-14 10:19:00 -07:00
Arthur Vickers 11e14de7e9 React to EF renaming 2015-07-07 10:10:38 -07:00
Arthur Vickers de4fb94bf1 React to EF namespace changes 2015-06-30 10:59:28 -07:00
Kiran Challa ae379c5dd2 Fixed build break 2015-06-29 18:01:21 -07:00
Kiran Challa 761a182145 Reacting to Session, Authentication changes 2015-06-29 12:15:34 -07:00
Hao Kung 88d0efc2db React to identity/http changes 2015-06-25 19:12:30 -07:00
Arthur Vickers c6b92fe16c React to EF changes 2015-06-25 16:01:25 -07:00
Arthur Vickers 88288ae9d3 React to EF name changes 2015-06-23 16:00:56 -07:00
Arthur Vickers 820b26744f React to removal of RelationalDatabase 2015-06-19 11:15:39 -07:00
Hao Kung e645863e82 Merge branch 'release' into dev 2015-06-17 11:29:39 -07:00
Chris R f9ed27c3a0 React to removal of ErrorPageOptions.ShowAll. 2015-06-16 12:09:18 -07:00
Hao Kung ff473d6fc8 React to identity rename 2015-06-16 11:41:04 -07:00
Kiran Challa f2d9594799 Fix build break 2015-05-26 15:42:51 -07:00
Kiran Challa 116593f091 Fixed test 2015-05-26 15:22:36 -07:00
Kiran Challa 33cc8b06c9 React to Security change where instead of 401 Unauthorized, 403 Forbidden is going to be returned for authenticated users when trying to access unauthorized resource. 2015-05-26 14:54:55 -07:00
Kiran Challa 94a2b00d9a React to 'form' tag helper changes 2015-05-22 12:46:00 -07:00
Kirthi Krishnamraju 54ddefe88c React to aspnet/Configuration #194 2015-05-22 06:14:17 -07:00
Ryan Nowak c428ddffa3 React to removal of [Activate] for ViewComponents 2015-05-21 23:03:30 -07:00
Kiran Challa ddd76e2f4d Fix for build break(removing reference to non-existing Caching.Distributed package) 2015-05-21 16:28:48 -07:00
Kiran Challa 903885c20d Reacting to Caching api review changes 2015-05-21 13:28:37 -07:00
Doug Bunting 3bdaec5b7e React to aspnet/Mvc#2489 fix
- rename _GlobalImport.cshtml file to _ViewImports.cshtml
2015-05-21 07:59:26 -07:00
Kirthi Krishnamraju 7968239891 React to aspnet/Configuration #195,#198 2015-05-20 23:40:16 -07:00
Kirthi Krishnamraju d298c9206e React to aspnet/Configuration #197 2015-05-18 15:35:41 -07:00
Troy Dai 16c5addf79 Remove comments from project.json 2015-05-12 14:11:22 -07:00
Suhas Joshi afca1242bc Fixing database changes from EF 2015-05-07 11:02:14 -07:00
Victor Hurdugaci 63038b7278 Use the in memory store on the Nano server 2015-05-07 09:51:18 -07:00
Youngjune Hong 3c1f3c94e9 Fixing a build break by adding ISystemClock services to the E2E startup 2015-05-04 16:03:31 -07:00
Youngjune Hong 797f802906 Adding the unit tests for ViewComponents in MusicStore 2015-05-04 10:18:35 -07:00
Chris Ross 2063ad5f67 React to Auth API changes. 2015-04-24 12:03:19 -07:00
Hao Kung 69d42502a6 React to WebHostBuilder 2015-04-24 00:11:58 -07:00
Praburaj 9027ce0982 Fixing the RuntimeInformation enum change
Also changing casing for some of the enums.
2015-04-17 11:57:22 -07:00
Troy Dai 63f6f42e7e Update the sample data
Change the domain name in sample user from sample.com to example.com
2015-04-17 09:18:12 -07:00
Troy Dai 06b61511e5 Creating 100 sample users in sample data when it is run in Performance Lab 2015-04-16 21:21:34 -07:00
Praburaj ecb6184214 Using IRuntimeEnvironment to detect if mono 2015-04-16 15:14:17 -07:00
Praburaj 76d0d56b5d Setting DNX_APPBASE from the deployment helpers 2015-04-15 15:09:15 -07:00
Praburaj 29ef86fad3 Move deployment helpers out of the test project. 2015-04-14 15:46:42 -07:00
Troy Dai dcac97fe3b React to configuration model change 2015-04-10 11:42:23 -07:00
Praburaj ba80195851 Tag helpers 2015-04-05 20:35:06 -07:00
Doug Bunting 55e7e83375 Merge remote-tracking branch 'origin/release' into dev 2015-04-03 12:02:13 -07:00
Doug Bunting df29aaaafd Update .xproj files for Microsoft.Web.AspNet.* -> Microsoft.DNX.* rename 2015-04-02 13:49:27 -07:00
Praburaj 9048a9e445 Removing the default compile values.
Anything specified in "compile" is expected to append to DNX defaults. So no need to specify **\*.cs
2015-03-31 11:37:20 -07:00
Praburaj a559056266 Cleanup namespaces. 2015-03-30 20:16:04 -07:00
Hao Kung b06d0855f0 React to hosting 2015-03-30 18:30:28 -07:00
Maurycy Markowski 9fb02849dc fixing build break caused by namespace change in Entity Framework 2015-03-30 16:19:41 -07:00
Wei Wang 40edad4953 Merge remote-tracking branch 'origin/release' into dev 2015-03-30 15:23:49 -07:00
Wei Wang 1e29b52278 Rename "dnu bundle" to "dnu publish" 2015-03-28 12:10:12 -07:00
Praburaj 1eb38e5708 Adding CORS to the sample 2015-03-26 17:08:28 -07:00
Peter Hsu 273ad22337 Add precompiler to allow kre precompile views 2015-03-26 16:15:47 -07:00
Praburaj Thiagarajan 133001890e Merge pull request #443 from Bartmax/dev
fixed typo
2015-03-25 15:42:28 -07:00
Praburaj e23365f757 Fixing the namespace in the sample view page 2015-03-25 14:22:25 -07:00
Bart Calixto aa4763493c fixed typo 2015-03-25 15:30:54 -03:00
Wei Wang c1a386dc45 Remove k command and use dnx instead 2015-03-24 22:24:37 -07:00
Suhas Joshi 83d9003b7a React to Identity changes 2015-03-24 13:07:41 -07:00
ajcvickers 2209b2e933 Fix copy/paste typo 2015-03-20 16:49:19 -07:00
ajcvickers 7d97d61950 Another using 2015-03-20 16:40:55 -07:00
ajcvickers 0812658de4 Add usings 2015-03-20 16:33:00 -07:00
ajcvickers 1428d31463 Read connection string explicitly. 2015-03-20 16:17:12 -07:00
ajcvickers a76b6cac24 Stop passing IConfiguration to AddEntityFramework 2015-03-20 14:25:25 -07:00
Hao Kung 7e3db8935e Fix views 2015-03-19 15:55:13 -07:00
Hao Kung 01ac7f770a React to identity changes 2015-03-19 15:40:31 -07:00
Hao Kung 4162a8ce89 React to hosting 2015-03-19 12:44:25 -07:00
Praburaj 777e6950fd Changing project.json code node => compile 2015-03-18 10:16:06 -07:00
Ajay Bhargav Baaskaran db08329637 fix build break 2015-03-17 17:57:02 -07:00
Ajay Bhargav Baaskaran 68a125b9ce React to aspnet/Razor#281 changes 2015-03-17 14:50:14 -07:00
Praburaj 6dc2417f9e Adding some coverage for the --no-source switch 2015-03-17 12:46:02 -07:00
ianhong 1b502cbee7 Music Store sample Unit Tests - (except usermanager and signinmanager) 2015-03-17 11:12:51 -07:00
ianhong 29909e15f3 Cleaning up AntiForgery 2015-03-16 14:55:47 -07:00
Smit Patel 403f7c7585 Ef : Enabled Autogeneration for ArtistId & GenreId using sequence which allows explicit values 2015-03-16 12:09:03 -07:00
Smit Patel 117dbc4887 Reacting to Changes in EF: Disabling use of Identity Column for PK 2015-03-13 15:56:59 -07:00
Praburaj 5004bac6aa React to AddSessionServices rename to AddSession 2015-03-13 11:56:20 -07:00
Praburaj 36271260a1 Reacting to Caching extension rename 2015-03-12 17:06:16 -07:00
Praburaj ad9e11ed2e React to Caching package rename
Dependent on https://github.com/aspnet/Caching/pull/49/files
2015-03-11 17:39:00 -07:00
Hao Kung c49fd85c56 React to identity changes 2015-03-11 16:10:55 -07:00
Praburaj 39fc5ebdc4 Making the tests robust
And some general cleanup
2015-03-11 14:48:34 -07:00
N. Taylor Mullen a6982fae6c Update .kproj => .xproj. 2015-03-11 14:09:25 -07:00
N. Taylor Mullen 9878f7dcf9 Remove BOM from project.json, *.cmd, *.sh and *.shade files. 2015-03-09 12:56:19 -07:00
Praburaj 723e7727f0 Changing kre-app-base to dnx-app-base in web.config 2015-03-09 06:52:01 -07:00
N. Taylor Mullen 2d7500c3bb Update K_BUILD_VERSION/kre/KRE/.k => DNX_BUILD_VERSION/dnx/DNX/.dnx. 2015-03-08 12:51:40 -07:00
N. Taylor Mullen 58c8e44786 Update aspnet50/aspnetcore50 => dnx451/dnxcore50. 2015-03-08 12:51:38 -07:00
Hao Kung 28bfb92e63 React to identity changes 2015-03-05 14:23:12 -08:00
Hao Kung a1e5048a0a React to DI 2015-03-04 19:27:34 -08:00
ianhong c2f4d13392 Remove [Required] from the Order model to fix a test failure 2015-03-04 16:30:55 -08:00
ianhong 5f95406fd0 MusicStore Unit Tests (1) - MVC, EF, Cache, RequestAborted, User 2015-03-04 15:16:23 -08:00
Praburaj 89f2e3e32a Removing check for NTLM altogether 2015-03-03 17:55:22 -08:00
Praburaj 7b8ace5489 Re-enable the Ntlm authentication tests
User.IsSignedIn() does not return true for NTLM. So pulling the NTLM check out of the code block.
2015-03-03 16:49:00 -08:00
Hao Kung 3406608633 React to Auth changes for MusicStore Spa 2015-03-02 17:24:43 -08:00
Hao Kung 850ba6375d React to AuthN/Z changes 2015-03-02 16:31:35 -08:00
Praburaj 97d9b2e385 Reacting to hosting changes 2015-02-26 12:19:11 -08:00
Peter Hsu 42da0144b9 Ensure the latest AspNet.Loader.dll is retrieved 2015-02-18 13:37:18 -08:00
Praburaj 7da407a17a Using statuscode pages in the sample
Adding some automation as well.
2015-02-16 17:22:57 -08:00
Hao Kung 71a4b6f6b7 Fully qualify attribute 2015-02-16 16:08:32 -08:00
Hao Kung af908d67e4 Switch to Security Authorize attribute 2015-02-16 16:03:44 -08:00
Hao Kung 60384e17eb React to AuthZ changes 2015-02-16 15:59:19 -08:00
Youngjune Hong 2e2ca59aa5 Updating MusicStore for better unit-testability 2015-02-13 11:51:46 -08:00
Hao Kung 083f05a7d0 React to identity cancellationToken removal 2015-02-10 17:45:29 -08:00
Praburaj 2c881cf6a6 Adding verification for openIdconnect logout flow
As well removed the logic to wait for the creation of the db file in userprofile folder
as we now have retry logic.
2015-02-06 12:09:11 -08:00
Praburaj 0d673eafc9 Changing DbSet<T>.Remove -> RemoveRange() 2015-02-05 16:41:21 -08:00
Praburaj 8617bdc223 Printing the runtime information at the beginning of the test 2015-02-04 11:10:53 -08:00
Praburaj e26705e2de Changing codeplex -> github.com/aspnet/musicstore 2015-02-02 17:39:09 -08:00
ajcvickers 61ef19c6e9 React to EF changes 2015-01-30 15:13:49 -08:00
ajcvickers 5b55da271c Use Add instead of AddAsync 2015-01-30 14:31:17 -08:00
Wei Wang 4277bb75b1 Merge remote-tracking branch 'origin/release' into dev 2015-01-29 16:30:59 -08:00
Wei Wang 3bf675f343 React to runtime renaming revert 2015-01-29 00:01:52 -08:00
Praburaj e3637924ee Adding a basic smoke test for OpenIdConnect
Currently the mono variation is failing.
2015-01-26 17:03:34 -08:00
Praburaj c82cda4a78 Fixing the openIdconnect Startup class to add loggerfactory
Also adding a placeholder startup class for openid e2etesting.
2015-01-26 11:11:25 -08:00
Praburaj d29f24f4ad Using session to store the cart details instead of cookies. 2015-01-26 10:51:20 -08:00
Wei Wang 117c910f3b React to kpm subcommand renaming 2015-01-23 10:22:55 -08:00
Smit Patel e9f088b2e9 Reacting to changes in EF connection string format 2015-01-20 17:47:41 -08:00
Wei Wang 636807c35b React to default packages path change in runtime 2015-01-20 17:18:46 -08:00
Praburaj c3a6095bf1 Pointing IIS Express to the wwwroot folder instead of app base. 2015-01-20 15:23:04 -08:00
Wei Wang 73b30c0fbf Change K_DETAILED_ERRORS to ASPNET_DETAILED_ERRORS 2015-01-20 11:07:06 -08:00
Hao Kung 464438862a Fix music store policies 2015-01-16 15:15:19 -08:00
AndriySvyryd cec6370dde Reacting to EF changes 2015-01-16 12:59:42 -08:00
Hao Kung ef22f9fb30 React to MVC/Auth changes 2015-01-15 23:52:52 -08:00
Praburaj 0f9173ecb0 Adding a Start up class for OpenIdConnect authentication 2015-01-15 13:16:37 -08:00
Praburaj a6bf0e16aa Adding console logger to the sample 2015-01-09 15:12:53 -08:00
Chris Ross 76017af97c Handle Form and helpers breaking changes. 2015-01-07 16:15:41 -08:00
Praburaj 6407ff0adc Cleanup : Moving the mock code to the test project
This is to make the sample code cleaner. Moved the mock code to the test project.
Also fixed some intendation issues in some cshtml files.
2015-01-02 17:13:31 -08:00
Hao Kung 14ec7960a1 React to identity changes 2014-12-30 14:59:07 -08:00
Praburaj e609602f2f Clean up and refactoring
1. Removed some console logging statements from code
2. Used database error page like templates.
3. Renamed the command `WebListener` to `web` with all lower case to be consistent with templates.
4. Lowercased `Kestrel` => `kestrel` to be consistent with remaining samples.
2014-12-30 13:16:08 -08:00
Praburaj d9148bd6f7 Fixing KRE_ENV to ASPNET_ENV 2014-12-22 19:04:55 -08:00
Praburaj 9c442e97ff Using the latest xunit skip condition attributes to skip tests
Also moved all the helper code into sub-directories.
2014-12-18 19:25:51 -08:00
Praburaj 4315eb231f Some more fixes 2014-12-15 13:11:44 -08:00
Praburaj 50b756a776 Clean up - removing work arounds for bugs
1. Removed worked arounds that were previously applied for bugs as they are fixed now.
2. Sorted all using statements. Moved System.* to the top.
3. Fixed some of the code to follow engineering guidelines.
2014-12-15 11:48:24 -08:00
Doug Bunting c8323f4ef3 Let VS assign a port for the MVC 6.0 project
- also add commented-out connection string for IIS deployment
2014-12-14 21:20:49 -08:00
Praburaj 0c59794996 A few changes
1. Adding helpers to install an app on IIS and run on top of native module
2. Enabled CoreCLR + Ntlm tests.
2014-12-12 16:07:49 -08:00
Wei Wang acc191efca Merge branch 'release' into dev 2014-12-12 11:13:40 -08:00
ajcvickers 9b72e3a0bd Reacting to EF API changes 2014-12-10 14:19:51 -08:00
AndriySvyryd 6120168c86 Reacting to the new EF relationship discovery convention 2014-12-10 14:16:20 -08:00
Wei Wang 9d643ae1ee Move web.config from project root to wwwroot 2014-12-10 14:08:35 -08:00
Chris Ross 4e929bb300 Stop setting WebRoot explicitly. 2014-12-05 11:49:05 -08:00
mikary b580856e66 Updating for EntityFramework API change to DbContext Entry Methods 2014-12-04 09:53:55 -08:00
ajcvickers 715b744146 React to EF API changes 2014-12-02 14:48:55 -08:00
Praburaj 65f58b98a8 Fixing the test failure
On introducing a FK relationship from OrderDetails table to Album table with album id creates a problem when deleting an album that's checked out atleast once.
2014-12-02 11:29:49 -08:00
Praburaj e21f6052f2 Using .Include in queries instead of manual joining
Also removed Identity setup from Ntlm Startup
Some minor using statements ordering.
2014-12-02 11:00:28 -08:00
Victor Hurdugaci 1120863c84 Add schema version to kproj files 2014-11-25 11:15:15 -08:00
Hao Kung d8041cbbae React to identity changes 2014-11-24 16:41:16 -08:00
ajcvickers 3b6e988f92 Remove use of context.Configuration 2014-11-21 11:36:37 -08:00
Hao Kung 4267d9b25f React to hosting changes 2014-11-20 18:13:03 -08:00
Praburaj 5ae536fe0a Some fixes
1. Updating some startup classes like templates
2. Update a test that runs on mono with right CLR.
2014-11-20 16:04:48 -08:00
Praburaj 12858aef79 Fixing port number to 5001 as social logins need this port number to work
Minor formatting in json.
2014-11-19 16:23:02 -08:00
DamianEdwards 22ad9b9572 MusicStore.Spa changes:
- Upgraded to Angular 1.3 (Fixes #267)
- Fix XHR GET caching issue in IE with new NoCacheAttribute
- Slight fix in admin home page (album list) to ensure initial data fetch has the sort expression in the query
2014-11-18 17:08:12 -08:00
Chris Ross 6a4f49a188 Fix facebook endpoint tests. 2014-11-15 08:13:56 -08:00
Victor Hurdugaci 2970af14b1 Update KProj to the latest format 2014-11-12 15:56:14 -08:00
DamianEdwards 88ebb165e7 Fixed kproj artifacts dir location 2014-11-11 12:06:43 -08:00
DamianEdwards 1e2152cd26 Update kproj files to move artifacts out of project folder 2014-11-10 14:20:49 -08:00
DamianEdwards 0352ef8a79 MusicStore.Spa changes:
- Added buddy validation provider

Created SimpleMapper in MusicStore.Spa

- Fixed EF mapping config
- Made SimpleMapper to map DTOs to EF objects (and vice-versa)
- Admin screens now return Artist/Genre names when showing Album details

- Unhook grunt/npm/bower from project.json due to long-path issue in KRE build

- Remove unneeded AngularHtmlHelper<T> class
2014-11-06 14:07:27 -08:00
ajcvickers 947a3f8790 Reacting to EF API renames 2014-10-28 18:55:57 -07:00
Suhas Joshi c320b1caaf Updating startup for ntml as well 2014-10-20 17:05:36 -07:00
Suhas Joshi 28d49310bf Added for configuration to use only Identity 2014-10-20 17:05:32 -07:00
Chris Ross 390bf8f024 Update MemoryCache DI. 2014-10-20 11:30:53 -07:00
Suhas Joshi 7dd78bbfef Changes to use AddDbContext method 2014-10-16 16:11:09 -07:00
Victor Hurdugaci 0ef93b94dc Add the runtime info page when running in dev environment 2014-10-16 09:28:03 -07:00
Hao Kung d375e87a4e React to options and hosting changes 2014-10-14 19:22:51 -07:00
Suhas Joshi b2d346769a Merge pull request #257 from suhasj/UpdateErrorHandler
Added Error Handler middleware and Configure methods based on compilatio...
2014-10-14 16:17:28 -07:00
Wei Wang 8d0c6052a7 Change 'pack-exclude' to 'packExclude' 2014-10-14 16:15:20 -07:00
Suhas Joshi 3c7ba368fe Added Error Handler middleware and Configure methods based on compilation types 2014-10-14 15:31:47 -07:00
Praburaj ae91663eb7 Fixing a few things
1. Changing the SigninAsAuthenticationType to a variable to avoid failures when the value changes.
2. Adding a Scripts folder like default VS projects.
3. Adding version numbers to GAC assemblies in the test project.
4. Adding a check for pack-exclude.
2014-10-09 16:11:38 -07:00
Hao Kung 22152fda59 Update test to use UsePerRequestServices 2014-10-09 14:31:56 -07:00
Hao Kung 59ec9de771 React to Identity SqlServer -> EntityFramework rename 2014-10-09 14:20:36 -07:00
Hao Kung d06c973f57 React to UsePerRequestServices rename 2014-10-09 14:13:51 -07:00
Praburaj ece6fc6c47 SignInAsAuthenticationType value changed with identity changes 2014-10-08 14:47:55 -07:00
Praburaj b2a20bf4f5 GetExternalAuthenticationTypes moved to SignInManager now
Fixing a sample break.
2014-10-08 14:26:03 -07:00
Hao Kung 95c7a659c2 React to identity/options/security changes 2014-10-08 14:02:04 -07:00
Praburaj 0288c790b0 Cleanup
1. Moving framework assembly references to frameworkassemblies node.
Moving the framework references Removing the RunOnMono flag on Ntlm tests as it never runs on mono
2. Deleted a space from the batch file
3. Adding some pack-exclude items
4. Some general test cleanup.
2014-10-02 12:38:54 -07:00
Praburaj 970418448c Passing in request cancellation tokens to all async methods
Changing to use some of EF's async APIs.
2014-10-01 12:06:39 -07:00
Praburaj f16a0c0f19 Adding some mocks for MicrosoftAccount 2014-09-29 14:41:43 -07:00
Praburaj 63732198cc Updating the solution
Created some solution folders like the VS templates.
2014-09-26 11:08:01 -07:00
David Fowler 17dd874996 Only turn off identity columns for artists and genres. 2014-09-26 02:46:22 -07:00
David Fowler cbde5ba982 Disable store generated properties for the Ids. 2014-09-26 02:36:17 -07:00
Chris Ross fd135e29b6 Renaming GetOrAdd to GetOrSet. 2014-09-25 16:56:04 -07:00
Chris Ross 6f7560e33b Rename GetOrAdd to GetOrSet. 2014-09-25 16:34:25 -07:00
Praburaj 42e23bd261 Enabling the E2E automation for social logins. 2014-09-25 11:48:58 -07:00
Praburaj 3e6ce61f27 Enabling social logins
Removing hacks and using identity helpers.
2014-09-24 16:42:05 -07:00
Praburaj ef11294897 Squashed commit of the following:
commit ca4defa086a411094f9e90fbe3acef337d6613bb
Author: Praburaj <praburaj.t@microsoft.com>
Date:   Wed Sep 24 15:13:28 2014 -0700

    Enabling account validation, 2FA, Forgot password in the sample

    Some identity helpers are still missing. Work arounds are applied to enable them working. Will clean it up as soon as identity helpers are available.

commit 6072c45537946c29588cfad92ce5e69ecd21656b
Author: Praburaj <praburaj.t@microsoft.com>
Date:   Tue Sep 23 20:08:59 2014 -0700

    Using QueryHelpers.ParseQuery for parsing query string.

    Removed the helpers implemented in the test project.

commit 632dd8d43fafb6307b3e504731431479aa96ec50
Author: Hao Kung <haok@microsoft.com>
Date:   Tue Sep 23 17:24:42 2014 -0700

    Remove comment

commit 913fd251a39edcf0182b36be17879484ae90fd90
Author: Hao Kung <haok@microsoft.com>
Date:   Tue Sep 23 17:23:12 2014 -0700

    React to identity changes
2014-09-24 15:36:24 -07:00
Praburaj 647a5b6031 Enabling account validation, 2FA, Forgot password in the sample
Some identity helpers are still missing. Work arounds are applied to enable them working. Will clean it up as soon as identity helpers are available.
2014-09-24 15:13:28 -07:00
Praburaj 1867d11a43 Using QueryHelpers.ParseQuery for parsing query string.
Removed the helpers implemented in the test project.
2014-09-23 20:08:59 -07:00
Praburaj 3ce74b6c4e Adding a way to do a graceful shutdown of the server.
This code path is not being used right now as there is no way to select this start up class.
2014-09-19 13:49:42 -07:00
Praburaj c7cd2e004f Removing the work around applied for the multi Antiforgery token issue
Original MVC bug is fixed now.
2014-09-17 14:11:35 -07:00
Praburaj de6b05cd86 Updating Social startup as well to use chaining to add configuration sources. 2014-09-16 10:50:24 -07:00
Praburaj 0a3456042a Updating sample to use config file named config.json instead of LocalConfig.json 2014-09-16 10:48:33 -07:00
Praburaj 671c619a11 Fixing Program.cs to populate a IHostingEnvironment service
Also contains a general cleanup.
2014-09-16 10:26:23 -07:00
Praburaj 3d79659cc0 Updating sample readme
Also removing some mono related settings on NtlmStartup.
2014-09-16 09:31:38 -07:00
Praburaj 0c6154fcd0 Enabling "authors" element in project.json
Related hosting bug is fixed:
https://github.com/aspnet/Hosting/issues/74
2014-09-15 16:34:34 -07:00
Praburaj 2712ae3478 Changing the project folder structure to include wwwroot 2014-09-15 14:05:48 -07:00
Chris Ross 9bc33d6ce8 React to SetSlidingExpiration spelling fix. 2014-09-15 09:32:13 -07:00
Praburaj 39ee3e714a Reacting to the cache package rename and few misc changes
1. Setting expiry time for cached items.
2. Some other misc changes.
2014-09-12 17:09:39 -07:00
Praburaj e63d4f95d2 Adding an Ntlm variation of the test
Modified the helpers to take in an application host config file to accomodate future needs.
2014-09-11 11:10:25 -07:00
Chris Ross 56987a66c6 Handle IBuilder rename to IApplicationBuilder. 2014-09-10 14:47:02 -07:00
Praburaj 0c3cf30d2c Commenting the external logins from login cshtml to work around a bug
https://github.com/aspnet/HttpAbstractions/issues/115

Also adding a work around for the EF issue.
2014-09-10 11:26:29 -07:00
Praburaj c41407d7b7 Adding cache service to the Ntlm startup 2014-09-09 16:45:19 -07:00
Praburaj 17f3808154 Fixing a build break 2014-09-08 18:14:45 -07:00
Praburaj 093caaae7e Adding some mocks for Google, Facebook and Twitter for E2Evalidation
Social mock tests are not executed right now due to 2 issues:
1. Identity extensions related to Social are not in yet.
2. Helios currently does not support loading of environment based startup class.
2014-09-08 18:02:03 -07:00
Praburaj 7e77078160 Adding in memory caching to the sample 2014-09-05 12:53:08 -07:00
Praburaj 1b6ee846ed Some cleanup
1. Removing a bug # from code which is fixed.
2. Removing a piece of test that was added while testing.
2014-09-04 13:13:17 -07:00
David Fowler c299a13927 Updated to use the new target framework in project.json 2014-09-04 02:30:32 -07:00
Praburaj 6cf7cbfa5b Adding all the Social login middlewares to the pipeline
Still some of the identity helpers have not lighted up. So it will not work fully.
2014-09-03 16:57:38 -07:00
Praburaj 265a220142 Adding SignalR components to the Ntlm based Startup class.
Missed to do this with previous checkin.
2014-09-03 15:55:46 -07:00
Praburaj b054f392f5 Adding a what's new in the store signalr announcement panel in the sample
When a new album is created in the store a notification is posted to all the connected browsers using SignalR.
Also added automation for the signalR hubs.

There is still some UI formatting improvements required in the way new arrivals are displayed. Will fix it in future checkins.
2014-09-03 15:40:01 -07:00
Praburaj bf7a8c2439 Fixing the build break on the new startup 2014-09-02 11:30:10 -07:00
Praburaj 49ba8ce9ac Adding a startup class to setup Ntlm authentication
This uses the environment based Startup class detection to load the Ntlm Startup class. Default will be the Cookies/Social auth.
2014-09-02 11:07:28 -07:00
Praburaj b56cecc817 Refactoring the test code a little bit to enable adding more scenarios
And some general cleanup.
2014-08-29 16:35:02 -07:00
Praburaj 01c6489454 Adding a LINQ query to get all albums to improve performance 2014-08-29 13:41:43 -07:00
Praburaj 45406bf082 Moving the admin into a separate area
Using areas in the sample
2014-08-29 13:06:50 -07:00
David Fowler 94258eba8a Updated to use the new target framework in project.json 2014-08-29 00:13:02 -07:00
Praburaj 9f4d46714b Updating the sample to use VS 2013 Update 3 templates for Identity
1. This contains the new manage controller with a bunch of features like 2 factor auth

Some of the features are not enabled yet. But this is to set a baseline with update3 templates.

Automation to come up in future as more identity extensions are available.
2014-08-28 16:57:43 -07:00
Hao Kung e60b1665e3 React to Identity Rename 2014-08-25 11:41:49 -07:00