Commit Graph

609 Commits

Author SHA1 Message Date
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
ajcvickers 9ee9104883 Reacting to ConventionModelBuilder name change 2014-08-15 11:35:24 -07:00
ajcvickers e2736173e8 Change ModelBuilder to ConventionModelBuilder 2014-08-15 08:45:28 -07:00
Praburaj cb9184e1c0 Prevent binding on some columns in order 2014-08-12 12:28:11 -07:00
Praburaj abd215a543 Using HttpNotFound helper in actions returning 404 2014-08-12 11:44:48 -07:00
Praburaj ca515e3e87 Adding missing Anti-Xsrf token validations in some Post actions
1. Also adding this validation on a AJAX only used action.
2014-08-08 12:46:36 -07:00
Praburaj 302f5a00fa Using auto generated id for albums 2014-07-30 15:31:13 -07:00
Praburaj 7470e3cb28 @Html.ValueFor replaced with @Html.DisplayFor
The original sample used @Html.DisplayFor. While porting I changed it to use ValueFor. Xinyang pointed out this difference.

Fixing this so that it can be easily compared with the original sample. The results of the view unchanged.
2014-07-30 15:13:25 -07:00
Praburaj 644c45ae5c Adding a _ViewStart page to define the Layoutpage
Removing the Layout page reference from individual cshtml files.
Added some tests to verify layout getting rendered in every view.
Added a couple of verifications to verify that title of the page is set appropriately.
2014-07-30 14:56:20 -07:00
Suhas Joshi 77a9885118 Handled starting IISExpress based on architecture 2014-07-24 15:39:55 -07:00
Hao Kung fe30a0418e React to Identity changes 2014-07-23 12:36:21 -07:00
Praburaj b440d4ff66 Use InMemoryStore if the sample is being run on Mono
Detecting if the application is running on mono and using InMemoryStore instead of SqlServer.
2014-07-22 18:02:22 -07:00
Praburaj 91cc369f4f Fixing CopyAspNetLoader batch file to consider the new location of AspNet.Loader.dll
With a recent change Aspnet.Loader.dll will be restored to %userprofile%\.kpm\packages. Fixing the batch file accordingly.
2014-07-22 16:47:03 -07:00
Praburaj 3c0eefe12e Merging the MusicStore & MusicStoreIdentity Db into one.
This has been a feedback from identity team for a while. Just got time to do it now.
2014-07-22 16:44:23 -07:00
Hao Kung 53e4626127 React to Identity changes 2014-07-15 13:05:07 -07:00
David Fowler 30df49535c Fixed project.json casing 2014-07-13 22:49:42 -07:00
David Fowler efd225a9cd Renamed configurations to frameworks in project.json 2014-07-13 22:31:03 -07:00
DamianEdwards db429b0d59 Updated AngularHtmlHelper based on MVC changes 2014-07-08 18:23:58 -07:00
Ryan Nowak 42b5aac1b1 fixing a broken link in musicstore. 2014-07-08 17:18:39 -07:00
Ryan Nowak c2140666d9 fix build break in music store 2014-07-03 19:25:29 -07:00
Praburaj 0b0b5837fd A few changes with this checkin
1. Fixed the delete album action
2. Added a test for add to cart, checkout & delete an album scenarios.

With this the scenario set becomes complete.
2014-07-03 16:05:58 -07:00
Praburaj 047db6d5f4 Change with this submission
Fixes # https://github.com/aspnet/MusicStore/issues/105
2014-07-03 12:58:26 -07:00
Praburaj 8c7bc1a9c8 Auto id generation is available for entities
Previously the sample had work arounds to generate an id itself while adding a new item into a table. Removing the work around.
2014-07-03 12:37:31 -07:00
Praburaj 04de187189 Changing the connection strings to use Dev14 LocalDB
Addresses https://github.com/aspnet/MusicStore/issues/159
2014-07-03 12:35:52 -07:00
Praburaj 974bfcab7a Adding kestrel variation of the MusicStore tests
Variation added for both Desktop & CoreCLR.
Added some more diagnostics to help better trouble shoot with more variations.
2014-07-02 17:32:31 -07:00
Hao Kung dd1a75370d React to identity renames 2014-06-23 15:16:43 -07:00
Brice Lambson 54a66fc70e React to more renames 2014-06-20 09:34:14 -07:00
David Fowler 32cd4db959 React to Helios rename 2014-06-19 22:26:28 -07:00
Brice Lambson b41abcffa6 React to version bumps and renames 2014-06-19 16:00:13 -07:00
Praburaj 2f88fb4d9d Removing work around applied
Bug https://github.com/aspnet/identity/issues/102 is fixed. Removing the work around applied for the same.
2014-06-06 12:10:46 -07:00
Hao Kung 892afc5fab React to Identity API changes 2014-06-04 11:13:13 -07:00
Praburaj a7e4fa9c9d OptionsServices.GetDefaultServices() call no longer required
This is in response to a recent change.
2014-06-03 17:02:07 -07:00
Praburaj 6cd501c5f7 Work around for the identity bug to unblock CI test
Identity internally overrides the explicitly specified connection string by overriding it with a default value. This results in reusing a default database causing test failures. Until identity is fixed this is a work around.
2014-05-30 12:19:19 -07:00
Brice Lambson 9cb6325bf3 React to aspnet/EntityFramework#264 2014-05-28 14:36:10 -07:00
Hao Kung 083601c539 Add options services to Startup 2014-05-28 13:43:13 -07:00
Hao Kung 043dbb2940 Changes for OptionsModel 2014-05-28 12:51:48 -07:00
Praburaj b8782ee2bf Adding a REST method to the StoreManagerController for automation purpose.
Adding this action to get Id of an album given an album name.
2014-05-27 17:29:19 -07:00
ajcvickers ad49e49b7f Pass DbContextOptions directly to base DbContext constructor. 2014-05-27 12:48:24 -07:00
Praburaj 11a71e950d Adding some more test scenarios to MusicStore and moving the scenarios in methods. 2014-05-23 16:11:56 -07:00
Praburaj 8409e9518b Catching up MusicStore app with code generated with latest templates 2014-05-23 14:35:08 -07:00
Praburaj 81e1e00d78 Removing k.ini to run against latest KRE version 2014-05-22 12:23:56 -07:00
Praburaj dc9c16ff64 Cleaning up project.json of MusicStore app 2014-05-21 11:56:39 -07:00
Praburaj 3e536055ba Replacing fixed build numbers with * to enable CI build
Created a master branch with fixed build numbers that we used for alpha. Dev branch will build with latest product builds.
2014-05-19 13:23:53 -07:00
Pranav K e36eb0ffb6 Updating kproj file to match tooling changes 2014-05-18 22:34:02 -07:00
DamianEdwards 0bd2d6af9e Added port of SPA app to vNext as MusicStore.Spa
- Front-end store (catalog) and login with validation working
- Admin pages not working yet
2014-05-16 16:54:27 -07:00
ajcvickers 86e02878ed Update Music Store to use new EF EnsureCreated method.
Also updating project.json to pin the new EF build.
2014-05-13 16:58:15 -07:00
Victor Hurdugaci e997363b82 Pin to build 1678 2014-05-12 16:35:53 -07:00
kirthik ce13e28405 Merge pull request #107 from aspnet/ReadmeUpdates
Readme updates and deleted build.cmd, lkg.json, kvm.cmd
2014-05-12 16:32:10 -07:00
Kirthi Krishnamraju 82ac180535 modified readme based on pr comments, deleted build.cmd and lkg.json 2014-05-12 16:30:09 -07:00
Hao Kung 9deabcb459 Clean up identity DI 2014-05-12 15:51:51 -07:00
Kirthi Krishnamraju 6196e60f91 Updated Readme.md and k.ini to use 0421 build. Deleted kvm.cmd 2014-05-12 11:51:51 -07:00
Hao Kung 3fcfaeb4e0 Cleanup identity comments 2014-05-12 10:14:55 -07:00
Praburaj 909941fa51 Removing the InMemory store for EF data in CoreCLR. 2014-05-12 08:37:55 -07:00
Victor Hurdugaci dcc55c97ba Multiple active result sets 2014-05-11 10:04:20 -07:00
Praburaj 50c9a1de51 Fixing a bug in the sample
When creating a new album an album is not generated - resulting in records being created with Id = 0.
2014-05-09 21:16:06 -07:00
Praburaj 1cfe90ae81 web command format change
server.name is changed to server in the command expansion.
2014-05-09 09:57:39 -07:00
Praburaj 6a442d6a53 Changing the Startup.Configuration method name to Configure per the recent change. 2014-05-09 09:14:43 -07:00
Praburaj ab0dc92eb6 Removing the IApplicationEnvironment interface from code
With a recent change the file based configuration source will automatically look for the file in the application
base path. So getting the base path from IApplicationEnvironment service is no more necessary.
2014-05-08 21:08:28 -07:00
ajcvickers 66b06950d5 Updating AddEntityFramework call to not use nested closure. 2014-05-08 16:01:56 -07:00
Wei Wang 9434bbc8e3 Sort dependencies and remove duplicates in dependencies 2014-05-08 11:49:47 -07:00
David Fowler 8ed808890c React to renames 2014-05-08 04:04:37 -07:00
Praburaj dfe6382463 appSetting "K" to specify the CLR to be loaded is not being honored
Removing the appSetting from web.config
2014-05-07 22:47:04 -07:00
Praburaj 9ecdeda83e Removing Logging related interfaces from sample
Now that we have a NullLogger as a part of Hosting. So we don't need to add this service in the sample.
2014-05-07 22:18:46 -07:00
Praburaj f9693488ca Verified the bug in the [Compare] dataannotation attribute.
https://github.com/aspnet/WebFx/issues/247
Since ModelState.IsValid is now a bool removing the ==true check.
2014-05-07 22:06:16 -07:00
DamianEdwards d4efedeb17 Added new SPA port of original Music Store app 2014-05-07 17:44:01 -07:00
Hao Kung 4c026726f6 Reenable Admin creation 2014-05-07 17:39:16 -07:00
Hao Kung be912b15dc Switch to identity Sql 2014-05-07 17:37:23 -07:00
Praburaj 4f7a0390c9 Enabling code for [ValidateAntiForgeryToken] in the sample. 2014-05-07 17:31:57 -07:00
Praburaj 32ed9c513a Adding k.ini to enable running on Helios
Also fixed the name of the package Microsoft.ComponentModel.DataAnnotations -> Microsoft.DataAnnotations
2014-05-07 14:46:08 -07:00
ajcvickers 4120269fb5 Updating for SqlServerConnectionString => UseSqlServer change 2014-05-07 10:27:59 -07:00
Praburaj adef8c9093 Fixing the DI namespace in Program.cs 2014-05-06 13:09:12 -07:00
Praburaj adb50f7fdc Logging package name changed
1. Fixed the package name in project.json
2. Updated the namespaces.
2014-05-06 13:00:32 -07:00
Praburaj 77887f126c Changing DI package and namespace
Dependency injection package changed from Microsoft.AspNet.DependencyInject to Microsoft.Framework.DependencyInjection
2014-05-06 12:05:51 -07:00
Praburaj be977fbc56 IBuilder moved to the namespace Microsoft.AspNet.Builder. Fixing it in the musicstore. 2014-05-06 12:02:55 -07:00
Wei Wang 2ab97f7d42 Update dependency namespace 2014-05-05 20:29:10 -07:00
Praburaj c638a77ec9 Updating the MusicStore to use tooling. 2014-05-05 17:02:33 -07:00
Praburaj 6cb38d7926 A few fixes with this checkin:
IBuilder moved to Microsoft.AspNet.Http namespace. Fixing the build break.
Changing the version number for Microsoft.ComponentModel.DataAnnotations package to 0.1-alpha-*.
2014-05-05 17:00:49 -07:00
Brice Lambson 06d962291f React to EF package renames
This is part of aspnet/Data#132
2014-05-05 16:09:46 -07:00
ajcvickers bb427ee393 Reacting to EF class renaming. 2014-05-05 13:43:44 -07:00
Praburaj cad71fd030 Fixing a compilation warning in AccountController. 2014-05-05 11:40:50 -07:00
Hao Kung 36770ccf05 Update with latest Identity API changes 2014-05-05 11:35:18 -07:00
Praburaj 65d4057132 Injecting ApplicationUserManager in AccountController
Injecting IConfiguration to MusicStoreContext
2014-05-01 16:47:01 -07:00
Praburaj 3ae8b93e26 General clean up to the musicstore app
1. Removed many unncessary comments
2. Added comments to Startup.cs
3. Fixed some code comments across the app
4. Renamed Config.json -> LocalConfig.json to reflect the scenario
2014-05-01 15:32:21 -07:00
Praburaj 10a280580c Fixing compilation errors in the view components.
Marked one of the controller actions with [HttpGet] to prevent it being chosen for non get methods.
2014-05-01 13:06:13 -07:00
Praburaj b15aa91661 Modifying the sample to use kvm, k web and k run to run the application.
Also modified the readme file to reflect this. Deleted Selfhost.cmd and CustomHost.cmd.
2014-05-01 10:59:06 -07:00
Praburaj 0fe79d94b3 Updating musicstore code to use the ValidationMessageFor Html helper. 2014-05-01 10:20:11 -07:00
harshgMSFT ab323ac8df Updating Startup.cs to incorporate use route name. 2014-04-30 16:50:35 -07:00
Praburaj 49e0d42ce7 Improving the sample data insertion time.
1. Using dictionaries instead of lists to look up Artists and Genres by name
2. Sample data insertion time decreased to 333ms from 619 ms with this change.
2014-04-29 16:37:56 -07:00
Suhas Joshi 1a92b3048f Updated CreateAdmin method to return Task and added wait statement 2014-04-29 16:19:43 -07:00
ajcvickers 30dac08fe8 It's DbDatabase! (Updating for changes to database creation APIs) 2014-04-29 10:27:03 -07:00
Praburaj b7a989256f Few changes with this checkin:
1. Enabling a work around to add an album to the store (Due to bug# https://github.com/aspnet/WebFx/issues/339) currently its not possible to create / edit an album in the store.
2. Removing a not necessary route from the webFx routes - A previous CR feedback.
2014-04-28 18:02:21 -07:00
Praburaj e324f989e7 EditorForModel and EditorFor Html helpers are available now.
EditorForModel and EditorFor Html helpers are available now. Updating the sample to use those helpers.
2014-04-28 17:04:55 -07:00
Praburaj 80bccdd810 A bug in authorization filter fixed. Modifying sample to use the fix.
A bug in authorization filter at a controller level failing to honor a [AllowAnonymous]
override at an action level was fixed. Modifying the sample to use the fix.
2014-04-28 16:17:23 -07:00
Praburaj e57ca9ab61 A bug in Html Summary when trying to render error messages in a model state error bag is fixed.
Modifying the sample to use the fix.
2014-04-28 16:15:14 -07:00
Praburaj 92904e0d9e Bug in filtering a claim of a specific type and value is now fixed.
Modifying the sample to use the fix.
2014-04-28 16:12:08 -07:00
Praburaj 4a26d740b5 Issue related to having multiple antiforgery token helpers in a single page is now fixed with latest build.
I'm uncommenting the code to accomodate the fix now.
2014-04-28 12:08:59 -07:00
Praburaj a0f5369a20 Model binding can now handle nullable enums. Bug (https://github.com/aspnet/WebFx/issues/256) was fixed to address this.
Deleting the comment and uncommenting the sample code.
2014-04-28 11:01:46 -07:00
Praburaj 647ac5dac0 Modifying the Helios.cmd, Selfhost.cmd and CustomHost.cmd to start the application on different ports on different hosting models.
This will help us to root cause issues faster with fewer questions.
2014-04-28 10:32:59 -07:00
Praburaj acb8421c90 Enabling Url.IsLocalUrl in the music store code 2014-04-25 15:58:20 -07:00
Praburaj 23fb4d8e7d 1. Enabling code to use the [Authorize] filter
2. Marked a few places with bug#s with work arounds
3. Making the app run on CoreCLR by default again (which I reverted by mistake in a previous submit).
2014-04-25 14:06:38 -07:00
ajcvickers 9d25c0b1f1 Updating EntitySet/EntityContext to DbSet/DbContext 2014-04-24 17:19:01 -07:00