Commit Graph

28 Commits

Author SHA1 Message Date
Ryan Nowak 12985c19ee CR feedback 2014-03-12 10:57:47 -07:00
Ryan Nowak 0ce2c511d4 Adding URL generation to WebFX for controllers and views
This follows a similar pattern to html helpers - a minimal basis interface
that performs the main functionality, and a set of extension methods that
make up the rich API.
2014-03-12 10:57:46 -07: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
Yishai Galatzer 772f833dc9 Action filters & Authorization Filters working 2014-03-06 17:02:45 -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
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
Yishai Galatzer 941a12daea Action selection based on action descriptors 2014-02-17 22:42:02 -08:00
David Fowler 125ca080b5 Added a sample web project 2014-02-14 03:03:02 -08:00
Ryan Nowak 4a801b6c7a integrating routing with WebFX 2014-02-12 18:48:17 -08:00
Yishai Galatzer 400240673b Update to CR feedback 2014-02-10 13:29:46 -08:00
Yishai Galatzer b6a0969c1c Support per process caching of controller discovery
Scan only relevant (non skipped) assemblies
FinalizeSetup point, to make "stuff" immutable
Support controllers under any namespace
support customizing controller discovery
support customizing skipped assemblies
support customizing multiple controllers with the same name under different namespaces and assemblies
support controller ambiguity detection
2014-02-10 13:24:44 -08:00
Pranav K 591e21eea9 Moving MvcService and MvcHandler to a separate assembly
Tenatively named Microsoft.AspNet.Mvc.Startup, the assembly will act as an
entry point into the Mvc handler \ middleware.
2014-02-06 16:21:14 -08:00
Pranav K 6c8485b1ef Removing VirtualFileSystem from Razor
* Paths rooted by a leading slash (e.g. /foo) are correctly resolved by the
PhysicalFileSystem. This change is an experiment to determine if we can
get away with not having virtual paths in WebFx.

* Additionally removing types (MetadataVirtualPathViewFactory,
 VirtualPathAttribute) that are currently unused.
2014-02-04 22:08:27 -08:00
David Fowler f26b3743ec Updated logic to use new HttpAbstractions.
- Updated sln files to use k10 and net45 solution folders
2014-02-01 01:59:30 -08:00
Pranav K 6c9d562fc3 * Using RazorView<dynamic> as base type until we get model support
* Modifying ViewData to share inner dictionary until we figure out how to
  pass it correctly
* Removing unused NuGet.config
2014-01-30 07:26:46 -08:00
Pranav K 85a25685d2 Changes to let Net45 sample run over Owin 2014-01-29 20:29:21 -08:00
Pranav K a6393e77ab Moving MvcRazorHost to a separate assembly 2014-01-29 15:20:48 -08:00
David Fowler 328d43a638 Updated the sample to use the owin http abstractions glue. 2014-01-25 16:44:35 -08:00
David Fowler 2bd1aab88d Updated the samples project for net45 to use owin. 2014-01-25 16:04:50 -08:00
David Fowler a0de7048b5 Ifdef to make stuff compile on both platforms. 2014-01-24 02:20:46 -08:00
David Fowler b54a0da6e8 Updated MVC.
- Use new HttpAbstractions
- Updated the build
- Added new projects
2014-01-24 01:55:17 -08:00
David Fowler 477cf79e58 Removed unneeded dependencies and updated owin bits. 2014-01-22 19:03:56 -08:00
Pranav K 7b8a54cc24 * Updating project structure to use the src, test, build, samples format
* Adding build scripts to use K compilation.
2014-01-21 16:15:44 -08:00