Commit Graph

3042 Commits

Author SHA1 Message Date
Yishai Galatzer 90daa2587d Minor cleanup 2014-02-15 10:21:27 -08:00
Pranav K 5a22d9b52c Restore @model support in RazorHost 2014-02-13 12:48:02 -08:00
Ryan Nowak 4a801b6c7a integrating routing with WebFX 2014-02-12 18:48:17 -08:00
Yishai Galatzer 1f9d4969a7 CR Feedback 2014-02-12 09:15:16 -08:00
Yishai Galatzer cc3fec2f76 Bring back simple POCO controller
+ HttpContext temporary injection through property
+ 404 when action is not found
2014-02-11 17:25:30 -08:00
Yishai Galatzer 87379400cf rename ControllerAssemblyProvider to IControllerAssemblyProvider 2014-02-10 17:12:41 -08:00
Yishai Galatzer 400240673b Update to CR feedback 2014-02-10 13:29:46 -08:00
Yishai Galatzer a725e4c9b5 Update to support 404
Renamed actiondescriptor to routecontext, because action selection didn't happen yet.
Need to add actiondescriptors back and modify RazorViewEngine to use the right thing.
2014-02-10 13:24:45 -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
N. Taylor Mullen 4cd2cce360 Fix build.
Removed Equals from SetModelTypeCodeGenerator and removed accidentally
committed file.  The Equals method caused a warning without a corresponding
GetHashCode().
2014-02-10 12:30:12 -08:00
N. Taylor Mullen 226d632794 Re-enable the model keyword for Mvc Razor. 2014-02-10 12:00:15 -08:00
Pranav K 3d6740bc8a Update namespace generation in RazorCompilationService to use root
relative paths.
2014-02-07 13:55:59 -08:00
Pranav K cfc6b9ecdd Fixing compilation failure due to change in namespace in Microsoft.AspNet.FileSystem 2014-02-06 16:48:06 -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 b51fd08bab Update ViewDataOfT.SetModel to check for type compatibility when setting
model instance.
2014-02-05 14:33:11 -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
Yishai Galatzer 9365004248 Remove derivation based extensibility points. 2014-02-04 13:54:22 -08:00
Yishai Galatzer 764e5f890d Use Json result constructor only from the Action result helper.
Names to be changed, as they don't make much sense at the moment. Keeping them the same for diffing purposes
2014-02-04 13:54:22 -08:00
Yishai Galatzer 2a3f891878 Customizing Json from helper
Add Json to Helper
Guarantee SerializerSettings
2014-02-04 13:54:20 -08:00
Yishai Galatzer 4b4034788c Initial support for JsonResult + Action result mutation from object to Json 2014-02-04 13:54:19 -08:00
Pranav K c91a814ffa Changes to get the sample running again 2014-02-03 21:05:54 -08:00
David Fowler e10699474b Moved Action results to the right folder 2014-02-01 12:37:40 -08:00
Pranav K cc414e0fef * Renaming Mvc.Forms to Mvc.Rendering
* Moving data types to Mvc.ModelBinding
2014-01-30 16:45:40 -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 a6393e77ab Moving MvcRazorHost to a separate assembly 2014-01-29 15:20:48 -08:00
Pranav K cb8a32e5a6 Updating the view engine to use Microsoft.AspNet.Razor package 2014-01-29 10:08:46 -08:00
David Fowler ea97108e76 Swallow errors while trying to load types. 2014-01-26 03:38:24 -08:00
David Fowler 8415b190b1 Fixed how initialize is called. 2014-01-26 00:54:14 -08:00
Pranav K afa22994bf Fixing project.json schemas 2014-01-25 23:57:22 -08:00
David Fowler f36aa5ba3c Fixed up project.json to be more specific. 2014-01-25 22:16:30 -08:00
David Fowler 127b6886c4 Removed the generated csprojes 2014-01-25 17:16:00 -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 1d27b4e2e4 Remove packages.config 2014-01-25 15:16:24 -08:00
David Fowler a0de7048b5 Ifdef to make stuff compile on both platforms. 2014-01-24 02:20:46 -08:00
David Fowler b0933fdd35 Updated the build and removed older projects. 2014-01-24 02:02:47 -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 fb35288326 Removed core services. 2014-01-22 19:35:13 -08:00
David Fowler 477cf79e58 Removed unneeded dependencies and updated owin bits. 2014-01-22 19:03:56 -08:00
Pranav K 7adb658a38 Moving compilation to Microsoft.AspNet.Mvc.Razor 2014-01-22 15:12:28 -08:00
Pranav K df5a6d30d6 * Migrating HtmlHelper stub
* Updating project json files to new format
2014-01-22 12:27:24 -08:00
Pranav K 69a99e5c41 Moving View overloads to Controller base type 2014-01-22 10:59:32 -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