David Fowler
93a2ab2352
Fixed the configuration model and other compilation errors
2014-04-23 09:02:07 -07:00
Pranav K
3671e8c5b4
Reviving CompareAttributeAdapter and ModelClientValidationEqualToRule
2014-04-22 23:11:24 -07:00
Pranav K
cc00d8cff7
Modify TypeConverterModelBinder to use ValueProviderResult.CanConvertFromString to determine if it can convert a
...
value
* Adding support for extra type conversions
2014-04-22 23:00:58 -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
N. Taylor Mullen
9abd67da4b
Cleaned up some code writer code.
...
Modified the ToString override to be GenerateCode and fixed how it cached.
2014-04-22 15:21:09 -07:00
Hao Kung
5ba60857a7
Identity DI changes
2014-04-22 14:01:42 -07:00
Hao Kung
d827b9fff2
More DI-ify identity
...
Follow K patterns for DI
- IdentityBuilder
- IServiceProvider constructor
- Unit tests for Startup usage/new DI builder
- Move template default configuration into DefaultServices
2014-04-22 13:31:23 -07:00
Glenn
1d4e383c7e
Update README.md
2014-04-22 10:53:40 -07:00
Glenn
f0c96e26cb
Update README.md
2014-04-22 10:51:26 -07:00
Chris Ross
c8af917927
Expose IPAddress, X509Certificate.
2014-04-22 10:00:31 -07:00
Chris Ross
bfab162b4b
Seperate the server layers into two projects.
2014-04-22 09:56:09 -07:00
David Fowler
a5899584a2
Remove out.txt added forever ago
2014-04-21 22:59:41 -07:00
David Fowler
40d9fa0019
Added missing dependency
2014-04-21 22:59:26 -07:00
David Fowler
caff1d3d68
Fixed unused project references
2014-04-21 22:31:46 -07:00
David Fowler
aa4dfffd84
Fixed references in test host
2014-04-21 22:27:14 -07:00
Glenn Condron
2e8d9d4056
update startup class to work with new APIs, updated package versions to specific packages. Changed variable name in index.cshtml
2014-04-21 18:11:07 -07:00
Chris Ross
a04d592d06
OWIN->K and K->OWIN support via Func<AppFunc, AppFunc>.
2014-04-21 16:26:15 -07:00
Ryan Nowak
73670fb5d7
CR feedback for filters
2014-04-21 13:34:00 -07:00
Brice Lambson
8b2dfabc30
Generate projects for net451
2014-04-21 13:16:45 -07:00
dougbu
b8731621df
Add default `Display*()` templates
...
- first get old code in correct spot
- then get default templates working in new world
- usual things: `[NotNull]`, `var`, internal -> public
- provide a `HtmlHelper.GenerateOption()` static method
- pass an `ViewDataDictionary<object>` instance to `TemplateRenderer` constructor
- run default templates synchronously with an IHtmlHelper<object>
- copy over resources
- add Microsoft.Data.Entity reference for EntityState type
- use default templates in MVC sample
- remove most on-disk overrides of the default templates
2014-04-19 19:00:42 -07:00
David Fowler
93aa23b6ab
Removed ifdefs around RemoteIP and ClientCerts.
2014-04-19 16:40:58 -07:00
David Fowler
e3afbae213
Remove the converter logic
2014-04-19 02:27:49 -07:00
ajcvickers
389678042f
ID DI (Update Identity to use EF DI/config)
...
Constructors that take IServiceProvider so it can be injected and also kept the parameterless constructor which will create its own DI container as before--not sure if this is desirable for Identity or not, but can be changed later.
2014-04-18 14:55:55 -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
Chris Ross
28fbacc7f4
Remove #if NET45s for IPAddress, X509Certificate.
2014-04-18 08:51:59 -07:00
David Fowler
05a2319d84
Moved BuilderExtensions to Microsoft.AspNet namespace
2014-04-18 00:51:27 -07:00
David Fowler
f86877b14f
Move BuilderExtensions and RouterMiddleware to Microsoft.AspNet
2014-04-18 00:22:27 -07:00
David Fowler
bba57874bc
Put UseServices extension method in Microsoft.AspNet
2014-04-18 00:13:10 -07:00
David Fowler
d138028462
Updated due to change in API
2014-04-17 22:38:08 -07:00
David Fowler
9726a26056
Update based on new API changes
2014-04-17 22:25:17 -07:00
David Fowler
689bdf2072
Removed properties folder
2014-04-17 22:20:40 -07:00
David Fowler
252f17e5e2
Adjusting due to API changes
2014-04-17 22:16:04 -07:00
David Fowler
03b089abe0
Renamed Builder.ServiceProvider to Builder.ApplicationServices
...
- Made things consistent with HttpContext.ApplicationServices
2014-04-17 22:08:47 -07:00
David Fowler
3b69e024a2
Updated solution
2014-04-17 21:54:55 -07:00
David Fowler
f258b008fa
Fixed build break and used new pattern for using mvc
2014-04-17 21:26:23 -07:00
David Fowler
73b7509368
Updated to use new UseServices API
2014-04-17 21:13:43 -07:00
David Fowler
11080a5d06
Removed Properties folder
2014-04-17 20:31:11 -07:00
David Fowler
10ee3c20e3
Rename UseContainer to UseServices
2014-04-17 20:27:18 -07:00
David Fowler
c4f01b8ec9
Removed MVC's custom request scope
...
We need to figure out a consistent way to throw errors when there isn't
a request scope already setup.
2014-04-17 20:10:18 -07:00
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