David Fowler
b3d851dfe9
Added [NotNull]
2014-04-17 20:01:49 -07:00
David Fowler
fba1b400fe
Removed comment
2014-04-17 20:00:06 -07:00
David Fowler
73e1386724
Added UseMvc extension method via IBuilder extensions.
2014-04-17 19:55:23 -07:00
Hao Kung
da7140b9d0
Port Identity 2.1 API changes
...
Add AddToRoles and RemoveFromRoles
2014-04-17 15:46:06 -07:00
Hao Kung
3c4a2df2cb
Use DI for Identity
2014-04-17 15:36:17 -07:00
Hao Kung
e61107a381
Switch to using Identity extensions
2014-04-17 14:29:25 -07:00
Hao Kung
4a3ad0870c
Port GetUserId/UserName IIdentity extensions
2014-04-17 12:52:17 -07:00
Hao Kung
43b780c8ac
Fix typo in resources.designer.cs
...
https://github.com/aspnet/Identity/issues/37
2014-04-17 12:20:19 -07:00
dougbu
b8eb16d98d
Fix #266 : Throw when views aren't found at call sites
...
- note `htmlHelper.Display()` does not throw on failures
2014-04-17 12:05:16 -07:00
Louis DeJardin
f19fe0cbef
Filters version 2.0
...
This is functionally much more similar to legacy MVC.
Rather than a pure single pipeline, filter execution takes place in more
stages.
2014-04-17 11:45:58 -07:00
David Fowler
c06aa04654
Update music store to handle the new changes in aspnet/WebFx#257 and aspnet/WebFx#259
2014-04-17 00:46:24 -07:00
David Fowler
e99576a429
Added callback overload to UseContainer
...
- Allows caller to pass a delegate to configure add services via the
ServiceCollection.
2014-04-17 00:12:41 -07:00
David Fowler
93c9b3419e
Made some changes to the MvcApplication class
...
- Renamed it to MvcRouteHandler
- Removed required IServiceProvider ctor param.
- The HttpContext flows the application services through to MVC. This does
require a call to app.UseContainer in order for things to work but that should be fine.
This will be the pattern we use for all frameworks going forward and we'll need to have some
good error handling around this area when things aren't wired up properly.
2014-04-17 00:02:10 -07:00
David Fowler
44ee632825
Added overload that takes IConfiguration
2014-04-16 23:59:37 -07:00
David Fowler
4fc0b56dfa
Added extension method to ServiceCollection to register default services
2014-04-16 23:59:36 -07:00
Glenn Condron
9c77f52cd1
replace batch files with kvm
2014-04-16 21:51:54 -07:00
Glenn
45f361d0bd
Update README.md
2014-04-16 21:41:33 -07:00
Ryan Nowak
ce1f813a82
More spot fixes for warnings as errors
2014-04-16 20:21:10 -07:00
Ryan Nowak
40e7fcc9ba
Turning on warnings as errors
2014-04-16 20:21:07 -07:00
Ryan Nowak
5075679936
Cleaning up more warnings
...
These are the cases where an interface returns Task, but our
implementation is synchronous. In these cases we prefer to declare the
method as async and suppress, because this keeps the exception semantics
the same as a 'true' async method.
2014-04-16 20:09:01 -07:00
Ryan Nowak
06c63c38a1
Fix for #32 and #33 - return IBuilder from UseRouter
...
Also removing the overload that doesn't take a route collection
2014-04-16 20:01:35 -07:00
Ryan Nowak
c54f6d006b
Fix for #57
...
Removing last use of ActivatorUtilities
2014-04-16 18:36:44 -07:00
Praburaj
aa7fe89c81
Using a single GetUserName() temporary extension in all places where I try to get the user name. This temporary extension will go away when we have these extensions as part of identity package.
2014-04-16 17:22:05 -07:00
Praburaj
506b439f2f
Using Html.DisplayNameFor helper to generate some titles.
2014-04-16 17:12:23 -07:00
Praburaj
20d0fc9bd8
Enabling code to use Html.LabelFor and Html.Label helpers.
2014-04-16 16:53:53 -07:00
Ryan Nowak
b8bd6a5886
Fixing a warning
...
The constant ValidationType was hiding a property on the base class.
2014-04-16 16:50:31 -07:00
Chris Ross
a748266eb6
Update to use new tooling.
2014-04-16 15:57:28 -07:00
Praburaj
5c3d268327
Deleting a view page related to social login which is not in alpha scope (previously missed to remove this).
2014-04-16 14:17:16 -07:00
Chris Ross
f8b1679240
Update to new project tooling.
2014-04-16 14:16:46 -07:00
Praburaj
439398b7ab
Some minor cleanup:
...
1. Removing a couple of unused enum items which is not required for alpha
2. Cleaning up an unused namespace in Startup.cs
2014-04-16 14:16:07 -07:00
harshgMSFT
72732868c6
Adding DisplayName, Label HtmlHelpers.
2014-04-16 11:41:47 -07:00
Pranav K
b9b652084a
Introducing IClientModelValidator to support client validation
...
* Adding support for validator adapters in DataAnnotationsModelValidatorProvider
* Adding Regex and DataType validators
2014-04-16 06:27:52 -07:00
Levi Broderick
6bc6da1c7d
Fix build break: inadvertently removed PBKDF2.cs and related functionality
2014-04-15 22:10:09 -07:00
GrabYourPitchforks
1959aa9e7f
Merge from internal DataProtection repo.
2014-04-15 18:03:41 -07:00
Praburaj
41700cf56d
Changes with this checkin:
...
adding a work around to test the account/manage user feature. With this I can verify password changes work fine.
2014-04-15 17:19:58 -07:00
Praburaj
348d4a11de
Html.ActionLink WebFx bug# 246 is fixed now. Enabling the code to use the helper.
2014-04-15 16:49:46 -07:00
Praburaj
843c952928
Removing some more view pages related to the external login. Also fixed the corresponding views
...
that were trying to render them.
2014-04-15 16:42:13 -07:00
Ryan Nowak
f34ed467e4
Fix for #246 - ActionLink generating wrong urls
...
There's an overload that's missing from ActionLink but is present on url
helper, making it very easy to mistakenly pass the wrong data. In the case
of #246 , the controller name is treated as the route-values and the
route-values treated as html attributes, leading to the wrong link being
generated.
2014-04-15 15:23:59 -07:00
harshgMSFT
5810215306
Updating the Kproj file to contain the missing reference to NonActionAttribute.cs
2014-04-15 15:14:32 -07:00
sornaks
646b711b11
Adding the missed project files for WebFX:156 - Introducing RedirectToAction and RedirectToRoute
2014-04-15 13:49:57 -07:00
Hao Kung
d4c0e7dd90
Remove set password logic not needed for alpha
2014-04-15 12:23:21 -07:00
Praburaj
7fd711df54
Html.ActionLink generating an incorrect url when trying to generate a link to a different controller + action.
...
Adding a work around with information of a corresponding bug. The work around will go away once we have a fix.
2014-04-15 12:11:05 -07:00
Praburaj
69dae2d216
Enabling code to use RedirectToAction helpers.
2014-04-15 11:45:17 -07:00
Chris Ross
f12117fe1f
Remove temp IAppBuilder support.
2014-04-15 11:28:42 -07:00
Hao Kung
b079480383
Add SignOut to SignInManager
2014-04-15 11:21:22 -07:00
Hao Kung
70b45dbe2d
AccountController identity cleanup
...
Use SignInManager where appropriate
Misc cleanup of controller actions
2014-04-15 11:03:18 -07:00
Sornakumar
ecd8ddeae4
WebFX 156: Adding support for RedirectToAction and RedirectToRoute
2014-04-15 10:45:57 -07:00
Glenn
251d824d23
Update README.md
2014-04-14 18:21:19 -07:00
Praburaj
46da4ba9e4
Changes with this checkin:
...
Removing all code related to External login from Account controller.
I also added a little ugly work around to initiate a static UserManager for testing purpose. This should go away shortly.
With this change user can register a user, login & logout.
2014-04-14 18:20:57 -07:00
Praburaj
f95588f0dd
Enabling code to do drop down lists in music store.
2014-04-14 17:26:39 -07:00