Commit Graph

44028 Commits

Author SHA1 Message Date
N. Taylor Mullen d917311883 Make ViewComponentTagHelper's bound attribute display names nicer.
- Went from `typeName __Generated__SomeViewComponentTagHelper.PropertyName` to `typeName SomeViewComponentTagHelper.PropertyName`.
- Updated `TagHelperBoundDescriptorBuilder` to allow setting of `DisplayName`.
- Added `TagHelperBoundAttributeDescriptorBuilderTest` class to verify new `DisplayName` additions.
- Updated `ViewComponentTagHelperDescriptorFactoryTest` expectations.

#1251
2017-05-25 15:57:51 -07:00
Ajay Bhargav Baaskaran cdddaefa81 Fixed a bug in VCTH pass and added an integration test 2017-05-25 15:44:24 -07:00
Pranav K bb5eb96625 Load the precompilation type from the loaded assembly 2017-05-25 15:00:12 -07:00
Ryan Brandenburg 9ea37a1bbb Fix TFM build breaks 2017-05-25 13:12:39 -07:00
Ryan Brandenburg 03404cd3df Return to NetStandard 2017-05-25 10:34:16 -07:00
Pranav K ab64769c59 Fix compilation failure 2017-05-25 10:18:59 -07:00
Pranav K a5ddfc1f21 Fix build break (part 2) 2017-05-25 09:15:59 -07:00
Pranav K 452578e4a8 Revisit the architecture of CompilerCache
Fixes #5912
2017-05-25 08:54:15 -07:00
Pranav K 9559c454cd Fixing build break 2017-05-25 08:18:28 -07:00
Steve Sanderson 75fd215b1a Change Microsoft.DotNet.Web.Spa.ProjectTemplates to use 1.0.0-preview-* version numbers since the first release will be 1.0.0 2017-05-25 13:06:42 +01:00
Steve Sanderson 38997c3f3f Pad build numbers so that alpha-sort produces correct ordering 2017-05-25 12:22:48 +01:00
Steve Sanderson bee4c6ff11 Stop "dotnet new" from stripping out important parts of .csproj files 2017-05-25 12:08:10 +01:00
Steve Sanderson cc859306a3 Make template package version numbers more descriptive 2017-05-25 12:08:09 +01:00
Steve Sanderson 44512226c6 Stop including prebuilt .js bundles with template packages, since they are now generated on first build 2017-05-25 12:08:09 +01:00
Steve Sanderson a2bde750be Make templates auto-run webpack on Debug build if wwwroot/dist is not already present 2017-05-25 12:08:09 +01:00
Chris R 30392a1811 Retarget to netstandard2.0 and net461 2017-05-24 19:04:48 -07:00
Chris R 3963a6aa52 #125 Add HostingStartup packages to .All 2017-05-24 18:47:32 -07:00
Andrew Stanton-Nurse 06028e81c7 fix build by adding OutputType exe to test project (#179) 2017-05-24 18:20:46 -07:00
Ryan Nowak c1dd95be2a Add a test for #6294
This case was fixed by 2992f8e - this commit just adds a test to verify
the fix.
2017-05-24 16:53:30 -07:00
Javier Calvarro Nelson b9a9ec9305 Add support for a default SSL certificate in development
When the ssl certificate specified is 'localhost' and
no certificate has been explicitly specified in the certificates
section, fallback to a certificate with 'CN=localhost' (ASP.NET Core SSL
developer certificate) in the current user store and if not found,
an ssl certificate with 'CN=localhost' on the current machine
(IIS Express developer certificate)
2017-05-24 16:24:32 -07:00
Ryan Nowak 2992f8e38a Separate PageContext and ViewContext
This change decouples PageContext and ViewContext completely.
2017-05-24 16:01:52 -07:00
Javier Calvarro Nelson 7ac72dd7d8 Add task for generating ssl certificates with MSBuild 2017-05-24 15:55:43 -07:00
Stephen Halter 6c0af445e5 Fix flaky test and improve TestServer (#1859) 2017-05-24 15:45:54 -07:00
Hao Kung d97d3e7089 React to identity cookies 2017-05-24 14:01:28 -07:00
Hao Kung 3f36fa5986 Fix sample 2017-05-24 12:56:54 -07:00
Hao Kung 87faa10e64 React to forbid changes 2017-05-24 12:21:08 -07:00
Brice Lambson 4e7110e442 React to EF API changes 2017-05-24 12:14:56 -07:00
Nate McMaster 9428d1778d Upgrade corefx packages to 4.4.0 2017-05-24 11:48:05 -07:00
BrennanConroy 2edc77cd9b React to EF API changes 2017-05-24 11:23:02 -07:00
John Luo d25dbd572c Target NETStandard2.0 2017-05-24 11:10:13 -07:00
Ryan Nowak 6094c6ff52 Remove use of AssemblyLoadContext
This will be needed for the switch back to net46.
2017-05-24 11:05:58 -07:00
Doug Bunting 9b017ad138 Target .NET Standard 2.0 and add .NET Framework 4.6.1 testing 2017-05-24 10:37:45 -07:00
Nate McMaster b706a75e03 Target .NET Standard 2.0
This retargets all data protection libraries to ns2.0. This means .NET
Framework applications will need to upgrade to .NET Framework 4.6.1.
This upgrade makes available API to .NET Core that was previously only
available on .NET Framework, such as encrypting keys at rest with
certificates.

New API for .NET Core users:
- IDataProtectionBuilder.ProtectKeysWithCertificate(string thumbprint)
- CertificateXmlEncryptor
- ICertificateResolver
- DataProtectionProvider
  - .Create(string applicationName, X509Certificate2 certificate)
  - .Create(DirectoryInfo keyDirectory, X509Certificate2 certificate)
  - .Create(DirectoryInfo keyDirectory, Action<IDataProtectionBuilder>
  setupAction, X509Certificate2 certificate

Other minor changes in this commit:
- Fixed samples that were using obsolete logging API
- Remove calls to api-sets, instead using kernel32. .NET Core 2.0 no
longer requires using api-sets as Nano Server now forwards kernel32
calls
- Made minor improvements to the TypeForwardingActivator
- Remove dead code an unused api baselines
- Enable more tests on macOS/Linux that previously only ran on Windows
2017-05-24 09:47:10 -07:00
Thomas Hermann c592282646 Fix Node debugging by catching warning 2017-05-24 17:32:01 +01:00
BrennanConroy a322fea940 Add data received logs to SSE and LongPolling in TS client (#484) 2017-05-24 08:49:59 -07:00
Ryan Nowak d39305aa91 Improve formatting 2017-05-24 08:36:24 -07:00
Ryan Nowak 1165a1de33 Updates to generated resource files 2017-05-24 08:32:15 -07:00
Joonas Westlin 9a6cb89b8d Adjusted example error message to reflect the situation that causes the error. 2017-05-24 08:23:20 -07:00
Joonas Westlin a18f59ab88 Changed expected exception message to the one defined in Resources.resx.
Removed the Debug.Assert as that caused the test runner to crash as in
this case the preceding part is not a literal.
Fixes the test runner crash.
2017-05-24 08:23:20 -07:00
Joonas Westlin f457c7b9d8 Changed expected parameter p2 to non-optional as it is non-optional in the template string.
Fixes test.
2017-05-24 08:23:20 -07:00
Steve Sanderson b86e9f9254 Change template description to be consistent with others in 2.0 2017-05-24 15:10:37 +01:00
David Fowler d55ebfeee0 Split http and non-http layers (#487)
* Split http and non-http layers
- This change introduces Microsoft.AspNetCore.SignalR.Http
and Microsoft.AspNetCore.Sockets.Http which expose extension methods
on IAppBuilder for wiring up a sockets and signalr pipeline.
2017-05-24 07:09:46 -07:00
Steve Sanderson 970dc6c457 Add --silent to npm install command in CI. Fixes #972 (at least, to the extent that fixing it is reasonably possible) 2017-05-24 15:01:00 +01:00
Steve Sanderson 6baa2faf09 Split out built-in templates into new package Microsoft.DotNet.Web.Spa.ProjectTemplates 2017-05-24 14:47:23 +01:00
Arthur Vickers aaea92906f Add explicit decimal data types
Issue #768
2017-05-23 17:41:56 -07:00
Arthur Vickers 8e618cb6f4 React to EF namespace change. 2017-05-23 17:39:21 -07:00
pan-wang bce531f61a add features: flowing authentication info, hosting environment variable support; fix client disconnect and app_offline issues (#102)
resubmit
2017-05-23 17:25:45 -07:00
BrennanConroy 03bdb40f8a Add UseShutdownTimeout Extension (#1086) 2017-05-23 16:20:41 -07:00
Chris R 1bc5ade59f React to StringSegment changes 2017-05-23 15:31:55 -07:00
Pranav K ec2faf5594 Target netstandard2.0 2017-05-23 15:27:47 -07:00