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
0eaad754c4
Reacting to ForeignKey API change.
2014-08-19 15:50:23 -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
dougbu
641816fd9b
Fix build break
...
- no need to call (`internal`) `html.GenerateId()` method since it matches `html.Id()` exactly
- no need for `.ToString()` with either method since they return `string` now
2014-08-01 22:07:38 -07:00
Praburaj
a379593746
Fixing a build break
...
GetClientValidationRules() method's parameter order reversed with a recent MVC change.
2014-07-31 15:08:25 -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
Pranav K
5bace02518
Removing BaseController from MusicStore
...
TryUpdateModelAsync was added to Controller type which removes the need
for this type
2014-07-25 10:13:51 -07:00
Suhas Joshi
77a9885118
Handled starting IISExpress based on architecture
2014-07-24 15:39:55 -07:00
ajcvickers
c28cae9e94
React to EF ModelBuilder API change
2014-07-24 14:28:51 -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
85d0abecad
Renamed Project.json to Project.json2
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