Commit Graph

39583 Commits

Author SHA1 Message Date
SteveSandersonMS 2135d77189 generator-aspnetcore-spa support for selecting between project.json and .csproj 2016-12-15 16:42:25 +00:00
SteveSandersonMS 62b676174e generator-aspnetcore-spa now displays its own version number on startup 2016-12-15 16:41:10 +00:00
SteveSandersonMS 67c2cfd84e Add Appveyor builds and webdriver.io tests (tests cover Angular2Spa template only at present) 2016-12-15 16:38:30 +00:00
SteveSandersonMS 6decb30681 Make 'counter' components use <h1> headers to be consistent with other pages 2016-12-15 16:37:29 +00:00
SteveSandersonMS 33ed333f92 Specify SDK at repo root 2016-12-15 16:35:48 +00:00
SteveSandersonMS 6c16ba3da7 Remove template_nodemodules_placeholder.txt files - they are redundant now that we no longer need to publish node_modules to production 2016-12-15 16:35:48 +00:00
SteveSandersonMS 495c95d227 If generator fails because NPM is too old, exit with nonzero status code 2016-12-15 16:35:48 +00:00
Nate McMaster d55948cae3
React to changes in KoreBuild 2016-12-14 19:30:44 -08:00
Nate McMaster c8b37f47d0 Pin functional tests to preview2 of dotnet-cli 2016-12-14 16:34:19 -08:00
Mikael Mengistu 13a484c305 Remove hosting references 2016-12-14 16:17:15 -08:00
Pranav K 0651cca94a Updating to 4.4 CoreFx packages 2016-12-14 14:47:32 -08:00
Pranav K 4b9276bac2 Updating to 4.4 CoreFx packages 2016-12-14 14:47:32 -08:00
Pranav K 42297c152b Updating to 4.4 CoreFx packages 2016-12-14 14:47:32 -08:00
Pranav K a5717aa583 Updating to 4.4 CoreFx packages 2016-12-14 14:47:31 -08:00
Pranav K ae24eea1a1 Updating to 4.4 CoreFx packages 2016-12-14 14:47:31 -08:00
Pranav K 7ab28ecdc6 Updating to 4.4 CoreFx packages 2016-12-14 14:47:31 -08:00
Pranav K 13edf7a27b Updating to 4.4 CoreFx packages 2016-12-14 14:47:31 -08:00
Pranav K 6eb489007a Updating to 4.4 CoreFx packages 2016-12-14 14:47:30 -08:00
Pranav K 8046dcc0f2 Updating to 4.4 CoreFx packages 2016-12-14 14:47:29 -08:00
Pranav K f6eb86be78 Updating to 4.4 CoreFx packages 2016-12-14 14:47:29 -08:00
Pranav K 7ea92f08fc Updating to 4.4 CoreFx packages 2016-12-14 14:47:29 -08:00
Pranav K 991fbb08bc Updating to 4.4 CoreFx packages 2016-12-14 14:47:29 -08:00
Pranav K c8c2dfaad9 Updating to 4.4 CoreFx packages 2016-12-14 14:47:29 -08:00
Pranav K 4b77edfe7a Updating to 4.4 CoreFx packages 2016-12-14 14:47:28 -08:00
Pranav K 344a2a5f9b Updating to 4.4 CoreFx packages 2016-12-14 14:47:27 -08:00
Pranav K b3afbc79d2 Updating to 4.4 CoreFx packages 2016-12-14 14:47:27 -08:00
Pranav K 5cb5178619 Updating to 4.4 CoreFx packages 2016-12-14 14:47:26 -08:00
N. Taylor Mullen 61b2b0d4e7 Add model for differentiating design time and runtime parsing.
- If needed, a phase/feature can always retrieve the syntax tree to lookup whether the parse tree was made in a "design time" fashion.
- Future DesignTime / Runtime specific bits will be added to their corresponding `AddRuntimeDefaults`/`AddDesignTimeDefaults` methods.
2016-12-14 12:39:25 -08:00
N. Taylor Mullen 6ae3feff29 Remove unused parser options config code.
- This was supposed to be removed when code generation was added but was not.
2016-12-14 12:12:00 -08:00
John Luo 8e8525512d Performance optimizations
- Calculate age using operations on long
- Compute content length of resposne on store
- Format age using the new HeaderUtility
- Lazily create HeaderDictionary
- Use for instead of foreach to reduce allocations from enumerators
2016-12-14 11:37:13 -08:00
N. Taylor Mullen eb230e0408 Port existing CSharp code generation integration tests.
- Added code generation test infrastructure to validate ported tests.

#847
2016-12-14 11:18:31 -08:00
N. Taylor Mullen 5d4c4e1ccf Add Razor runtime code generation.
- Added TabSize,IsIndentingWithTabs and NamespaceImports to the RazorParser options. These are replacements for the existing RazorEngineHost abstraction.
- Added RazorParserOptions consumption pattern to more than just the parsing phase.
- Added a ChecksumIRNode to ensure Debugging can work.
- Updated tests to to react to new Checksum and Namespace nodes in the IR tree.
2016-12-14 11:18:30 -08:00
N. Taylor Mullen 2db4985c21 Modify functions, section and inherits to use extensible directives.
- Removed existing type names used to track `@functions`, `@section` and `@inherits`.
- Updated parsing logic to reflect existing directive behaviors.
- Added additional IR and syntax tree pass in order to fulfill the default directive expectations.
- Updated tests to to expect new extensible directives parse structure.

#894
2016-12-14 11:12:40 -08:00
Nate McMaster 503b4c97ed Resolve dependencies and packages from VS2017 solutions (#464)
* Update 'GetBuildGraph' to understand VS2017 solutions
* Ensure Universe allows repos to self-determine their version of KoreBuild
2016-12-14 11:09:47 -08:00
Chris R da4730a392 #1044 Revert "Auth: Always call prior handlers during Challenge"
This reverts commit e12838e38f.
2016-12-14 10:55:46 -08:00
Mikael Mengistu e1d9aa2dd4 Early version of the .NET Client 2016-12-14 10:04:48 -08:00
Nate McMaster fd632ec654 Cleanup msbuild layout
Use one props file for whole repo, avoiding layers of dir.props
2016-12-14 09:13:00 -08:00
SteveSandersonMS 4dd91a9b78 Make template package build script automate running the prepublish steps needed for the Angular2Spa template 2016-12-14 10:21:04 +00:00
SteveSandersonMS 06335eeee1 Fix building generator-aspnetcore-spa (something in a newer TypeScript version broke it) 2016-12-14 09:56:23 +00:00
David Fowler df9057a6f7 Revert "Revert "React to hosting changes""
This reverts commit 12649b19bf.
2016-12-14 00:01:35 -08:00
David Fowler 12649b19bf Revert "React to hosting changes"
This reverts commit f48bd8d185.
2016-12-13 23:56:10 -08:00
David Fowler f48bd8d185 React to hosting changes 2016-12-13 23:03:20 -08:00
David Fowler 2c5dc9a75c CR feedback
- Added license to file
- Removed extra space
2016-12-13 21:30:08 -08:00
David Fowler 80ae7f056c Fix test name 2016-12-13 21:22:33 -08:00
David Fowler c6346cbde5 Review feedback for IApplicationLifetimeEvents
- Renamed the type to IHostedService and added Start and Stop.
- Split up the IHostedService execution and IApplicationLifetime to avoid
circular references
- Trigger IHostedService.Start after starting the server
- Trigger IHostedService.Stop before disposing the service provider

#895 #894
2016-12-13 21:22:33 -08:00
= 6cf9e8c2bc Revert "Revert "Revert pinning dotnet cli utils""
This reverts commit 347c772490.
2016-12-13 20:56:50 -08:00
John Luo 347c772490 Revert "Revert pinning dotnet cli utils"
This reverts commit e42d58f01f.
2016-12-13 18:56:15 -08:00
John Luo e42d58f01f Revert pinning dotnet cli utils 2016-12-13 16:57:59 -08:00
John Luo fe4c23670e Fix build: pin dotnet cli utils version
need to revert once the package is fixed

also updated integration testing package
2016-12-13 16:33:08 -08:00
Cesar Blum Silveira 4485bfec39 Fix test races caused by cedbe76. 2016-12-13 13:57:26 -08:00