Commit Graph

425 Commits

Author SHA1 Message Date
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 bfede03e7c React to identity changes 2015-03-19 15:41:10 -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
Brennan c230aa23e1 Logging API changes 2015-03-04 21:17:32 -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
Kirthi Krishnamraju 2e84d68973 Replaced BuddyType attribute with ModelMetadatType and SimpleMapper with Automapper 2015-03-04 08:46:46 -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
Praburaj fa7956d814 Fixing some more build breaks on net 4.5 projects. 2015-02-25 11:10:46 -08:00
N. Taylor Mullen c4c618fafd React to MVC changes. 2015-02-23 21:23:44 -08:00
Praburaj a7a70786a5 Fixing a build break in .net 4.5 projects 2015-02-20 12:12:44 -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 af58d878ba Fix MusicStore.Spa 2015-02-16 16:14:04 -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
Praburaj 2fbc90c6aa Fixing build break in spa project. 2015-01-20 13:49:10 -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
Praburaj f67f577ad2 Fixing build break due to model binding changes 2015-01-16 08:38:28 -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
Harsh Gupta 688771ad10 Corresponding changes for changing AssociatedMetadataProvider's interface 2014-11-26 17:30:45 -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 dbee8c1f6b And you get NoCache, and you get NoCache, and you get NoCache
- NoCache for everybody!
2014-11-18 17:35:38 -08:00