Commit Graph

44788 Commits

Author SHA1 Message Date
Pranav K 6eb9044660 Fixup invalid configuration error message (dotnet/aspnetcore-tooling#365)
* Fix invalid parameter used in error message
* Re-organize test code\n\nCommit migrated from 5a73c2abe9
2019-03-26 08:58:38 -07:00
Steve Sanderson 341cd25e05
Update to newer Blazor.Mono. Fixes #6726 (#8782) 2019-03-26 09:53:15 +00:00
Javier Calvarro Nelson 9c35c07a0b bind-Value on EditText often results in the wrong thing (dotnet/aspnetcore-tooling#364)
Updates the bindtaghelperdescriptorprovider to use the changed event property type name on the bound attribute instead of the value property type attribute.\n\nCommit migrated from 3009045206
2019-03-26 10:06:18 +01:00
dotnet-maestro[bot] af512861b2 [master] Update dependencies from 5 repositories (#8781)
* Update dependencies from https://github.com/aspnet/AspNetCore-Tooling build 20190324.2

- Microsoft.NET.Sdk.Razor - 3.0.0-preview4.19174.2
- Microsoft.CodeAnalysis.Razor - 3.0.0-preview4.19174.2
- Microsoft.AspNetCore.Razor.Language - 3.0.0-preview4.19174.2
- Microsoft.AspNetCore.Mvc.Razor.Extensions - 3.0.0-preview4.19174.2

Dependency coherency updates

- Microsoft.Extensions.DependencyModel - 3.0.0-preview4-27524-01 (parent: Microsoft.NETCore.App)

* Update dependencies from https://github.com/dotnet/core-setup build 20190324.03

- Microsoft.NETCore.App - 3.0.0-preview4-27524-03

Dependency coherency updates

- Microsoft.Extensions.DependencyModel - 3.0.0-preview4-27524-03 (parent: Microsoft.NETCore.App)

* Update dependencies from https://github.com/aspnet/EntityFrameworkCore build 20190324.3

- Microsoft.EntityFrameworkCore.Tools - 3.0.0-preview4.19174.3
- Microsoft.EntityFrameworkCore.SqlServer - 3.0.0-preview4.19174.3
- dotnet-ef - 3.0.0-preview4.19174.3
- Microsoft.EntityFrameworkCore - 3.0.0-preview4.19174.3
- Microsoft.EntityFrameworkCore.InMemory - 3.0.0-preview4.19174.3
- Microsoft.EntityFrameworkCore.Relational - 3.0.0-preview4.19174.3
- Microsoft.EntityFrameworkCore.Sqlite - 3.0.0-preview4.19174.3

Dependency coherency updates

- Microsoft.Extensions.DependencyModel - 3.0.0-preview4-27524-01 (parent: Microsoft.NETCore.App)

* Update dependencies from https://github.com/aspnet/Extensions build 20190324.2

- Mono.WebAssembly.Interop - 3.0.0-preview4.19174.2
- Microsoft.JSInterop - 3.0.0-preview4.19174.2
- Microsoft.Internal.Extensions.Refs - 3.0.0-preview4.19174.2
- Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions - 3.0.0-preview4.19174.2
- Microsoft.Extensions.Diagnostics.HealthChecks - 3.0.0-preview4.19174.2
- Microsoft.Extensions.DiagnosticAdapter - 3.0.0-preview4.19174.2
- Microsoft.Extensions.DependencyInjection.Abstractions - 3.0.0-preview4.19174.2
- Microsoft.Extensions.DependencyInjection - 3.0.0-preview4.19174.2
- Microsoft.Extensions.Configuration.Xml - 3.0.0-preview4.19174.2
- Microsoft.Extensions.Configuration.UserSecrets - 3.0.0-preview4.19174.2
- Microsoft.Extensions.Configuration.KeyPerFile - 3.0.0-preview4.19174.2
- Microsoft.Extensions.Configuration.Json - 3.0.0-preview4.19174.2
- Microsoft.Extensions.Configuration.Ini - 3.0.0-preview4.19174.2
- Microsoft.Extensions.Configuration.FileExtensions - 3.0.0-preview4.19174.2
- Microsoft.Extensions.Configuration.EnvironmentVariables - 3.0.0-preview4.19174.2
- Microsoft.Extensions.FileProviders.Abstractions - 3.0.0-preview4.19174.2
- Microsoft.Extensions.Configuration.CommandLine - 3.0.0-preview4.19174.2
- Microsoft.Extensions.Configuration.AzureKeyVault - 3.0.0-preview4.19174.2
- Microsoft.Extensions.Configuration.Abstractions - 3.0.0-preview4.19174.2
- Microsoft.Extensions.Configuration - 3.0.0-preview4.19174.2
- Microsoft.Extensions.CommandLineUtils.Sources - 3.0.0-preview4.19174.2
- Microsoft.Extensions.Caching.StackExchangeRedis - 3.0.0-preview4.19174.2
- Microsoft.Extensions.Caching.SqlServer - 3.0.0-preview4.19174.2
- Microsoft.Extensions.Caching.Memory - 3.0.0-preview4.19174.2
- Microsoft.Extensions.Caching.Abstractions - 3.0.0-preview4.19174.2
- Microsoft.Extensions.ActivatorUtilities.Sources - 3.0.0-preview4.19174.2
- Microsoft.AspNetCore.Testing - 3.0.0-preview4.19174.2
- Microsoft.AspNetCore.BenchmarkRunner.Sources - 3.0.0-preview4.19174.2
- Microsoft.AspNetCore.Analyzer.Testing - 3.0.0-preview4.19174.2
- Internal.AspNetCore.Analyzers - 3.0.0-preview4.19174.2
- Microsoft.Extensions.Configuration.Binder - 3.0.0-preview4.19174.2
- Microsoft.Extensions.FileProviders.Composite - 3.0.0-preview4.19174.2
- Microsoft.Extensions.FileProviders.Embedded - 3.0.0-preview4.19174.2
- Microsoft.Extensions.FileProviders.Physical - 3.0.0-preview4.19174.2
- Microsoft.Extensions.WebEncoders - 3.0.0-preview4.19174.2
- Microsoft.Extensions.ValueStopwatch.Sources - 3.0.0-preview4.19174.2
- Microsoft.Extensions.TypeNameHelper.Sources - 3.0.0-preview4.19174.2
- Microsoft.Extensions.Primitives - 3.0.0-preview4.19174.2
- Microsoft.Extensions.ParameterDefaultValue.Sources - 3.0.0-preview4.19174.2
- Microsoft.Extensions.Options.DataAnnotations - 3.0.0-preview4.19174.2
- Microsoft.Extensions.Options.ConfigurationExtensions - 3.0.0-preview4.19174.2
- Microsoft.Extensions.Options - 3.0.0-preview4.19174.2
- Microsoft.Extensions.ObjectPool - 3.0.0-preview4.19174.2
- Microsoft.Extensions.Logging.TraceSource - 3.0.0-preview4.19174.2
- Microsoft.Extensions.Logging.Testing - 3.0.0-preview4.19174.2
- Microsoft.Extensions.Logging.EventSource - 3.0.0-preview4.19174.2
- Microsoft.Extensions.Logging.Debug - 3.0.0-preview4.19174.2
- Microsoft.Extensions.Logging.Console - 3.0.0-preview4.19174.2
- Microsoft.Extensions.Logging.Configuration - 3.0.0-preview4.19174.2
- Microsoft.Extensions.FileSystemGlobbing - 3.0.0-preview4.19174.2
- Microsoft.Extensions.HashCodeCombiner.Sources - 3.0.0-preview4.19174.2
- Microsoft.Extensions.HostFactoryResolver.Sources - 3.0.0-preview4.19174.2
- Microsoft.Extensions.Hosting - 3.0.0-preview4.19174.2
- Microsoft.Extensions.Hosting.Abstractions - 3.0.0-preview4.19174.2
- Microsoft.Extensions.Http - 3.0.0-preview4.19174.2
- Microsoft.Extensions.Localization - 3.0.0-preview4.19174.2
- Microsoft.Extensions.Localization.Abstractions - 3.0.0-preview4.19174.2
- Microsoft.Extensions.Logging - 3.0.0-preview4.19174.2
- Microsoft.Extensions.Logging.Abstractions - 3.0.0-preview4.19174.2
- Microsoft.Extensions.Logging.AzureAppServices - 3.0.0-preview4.19174.2

Dependency coherency updates

- Microsoft.Extensions.DependencyModel - 3.0.0-preview4-27524-01 (parent: Microsoft.NETCore.App)
2019-03-25 23:13:34 -07:00
N. Taylor Mullen f98ffcd759 Update more test files.
\n\nCommit migrated from 76c1352d2c
2019-03-25 20:26:36 -07:00
N. Taylor Mullen 40340e9b91 Design update.
\n\nCommit migrated from c9e0d2a60f
2019-03-25 20:26:36 -07:00
N. Taylor Mullen f33e1fca53 Enforce nullability for user code.
- Expanded the `ProjectWorkspaceStateGenerator` to extract the C# language version when building the `ProjectWorkspaceState`. This approach enables all platforms to get nullability support without any changes (as long as they support `ProjectWorkspaceState`, which they do). Also, Roslyn suggested that we avoid dealing with LangVersion directly because there are several factors that impact its "effective" value on a project when run in tooling.
- Updated the `LinePragma` code generation to include `#nullable restore` and `#nullable disable` lines to allow for project restored nullability state for user code.
- Added a new `RazorProjectEngineBuilderExtensions` class that adds Roslyn specific project engine modifications. In this case it allows us to set the C# language version for a project engine and configure underlying features accordingly.
- Added a `SuppressNullabilityEnforcement` flag that only turns on if C# < 8 is specified.
- Updated LiveShare, VS4Mac and RazorGenerate to understand CSharpLanguageVersion.
- Added a single test output to show the change.

dotnet/aspnetcore-tooling#5092
\n\nCommit migrated from 1df8128b87
2019-03-25 20:26:36 -07:00
Chris S c054f5fa67 Update README.md (#6904) 2019-03-25 15:12:57 -07:00
BrennanConroy 969c72acfd
C++ client low level API (#8420) 2019-03-25 13:52:38 -07:00
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