Commit Graph

131 Commits

Author SHA1 Message Date
David Fowler 34641d21e6 Added code path for rendering html encoded content on K 2014-03-08 23:14:40 -08:00
David Fowler 282ccd6999 Remove duplicate paths 2014-03-08 21:12:01 -08:00
David Fowler e62e5a2bef Simplify how we pick dependencies for razor compilation 2014-03-08 17:15:16 -08:00
David Fowler bda7dd8d2d Made razor work with core clr 2014-03-08 15:56:01 -08:00
David Fowler b482a9e3cb Made roslyn based compilation of razor files work
- Now that services are being flowed through the entire stack
we can nuke the csc service and always use the roslyn based compilation for views
- The RoslynCompilationService is still very much a prototype but it's a good
 step to see what other services might may or may not need to flow.
- Removed the PhysicalFileSystem construction from Mvc itself. This will come from
 the hosting layer and is newed up temporarily in the PathBasedViewFactory itself.
2014-03-08 15:16:44 -08:00
David Fowler 5de1ae578d Updated common 2014-03-08 01:22:35 -08:00
David Fowler 360f81d0a8 Added required packages for K 2014-03-08 01:10:02 -08:00
Pranav K 574ce6de98 Query and route value provider factories are added to service container
multiple times
2014-03-07 15:08:28 -08:00
Pranav K 28b7597779 Introducing NotNullAttribute for null argument checks 2014-03-07 14:03:28 -08:00
David Fowler eb61728107 Fix webfx compile error.
- Assembly.Load(byte[]) has been removed
- Added IAssemblyLoaderEngine type that flows from the host
2014-03-06 22:11:10 -08:00
Stephen Halter 4d1768ce3c Use the ServiceDescriber class from the DI project in GetDefaultServices 2014-03-06 17:44:54 -08:00
Yishai Galatzer bcfccbd105 Remove allow anonymous (will happen as a separate feature) 2014-03-06 17:06:21 -08:00
Yishai Galatzer 5503aa7b4a Remove comment 2014-03-06 17:02:49 -08:00
Yishai Galatzer 1bcd35f5f1 Code cleanup 2014-03-06 17:02:48 -08:00
Yishai Galatzer 7cf40c8a50 CR feedback 2014-03-06 17:02:47 -08:00
Yishai Galatzer a55a71a4f8 ResultFilter attribute added to sample 2014-03-06 17:02:46 -08:00
Yishai Galatzer 772f833dc9 Action filters & Authorization Filters working 2014-03-06 17:02:45 -08:00
Yishai Galatzer 6fed92695b Filter execution 2014-03-06 17:01:40 -08:00
Yishai Galatzer f669c1c00e Cleanup & Renames 2014-03-06 17:00:47 -08:00
Yishai Galatzer 8c5db4fdfa Action/ActionResult/ExceptionFilterAttribute(s)
AllowAnonymousAttribute
Name cleanup in ReflectionActionDescriptorProvider
2014-03-06 17:00:47 -08:00
Yishai Galatzer 1783a06dc0 Filter discovery 2014-03-06 17:00:46 -08:00
Yishai Galatzer 4d90d590a9 Default filter provider, instantiates and merges all filters pre action invocation. 2014-03-06 17:00:45 -08:00
Yishai Galatzer 4bb66937e3 Action/ActionResult/ExceptionFilterAttribute(s)
AllowAnonymousAttribute
Name cleanup in ReflectionActionDescriptorProvider
2014-03-06 17:00:44 -08:00
Yishai Galatzer 457016a6da Add the actual filters interface signatures,
Add the AuthorizationFilterAttribute
2014-03-06 17:00:43 -08:00
Yishai Galatzer 75bccbae21 Filter discovery 2014-03-06 17:00:42 -08:00
Yishai Galatzer dc6b1b1a4a Context + ActionDescriptor + IFilter marker 2014-03-06 17:00:41 -08:00
Ryan Nowak 318c19b2f9 Issue #39 move init code into controller factory 2014-03-06 12:44:36 -08:00
Ryan Nowak 9d0cea17dd Changes due to changes in routing take 2 2014-03-06 12:26:09 -08:00
Ryan Nowak 905e84ab0a Changes in WebFx for compatibility with routing 2014-03-05 20:51:41 -08:00
Pranav K 914d8e8a3b Updating DI to use ServiceDescriptors
Fixes #25
2014-03-05 15:59:33 -08:00
Ryan Nowak 1cb8a049f2 This is a TEMPORARY fix to unblock WebFX samples.
More changes are coming to the routing API surface, so this will be
cleaned up with a final version soon.
2014-03-05 14:40:37 -08:00
Pranav K e87f8c372c Consume ModelBinding from Mvc
* Modify ReflectedActionInvoker to model bind parameters
* Introduce IBodyReader for reading request bodies
* Introduce types for per-action-context specific binders, value providers
  and body readers
2014-03-05 10:13:52 -08:00
David Fowler 9dc79df9cf Fixed core clr compilation error. 2014-03-05 01:04:23 -08:00
David Fowler 05e0d5cabb Updated to newer version of roslyn 2014-03-04 22:59:48 -08:00
David Fowler 710b9ad4ed Use csc compilation to avoid temporary churn in host services 2014-03-03 23:25:24 -08:00
Pranav K 48738b91f4 Updating resx designer file to use updated format 2014-03-03 12:05:00 -08:00
Yishai Galatzer 2688029682 Formatting 2014-03-03 00:46:03 -08:00
Yishai Galatzer c321e40d44 Rename TypeMethodXXX to ReflectedXXX 2014-03-03 00:39:12 -08:00
Yishai Galatzer 6244d55e1f Rename MVC -> MVC.Core, MVC.Startup -> MVC 2014-03-02 23:16:18 -08:00
David Fowler 346f02e37c First stab Roslyn based compilation service for razor pages
- Flow the host service provider to MvcServices
- Use assembly neutral interfaces to access host services
- Added RoslynCompilationService to Microsoft.AspNet.Mvc.Razor
- Modified self host sample as helios needs to be updated to flow more services
2014-03-02 01:14:01 -08:00
Ryan Nowak 5c07c6a07b CR feedback 2014-02-28 12:56:28 -08:00
Ryan Nowak 803f447686 Use INestedProvider for ADP and AIP 2014-02-28 12:56:26 -08:00
Pranav K d920003194 Introduce FormValueProviderFactory to expose form data as a value provider 2014-02-28 11:05:39 -08:00
Pranav K 04c7b50726 Removing IsFromBody property from ModelMetadata 2014-02-26 13:40:35 -08:00
Pranav K 9915b1c767 Reintroduce WriteAttribute methods on RazorView type 2014-02-24 19:55:48 -08:00
Pranav K f1183f57af * Remove unused method of IModelMetadataProvider
* Fix warning in CollectionModelBinder
2014-02-24 17:59:29 -08:00
Pranav K b6c78de4ea Reintroduce model binding 2014-02-23 15:23:58 -08:00
Pranav K 906e68e72e Adding workaround to compilation for web host 2014-02-21 08:09:03 -08:00
Ryan Nowak 9d056167e8 Overload Resolution Skeleton 2014-02-20 11:37:33 -08:00
Yishai Galatzer 941a12daea Action selection based on action descriptors 2014-02-17 22:42:02 -08:00