Commit Graph

37794 Commits

Author SHA1 Message Date
Pranav K 1b1dfb72a5 Adding underscore to README 2014-02-06 11:00:29 -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
Ryan Nowak 856c09ae10 Removing OwinRouteEndpoint 2014-02-04 16:24:17 -08:00
N. Taylor Mullen bc3d32ec74 Modify base Visitor class to be more generic.
This involved adding more boiler plate to the base of the visitor classes such as a Writer and a Context.  By following this contract for new visitors we'll ensure that visitors have enough information to add new features to Razor.
2014-02-04 14:56:00 -08:00
N. Taylor Mullen a9d4cd9089 Remove Snippet dependency
No need to have a snippet class when we only ever use the value of a snippet and only ever have one.
2014-02-04 14:53:52 -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 312b4c5fb5 sort usings 2014-02-04 13:54:21 -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
Ryan Nowak cd0b684094 cr feedback 2014-02-04 13:54:16 -08:00
Ryan Nowak 0eb5ff0b87 integrating abstractions with routing 2014-02-04 12:39:19 -08:00
N. Taylor Mullen 57e0ef4774 Revert changes to CSharpDesignTimeHelpersVisitor.
Without the initial code tree acceptance you end up stack overflowing.  Also removed a validation check that ensures that there's always a base type (not true).
2014-02-04 11:59:50 -08:00
Pranav K c91a814ffa Changes to get the sample running again 2014-02-03 21:05:54 -08:00
Pranav K 57854b2cc0 Refactoring CSharpCodeWriter
* Using CodeGeneratorContext to pass around metadata.
* Tweaks in CSharpCodeWriter to use the right type name
* Adding a sample unit test
2014-02-03 17:04:09 -08:00
Ryan Nowak c796188231 integrating abstractions with routing 2014-02-03 15:56:44 -08:00
Pranav K 68bb44d73e Updating Resx designer file to minimize conflicts after resx change 2014-02-03 13:33:00 -08:00
Hao Kung 5c54e8496d Add test project 2014-02-03 12:42:15 -08:00
Pranav K 4bc8d93777 Updatng build.cmd to use cached NuGet.exe 2014-02-02 20:11:35 -08:00
Pranav K 939f363a0e Updatng build.cmd to use cached NuGet.exe 2014-02-02 08:31:24 -08:00
Pranav K 5676745562 Updatng build.cmd to use cached NuGet.exe 2014-02-02 08:25:47 -08:00
Pranav K 15eb51163d Updating build.cmd to cache NuGet.exe 2014-02-02 08:20:45 -08:00
Pranav K 12fa69c7bc Updating build.cmd to cache NuGet.exe 2014-02-02 08:18:43 -08:00
Pranav K 6c4d078e41 Updating build.cmd to cache NuGet.exe 2014-02-02 08:15:02 -08:00
Pranav K 3ac3af1daf Cache nuget.exe in %LocalAppData% instead of downloading it everytime 2014-02-02 07:50:04 -08:00
David Fowler e10699474b Moved Action results to the right folder 2014-02-01 12:37:40 -08:00
David Fowler 1964e884e1 Initial version of watch target.
- Added FileWatcher helper class
- Added ability to disable fetching k from nuget every time it's called
- Added watch target to standard goals
- Added ability to skip project generation for net45.
  This is useful for watch so that changes made to the
  project but not saved to disk won't be discarded when the
  watcher runs.
2014-02-01 11:55:10 -08:00
Pranav K 37e225d517 Regenerate resx files using ResxFileCodeGenerator
This is a temporary arrangement until we can start generating designer
file equivalents from k build. A side-effect of the change is that the
generated file will no longer build in CoreCLR profile due to missing API.
2014-02-01 10:33:34 -08:00
David Fowler 370a6b7ba3 Added code for the k10 case in FeatureObject. 2014-02-01 03:09:04 -08:00
David Fowler 4ce1423b1c Made small changes to prevent null refs when getting HttpRequestInformation
- Use FeatureReference<T>.Default instead of new when constructing
- Fixed  project.json in tests
2014-02-01 02:32:46 -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
David Fowler d737f15413 Added global.json 2014-02-01 00:51:44 -08:00
David Fowler ebbb481fea Print hello world for k10 project. 2014-02-01 00:39:26 -08:00
David Fowler 27574b1616 Change the runtime generation so that it runs the app using dynamic compilation. 2014-02-01 00:18:33 -08:00
David Fowler 4c17c864f9 Added global.json 2014-01-31 16:40:42 -08:00
Hao Kung 7e121a9ccd Initial identity repo 2014-01-31 13:38:15 -08:00
Louis DeJardin 003718c564 Fixing build errors 2014-01-31 13:35:26 -08:00
Louis DeJardin af0923b68f Rouging out feature interfaces and default abstraction implementations 2014-01-31 13:26:10 -08:00
Louis DeJardin 4de6abb7b5 Adding a placeholder for IdmMapping 2014-01-31 13:26:06 -08:00
Pranav K 1634c74ff4 Remove and sort usings across the solution 2014-01-31 10:24:07 -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 7963eaf5fa Restoring NuGet.config that was removed 2014-01-30 16:03:15 -08:00
N. Taylor Mullen 7f0878c1b8 Comment ifdefs and fix K10 functionality 2014-01-30 15:50:20 -08:00
anpete a951d40352 Match k build resource embedding 2014-01-30 11:52:20 -08:00
Ryan Nowak a86624d386 change to non-static entrypoint, which klr is looking for 2014-01-30 11:22:18 -08:00
Ryan Nowak 84f4a2d047 Initial mock up of key interfaces for routing.
This is heavily based right now on raw Owin as the request/response model
since that will work for building samples/tests, and doesn't require
ifdefs in the code for k10. Once it's feasible, I'll port this to use the
Microsoft.AspNet.Abstractions types.

The sample here includes some basic route/endpoint implementations just to
prove that the route engine works in naive scenarios. These might live on
in the future in some form, but for now it's just part of the sample.

The next step is to integrate this with WebFX and start developing the
integration/configuration story for WebFX.
2014-01-30 11:08:19 -08:00
Ryan Nowak 9f9f92d18a Adding skeleton sample and test project 2014-01-30 11:07:52 -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
David Fowler c616eaca6f Handle timestamp based versions in kruntime itself
- This is useful when testing privates of the runtime itself.
2014-01-30 02:34:44 -08:00