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
DamianEdwards
b9fd70b930
Fixing more tslint errors
2014-06-27 11:11:41 -07:00
DamianEdwards
f1a82e6456
Fixing tslint errors
2014-06-27 11:00:37 -07:00
DamianEdwards
aae0635911
Updating MusicStore.Spa for latest MVC changes
2014-06-27 10:48:11 -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
DamianEdwards
7ec9c71181
MusicStore.Spa changes:
...
- Make the account manage page work
- Changed ngTextBoxFor extension not use the base TextBoxFor helper as it was adding unwanted client validation attributes
- Fix controller route
2014-06-16 18:09:08 -07:00
DamianEdwards
4a4fe86df4
Changed use of custom SmartJsonResult to JsonResult in MusicStore.Spa
2014-06-16 15:55:50 -07:00
DamianEdwards
2934514909
Fix MusicStore.Spa:
...
- Support self-host via commands
- Comment out calls to EF APIs that throw NIE
2014-06-16 15:00:57 -07:00
Ryan Nowak
c5593491e0
fix breaking change from mvc
2014-06-12 17:21:07 -07:00
DamianEdwards
ced2c3950f
Delete pre-processed *.ng.ts files from repo
2014-06-12 10:24:59 -07:00
ajcvickers
b53404596f
Updating to add new parameter for Navigation class
2014-06-06 15:04:53 -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
Ryan Nowak
d112adc1f2
Fix breaking changes from MVC
2014-06-06 11:26:50 -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
DamianEdwards
eb9ee643a1
Fix Spa after breaking change in MVC
...
- Reordered TypeScript targets to before AspNet targets to fix build in VS issue
- Refactored the TryUpdateModel workaround in BaseController
2014-05-27 16:54:10 -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
DamianEdwards
a16d9b41d8
Tweaking connection strings to avoid conflicts between the projects
2014-05-22 17:03: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
DamianEdwards
0a60ac200a
Updated TypeScript targets in MusicStore.Spa so TypeScript tooling works
2014-05-19 15:16:24 -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
Praburaj
8bd2d01b11
Adding the switch to turn on Helios errors when deployed to remote.
...
Currently the detailed errors are displayed only for local requests.
2014-04-24 14:53:19 -07:00
Praburaj
470f217374
HttpContext.User is being populated with an anonymous identity with a recent change. So I dont have to check for null before.
...
Fixing the app accordingly.
2014-04-24 14:35:14 -07:00
ajcvickers
cda544c04b
IServiceProvider no longer available from EntityConfigurationBuilder. Using ISP passed to context instead.
2014-04-24 14:16:24 -07:00
Praburaj
5bd052efaa
1. Making configuration as a service to read configuration settings from various places in the app
...
2. Reversed the order of registration of Environment source & json source as the logic for source override changed.
3. Taking a snapshot of the latest packages.
2014-04-23 15:16:58 -07:00
David Fowler
93a2ab2352
Fixed the configuration model and other compilation errors
2014-04-23 09:02:07 -07:00
Praburaj
1cc6445c49
Adding a temporary work around for a bug in ValidationSummary html helper that surfaces during register page.
...
Cleaning up a Dispose method in one of the controllers - all others have been cleaned up before.
2014-04-22 17:39:31 -07:00
Hao Kung
5ba60857a7
Identity DI changes
2014-04-22 14:01:42 -07:00
ajcvickers
737afbd610
An injection of musical love... (Updating music store to use new EF configuration and DI)
...
Changes EF setup to use common DI container
Sets up injection of context instances
2014-04-18 13:17:08 -07:00
David Fowler
d138028462
Updated due to change in API
2014-04-17 22:38:08 -07:00
David Fowler
f258b008fa
Fixed build break and used new pattern for using mvc
2014-04-17 21:26:23 -07:00