Hao Kung
b7e122fbac
Hook auth options validation into validation feature ( #8665 )
2019-03-25 11:35:39 -07:00
Hao Kung
6641a02ff2
Enable AuthSamples.FunctionalTests on helix ( #8691 )
2019-03-25 11:19:27 -07:00
Pranav K
287fd0bef7
Update to use _Imports.razor
2019-03-25 10:59:44 -07:00
Steven T. Cramer
0494dfa683
Update BlazorLibrary-CSharp to use .razor extention
2019-03-25 10:59:44 -07:00
Steven T. Cramer
3c63a76a3d
Update BlazorStandalone-CSharp to use .razor extention
2019-03-25 10:59:44 -07:00
Steven T. Cramer
15cb6dff96
Update BlazorHosted-CSharp.Client to use .razor extention
...
This adds clarity and precision to the template. The files are Blazor/RazorComponents and not normal Razor Pages.
2019-03-25 10:59:44 -07:00
Eilon Lipton
31446f8c5d
Merge pull request dotnet/extensions#1297 from aspnet/eilon/license
...
Fix license\n\nCommit migrated from 7a857c54ee
2019-03-24 20:02:30 -07:00
Justin Kotalik
7a1a53d76d
React to sem version 2.0 ( #8725 )
2019-03-24 14:17:06 -07:00
dotnet-maestro[bot]
23ad42e905
[master] Update dependencies from 5 repositories ( #8756 )
...
* Update Extensions packages to version 3.0.0-preview4.19173.2 from build 20190323.2
* Update dependencies from https://github.com/aspnet/EntityFrameworkCore build 20190323.4
- Microsoft.EntityFrameworkCore.Tools - 3.0.0-preview4.19173.4
- Microsoft.EntityFrameworkCore.SqlServer - 3.0.0-preview4.19173.4
- dotnet-ef - 3.0.0-preview4.19173.4
- Microsoft.EntityFrameworkCore - 3.0.0-preview4.19173.4
- Microsoft.EntityFrameworkCore.InMemory - 3.0.0-preview4.19173.4
- Microsoft.EntityFrameworkCore.Relational - 3.0.0-preview4.19173.4
- Microsoft.EntityFrameworkCore.Sqlite - 3.0.0-preview4.19173.4
* Update dependencies from https://github.com/aspnet/AspNetCore-Tooling build 20190323.2
- Microsoft.NET.Sdk.Razor - 3.0.0-preview4.19173.2
- Microsoft.CodeAnalysis.Razor - 3.0.0-preview4.19173.2
- Microsoft.AspNetCore.Razor.Language - 3.0.0-preview4.19173.2
- Microsoft.AspNetCore.Mvc.Razor.Extensions - 3.0.0-preview4.19173.2
* Update dependencies from https://github.com/dotnet/core-setup build 20190323.06
- Microsoft.NETCore.App - 3.0.0-preview4-27523-06
Dependency coherency updates
- Microsoft.Extensions.DependencyModel - 3.0.0-preview4-27523-06 (parent: Microsoft.NETCore.App)
2019-03-24 10:38:56 -07:00
Ryan Nowak
2849483895
Make IHealthCheckService work in ST-sync-context
...
\n\nCommit migrated from 2b673c89c2
2019-03-23 20:26:53 -07:00
Ryan Nowak
ffc4b00764
Generalize and harden ST-sync-context
...
\n\nCommit migrated from 247bb34a63
2019-03-23 20:26:53 -07:00
Pranav K
31e916cdfd
Add .razor files to UpToDateCheckInput ( dotnet/aspnetcore-tooling#359 )
...
Fixes https://github.com/aspnet/AspNetCore/issues/8181\n\nCommit migrated from da168188b4
2019-03-23 14:05:21 -07:00
Mikael Mengistu
316fbbe9c4
Marking tests as flaky( #8749 )
2019-03-22 17:59:21 -07:00
Pranav K
9a35bbea03
Experience for Razor SDK ( #8731 )
...
* Experience for Razor SDK
* Remove Components.Build
* Update MVC projects and templates to use AddRazorSupportForMvc
* Update components templates to use .razor extension
Fixes https://github.com/aspnet/AspNetCore/issues/6392
* Update dependencies from https://github.com/aspnet/AspNetCore-Tooling build 20190321.3
- Microsoft.NET.Sdk.Razor - 3.0.0-preview4.19171.3
- Microsoft.CodeAnalysis.Razor - 3.0.0-preview4.19171.3
- Microsoft.AspNetCore.Razor.Language - 3.0.0-preview4.19171.3
- Microsoft.AspNetCore.Mvc.Razor.Extensions - 3.0.0-preview4.19171.3
* Update dependencies from https://github.com/dotnet/core-setup build 20190322.01
- Microsoft.NETCore.App - 3.0.0-preview4-27522-01
Dependency coherency updates
- Microsoft.Bcl.Json.Sources - 4.6.0-preview4.19164.7 (parent: Microsoft.NETCore.App)
- Microsoft.CSharp - 4.6.0-preview4.19164.7 (parent: Microsoft.NETCore.App)
- Microsoft.Win32.Registry - 4.6.0-preview4.19164.7 (parent: Microsoft.NETCore.App)
- System.ComponentModel.Annotations - 4.6.0-preview4.19164.7 (parent: Microsoft.NETCore.App)
- System.Data.SqlClient - 4.7.0-preview4.19164.7 (parent: Microsoft.NETCore.App)
- System.Diagnostics.EventLog - 4.6.0-preview4.19164.7 (parent: Microsoft.NETCore.App)
- System.IO.Pipelines - 4.6.0-preview4.19164.7 (parent: Microsoft.NETCore.App)
- System.Net.Http.WinHttpHandler - 4.6.0-preview4.19164.7 (parent: Microsoft.NETCore.App)
- System.Net.WebSockets.WebSocketProtocol - 4.6.0-preview4.19164.7 (parent: Microsoft.NETCore.App)
- System.Reflection.Metadata - 1.7.0-preview4.19164.7 (parent: Microsoft.NETCore.App)
- System.Runtime.CompilerServices.Unsafe - 4.6.0-preview4.19164.7 (parent: Microsoft.NETCore.App)
- System.Security.Cryptography.Cng - 4.6.0-preview4.19164.7 (parent: Microsoft.NETCore.App)
- System.Security.Cryptography.Pkcs - 4.6.0-preview4.19164.7 (parent: Microsoft.NETCore.App)
- System.Security.Cryptography.Xml - 4.6.0-preview4.19164.7 (parent: Microsoft.NETCore.App)
- System.Security.Permissions - 4.6.0-preview4.19164.7 (parent: Microsoft.NETCore.App)
- System.Security.Principal.Windows - 4.6.0-preview4.19164.7 (parent: Microsoft.NETCore.App)
- System.ServiceProcess.ServiceController - 4.6.0-preview4.19164.7 (parent: Microsoft.NETCore.App)
- System.Text.Encodings.Web - 4.6.0-preview4.19164.7 (parent: Microsoft.NETCore.App)
- System.Threading.Channels - 4.6.0-preview4.19164.7 (parent: Microsoft.NETCore.App)
- Microsoft.Extensions.DependencyModel - 3.0.0-preview4-27522-01 (parent: Microsoft.NETCore.App)
- Microsoft.NETCore.Platforms - 3.0.0-preview4.19164.7 (parent: Microsoft.NETCore.App)
* Update dependencies from https://github.com/aspnet/EntityFrameworkCore build 20190321.4
- Microsoft.EntityFrameworkCore.Tools - 3.0.0-preview4.19171.4
- Microsoft.EntityFrameworkCore.SqlServer - 3.0.0-preview4.19171.4
- dotnet-ef - 3.0.0-preview4.19171.4
- Microsoft.EntityFrameworkCore - 3.0.0-preview4.19171.4
- Microsoft.EntityFrameworkCore.InMemory - 3.0.0-preview4.19171.4
- Microsoft.EntityFrameworkCore.Relational - 3.0.0-preview4.19171.4
- Microsoft.EntityFrameworkCore.Sqlite - 3.0.0-preview4.19171.4
* Update dependencies from https://github.com/aspnet/Extensions build 20190321.4
- Mono.WebAssembly.Interop - 3.0.0-preview4.19171.4
- Microsoft.JSInterop - 3.0.0-preview4.19171.4
- Microsoft.Internal.Extensions.Refs - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Diagnostics.HealthChecks - 3.0.0-preview4.19171.4
- Microsoft.Extensions.DiagnosticAdapter - 3.0.0-preview4.19171.4
- Microsoft.Extensions.DependencyInjection.Abstractions - 3.0.0-preview4.19171.4
- Microsoft.Extensions.DependencyInjection - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Configuration.Xml - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Configuration.UserSecrets - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Configuration.KeyPerFile - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Configuration.Json - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Configuration.Ini - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Configuration.FileExtensions - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Configuration.EnvironmentVariables - 3.0.0-preview4.19171.4
- Microsoft.Extensions.FileProviders.Abstractions - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Configuration.CommandLine - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Configuration.AzureKeyVault - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Configuration.Abstractions - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Configuration - 3.0.0-preview4.19171.4
- Microsoft.Extensions.CommandLineUtils.Sources - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Caching.StackExchangeRedis - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Caching.SqlServer - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Caching.Memory - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Caching.Abstractions - 3.0.0-preview4.19171.4
- Microsoft.Extensions.ActivatorUtilities.Sources - 3.0.0-preview4.19171.4
- Microsoft.AspNetCore.Testing - 3.0.0-preview4.19171.4
- Microsoft.AspNetCore.BenchmarkRunner.Sources - 3.0.0-preview4.19171.4
- Microsoft.AspNetCore.Analyzer.Testing - 3.0.0-preview4.19171.4
- Internal.AspNetCore.Analyzers - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Configuration.Binder - 3.0.0-preview4.19171.4
- Microsoft.Extensions.FileProviders.Composite - 3.0.0-preview4.19171.4
- Microsoft.Extensions.FileProviders.Embedded - 3.0.0-preview4.19171.4
- Microsoft.Extensions.FileProviders.Physical - 3.0.0-preview4.19171.4
- Microsoft.Extensions.WebEncoders - 3.0.0-preview4.19171.4
- Microsoft.Extensions.ValueStopwatch.Sources - 3.0.0-preview4.19171.4
- Microsoft.Extensions.TypeNameHelper.Sources - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Primitives - 3.0.0-preview4.19171.4
- Microsoft.Extensions.ParameterDefaultValue.Sources - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Options.DataAnnotations - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Options.ConfigurationExtensions - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Options - 3.0.0-preview4.19171.4
- Microsoft.Extensions.ObjectPool - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Logging.TraceSource - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Logging.Testing - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Logging.EventSource - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Logging.Debug - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Logging.Console - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Logging.Configuration - 3.0.0-preview4.19171.4
- Microsoft.Extensions.FileSystemGlobbing - 3.0.0-preview4.19171.4
- Microsoft.Extensions.HashCodeCombiner.Sources - 3.0.0-preview4.19171.4
- Microsoft.Extensions.HostFactoryResolver.Sources - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Hosting - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Hosting.Abstractions - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Http - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Localization - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Localization.Abstractions - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Logging - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Logging.Abstractions - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Logging.AzureAppServices - 3.0.0-preview4.19171.4
* Grab latest from other aspnet repos
- brings everything into coherence
- aspnet/Extensions packages with version 3.0.0-preview4.19172.1 from build 20190322.1
- aspnet/AspNetCore-Tooling packages with version 3.0.0-preview4.19172.2 from build 20190322.2
- aspnet/EntityFrameworkCore packages with version 3.0.0-preview4.19172.3 from build 20190322.3
2019-03-22 17:33:20 -07:00
Sebastien Ros
6d93a74a2c
One more value
2019-03-22 16:49:09 -07:00
Sebastien Ros
1fb26a6467
Fixing NETCore.App version in benchmarks
2019-03-22 16:49:09 -07:00
Eilon Lipton
7a9238dd82
Fix license ( #8733 )
2019-03-22 16:21:55 -07:00
BrennanConroy
4b230ec419
Copy EndpointFeature when using LongPolling ( #8730 )
2019-03-22 15:36:57 -07:00
Justin Kotalik
26a118e462
Allow more time to see if events are in the event log ( #8729 )
2019-03-22 14:47:39 -07:00
Justin Kotalik
2018b82ffe
React to breaking changes with M.A.Internal ( #8638 )
2019-03-22 14:41:06 -07:00
Chris Ross
dbfae86316
Fix JDK requirements ( #8746 )
2019-03-22 14:27:15 -07:00
Ajay Bhargav Baaskaran
1d53925b8e
Fixed generic components with fully qualified names ( dotnet/aspnetcore-tooling#356 )
...
\n\nCommit migrated from b7392f1f84
2019-03-22 14:22:12 -07:00
Ajay Bhargav Baaskaran
92d931c229
Support importing components with @using directives ( dotnet/aspnetcore-tooling#276 )
...
* Support importing components with @using directives
* Suppress taghelper directive completion in component documents
* feedback
* More feedback
* Update tests
* Update CodeAnalysis.Razor tests
* Flow filekind
* Changes
* More code gen tests
* More tests
* fix
* Added more tests
* Made stuff internal
* Filter out temporary tag helper descriptors
* update
* Do the needful
\n\nCommit migrated from 343f37748e
2019-03-22 10:29:38 -07:00
Ajay Bhargav Baaskaran
91a383ad3b
Add support for _Imports.razor ( dotnet/aspnetcore-tooling#354 )
...
* Added support _Imports.razor
* Feedback
\n\nCommit migrated from 14704054f2
2019-03-22 09:19:56 -07:00
Daniel Roth
036dec9d37
Close meta tag in Blazor hosted template
...
Fixes https://github.com/aspnet/AspNetCore/issues/6610
2019-03-22 09:04:58 -07:00
David Fowler
0d6e0637af
Small HubConnection cleanup ( #8643 )
2019-03-21 16:30:56 -07:00
Ryan Brandenburg
0c4b3fbd6d
Improve local development of Templates ( #8196 )
2019-03-21 16:29:45 -07:00
Pranav K
f5ff181222
System.Text.Json based formatters ( #8362 )
...
* System.Text.Json based formatters
Fixes: https://github.com/aspnet/AspNetCore/issues/7256
2019-03-21 13:45:21 -07:00
Ajay Bhargav Baaskaran
62199e2195
Bring back errors for missing tags in component documents ( dotnet/aspnetcore-tooling#351 )
...
\n\nCommit migrated from ca1e656f6b
2019-03-21 12:22:28 -07:00
Pranav K
b2b207faa1
Allow some warnings ( dotnet/aspnetcore-tooling#353 )
...
Fixes https://github.com/aspnet/AspNetCore-Internal/issues/2050\n\nCommit migrated from e2b1df744e
2019-03-21 12:10:16 -07:00
Andrew Stanton-Nurse
26fa19e080
Keep myself in the loop on PRs in my areas ( #8708 )
...
Whoooooo...
2019-03-21 11:28:45 -07:00
Pranav K
cf116d619b
Do not restore as part of test ( dotnet/aspnetcore-tooling#350 )
...
\n\nCommit migrated from 84bc53671f
2019-03-21 09:28:44 -07:00
Javier Calvarro Nelson
5f4be179e3
Fix and identify flaky components E2E Tests ( #8690 )
2019-03-21 07:39:47 +01:00
Eilon Lipton
69732c9ecc
Remove unused namespaces from Worker template Program.cs ( #8574 )
...
Follow-up to 17344cd37f
2019-03-20 20:54:40 -07:00
Chirag Rupani
aa89639d62
Removed Content Type header for response when no content is being returned ( #8557 )
...
Addresses #8230
2019-03-20 13:15:42 -07:00
Ryan Nowak
b743ba2f66
Throw unhandled exceptions during prerendering
...
Fixes : #8609
Currently exceptions thrown during prerendering are simply logged. This
change uses the existing *unhandled exception* mechanism of the
renderer/circuit to throw these. The result is that the developer
exception page just works for prerendering.
2019-03-20 13:02:24 -07:00
mnltejaswini
2a08c6e54d
Pass the formatter context to the CreateJsonSerializer. It gives ability to override and create serializer specific to the context ( #8358 )
...
* Pass the formatter context to the CreateJsonSerializer so that it gives ability to override and create serializer specific to the context
2019-03-20 12:01:41 -07:00
Jacques Eloff
314f67ec6e
Merge pull request #8450 from aspnet/joeloff/7729
...
Fix for #7729 to ensure upgradable bundles
2019-03-20 11:40:08 -07:00
N. Taylor Mullen
e5064d3c76
Allow markup in local functions and @functions.
...
- Allow markup to exist in all code blocks. Prior to this change whenever we'd see nested curly braces we would do dumb brace matching to skip over any potentially risky code; now we treat every curly brace as an opportunity to intermingle Markup.
- One fix I had to introduce was now that functions blocks are parsed like `@{}` blocks I ran into cases where certain reserved keywords would get improperly parsed. This exposed a bug in our parsing where we’d treat **class** and **namespace** as directives without a transition in a `@{}` block. For instance this:
```
@{
class
}
```
would barf in the old parser by treating the `class` piece as a directive even though it did not have a transition. To account for this I changed our reserved directives to be parsed as directives instead of keywords (it's how they should have been parsed anyhow). This isn't a breaking change because the directive parsing logic is a subset of how keywords get parsed.
- One quirk this change introduces is a difference in behavior in regards to one error case. Before this change if you were to have `@if (foo)) { var bar = foo; }` the entire statement would be classified as C# and you'd get a C# error on the trailing `)`. With my changes we try to keep group statements together more closely and allow for HTML in unexpected or end of statement scenarios. So, with these new changes the above example would only have `@if (foo))` classified as C# and the rest as markup because the original was invalid.
- Added lots of tests,
- Modified the feature flag to maintain the old behavior when disabled.
aspnet/AspNetCoredotnet/aspnetcore-tooling#5110
\n\nCommit migrated from 5ffd84e56d
2019-03-20 10:38:50 -07:00
Andrew Stanton-Nurse
e61aa05b72
Fix #7477 by updating HttpSys readme ( #8662 )
...
We changed the README to "archived" before merging this repo into mondo repo. Whoops :).
2019-03-20 09:33:31 -07:00
Justin Kotalik
2d145682ce
Update some tests to be flaky rather than skipped ( #8666 )
2019-03-20 08:59:43 -07:00
Javier Calvarro Nelson
9db249e30a
[Components][ Fixes #8058 ] Update blazor template to use IWebHostEnvironment ( #8234 )
2019-03-20 16:59:17 +01:00
Doug Bunting
7c3d249c77
Fix core-setup URI
2019-03-20 08:59:09 -07:00
Justin Kotalik
b8e7cbad02
Remove Out-Of-Process test site fixture and make deployer check physical ( #8659 )
2019-03-20 08:33:26 -07:00
Javier Calvarro Nelson
9f1a978230
[Infrastructure improvements] ( #8275 )
...
* Improved selenium start and tear down
* Selenium is set up and torn down in an assembly fixture.
* Selenium is initialized lazily and in a non-blocking way.
* Selenium processes are tracked as part of the build and their pids
written to a file on disk for cleanup in the event of unexpected
termination of the test process.
* Browser fixture retries with linear backoff to create a remote
driver. Under heavy load (like when we are doing a simultaneous NPM
restore) the selenium server can become unresponsive so we retry
three times, with a longer comand timeout allowance each time up to
a max of 3 minutes.
* Moved test project setup to build time instead of runtime.
* Added target PrepareForTest to create the required files for testing
* The template creation folder.
* The template props file to use our built packages.
* The folder for the custom hive.
* Added assembly metadata attributes to find all the data we need to
run the tests.
* Path to the artifacts shipping packages folder.
* Path to the artifacts non-shipping packages folder.
* Path to the test templates creation folder.
* Path to use for the custom templating hive used in tests.
* Proper cleanup as part of the build
* Remove the test templates creation folder.
* Remove the test packages restore path.
* Recreate the test templates creation folder.
* Recreate the test packages restore path.
* Generated Directory.Build.Props and Directory.Build.Targets in the
test templates creation folder.
* Cleaned up potentially stale templatetestsprops.
* Improved test flows
* Initialization is done lazily and asynchronously.
* Selenium
* Browser fixture
* Template initialization.
* Flattened test flows to avoid assertions inside deep callstacks.
* All assertions happen at the test level with improved error messages.
* With the exception of the migrations assertions.
* Assertions contain information about which step failed, for what
project and what failure details.
* Broke down tests to perform individual steps instead of mixing build
and publish.
* Publish project.
* Build project. (Debug)
* Run built project.
* Run published project.
* Concentrated build logic into the Project class.
* Context between the different steps of a test is maintained in
this class.
* All operations that require coordination are performed within this
class.
* There is a lock for dotnet and a lock for nodejs. When building
SPAs we acquire the nodejs lock to correctly prevent multiple
runs of nodejs in parallel.
[ApiAuthorization template cleanups]
* Fix preview3 issues with breaking changes on Entity framework by
manually configuring the model in ApiAuthorizationDbContext.
* Add app.db to the project file when using local db.
* Fix linting errors on angular template.
* Fix react tests
* Add tests to cover new auth options in the SPA templates.
2019-03-20 08:44:20 +01:00
Andrew Stanton-Nurse
2d1743a2f6
clean up flaky filter constants ( dotnet/extensions#1248 )
...
\n\nCommit migrated from 3b3a23eb1a
2019-03-19 18:43:25 -07:00
Pranav K
25e5a4ffab
Infer Razor Configuration \ RazorLangVersion based on TFM ( dotnet/aspnetcore-tooling#343 )
...
* Infer Razor Configuration \ RazorLangVersion based on TFM
Fixes https://github.com/aspnet/AspNetCore/issues/6392
\n\nCommit migrated from cfee40a19e
2019-03-19 16:33:26 -07:00
Chris Ross
0456c9dcc9
Handle SIGTERM exit code #6526 ( #8294 )
2019-03-19 19:15:00 -04:00
Artak Mkrtchyan
37a48d897b
Update default log levels for templates
2019-03-19 13:52:14 -07:00
Jacques Eloff
eb1ce947c5
Fix up property group, preprocessor statement
2019-03-19 11:50:13 -07:00