Commit Graph

131 Commits

Author SHA1 Message Date
Ryan Brandenburg 66fd4be4d7
Accessibility (#10247)
Template Accessibility
2019-05-21 11:22:21 -07:00
John Luo a05d555f11
Revert Work around potential race in PipeWriter (#10315)
* Remove Flaky attributes

* Revert "Work around potential race in PipeWriter (#10165)"

This reverts commit bff1d0e6c4.
2019-05-17 01:20:52 -07:00
Nate McMaster 117dd8cff4
Use Arcade version suffixes for local (3.0.0-dev) and PR builds (3.0.0-ci) (#10279)
* Update versioning for local and PR builds to match Arcade versioning
* Mark CanCancelIAsyncEnumerableClientToServerUpload as flaky - cref aspnet/AspNetCore-Internal#2465
* Disable rollforward in project template tests (3.0.0-dev is older than 3.0.0-preview*). This prevents tests from rolling forward onto technically older bits
2019-05-16 12:59:40 -07:00
Nate McMaster dc90e11c7a
Move obj and bin directories into repo root (#10063)
The Arcade SDK requires that the obj/ and bin/ folders be placed in the top-level artifacts/ folder of the repo. Although this PR does not complete our Arcade convergence, this is a step towards updating our repo to build with the Arcade SDK.

Changes:
* Set output path for build to artifacts/bin/$(ProjectName)/ 
* Set intermediate output path for build to artifacts/obj/$(ProjectName)/
* Cleanup .gitignore files (remove duplication between repo-root and tested gitignore files)
* Add code check which looks for project files that share the same name (could cause issues)
* Rename project files to have unique names (avoid race condition of build output)
* Update all locations which were hard-coded to expect bin/ and obj/ in the project directory
* Add overrides for tests which still assert test binaries exist in a given location relative to the source code
2019-05-15 13:44:55 -07:00
Nate McMaster 77e08c26d5
Replace all usages of RepositoryRoot with RepoRoot (#10267)
Preparing to adopt the Arcade SDK, which uses the shorter variable name instead
2019-05-15 12:00:19 -07:00
Ryan Brandenburg e9fbf306f9
RunTemplateTests (#9829) 2019-05-15 09:52:52 -07:00
John Luo 20fcbf1f9a
Add a protobuf item template (#10125) 2019-05-14 20:55:26 -07:00
Daniel Roth 07a02dcbc7
Add missing app namespace to server-side Blazor template (#10240) 2019-05-14 14:44:50 -07:00
Ryan Brandenburg a266cecc0c
Fix template accessibility (#10208) 2019-05-13 15:54:04 -07:00
Ryan Brandenburg b76d9e2c36
Merge pull request #10192 from guardrex/guardrex/templates-line-ending
Add line endings to last lines of template files
2019-05-13 10:07:05 -07:00
Luke Latham 3e90b3840b Add line endings to last lines of template files 2019-05-12 08:43:02 -05:00
John Luo 58447bee31
Remove gRPC template workarounds (#10026) 2019-05-07 13:57:15 -07:00
Ryan Brandenburg 8fd86c38db
Make some tests Flaky (#9935)
Mark some tests flaky.
2019-05-06 15:33:02 -07:00
Howard Richards 77424a6b06 Amend server-side blazor template WeatherForecast TemperatureF to use formula - fixes #9955 (#9981) 2019-05-05 06:19:41 -07:00
Ryan Brandenburg 86f92cc020
Retry external templating links (#9871) 2019-05-02 14:45:28 -07:00
John Luo ea5e9556d5
Set namespace of gRPC template (#9907) 2019-05-02 12:59:02 -07:00
Mikael Mengistu 4cb86bc151
Mark flaky Angular test (#9926) 2019-05-02 10:28:11 -07:00
Nate McMaster ae8e96f154
Remove API check baselines and related project settings (#9846) 2019-04-30 14:58:13 -07:00
Neil Bostrom d9ad99933c Fixed issue with SPA templates generating invalid NPM package names (#9725)
Added unit test to check NPM package names matches regex
2019-04-29 14:42:25 -07:00
Ryan Brandenburg 1f7b5855f7
Check browser console errors (#9298)
Check browser console errors
2019-04-25 10:02:22 -07:00
Steve Gordon b033883728 Updating ConfigureServices overload (#9711)
Using the overload where the HostBuilderContext is available to support common usage scenarios such as accessing the environment and configuration whilst registering services.
2019-04-25 09:30:33 -07:00
Javier Calvarro Nelson 4f330271b8
[Templating][Fixes #9503] Multiple small fixes (#9691)
* Disable react service worker when used alongside auth.
* Add logout detection.
* Update authorize route when authentication state changes.
2019-04-25 17:50:47 +02:00
James Newton-King 0831456fac
Change gRPC template logging level to info in development (#9538) 2019-04-20 12:53:04 +12:00
Artak Mkrtchyan cab7ca6694 Changed the order of some templates to be explicit 2019-04-18 23:07:51 -07:00
Ryan Brandenburg dac6756853
Default IdentityUI to Bootstrap4 (#9334) 2019-04-18 10:22:57 -07:00
Artak Mkrtchyan 6a7b94a2bd Updated order of projects in the new project dialog 2019-04-18 10:14:26 -07:00
Pranav K 004ac25983
Remove AddRazorSupportForMvc from MVC and Blazor projects (#9446)
Fixes https://github.com/aspnet/AspNetCore/issues/9126
Fixes https://github.com/aspnet/AspNetCore/issues/9183
Fixes https://github.com/aspnet/AspNetCore/issues/9207
2019-04-16 20:46:51 -07:00
Javier Calvarro Nelson 8897b56597
[Templating] Fixes an error in the react redux template when opened in VS (#9292) 2019-04-12 09:17:16 +02:00
Ryan Brandenburg 59770d6589
Merge pull request #8870 from adrianwright109/footer-height
Remove explicit footer height
2019-04-09 09:28:42 -07:00
Ryan Brandenburg 3e1b1ac4e0
Component item template (#9077) 2019-04-08 10:41:44 -07:00
Javier Calvarro Nelson 4abf766c3c
Update Identity server dependency for preview4 (#9104)
* Updates Identity server dependency for preview4
* Infrastructure improvements.
* Updates react versions.
* Updates migrations.
* Makes templates show up in Visual Studio
2019-04-08 17:06:58 +02:00
John Luo 67e08728ca
Remove client from gRPC templates (#9078) 2019-04-07 22:42:38 -07:00
Ryan Brandenburg 6b93e2ee71 Fix up naming of templates 2019-04-07 08:52:22 -07:00
Pranav K fb037bda01
Set CSharpLangVersion during runtime compilation (#9135)
* Set CSharpLangVersion during runtime compilation

* Pass CSharpLangVersion inferred by the CSharpCompiler to RazorEngine
* Set GenerateRazorHostingAssemblyInfo in Razor.RuntimeCompilation
targets
* Unskip failing test

Fixes https://github.com/aspnet/AspNetCore/issues/8996
2019-04-05 21:24:50 -07:00
Pranav K d1eeb55139 Specify AddRazorSupportForMvc in Blazor templates
VS 16.1 tooling does not support RazorConfigurations with no extensions
Working around this by treating Blazor templates as using MVC configuration
until we can resolve the issue in tooling

Workaround for https://github.com/aspnet/AspNetCore/issues/9119
2019-04-05 17:21:29 -07:00
Steve Sanderson 728110ec9e Update template-baselines.json 2019-04-05 17:00:52 -07:00
Steve Sanderson 09944bc0a6 Put favicon.ico back for Blazor Server-Side template. Fixes #9096 2019-04-05 17:00:52 -07:00
Doug Bunting 1b50085835
Chain coherent dependencies up through Extensions to EF Core packages (#8877)
* Chain coherent dependencies up through Extensions to EF Core packages
- should reduce incoherent PRs we get from `darc`
- react to AspNetCore-Tooling breaking changes
  - use C# Preview version in Blazor integration tests
    - update `EnsureOptions_ConfiguresDefaultParseOptions` test to match new C# version default
  - react to new newline encoding behavior; thanx @ajaybhargavb!
  - update product code and tests to use new GetItem API; thanx @NTaylorMullen!
    - RazorProjectFileSystem breaking change
    - update ref assemblies
- react to EF Core breaking changes
  - react to EF Core method rename
  - react to aspnet/EntityFrameworkCore@ccfc5edbc7
  - react to aspnet/EntityFrameworkCore@6cb41531df breaking change
    - disable new analyzer in `ScratchDatabaseFixture`
- skip `MvcTemplate_NoAuthImplAsync(...)` test for F#
  - #8996
- exclude some runtime assemblies from crossgen; thanx @BrennanConroy!
- add direct references to Mvc in AzureAD samples
  - unclear why the reference is no longer pulled in transitively

* Run `darc` to grab the latest
- CoreFx packages with version 4.6.0-preview4.19204.1 to ensure coherency
- core-setup packages with version 3.0.0-preview4-27604-05 to ensure coherency
- Extensions packages with verisn 3.0.0-preview4.19204.2 to ensure coherency
- EntityFrameworkCore packages with version 3.0.0-preview4.19204.7 from build 20190404.7
- AspNetCore-Tooling packages with version 3.0.0-preview4.19204.2 from build 20190404.2
2019-04-05 10:54:04 -07:00
Javier Calvarro Nelson 437134f1da
[Infrastructure] Standarize E2E test asserts and increase wait time (#9080)
* Standarize E2E test asserts and increase wait time
2019-04-05 09:00:11 +02:00
Ryan Brandenburg 23c88a14bf Fix template baseline (#9094) 2019-04-05 07:06:16 +02:00
Artak 1c3f890240 Fixing comment grammer
Addresses https://github.com/aspnet/AspNetCore/issues/9053
2019-04-04 20:49:14 -07:00
Pranav K 5b56dcb700
Add RazorLangVersion to Blazor templates (#9081)
* Add RazorLangVersion to templates
* Cleanup extra line in project template
2019-04-04 17:58:08 -07:00
Justin Kotalik 6266d56165 disable flaky test (#9091) 2019-04-04 15:55:12 -07:00
Pranav K 44b9b520c3
Cleanup extra line in project template 2019-04-04 14:44:50 -07:00
Javier Calvarro Nelson b9e600a45c
Renames for blazor server-side, inclusion in shared framework, and other renaming fixes (#9001)
* Move contents of Microsoft.AspNetCore.Components.Services namespace to Microsoft.AspNetCore.Components
* Rename Components to Blazor
* Make Blazor server-side part of the shared framework.
2019-04-04 21:36:36 +02:00
Ryan Brandenburg fefffd7751
Test all links in templates (#8628)
Improve templating tests
2019-04-04 11:31:24 -07:00
Artak facb0018eb Added the submodules initialization step 2019-04-04 10:36:14 -07:00
Artak Mkrtchyan d27ce10629 Added back the important usings 2019-04-04 10:04:06 -07:00
Artak 6be7bea82d Update Startup.cs 2019-04-04 10:04:06 -07:00
Artak b8dd263c90 Added missing usings 2019-04-04 10:04:06 -07:00