Commit Graph

39740 Commits

Author SHA1 Message Date
ajcvickers 9704cbc5ab Comment out test as temp fix for build break. 2014-04-24 13:54:18 -07:00
GrabYourPitchforks 4077c03a7b Hosting: Throw if startup method isn't void-returning. 2014-04-24 12:54:50 -07:00
Chris Ross b751cf19d0 #34 - Make HttpContext.User return non-null. 2014-04-24 12:43:15 -07:00
Glenn ec51ccb18a Update README.md 2014-04-24 10:29:02 -07:00
David Fowler c9400e2640 Update kvm.cmd
Removed crossgen for KRuntime
2014-04-24 10:21:08 -07:00
Glenn 69ffe0f07d Update README.md 2014-04-24 09:56:49 -07:00
Glenn cda5b4af4f Update README.md 2014-04-24 09:56:09 -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
Chris Ross 66495cdc58 Add missing namespace. 2014-04-23 14:15:41 -07:00
ajcvickers 1c3b2ccc31 IDDI again... (Remove call to WithServices)
Per latest changes to EF DI/config.
2014-04-23 13:51:15 -07:00
Chris Ross 4a5de61cd1 OWIN: Change interop extension methods. 2014-04-23 12:01:25 -07:00
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