Commit Graph

40803 Commits

Author SHA1 Message Date
N. Taylor Mullen cadc2fc67e Add comparison methods to mapping classes.
This involved adding Equals and == methods to LineMapping.cs and MappingLocation.cs.
2014-02-13 14:32:02 -08:00
N. Taylor Mullen fa342287ad Move semicolon out from pragma for usings. 2014-02-13 14:32:00 -08:00
N. Taylor Mullen 2ff6c12347 Move helper function accessor code outside pragma. 2014-02-13 14:31:58 -08:00
N. Taylor Mullen dcf35ca20b Add padding support to the functions directive.
Exposed the CreateCodeMapping method on the CSharpCodeVisitor.
2014-02-13 14:31:38 -08:00
Pranav K 5a22d9b52c Restore @model support in RazorHost 2014-02-13 12:48:02 -08:00
Pranav K 3afb31b78b Modify SetBaseTYpeCodeGenerator to use value from BaseType instead of
parsed content
2014-02-13 12:45:04 -08:00
ajcvickers d1ac4298c2 Drown your issues in Kool Aid (Updating K Music Store app to use EF/E API surface)
This updates the K version of Music Store to use the updated Entity Framework API surface from the data repro. The changes made previously to the models and controllers in the full .NET version are also included here to bring both versions into line. The code is still non-functional as it was before.
2014-02-13 08:49:26 -08:00
Ryan Nowak 4a801b6c7a integrating routing with WebFX 2014-02-12 18:48:17 -08:00
David Fowler 95d5324bcf Fixed sample generation to use new command line. 2014-02-12 15:20:53 -08:00
Chris Ross 5cece8b4af Rename solution file. 2014-02-12 14:54:39 -08:00
Yishai Galatzer a34826d90b Use the right collection, so accessing a non existent ContentType on a response doesn't throw and return null instead 2014-02-12 12:43:13 -08:00
Pranav K 1c6f185989 Replace tt template with generated code 2014-02-12 12:28:26 -08:00
N. Taylor Mullen 8db45f7564 Add user-based padding support.
Added a CSharpPaddingBuilder based on the existing
CodeGeneratorPaddingHelper to allow accurate padding within the generated
C# files.  Also created tests based on the existing PaddingTest tests to
verify padding functionality.
2014-02-12 12:07:39 -08:00
Pranav K 076ab987b1 Changing resx generation to use tt file 2014-02-12 10:26:11 -08:00
Pranav K 63e55ce776 Updating resx strings to use tt format 2014-02-12 10:11:23 -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
Brice Lambson ffe5f070e0 Configure bugtraq options after clone
This enables linking to issues from commit messages in various tools (e.g. gitk, TortoiseGit, etc.)
2014-02-11 13:24:58 -08:00
Ryan Nowak 42ce8c6594 Adding routebuilder 2014-02-11 12:21:40 -08:00
Ryan Nowak 5ee991cf61 CR feedback 2014-02-11 11:55:02 -08:00
David Fowler 050aeb12c7 Updated the k build target to not use the cache. 2014-02-10 23:40:19 -08:00
David Fowler 5300428a33 Updated build template 2014-02-10 22:42:16 -08:00
David Fowler 00de03d641 Added KRuntime, Hosting, Helios and WebListener 2014-02-10 22:35:46 -08:00
David Fowler 0eace4bbe6 Fixed native compile target by exposing the exec macro 2014-02-10 19:31:29 -08:00
David Fowler 8990f987a0 Added native compile to the standard goals
- Builds native projects to a common location
2014-02-10 19:15:25 -08:00
Louis DeJardin 14679a78ee Implementing code review feedback 2014-02-10 18:18:10 -08:00
Louis DeJardin f59d29b5eb Renaming DefaultServices to GetDefaultServices 2014-02-10 17:57:44 -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
N. Taylor Mullen ff80c86e0c Fixed common resources resx. 2014-02-10 11:57:49 -08:00
N. Taylor Mullen d85927166b Remove unneeded chunk data.
Instead lets keep utilizing the Context's state to properly generate a C# file.
2014-02-10 11:49:49 -08:00
Chris Ross fe1011e507 Code review cleanup. 2014-02-10 10:52:19 -08:00
Chris Ross 40a7181ff0 Lazy translate conditional Owin keys to Features. 2014-02-10 10:24:11 -08:00
Chris Ross 850128dc39 Implement request and response properties: Headers, ContentLength. 2014-02-10 10:24:10 -08:00
Louis DeJardin 0e813fbb79 Rough outline of hosting components 2014-02-09 23:25:56 -08:00
Louis DeJardin c37c555333 Initializing repository 2014-02-09 18:28:14 -08:00
Louis DeJardin 86025a3ec4 Updated Builder constructors 2014-02-09 18:24:16 -08:00
Louis DeJardin e2f45c59ea Placing IServiceProvider on IBuilder
Replaces concept of features/items on builder instance for now
2014-02-08 16:03:59 -08:00
David Fowler f5bd72cdd7 Added identity and static files to the repo. 2014-02-07 23:22:44 -08:00
David Fowler ef421b4d30 Update the build template
- Workaround myget feed issue
- Updated build.cmd to new standard
- Added new things to git ignore
2014-02-07 23:22:43 -08:00
Ryan Nowak 179841743e updating OM of routing, about 10% better perf 2014-02-07 18:28:54 -08:00
Ryan Nowak 85225055b9 removing datatokens/constraints/url-generation 2014-02-07 18:28:53 -08:00
Ryan Nowak d4904e8701 Adding legacy rounting code - mostly unmodified to get it into history 2014-02-07 18:28:51 -08:00
Chris Ross 251630590d Initial port. 2014-02-07 17:01:08 -08:00
Pranav K 3d6740bc8a Update namespace generation in RazorCompilationService to use root
relative paths.
2014-02-07 13:55:59 -08:00
Chris Ross ad3112917b Update Microsoft.Owin dependencies to Microsoft.AspNet. 2014-02-07 11:29:22 -08:00