Commit Graph

45021 Commits

Author SHA1 Message Date
Yishai Galatzer 941a12daea Action selection based on action descriptors 2014-02-17 22:42:02 -08:00
anpete d35d168973 Enable warningsAsErrors compiler option in project gen 2014-02-17 22:28:22 -08:00
Chris Ross 2dac6756dc Fix json file formatting. 2014-02-17 12:16:02 -08:00
Chris Ross da1e6c3e7f Directly build IPAddress from SocketAddress. 2014-02-17 11:57:21 -08:00
Yishai Galatzer 1d40372cc3 Renames to prepare for action selection PR 2014-02-16 11:10:21 -08:00
Chris Ross 742db6ad65 Change to the new abstractions. 2014-02-15 15:38:17 -08:00
Brice Lambson d762b614bd Add System.Data.Common & Microsoft.Data.SQLite 2014-02-15 12:29:31 -08:00
Yishai Galatzer 90daa2587d Minor cleanup 2014-02-15 10:21:27 -08:00
David Fowler 5ea11e396d Added first core clr enabled sample. 2014-02-15 01:20:32 -08:00
Pranav K ad5a77ca4c Removing csproj files that are not meant to be commited 2014-02-14 19:56:27 -08:00
GrabYourPitchforks 69addcac86 FeatureModel should use Type.IsInstanceOf rather than direct type equality. 2014-02-14 16:26:13 -08:00
David Fowler 125ca080b5 Added a sample web project 2014-02-14 03:03:02 -08:00
David Fowler df09af0ff2 Added ability to generate web project that bootstraps helios. 2014-02-14 02:14:53 -08:00
David Fowler 7aeecf6bce Look for Startup and AssemblyName.Startup 2014-02-14 00:20:08 -08:00
GrabYourPitchforks 7aa23bfc05 Add DPAPI support to the DataProtection library. 2014-02-13 17:42:04 -08:00
anpete 31ba4e8430 Use named parameters for format strings 2014-02-13 17:20:00 -08:00
N. Taylor Mullen f43a17369c Transition tests to use new CodeTree.
Previously they would use CodeDOM dependent concepts.
2014-02-13 15:03:19 -08:00
N. Taylor Mullen da192d7c96 Fix scoping spacing for pragmas and curly braces.
If the writer did not write anything it would throw when attempting to do .Last().
2014-02-13 14:32:04 -08:00
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