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
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