pan-wang
02abb69cb2
fix missing reference/dereference handler ( #651 )
2018-03-10 09:50:48 -08:00
Stephen Halter
71bff00c0d
Use LibuvThread inspired IO Queue in Socket transport ( #2368 )
2018-03-09 15:04:20 -08:00
pan-wang
0b07894ea7
fix srwlock initialize ( #647 )
2018-03-09 11:47:54 -08:00
Justin Kotalik
cb49b98b6f
Follow windows conventions for file versions ( #646 )
2018-03-08 16:28:27 -08:00
Pavel Krymets
77c5d2a971
Update to new corefx ( #642 )
2018-03-08 14:23:16 -08:00
Pavel Krymets
fc80c15a65
Update to new corefx ( #2369 )
2018-03-08 14:23:07 -08:00
pan-wang
8dca8f030c
moving recycle and shutdown to applicationinfo ( #639 )
...
fix a race condition in processing request and app_offline, and optimize code logic
2018-03-08 12:24:25 -08:00
Justin Kotalik
ad82bd31d8
Fix argument parsing for hostfxr, add native unit tests. ( #635 )
2018-03-08 11:53:12 -08:00
Justin Kotalik
00b1948937
Adds websocket feature detection, test cleanup. ( #624 )
2018-03-08 09:52:45 -08:00
Justin Kotalik
ad4b172660
Remove build warnings and turn on warning as errors in IISLib. ( #641 )
2018-03-07 21:15:57 -08:00
Justin Kotalik
4eea754dc3
Don't create std log file for out of process when logs are disabled ( #640 )
2018-03-07 16:12:50 -08:00
Chris Ross (ASP.NET)
b6dc00229d
Convert TestHost ResponseStream to use Pipes.
2018-03-07 15:22:20 -08:00
Chris Ross (ASP.NET)
42fbba3520
More detailed request timeout exceptions #2245
2018-03-07 12:23:06 -08:00
pan-wang
419ae06935
fixing double locking issue ( #637 )
2018-03-07 12:02:04 -08:00
Chris Ross (ASP.NET)
dbd557c965
Exclude the upgrade feature if the OS does not support it #427
2018-03-07 11:53:58 -08:00
pan-wang
f32addd408
Update RecycleApplication function ( #634 )
...
removing hostingmodel input from recycleapplication call and fix memory leak in recycle out of process application
2018-03-07 11:45:51 -08:00
pan-wang
0e28f34c1a
Add general logging event to be used by the RequestHandler ( #633 )
2018-03-06 21:18:49 -08:00
pan-wang
c833e7b994
change the logic on handling configuration change and adds shutdown logic ( #610 )
2018-03-06 16:47:02 -08:00
Nate McMaster
e552b5861a
Switch default implementation of Pbkdf2 on Linux/macOS to Rfc2898DeriveBytes ( #301 )
...
Requires adding .NET Core 2.0 target framework to the package because only SHA1 is supported in .NET Standard 2.0
2018-03-06 09:31:03 -08:00
Justin Kotalik
4e8a9d2493
Move reading and writing of Pipelines to a single loop; Cancel Read every time we write. ( #582 )
2018-03-04 19:52:41 -08:00
Javier Calvarro Nelson
978938b7c3
Initial commit
2018-03-03 14:44:32 -08:00
pan-wang
cbffeb33ea
fixing a stress issue ( #619 )
2018-03-02 17:34:09 -08:00
Pavel Krymets
850ce33edf
Remove keyvault hosting startup ( #159 )
2018-03-02 14:59:28 -08:00
Nate McMaster
1f5379e38d
Merge branch 'release/2.1' into dev
2018-03-02 14:11:38 -08:00
Nate McMaster
ad1c9d7137
Merge branch 'release/2.1' into dev
2018-03-02 14:02:11 -08:00
Nate McMaster
19c38d0af0
Merge branch 'release/2.1' into dev
2018-03-02 13:57:53 -08:00
pan-wang
17dd3e85cb
fix missing event log descriptions ( #622 )
2018-03-01 20:53:57 -08:00
Jass Bagga
c4d1f20c78
Remove bundleconfig.json files from project templates ( #335 )
...
Addresses #326
2018-03-01 11:58:18 -08:00
Ben Adams
300453396a
Pass StringValues via in ( #2295 )
2018-02-28 19:54:44 -08:00
Nate McMaster
0c7ff81a9f
Handle FileNotFoundException when it is thrown while attempting to send a file ( #233 )
2018-02-28 16:18:33 -08:00
Pavel Krymets
2dac2e34fa
Reac to pipes in corefx ( #618 )
2018-02-28 12:42:09 -08:00
Pavel Krymets
2c108d9ba1
React to pipes in corefx ( #2337 )
2018-02-28 12:41:51 -08:00
pan-wang
fcbe74fbf1
fix coding guideline issue. Use BOOL instead of bool ( #620 )
2018-02-28 12:02:15 -08:00
Nate McMaster
9bd4a67f7d
Remove Microsoft.NETCore.Platforms from tool package nuspec
2018-02-28 11:05:50 -08:00
Ajay Bhargav Baaskaran
63f0322810
Allow whitespace and backslash in path
2018-02-27 15:24:36 -08:00
Nate McMaster
3cd6add095
Revert "Return HTTP 404 if FileNotFoundException is thrown when attempting to send a file ( #232 )"
...
This reverts commit 6d7269dafb .
2018-02-27 15:00:07 -08:00
John Luo
d9778252d0
Sort header and query values
2018-02-27 13:42:46 -08:00
pan-wang
71b90a31a9
websocket enabled check ( #612 )
2018-02-27 11:28:27 -08:00
pan-wang
792b72e71a
adding error description which was commented out previously ( #613 )
2018-02-27 09:41:09 -08:00
Justin Wyer
83bf2375b3
#2035 Do not await OnCompleted handlers before sending the Response ( #2324 )
2018-02-25 18:10:04 -07:00
Ben Adams
de7e2a2573
Use enum for method rather than string compares ( #2294 )
2018-02-23 14:29:42 -08:00
Nikita Tsukanov
39951e892e
Don't throw in HttpRequestStream.Flush ( #2342 )
...
Because read-only streams apparently can have Flush semantics and this behavior is expected by some of built-in stream wrappers (e. g. CryptoStream)
https://github.com/dotnet/corefx/pull/27327#pullrequestreview-98384813
https://github.com/aspnet/KestrelHttpServer/issues/2341
2018-02-23 09:51:09 -08:00
Ben Adams
6728e756b7
Sanitize and centralize exception throws ( #2293 )
...
* Sanitize and centralize exception throws
2018-02-23 09:24:20 -08:00
Ben Adams
6252ffd86a
Flatten exception handling ( #2313 )
...
3 nested try blocks with 3 finallies in same function O_o
2018-02-22 16:46:18 -08:00
Ben Adams
c57784447e
Speed up TryGetAsciiString ( #1973 )
...
* Widen
* Remove TryGetAsciiStringVectorCheckShifts
* Add Span version to benchmarks
2018-02-22 16:45:31 -08:00
Ben Adams
c0f88ebdc1
Faster IFeatureCollection.Get<TFeature> ( #2290 )
2018-02-22 16:44:38 -08:00
John Luo
c29531f2eb
Delimit key values for query strings
2018-02-22 14:57:59 -08:00
Jass Bagga
8cac91b15e
Update jQuery ( #307 )
2018-02-22 14:39:18 -08:00
Nate McMaster
590c621c6f
Update README to reflect that dotnet-watch et. al. are bundled in the CLI
2018-02-22 12:55:03 -08:00
pan-wang
dc62b9ba38
adding mof file for freb log ( #603 )
2018-02-22 11:14:29 -08:00
John Luo
b85ed9d5cd
Commas in doc comments
2018-02-22 10:44:59 -08:00
Justin Kotalik
4775706bbc
Add version numbers on aspnetcore.dll and aspnetcorerh.dll, remove unnecessary files ( #601 )
2018-02-22 10:03:51 -08:00
Nate McMaster
70dcbf6ed6
Add UnprotectKeysWithAnyCertificate
2018-02-22 08:50:03 -08:00
pan-wang
782b563a58
fixing empty logfile name in event log ( #602 )
...
Empty log file path was logged as we reset the stru too earlier. Changing the code order
2018-02-21 14:08:26 -08:00
Nate McMaster
6d7269dafb
Return HTTP 404 if FileNotFoundException is thrown when attempting to send a file ( #232 )
2018-02-21 13:22:31 -08:00
Justin Kotalik
21b1febf2b
Adds environment variable feature for inprocess ( #583 )
2018-02-21 12:36:39 -08:00
pan-wang
1f6e2c8029
grant the config setting on 502.5 page setting ( #600 )
...
grant the config setting on 502.5 page setting
2018-02-21 11:27:48 -08:00
pan-wang
e3d3b088ae
adding logging for outprocess start and application recycle ( #573 )
...
adding logging for outprocess start and application recycle
2018-02-21 10:58:34 -08:00
Steve Sanderson
873cfa9adf
In SpaProxy, don't fail if there are non-forwardable headers. Fixes #1543 .
2018-02-21 14:03:30 +00:00
Steve Sanderson
7debea272c
Update Angular template content to match @angular/cli@1.7.0
2018-02-21 13:56:19 +00:00
David Fowler
3fc69dc71f
Updated Streams to override Memory and Span overloads ( #2333 )
...
- Also plumbed Memory/Span through Kestrel over ArraySegment.
- Throw synchronously from the HttpRequestStream instead of async in some cases.
2018-02-21 00:00:46 -08:00
Justin Kotalik
ff496ca580
Fix absolute paths to dotnet ( #597 )
2018-02-20 15:03:37 -08:00
Justin Kotalik
c395db12e6
Fix path searching for where.exe and request handler parsing ( #595 )
2018-02-20 08:10:13 -08:00
brightcr
a72e5db797
Removed code to set response headers - connection and upgrade as it should be set by caller e.g. WebSockets Middleware ( #2329 )
2018-02-19 08:36:28 -08:00
Ben Adams
1f8591184e
Use ReferenceEquals not MulticastDelegate.equals ( #2330 )
...
It never inlines because its such a chunky method
2018-02-17 08:13:15 -08:00
Mike Harder
4afaa386db
Remove unnecessary usings ( #2326 )
2018-02-16 14:04:16 -08:00
Nate McMaster
eea8c1a146
Support decrypting keys with X509Certificate that is not in the X509Store
...
The default implementation of EncryptedXml doesn't support using the RSA
key from X509Certificate to decrypt xml unless that cert is in the X509
CurrentUser\My or Localmachine\My store. This adds support for
decrypting with the X509Certificate directly. This is useful for Linux
(often Docker) scenarios, where the user already has a .pfx file, but
may not have added it to X509Store.
2018-02-16 12:11:20 -08:00
Justin Kotalik
87c3ca4752
Send stderr logs to anonymous pipe instead of file when logging is disabled. ( #549 )
2018-02-15 18:43:06 -08:00
Ryan Brandenburg
00b0329059
No more ExperimentalProjectVersionPrefix
2018-02-15 16:00:08 -08:00
Ryan Brandenburg
66714b5fc0
Use ExperimentalPackageVersion
2018-02-15 12:08:50 -08:00
Ryan Brandenburg
f1e63e0f9e
Use ExperimentalPackageVersion
2018-02-15 11:44:08 -08:00
Alessio Franceschelli
14332c5daf
Allows Content-Length for 304 Not Modified response ( #2321 )
2018-02-14 16:01:07 -08:00
Justin Kotalik
4ca45d951f
Increment index by 1 as indexOf is inclusive when searching for dotnet.exe ( #589 )
2018-02-14 15:28:15 -08:00
Ryan Brandenburg
a6165304b3
Add ExperimentalPackageVersion
2018-02-14 12:48:27 -08:00
Alessio Franceschelli
9341f72b8d
Consumes request before closing connection ( #2314 )
2018-02-14 11:46:13 -08:00
Chris Ross (ASP.NET)
d20d47924c
Add HostString.MatchesAny #2863
2018-02-13 14:40:14 -08:00
Daniel Roth
db8e0127c7
Remove hyphen from the dev-certs tool name
2018-02-13 09:33:02 -08:00
David Fowler
2156030460
Clean up some of protocol abstractions ( #2311 )
...
* Clean up some of protocol abstractions
- Renamed PipeConnection to DuplexPipe
- Removed MemoryPool from ConnectionContext
- Work around value tuple issue on net471
2018-02-10 10:39:21 -08:00
Javier Calvarro Nelson
2f42f8f8b4
Merge branch 'release/2.1' into dev
2018-02-09 15:07:53 -08:00
Javier Calvarro Nelson
e81e124586
Fix whitespaces
2018-02-09 15:07:33 -08:00
Javier Calvarro Nelson
46bfdf1d14
Merge branch 'release/2.1' into dev
2018-02-09 14:57:10 -08:00
Javier Calvarro Nelson
1f3a26051d
Fix duplicated namespace on startup
2018-02-09 14:56:18 -08:00
Javier Calvarro Nelson
8f005c7a58
Merge branch 'release/2.1' into dev
2018-02-09 14:19:40 -08:00
Javier Calvarro Nelson
025d366b83
Fix bad merge
2018-02-09 14:08:01 -08:00
Javier Calvarro Nelson
6bb798d2b7
Add minimumsamesitepolicy.None in the cookie policy options on the templates
2018-02-09 13:51:34 -08:00
Javier Calvarro Nelson
7a1f716fc0
Merge branch 'release/2.1' into dev
2018-02-09 13:39:09 -08:00
Javier Calvarro Nelson
67cf534bda
Fix B2C templates
2018-02-09 13:20:16 -08:00
Nate McMaster
a64672d6e9
Ensure publish directory is cleaned when /t:Clean is executed [ci skip]
2018-02-09 09:57:44 -08:00
Joshua Clark
5dd590e75e
Add clearer exception message to HttpResponseStream ODE ( #2305 )
2018-02-08 17:28:00 -08:00
Javier Calvarro Nelson
23f63c2790
Remove dependency on Microsoft.AspNetCore.Identity.Service.AzureKeyVault
2018-02-08 13:15:47 -08:00
Hao Kung
abe222eb53
Merge branch 'release/2.1' into dev
2018-02-08 12:39:58 -08:00
Hao Kung
06f1340f2a
[2.1] Update initial identity migration ( #313 )
2018-02-08 12:37:40 -08:00
Redouane Sobaihi
8f25c4e8ca
Include limits default values in intellisense comments. ( #2304 )
2018-02-08 11:37:01 -08:00
Steve Sanderson
bf5f40b1ed
In Websocket proxy, don't forward User-Agent. Fixes #1469 .
2018-02-08 11:40:14 +00:00
Peter Blazejewicz
3d118de0d5
Pass properties to super in derived classes. Fixes #289
...
Thanks!
2018-02-08 11:17:15 +00:00
Peter Blazejewicz
6b44610079
Align class event handler creation with React docs
...
This is small change to align example React app with current advised way of assigning
event handlers that are declared as ES6 class methods:
https://reactjs.org/docs/handling-events.html
Thanks!
2018-02-08 11:17:09 +00:00
Steve Sanderson
c000f6af2d
Update Angular template to match @angular/cli@1.6.8 output
2018-02-08 11:03:00 +00:00
Jass Bagga
acc2147ac5
Merge pull request #315 from aspnet/release/2.1
...
Remove hard coded copyright year
2018-02-07 14:28:39 -08:00
Jass Bagga
6b490836b1
Remove hard coded copyright year
2018-02-07 14:13:02 -08:00
Doug Bunting
7b9da556fb
Add `HttpRequestRewindExtensions`
...
- aspnet/Home#2684
- makes the `BufferingHelper` methods used in MVC and WebHooks `public`
2018-02-06 22:11:06 -08:00
Justin Kotalik
9162ab3436
Default to using program files if where.exe doesn't find dotnet.exe ( #578 )
2018-02-06 12:12:23 -08:00
David Fowler
816ecf5cda
Reduce the amount of argument checking by flattening the call graph. ( #995 )
2018-02-06 10:26:56 -08:00
PRIYANSHU AGRAWAL
5aa3529dcb
Merge PR #297 - minor code cleanup - remove duplicate allocation of DateTimeOffset
2018-02-06 08:18:12 -08:00
Steve Gordon
8765d55f9f
Fixing small typo in a comment ( #1328 )
2018-02-06 07:57:28 -08:00
Robert Miles
672a5f3c76
Allow null value in query string KVP per RFC 3986 ( #994 )
...
* Allow null value in query string KVP per RFC 3986
* Tweaks per PR suggestions
* Tweaks per PR suggestions, round 2
* Tweaks per PR suggestions, round 3
2018-02-05 20:25:53 -08:00
Kristian Hellang
450900d14c
Added protected ctor to AuthenticationSchemeProvider ( #990 )
2018-02-05 13:43:55 -08:00
Jass Bagga
b177f5a145
Merge pull request #304 from aspnet/release/2.1
...
Remove F# web app VS host file
2018-02-05 10:42:02 -08:00
Priyanshu Agrawal
ce82951c56
Remove extra white-spaces
2018-02-05 23:52:53 +05:30
Jass Bagga
cc14da18eb
Remove F# web app hosts file
2018-02-05 10:14:14 -08:00
Henk Mollema
e353005562
Use correct ArgumentNullException parameter name ( #436 )
2018-02-05 08:37:23 -08:00
Justin Kotalik
e035d0ed96
Fail fast on .NET Full Framework and log exceptions in hostfxr utility ( #533 )
2018-02-04 20:54:12 -08:00
Eilon Lipton
062f6b4d31
Merge pull request #284 from peterblazejewicz/fix/279
...
Add empty TypeScript starter template file. Closes #279
2018-02-02 16:35:37 -08:00
Justin Kotalik
462c1c042a
Merge remote-tracking branch 'origin/release/2.1' into dev
2018-02-02 16:23:54 -08:00
Javier Calvarro Nelson
216e9f62c4
Fix kestrel urls in launchSettings.json
2018-02-02 16:10:15 -08:00
Justin Kotalik
5465216be9
React to hostfxr api changes ( #577 )
2018-02-02 16:07:51 -08:00
Javier Calvarro Nelson
a4427f5263
Fix kestrel urls in launchSettings.json
2018-02-02 16:07:02 -08:00
BrennanConroy
60cbedf5ee
Don't throw in Nginx deployer dispose ( #1327 )
2018-02-02 13:44:48 -08:00
Jass Bagga
66750bb20a
Merge pull request #285 from aspnet/release/2.1
...
Adding host configurations for F# templates (#281 )
2018-02-02 12:19:37 -08:00
Jonathon Marolf
8079ab8b58
Adding host configurations for F# templates ( #281 )
2018-02-02 12:18:50 -08:00
Peter Blazejewicz
ebeb7b93f9
Add empty TypeScript starter template file. Closes #279
...
No content, the header with the same CTA as in site.js
And no BOM, there is no policy to enforce it in the repo.
Thanks!
2018-02-02 21:14:20 +01:00
Priyanshu Agrawal
e0e4b007ec
Use http method names from HttpAbstractions
...
This uses http method names from strings defined HttpMethods class instead of hard coded strings.
2018-02-03 01:36:28 +05:30
Priyanshu Agrawal
58411b4cc4
Use header names from HttpAbstractions
...
Closes aspnet/Home#2319
This will use constants defined in HeaderNames class instead of hard coded strings.
2018-02-03 01:24:56 +05:30
Javier Calvarro Nelson
fe3d4f0d8b
Merge branch 'release/2.1' into dev
2018-02-02 10:33:03 -08:00
Javier Calvarro Nelson
1ea32bd569
[ Fixes #283 ] Updates vs-2017.3.host.json to include the HTTP port
2018-02-02 10:32:19 -08:00
John Luo
1c31731d89
Merge branch 'release/2.1' into dev
2018-02-01 15:01:46 -08:00
John Luo
bd9e53015d
Merge branch 'release/2.1' into dev
2018-02-01 14:48:34 -08:00
John Luo
94cfac8ec6
Use Microsoft.AspNetCore.App in templates
...
- Add BrowserLink and Sqlite for Razor and StarterWeb templates when required
- Add tests for LocalDB scenarios
2018-02-01 12:52:05 -08:00
John Luo
e4e837fa24
Flatten dependencies of Microsoft.AspNetCore.All metapackage
...
Remove BrowserLink from Microsoft.AspNetCore.App
Remove version locking in .All metapackage
2018-02-01 11:51:27 -08:00
Nate McMaster
864ee50b4c
Merge branch 'release/2.1' into dev
2018-02-01 10:40:07 -08:00
Nate McMaster
2233481d34
Ensure all packages are included in ArtifactInfo
2018-02-01 10:24:07 -08:00
Hossam Barakat
9119433ab7
Add the middleware name to the exception message UseMiddlewareNoInvokeMethod ( #993 )
...
Addresses #927
Addresses aspnet/Home#2692
2018-02-01 06:22:08 -08:00
David Fowler
6b095cf533
Allow overriding the hosting service provider ( #1325 )
...
- Use the IServiceProviderFactory<IServiceCollection>
- Assert creation and disposal service providers
- Updated the tests to verify that service providers are created and disposed
- Called CreateBuilder even in the default case in case the service collection is modified as part of it.
2018-01-31 16:03:40 -08:00
David Fowler
f8d61a4c52
Dispose the host if Initialize fails ( #1324 )
2018-01-31 16:00:55 -08:00
Mikael Mengistu
e8d69911fd
Adding Http2 headers to HeaderNames class ( #992 )
2018-01-31 11:55:43 -08:00
Jass Bagga
ba0abd2285
Add missing bootstrap and js min files to RazorPages template ( #269 )
...
Addresses #217
2018-01-30 14:09:03 -08:00
John Luo
4c79a2fe59
Merge branch 'release/2.1' into dev
2018-01-30 12:04:18 -08:00
David Fowler
6cd313fcfa
Revert "Change MiddlewareFactory to type activate IMiddleware as a fallback ( #988 )" ( #991 )
...
This reverts commit 44d5bf074f .
2018-01-30 10:28:52 -08:00
Pavel Krymets
ddf3e948ad
Merge release/2.1
2018-01-30 09:54:23 -08:00
Pavel Krymets
261b5836c1
Merge release/2.1
2018-01-30 09:39:33 -08:00
John Luo
818bb50e43
Update metapackages
...
.All will include all assets from .App
.All and .App will check TFM compatibility during inner builds
Remove unused runtime store templates
2018-01-29 17:40:19 -08:00
Pavel Krymets
bc1a60704b
React to pipeline changes ( #570 )
2018-01-29 14:35:22 -08:00
Pavel Krymets
a84095e5c3
React to pipelines changes ( #2275 )
2018-01-29 14:34:48 -08:00
David Fowler
8ea181f088
Use the OnWriterCompleted and OnReaderCompleted events directly. ( #2280 )
2018-01-29 14:27:47 -08:00
Jass Bagga
e8816350ef
Add namespace for SignedOut.cshtml.cs ( #266 )
...
Addresses #205
2018-01-29 14:03:14 -08:00
Pranav K
c24b577175
Merge remote-tracking branch 'origin/release/2.1' into dev
2018-01-29 13:54:35 -08:00
Nate McMaster
011cf720e6
Add IServerVariablesFeature
...
Enables fetching variables directly from IIS when using in-process
hosting. This is not available for out-of-process hosting.
Other changes:
- Update tests to only run if IIS Express has been updated to support
the new schema for hostingModel
- Add a simpler test fixture for in-proc testing
2018-01-29 12:51:26 -08:00
Chris Ross (ASP.NET)
6e122c45b4
Mark cookie as non-essential. Home#2393
2018-01-29 12:50:17 -08:00
David Fowler
50b396cec6
Fixed race in sockets transport ( #2279 )
...
- Based on the changes you made earlier (f4d27e6 ), we trigger OnConnectionClosed before the socket is disposed in the SocketTransport. This moves the call to Output.Complete to happen after and thus fixes the race.
2018-01-29 12:41:45 -08:00
Pranav K
b37880c985
Downgrade version of analyzers
2018-01-29 12:24:18 -08:00
David Fowler
cb55973c27
Dispose the host if Initialize fails ( #1318 )
2018-01-29 02:56:19 -08:00
Justin Kotalik
5d4fd2a592
Add project capability in 2.1 M.A.App for inproc hosting ( #796 )
2018-01-28 16:59:16 -08:00
Michael Hawkins
9f64c69a2a
Disambiguates IFormFile name docs ( #935 )
2018-01-28 14:27:47 -08:00
Jass Bagga
c15cd757cf
Set ASPNETCORE_URLS
2018-01-26 15:59:54 -08:00
Javier Calvarro Nelson
8280c1b73f
Update Kestrel HTTPS developer certificate error message
2018-01-26 12:55:15 -08:00
Justin Kotalik
6f54ed1c68
Merge pull request #560 from aspnet/release/2.1
2018-01-26 12:50:45 -08:00
Andrew Stanton-Nurse
a6fc4776da
fix Kestrel version to fix build ( #227 )
2018-01-26 12:27:41 -08:00
Chris Ross (ASP.NET)
6d15dcf1ca
Use TryAdd for ISessionStore service #2755
2018-01-26 12:16:25 -08:00
Andrew Peters
0ec3dedc88
Fixes null ref in DatabaseErrorPageMiddleware.
...
Fix aspnet/Home#2820 - UseDatabaseErrorPage throws NullReferenceException when ef exception occur in background task
Fix aspnet/EntityFrameworkCore#9599 - Insert entity in non existing table throws NullException
Added null checks to async local access in event callback.
Related to aspnet/Home#2825
2018-01-26 10:28:28 -08:00
Justin Kotalik
85ec92012a
Remove AspNetCoreHostingModelProperty ( #561 )
2018-01-26 10:25:05 -08:00
Justin Kotalik
2181fdc943
Invoke where.exe to find dotnet.exe ( #559 )
2018-01-26 10:16:05 -08:00
David Fowler
44d5bf074f
Change MiddlewareFactory to type activate IMiddleware as a fallback ( #988 )
...
- This eases the transition and learning when you discover there's
an interface for middleware.
2018-01-25 13:51:54 -08:00
Steve Sanderson
dbaa453d18
Bump aspnet-webpack version to 2.0.3 for release
2018-01-25 12:58:55 -08:00
Nate McMaster
04dfc5cc6b
Remove RuntimeFrameworkVersion from the templates
...
This property is no longer needed because the Microsoft.AspNetCore.All and .App packages set the shared framework version. RuntimeFrameworkVersion is inferred by Microsoft.NET.Sdk
2018-01-25 12:25:34 -08:00
Steve Sanderson
b2373e157e
Support Webpack configs authored in TypeScript. Covers #1301
2018-01-25 12:14:43 -08:00
Pranav K
a6eb93cfdd
Merge branch 'release/2.0' into release/2.1
...
# Conflicts:
# src/Microsoft.DotNet.Web.ProjectTemplates/content/RazorPagesWeb-CSharp/Pages/Account/AccessDenied.cshtml
# src/Microsoft.DotNet.Web.ProjectTemplates/content/RazorPagesWeb-CSharp/Pages/Account/Manage/EnableAuthenticator.cshtml
# src/Microsoft.DotNet.Web.ProjectTemplates/content/RazorPagesWeb-CSharp/Pages/Account/Manage/EnableAuthenticator.cshtml.cs
# src/Microsoft.DotNet.Web.ProjectTemplates/content/RazorPagesWeb-CSharp/Pages/Account/Manage/GenerateRecoveryCodes.cshtml
# src/Microsoft.DotNet.Web.ProjectTemplates/content/RazorPagesWeb-CSharp/Pages/Account/Manage/GenerateRecoveryCodes.cshtml.cs
# src/Microsoft.DotNet.Web.ProjectTemplates/content/StarterWeb-CSharp/Controllers/ManageController.cs
# src/Microsoft.DotNet.Web.ProjectTemplates/content/StarterWeb-CSharp/Models/ManageViewModels/EnableAuthenticatorViewModel.cs
# src/Microsoft.DotNet.Web.ProjectTemplates/content/StarterWeb-CSharp/Models/ManageViewModels/ShowRecoveryCodesViewModel.cs
# src/Microsoft.DotNet.Web.ProjectTemplates/content/StarterWeb-CSharp/Views/Manage/EnableAuthenticator.cshtml
# src/Microsoft.DotNet.Web.ProjectTemplates/content/StarterWeb-CSharp/Views/Manage/GenerateRecoveryCodes.cshtml
# src/Microsoft.DotNet.Web.ProjectTemplates/content/StarterWeb-CSharp/Views/Manage/TwoFactorAuthentication.cshtml
2018-01-25 11:12:48 -08:00
Steve Sanderson
08c2f231ea
Bump aspnet-webpack version to 2.0.2. Also, further minor tweak to TypeScript annotations.
2018-01-24 17:49:51 -08:00
Steve Sanderson
6274733565
TypeScript annotation fixes
2018-01-24 17:44:47 -08:00
waterfoul
5f6f288056
Added support for Thenables
2018-01-24 17:26:38 -08:00
Justin Kotalik
06348dded7
Change request timeout validation to 1 second. ( #546 )
2018-01-24 17:18:23 -08:00
Jass Bagga
d978b0da6c
Revert "Update jQuery" ( #257 )
...
This reverts commit 78f4c7342b .
2018-01-24 17:17:57 -08:00
Steve Sanderson
78e583d0fb
Comment and XML doc tweaks
2018-01-24 17:00:59 -08:00
Jordan McDonald
7c07beb494
adding support to pass Env param to webpack
2018-01-24 17:00:59 -08:00
Sławomir Rosiek
e7ffb8bb71
Returning provided promise in `addTask`
2018-01-25 00:42:58 +00:00
Steve Sanderson
3e6f7f3e45
Loosen aspnet-webpack peerDependency requirement back to cover what it allowed before (so it's not a breaking change)
2018-01-24 16:39:20 -08:00
Keven van Zuijlen
0d83504863
Bump webpack peerDependency version so NPM doesn't give a warning
2018-01-24 16:38:08 -08:00
Nate McMaster
af8d61395f
React to changes in package layout requirements for global CLI tools ( #385 )
2018-01-24 16:09:20 -08:00
Chris Ross (ASP.NET)
4fd4fd9f41
Mark HTTP/2 as not supported with an AppContext switch override.
2018-01-24 15:29:59 -08:00
pan-wang
d61a4ca89f
some fix for handling configuration change and recycling ( #539 )
2018-01-24 15:21:09 -08:00
Steve Sanderson
b1ccc31ccf
Update SPA template identifiers to end with ".2.1". Fixes #230
2018-01-24 23:02:22 +00:00
Andrew Stanton-Nurse
6bc49ad6ca
update to use corefx package ( #222 )
2018-01-23 19:57:28 -08:00
Javier Calvarro Nelson
2269a31983
[ Fixes #245 ] Update Identity to use the default layout from the application.
...
Added /Areas/Identity/Pages/_ViewStart.cshtml and set the layout to the
applications layout.
2018-01-23 17:40:57 -08:00
Jass Bagga
78f4c7342b
Update jQuery ( #250 )
...
Addresses #248
2018-01-23 16:11:41 -08:00
Justin Kotalik
3d167c1e6c
Run http request on separate thread. ( #545 )
2018-01-23 14:56:47 -08:00
Sourabh Shirhatti
10f0f7b2ee
Add project capability for inproc hosting ( #532 )
2018-01-23 14:05:27 -08:00
Artak Mkrtchyan
ea38977599
Removed unnecessary spaces
2018-01-22 16:41:43 -08:00
Artak Mkrtchyan
4fa975a416
Writing header cache values only when the response hasn't yet started
2018-01-22 16:40:57 -08:00
Artak Mkrtchyan
77b04e3c82
Removed redundant spacings
2018-01-22 14:53:46 -08:00
Artak Mkrtchyan
6138087de6
Updated the DefaultAntiforgery to set the the cache headers only if they aren't set yet.
2018-01-22 14:50:45 -08:00
Pranav K
13cf9f76bd
Add support for building Microsoft.AspNetCore.Analyzers metapackage
2018-01-22 13:54:50 -08:00
Javier Calvarro Nelson
d159cb9b00
Add application DbContext
2018-01-22 13:24:54 -08:00
Justin Kotalik
6b4673bbdc
Fixes bitness alignment issue for 32bit ( #527 )
2018-01-19 17:39:42 -08:00
Justin Kotalik
d7d502a04c
Free stdout after app closes ( #535 )
2018-01-19 15:52:21 -08:00
pan-wang
d85ed094aa
gracefully shutdown the filewatcher thread ( #530 )
2018-01-19 14:31:51 -08:00
=
564e049ae9
Build Microsoft.AspNetCore.App
...
- Produce .App and .All metapackages and shared frameworks
2018-01-19 11:32:30 -08:00
Justin Kotalik
2204989660
Always load hostfxr parameters if the app isn't loaded ( #529 )
2018-01-19 09:59:04 -08:00
Jass Bagga
a177c557c5
[2.0.x PATCH] Add app.config to net 4.x templates ( #231 )
...
Addresses #170
2018-01-18 18:19:18 -08:00
Stephen Halter
526dfdb332
Switch back to libuv as the default transport ( #2257 )
...
* Switch back to libuv as the default transport
2018-01-18 17:25:28 -08:00
Jass Bagga
767a857635
Set CompatibilityVersion for templates ( #240 )
...
Addresses #235
2018-01-18 16:11:09 -08:00
Justin Kotalik
694411f79e
Fixing a typo ( #279 ) ( #523 )
2018-01-18 13:50:34 -08:00
Justin Kotalik
ab7ec622ef
Make paths absolute for in-process, fix relative path check ( #513 )
2018-01-17 16:43:49 -08:00
Pavel Krymets
f8192fd63c
Workaround corefx/26390 ( #295 )
2018-01-17 10:39:07 -08:00
Stephen Halter
cf371a4e74
Disable heartbeat warning when debugger is attached ( #2258 )
2018-01-16 18:11:11 -08:00
pan-wang
7b65bdb6ef
Panwang/addinglog ( #508 )
...
* adding windows event log
* adding windows event log
* fix a wrong bool variable
* some updates
* fix bad merge
2018-01-16 17:21:47 -08:00
Stephen Halter
f4d27e67bb
Improve server shutdown logic ( #2247 )
...
Ensure connections abort when they don't close gracefully.
2018-01-16 16:43:45 -08:00
Hao Kung
5d2f598c80
Update initial migrations
2018-01-16 14:44:29 -08:00
Javier Calvarro Nelson
e6bb551018
Adds support for loading the developer certificate from a pfx file
...
* If we can't find a developer certificate on the certificate store
we will look for a developer certificate on the file system if a
password has been specified for the Development certificate.
* We will look at ${APPDATA}/ASP.NET/https/<<AppName>>.pfx for windows
and fallback to ${HOME}/.aspnet/https/<<AppName>>.pfx
* In case the password wasn't specified through configuration, the file
is not found on the file system or can't be loaded, we won't
do anything.
2018-01-12 16:32:06 -08:00
Kiran Challa
e5de4e672c
Marked Antiforgery cookie as essential
...
Related to https://github.com/aspnet/Home/issues/2408 : Determine if the antiforgery cookie is considered essential
2018-01-12 11:06:47 -08:00
Jass Bagga
57697baedb
Tolerate leading "~/" or "/" ( #509 )
2018-01-11 13:00:01 -08:00
=
1c4d23f79d
Add TFM compatibility check to 2.1 metapackage
2018-01-11 12:37:11 -08:00
Javier Calvarro Nelson
a036fa6bf4
Add support for cleaning certificates on the machine to the dev-certs tool
2018-01-11 11:26:39 -08:00
Kiran Challa
d2c27104dd
Throwing AntiforgeryValidationException for failure to deserializing tokens
2018-01-10 15:03:54 -08:00
Jass Bagga
93d20ec78c
Revert Dispatcher changes ( #508 )
...
Addresses aspnet/Home#2741
2018-01-10 12:53:17 -08:00
Chris Ross (ASP.NET)
420500e2a9
#2102 Always start the response before draining the request.
2018-01-09 15:59:19 -08:00
Steffen Forkmann
9a8dd6ef12
Allow Content-Length 0 for Websocket-Connection ( #2217 )
2018-01-09 15:01:09 -08:00
Chris Ross (ASP.NET)
eabde9fe9e
Add CookiePolicy and consent UI
2018-01-09 12:42:07 -08:00
Jass Bagga
8ebe0a2d29
Derive Web API templates from ControllerBase ( #220 )
...
Addresses #45
2018-01-08 15:08:43 -08:00
Justin Kotalik
ee6256d941
Update sample to use aspnetcore.dll and aspnetcorerh.dll ( #512 )
2018-01-08 12:02:58 -08:00
Jass Bagga
95c663a289
Handle malformed origin Uri ( #139 )
...
Addresses aspnet/Home#2318
2018-01-08 11:04:57 -08:00
Nate McMaster
48ed4a6997
Package aspnetcorerh in Microsoft.AspNetCore.Server.IIS
2018-01-08 10:15:06 -08:00
Chris Ross (ASP.NET)
ce69341265
Add ITrackingConsentFeature.CreateConsentCookie
2018-01-05 12:04:50 -08:00
Jass Bagga
da3a49a9b0
Add HttpsPort settings to Empty F# template ( #219 )
2018-01-05 11:08:47 -08:00
Chris Ross (ASP.NET)
ad2149f5f0
Change ApplicationProtocol to ReadOnlyMemory<byte> #2182
2018-01-05 09:25:30 -08:00
Stephen Halter
664055fa43
Revert "Change ApplicationProtocol to ReadOnlyMemory<byte> #2182 "
...
This reverts commit 2d3a01d48d .
2018-01-04 16:17:36 -08:00
Chris Ross (ASP.NET)
2d3a01d48d
Change ApplicationProtocol to ReadOnlyMemory<byte> #2182
2018-01-04 15:26:40 -08:00
Jass Bagga
8502900c18
Add Dispatcher packages descriptions ( #507 )
...
Addresses aspnet/Home#2656
2018-01-04 11:02:05 -08:00
Phillip Carter
5b34474502
Update F# templates ( #190 )
2018-01-04 10:56:54 -08:00
Justin Kotalik
c3bc6fed9c
Adds RequestHandler dll and hostfxr changes from ANCM ( #497 )
2018-01-04 10:07:00 -08:00
Pavel Krymets
8cedb4eff3
React to pipeline changes ( #503 )
2018-01-04 10:01:16 -08:00
Pavel Krymets
1fa001e7db
React to pipeline changes ( #2234 )
...
React to pipeline changes
2018-01-04 09:54:42 -08:00
Steve Sanderson
22da82ff8a
Sync remaining Angular-CSharp changes from OOB release into dev branch
2018-01-04 11:10:35 +00:00
Steve Sanderson
0d9f17211f
Fix @angular/platform-server version in package-lock.json
2018-01-04 11:01:28 +00:00
Steve Sanderson
c637130f88
In React and ReactRedux templates, switch from npm-shrinkwrap.json to package-lock.json
2018-01-04 11:01:19 +00:00
Steve Sanderson
27878265bc
Update Angular template to Angular CLI 1.6.3, plus switch it from npm-shrinkwrap.json to package-lock.json
2018-01-04 11:01:01 +00:00
Jass Bagga
c66d5240d1
Recreate cache of endpoints when data source updated ( #503 )
...
Addresses #454
2018-01-03 14:33:16 -08:00
Justin Kotalik
5d8670243c
Use location of aspnetcore.dll rather than the activating process. ( #500 )
2018-01-03 11:49:43 -08:00
Steve Sanderson
d6588c31bf
In Angular CLI middleware, remove additional level of timeouts since it's now covered upstream. Part of #1447
2018-01-03 11:47:17 +00:00
Justin Kotalik
119dee607b
Remove use of Dangerous Span calls for MemoryMarshal ( #501 )
2018-01-02 13:59:49 -08:00
Chris Ross (ASP.NET)
63c2f43ce5
AuthenticationProperties code cleanup
2018-01-02 11:30:45 -08:00
Scott Addie
323453129d
Remove yarn.lock file entry from .gitignore files
2018-01-02 16:16:47 +00:00
Steve Sanderson
15d2f5a898
Allow explicit configuration of StaticFileOptions in new SPA APIs. Fixes #1424 .
2018-01-02 15:44:59 +00:00
Steve Sanderson
814441c933
Allow configuration of SPA startup timeout. Part of #1447
2018-01-02 14:15:33 +00:00
Steve Sanderson
a98c1459b5
When a SPA dev server (or prerendering build) takes too long to start up, only fail current request, not future requests. Fixes #1447
2018-01-02 14:15:20 +00:00
Steve Sanderson
fa386c458b
Remove bogus BuildServerSideRenderer property from React-Redux csproj. #1457
2018-01-02 12:14:30 +00:00
Jass Bagga
9ad731bc33
Remove max-width from site.css for F# Starter Web template ( #214 )
2017-12-29 15:52:30 -08:00
Nate McMaster
26833a02b1
Remove DotNetCliToolReference to dotnet-user-secrets ( #212 )
2017-12-29 14:27:31 -08:00
Justin Kotalik
d59b0ef38c
Adds universe manifest and signing info
2017-12-29 12:48:01 -08:00
Murat Girgin
4e568c9266
Fixing a typo ( #279 )
2017-12-29 12:48:01 -08:00
Javier Calvarro Nelson
5325c65b88
Replace identity code with built-in version on the templates
2017-12-29 11:45:10 -08:00
Nate McMaster
261b27b700
Port CLI tools to be dotnet global tools
...
- Rename package IDs to dotnet-watch, dotnet-user-secrets, and dotnet-sql-cache
- Change packaging layout to support dotnet-install-tool
- Change package metadata to DotnetTool
- Drop support for DotNetCliToolReference (those will continue to be available under previous package ID's)
- Rename project files and folders
2017-12-29 08:42:36 -08:00
Javier Calvarro Nelson
8c94d27d6a
[ Fixes #181 ] Go back to server selected listening ports.
2017-12-28 19:00:29 -08:00
Jass Bagga
886a985726
Target netcoreapp2.1
2017-12-28 17:01:30 -08:00
Kiran Challa
f8692d14e4
Add logging to RangeHelper.cs
2017-12-28 13:33:11 -08:00
Ryan Brandenburg
87db08e030
Add missing baselines
2017-12-28 11:46:56 -08:00
Chris Ross
32bfa03875
Fix comment and exception typos. ( #983 )
2017-12-28 08:35:04 -08:00
Chris Ross (ASP.NET)
ac702f6818
Add the cookie IsEssential flag and feature
2017-12-27 13:28:12 -08:00
Justin Kotalik
f27190a1f1
Adds InProcessHandler to calls, Refactor to remove IHttpContext completely
2017-12-22 13:36:34 -08:00
lundog
9aaaefbb1b
Initialize RequestCookieCollection case insensitive ( #981 )
...
* Initialize RequestCookieCollection case insensitive
* Call RequestCookieCollection constructor directly
2017-12-22 11:55:06 -08:00
Chris Ross (ASP.NET)
7511a4da7f
Add kestrel config to CreateDefaultBuilder
2017-12-21 14:51:34 -08:00
Pavel Krymets
0125769f8a
Use SiteExtension.Sdk in Microsoft.AspNetCore.AzureAppServices.SiteExtension ( #128 )
2017-12-21 11:12:30 -08:00
Chris Ross (ASP.NET)
dfaf37cbba
Implement config support #1290 #1879 #2016 #2166 #2167 #2188
2017-12-21 09:12:32 -08:00
user1336
db3c3ba589
Ensure HeaderDictionary store is initialized consistently ( #979 )
2017-12-21 08:50:32 -08:00
ASP.NET CI
fa9d7a7e8c
Update dependencies.props
...
[auto-updated: dependencies]
2017-12-20 13:46:28 -08:00
BrennanConroy
2cf020103a
Update to new corefx packages ( #486 )
2017-12-20 13:46:27 -08:00
pan-wang
30bbd87d81
Panwang/refactor ( #277 )
...
* Init check in for refactoring
* clean up to make app_offline work
* update loadassembly and build
* add configpath to aspnetcore_config to make recycle work
* Adds in process component to refactor (#249 )
* outprocess first checkin (still missing marjor components)
* Adds In-Process support for shimmed module. (#257 )
* Init check in for refactoring
* clean up to make app_offline work
* update loadassembly and build
* add configpath to aspnetcore_config to make recycle work
* Adds in process component to refactor (#249 )
* outprocess first checkin (still missing marjor components)
* Adds In-Process support for shimmed module. (#257 )
* load from bin start and catch unhandled exception
* Fixes request handler vcxproj
* Adds request handler to nuget package
* build issues
* outofprocess refactoring
* adding logging support
* enforce Warning As Error for build and enable process recycle for outofprocess
* fix AV for win32 build and update build flags
* Fixed m_srwLock lock issue
* remove dealock in loadmanagedapp and remove UseMFC
* Readd lost exception catching
* nuget package issue and status code
* fixing warnings
* Adds Headers
* removing web sockets exe for now
* remove flags
* nuspec stuff
* spelling
* only look in inetsvr for now (or same folder)
* rename method
* terminte thread before closing the handle to it
* couple changes related with AV
* null check and Kill thread for in process if dotnet timed out
* fix recursive lock issue reported by appverifier
* client disconnect support AV fix
* flow 502.5 process start failure error page
* Feedback from inperson code review
2017-12-20 13:46:27 -08:00
Pavel Krymets
8570f1e0c0
Move site extensions out from src ( #131 )
2017-12-20 12:11:26 -08:00
Pavel Krymets
dee673ea09
Build site extensions in main build chain ( #130 )
2017-12-20 10:52:11 -08:00
Pavel Krymets
3a0a133a02
Remove use of Dangerous* Span APIs and use MemoryMarshal instead ( #2228 )
2017-12-19 11:33:39 -08:00
Justin Kotalik
150bb3faf4
Add BindingAddress to HttpAbstractions ( #977 )
2017-12-18 18:40:11 -08:00
Chris Ross (ASP.NET)
d505d20ba7
Merge Kestrel.Https into Kestrel.Core. Fix sample.
2017-12-18 14:08:14 -08:00
Jass Bagga
e7749b9ccc
return ReturnUrl when ExternalLogin fails ( #186 )
...
Addresses #97
2017-12-14 10:29:36 -08:00
Jass Bagga
eb74ea32f1
Add app.config to net 4.x templates ( #191 )
...
Addresses #73
2017-12-13 11:12:12 -08:00
Jass Bagga
6eaf1219f6
Use nameof() when returning Views ( #196 )
2017-12-13 11:11:32 -08:00
Nate McMaster
2aaed28054
Rename dotnet-developercertificates to dotnet-dev-certs ( #371 )
2017-12-12 15:56:48 -08:00
Nate McMaster
1f3f010f87
Upgrade CLI tools to .NET Core 2.1
2017-12-12 14:37:47 -08:00
Biarity
13e4025dac
Using nameof() instead of hard-coded string. ( #188 )
2017-12-12 12:05:06 -08:00
Jass Bagga
26ea920fa6
Set LoginProvider when ExternalLoginConfirmation fails ( #187 )
...
Addresses #98
2017-12-12 11:27:11 -08:00
Steve Sanderson
8ded472fe9
Add status code support to SpaPrerenderingExtensions
2017-12-12 12:28:31 +00:00
Pavel Krymets
f4236a1dde
Split KeyVault hosting startup into separate separate package ( #126 )
2017-12-11 11:12:46 -08:00
BrennanConroy
95dc8824c3
Upgrade package references and react to corefx API changes ( #2212 )
2017-12-11 09:02:37 -08:00
Javier Calvarro Nelson
4d2e642b94
Add launchSettings.json by default to our templates
...
* Adds launchSettings.json to all of our templates.
* Provides an alternative flag to exclude it.
* Adds HTTPS support in launchSettings.json.
* Re-adds HTTPS redirect and HSTS middleware for C# templates.
* Improves some infrastructure aspects:
* Prefix all our test projects with AspNet.Template to allow easy
killing of orphaned processes.
* Setup an HTTPS certificate automatically for use with tests in the
same way our tooling does it on customers machines.
* Switch from OS selected ports to randomly selected ports. This is
required as we need to know the port to use for HTTPS.
* Allow disabling browser automation through an environment variable.
* Setup Firefox to allow untrusted certificates when using Selenium.
* Allow running Selenium tests on firefox by setting an environment
variable.
2017-12-08 13:08:36 -08:00
Justin Kotalik
8949f49637
merged
2017-12-07 18:55:29 -08:00
Pranav K
16c23b846e
Split showing and generating recovery codes
2017-12-07 15:47:00 -08:00
Pranav K
e4ecd070eb
Use AuthenticatorUrl generated on the server in EnableAuthenticator pages
...
* Update prerelease package versions
* Install the right CLI version
2017-12-07 15:45:54 -08:00
Jass Bagga
bc95a4a6c1
Add missing @ ( #184 )
...
Addresses #183
2017-12-07 15:45:34 -08:00
Jass Bagga
ed9e34caab
Set ErrorViewModel in ConfirmEmail ( #180 )
...
Addresses #80
2017-12-07 12:44:48 -08:00
Jass Bagga
88e05f71a5
Add no-cache header to error pages ( #182 )
...
Addresses #123
2017-12-07 12:11:44 -08:00
John Luo
911264eb04
Clean up shared framework generation.
2017-12-07 11:00:24 -08:00
Justin Kotalik
9f1e6607dd
Changes OS bitness check to Environment rather than System.Runtime.InteropServices.RuntimeInformation ( #1286 )
2017-12-05 15:17:15 -08:00
Jass Bagga
aba10e768b
Remove user.Id from ResetPasswordCallbackLink ( #173 )
...
Addresses #71
2017-12-05 12:44:37 -08:00
Jass Bagga
f5dcdfd8de
Encode ForgotPassword email link ( #179 )
2017-12-05 12:38:19 -08:00
John Luo
e0daa126e2
Produce aspnetcore shared framework
2017-12-05 12:15:30 -08:00
John Goldsmith
74512dc3b2
Change HMR install to devDependencies
...
Changing hot module replacement install from dependencies to devDependencies. Raised in this Issue: https://github.com/aspnet/JavaScriptServices/issues/1409
2017-12-05 10:42:15 +00:00
Stephen Halter
668f8e3b4b
Lazily allocate protocol-specific connection objects ( #2190 )
...
* Refactor Http[12]?Connection
2017-12-04 15:59:12 -08:00
Jass Bagga
269cff5bf5
Change parameter name to htmlMessage ( #178 )
...
Addresses #79
2017-12-04 13:00:57 -08:00
David Fowler
b8a1c04ffb
Make the HttpParser a singleton ( #2203 )
...
- It's completely stateless so make it a singleton
- Fixed tests
2017-12-03 13:27:36 -08:00
Pavel Krymets
c07d699f0f
Add AspNetCore runtime site extension ( #118 )
2017-12-01 09:42:49 -08:00
Ryan Brandenburg
7c2c5f2bef
EnableApiCheck for Kestrel.Https ( #2198 )
2017-11-30 18:36:35 -08:00
Pranav K
f121d9c688
Split out version specification from ExternalDependency initialization
2017-11-30 16:31:55 -08:00
Jass Bagga
5819301f7e
Change Web API to API ( #169 )
...
Addresses #92
2017-11-30 16:15:04 -08:00
Pavel Krymets
db6c04818e
Add application model detection package ( #119 )
2017-11-30 15:00:03 -08:00
Luke Latham
940c71eaf8
Correct spelling in summary ( #975 )
2017-11-30 13:51:33 -08:00
Nate McMaster
6f096a18af
Import dependencies.props when building the metapackage
2017-11-29 13:02:37 -08:00
Tornhoof
5e9e3a8574
Make sure to add whitespace after the status code even if the reasonphrase is empty ( #2184 )
2017-11-29 12:30:27 -08:00
John Luo
1219e97e27
Avoid LOH
...
Limit is 85000 bytes not 85*1024 bytes
2017-11-28 15:42:52 -08:00
Nate McMaster
98de3aa50d
Suppress API check due to reflection load errors ( #2185 )
...
[ci skip]
2017-11-28 11:04:08 -08:00
David Fowler
ce68427050
Use ALPN support in SSLStream on .NET Core >= 2.1 ( #2179 )
...
- Always add the TlsConnectionFeature when the HttpsConnectionAdapter runs
- Implemented the ITlsApplicationProtocolsFeature on the existing TlsConnectionFeature
- Removed Kestrel.Tls
2017-11-27 09:11:39 -08:00
Steve Sanderson
599d5ed73d
Minor stylistic tweaks in Aurelia template
2017-11-24 13:30:35 +00:00
Max
9e82629c1f
Add AureliaPlugin to the vendor bundle
...
This will put aurelia modules into the bundle from the correct distribution folder
2017-11-24 13:26:51 +00:00
Scott Addie
3a4c81dcc9
Change order of UseBrowserLink method invocation
2017-11-24 10:31:39 +00:00
Scott Addie
af23185c06
Change order of UseBrowserLink method invocation
2017-11-24 10:30:48 +00:00
Scott Addie
a68c7241b5
Invoke a simpler UseMvc overload in Razor Pages templates
2017-11-24 10:22:24 +00:00
Scott Addie
529ef02290
Invoke a simpler UseMvc overload in Razor Pages templates
2017-11-24 10:18:56 +00:00
Steve Sanderson
5d7e31d16f
Minor simplifications to Vue fetchdata logic
2017-11-24 10:07:49 +00:00
Murat Girgin
5e752169d6
Vue.js template: Use async/await
2017-11-24 09:58:53 +00:00
Meir017
02bbcb68f1
fixed docs on SocketNodeInstance
...
namespace was incorrect
2017-11-24 09:53:35 +00:00
Steve Sanderson
40603f1566
In Angular template, make nav button collapsing work (without importing all bootstrap.js scripts)
2017-11-23 12:22:58 +00:00
Steve Sanderson
77afab3b58
In Angular template, add --output-hashing=media to build:ssr as it's needed for 1.5.4 prod builds
2017-11-23 11:49:04 +00:00
Steve Sanderson
98f29207a2
Support running "dotnet restore" directly in template source folders
2017-11-23 11:49:04 +00:00
Steve Sanderson
bf6942e616
For Angular CLI 1.5.4 compatibility, build SPA to ClientApp/dist and serve its static files from there
2017-11-23 11:49:01 +00:00
Steve Sanderson
c517ad3f65
For Angular template, update to @angular/cli 1.5.4 equivalent output
2017-11-23 10:38:31 +00:00
Pranav K
076e5fe6af
Fixup name of SystemServiceProcessServiceControllerPackageVersion
2017-11-22 14:52:27 -08:00
Chris Ross
8e1da5d1f6
Expose WebHostBuilderContext in UseKestrel #1334 ( #2177 )
2017-11-22 10:19:17 -08:00
Pranav K
db8adaf5b7
Remove uses of aspnetcore-ci-dev
2017-11-22 09:28:47 -08:00
Steve Sanderson
7fe5fe2393
Remove "--output-hashing=media" from Angular package.json as it's no longer needed
2017-11-22 17:28:13 +00:00
Steve Sanderson
505ebcf1e6
Update to newer Angular SSR APIs to support AoT-enabled builds
2017-11-22 15:18:52 +00:00
Steve Sanderson
18140929e7
Make AngularCliBuilder provide better information about timeouts
2017-11-22 15:14:58 +00:00
Jass Bagga
54e96bd404
Tolerate leading "~/" or "/" ( #499 )
...
Addresses #441
2017-11-21 14:20:17 -08:00
John Luo
a24ae8bd16
Typo while correcting for feedback
2017-11-20 17:19:55 -08:00
John Luo
aff78a04af
Update property name to match naming scheme
2017-11-20 15:51:17 -08:00
Henk Mollema
e03c6a7908
Cross-compile Windows Services hosting package
2017-11-20 15:40:50 -08:00
Jass Bagga
1b0258ab8f
Move AddEntryToTree to shared source ( #496 )
...
Addresses #495
2017-11-20 14:18:50 -08:00
John Luo
19e943e6b9
Update base key
...
- Add Scheme, Host, Port and PathBase
2017-11-20 12:45:28 -08:00
David Fowler
a1d75df47d
Use new Memory<byte> APIs on SocketAsyncEventArgs ( #2173 )
...
- This should improve the performance of handling buffers by (eventually)
removing GCHandle churn for Kestrel's already pinned buffers.
- Made the Sockets transport target both netcoreapp2.1 and netstandard2.0 to use new
APIs
- Disable API check for the sockets transport
2017-11-20 11:36:09 -08:00
Steve Sanderson
7f6abdfcdd
Remove remaining Bower references. Fixes #161 .
2017-11-20 16:54:25 +00:00
Steve Sanderson
f79fa6e110
Remove remaining references to HttpsPolicy until it's ready
2017-11-20 10:13:24 +00:00
Stephen Halter
67fc879c54
Null out send buffer less ( #2164 )
2017-11-17 12:41:35 -08:00
Javier Calvarro Nelson
2dc3e36421
Fix F# Program.fs
2017-11-17 11:27:57 -08:00
Justin Kotalik
9d9daa8db7
Removes Https middlewares from templates ( #157 )
2017-11-17 11:02:10 -08:00
Steve Sanderson
2623b50695
Update info on SPA template home components
2017-11-17 16:43:38 +00:00
Steve Sanderson
993655a7af
Remove SPA templates' instruction to run "npm install" manually, since that's now automatic
2017-11-17 16:22:35 +00:00
Steve Sanderson
9b1509a52b
Handle @angular/cli not accept requests immediately on startup
2017-11-17 14:56:47 +00:00
Chris Ross (ASP.NET)
89d1862f21
#2139 Add ListenLocalhost and ListenAnyIP
2017-11-16 16:14:17 -08:00
Justin Kotalik
85ea220c4e
Fixes dotnet.exe string as runtime now reads it ( #246 )
2017-11-16 15:05:32 -08:00
Luke Latham
30acb48dfc
Add blank lines
2017-11-16 12:47:11 -06:00
Chris Ross
476333771c
#955 Print available scheme names in exception message for invalid scheme ( #961 )
2017-11-16 09:17:57 -08:00
Steve Sanderson
1d9585b69d
Replace Angular, React, ReactRedux templates with new CLI based ones
2017-11-16 13:48:17 +00:00
Steve Sanderson
68c4620a55
Consider React dev server ready when it starts listening, not when (and if) it compiles successfully
2017-11-16 09:48:38 +00:00
Steve Sanderson
296435e40c
When capturing prerendering template, avoid problems with HTTP compression
2017-11-16 09:34:18 +00:00
pan-wang
9e345ad43f
fix build issue ( #248 )
2017-11-15 21:59:54 -08:00
Javier Calvarro Nelson
6c4427cde5
Added a package for generating HTTPS Certificates on CLI first run scenarios
2017-11-15 18:20:17 -08:00
Jass Bagga
e2bcefc3d0
Move TreeEnumerator to shared source ( #494 )
2017-11-15 11:17:59 -08:00
Justin Kotalik
0b8b099e82
Adds contentRoot to ANCM path ( #1272 )
2017-11-15 10:32:00 -08:00
Justin Kotalik
afb36d9667
Files put in contentFiles are not actually in contentFiles ( #1269 )
2017-11-14 15:00:26 -08:00
Justin Kotalik
726da0f11f
Fix HttpsPolicy dependency for full framework ( #151 )
2017-11-14 11:59:41 -08:00
Justin Kotalik
f27a5a674e
Updates ANCM path to look in content files ( #1268 )
2017-11-14 11:39:21 -08:00
Chris Ross (ASP.NET)
cfd974337d
Improved request error handling.
2017-11-14 10:37:55 -08:00
Chris Ross (ASP.NET)
cd3f58bed7
#1263 Delay IServer and Startup.Configure until StartAsync
2017-11-14 09:19:25 -08:00
Pranav K
8fece7e7bb
Update samples and tests to target netcoreapp2.1
2017-11-13 17:12:02 -08:00
Andrew Stanton-Nurse
065e9bb57a
Update "temporary" OpenSSL wrapper to support 1.1, and add HTTP/2 sample with docker ( #2149 )
2017-11-13 15:54:16 -08:00
Pavel Krymets
b8c3d26975
Migrate to new pipe APIs ( #454 )
2017-11-13 15:06:22 -08:00
Pavel Krymets
73a37363e1
Migrate to new pipe APIs ( #2124 )
2017-11-13 15:04:54 -08:00
Jass Bagga
7f8ba171f4
Move UrlMatchingTree to shared source ( #492 )
...
Addresses #489
2017-11-13 11:40:26 -08:00
Javier Calvarro Nelson
eac0e2d03b
Add support for detecting when the user cancels the trust prompt and a mode to check for the validity and trust of existing certificates
2017-11-13 10:28:46 -08:00
Steve Sanderson
aeabbdcada
Stop create-react-app from opening an extra browser tab (pointed to the wrong port)
2017-11-13 12:51:18 +00:00
Steve Sanderson
96d7f85327
Add UseReactDevelopmentServer() middleware. Factor out common code.
2017-11-13 12:35:41 +00:00
Steve Sanderson
30333e250a
AddSpaStaticFiles/UseSpaStaticFiles APIs to clean up the React template (or other cases where SPA files are outside wwwroot)
2017-11-13 10:54:12 +00:00
Justin Kotalik
82e096c9a5
Adds windows auth support ( #241 )
2017-11-10 17:07:56 -08:00
Justin Kotalik
552163ab77
Adds windows Auth support ( #471 )
2017-11-10 17:02:31 -08:00
Pranav K
311a92ddee
React to change in sdk that causes dotnet run to print restore output
2017-11-10 14:57:53 -08:00
Justin Kotalik
3c727be270
Fix path check for ANCM ( #1262 )
2017-11-10 12:27:51 -08:00
Justin Kotalik
67c028a3cf
React to ANCM dll location changes ( #1258 )
2017-11-10 11:55:31 -08:00
Justin Kotalik
40bd6e560e
Adds HostingModel as an extra DeploymentParameter ( #1261 )
2017-11-10 10:07:19 -08:00
David Fowler
a78b9c7490
Support the Extensions.Abstractions from Hosting.Abstractions ( #1259 )
...
- The goal here is to enable components that use hosting abstractions to use
the web host. It lets us start to decouple components from the web host abstractions
where possible while not breaking any existing components. This will allow things
to work in both the generic host and the web host. The one snafu is the WebHostBuilderContext
which has an IHostingEnvironment typed as the AspNetCore.Abstractions type.
- Updated tests.
#1218
2017-11-09 21:24:30 -08:00
Steve Sanderson
08002e961b
In WebpackDevMiddleware.ts, support loading Webpack config files with __esModule. Fixes #1378
2017-11-09 16:57:57 -08:00
Chris Ross (ASP.NET)
05fd382b93
#1256 Check HasStarted for StatusCode and ReasonPhrase
2017-11-09 13:04:51 -08:00
Chris Ross (ASP.NET)
64596d538b
TestServer: Copy the feature collection to mitigate multi-threading
2017-11-09 13:04:51 -08:00
Chris Ross (ASP.NET)
1e556e0b46
#1253 TestServer: mark response headers IsReadOnly on start
2017-11-09 13:04:37 -08:00
Steve Sanderson
0c77224f46
Allow prerendering middleware to pass through non-prerendered responses (important when using dev middleware)
2017-11-09 10:44:30 -08:00
Steve Sanderson
a83ec3a053
ArgumentNullException -> ArgumentException
2017-11-09 10:30:52 -08:00
Steve Sanderson
a16343681b
Rename BuildOnDemand to BootModuleBuilder
2017-11-09 10:25:48 -08:00
Steve Sanderson
c8b337ebaa
Add new Microsoft.AspNetCore.SpaServices.Extensions package to host new runtime functionality needed for updated templates until 2.1 ships
2017-11-09 10:09:13 -08:00
Nate McMaster
dae1f1ce78
Merge branch 'rel/2.0.3' into dev
2017-11-08 16:31:07 -08:00
John Luo
993cd9f73d
Trigger graceful shutdown on stopping webhost service
2017-11-08 11:06:36 -08:00
Nate McMaster
6c8af17e3a
Add placeholder package descriptions to fix NuGetPackageVerifier errors ( #490 )
...
Merged to unblock CI. cref #491 to update the packages with tags and real package descriptions
2017-11-08 09:43:55 -08:00
Andrew Stanton-Nurse
89fa8f0fa2
Revert "Open ssl pfx ( #2150 )"
...
This reverts commit 41abe63c10 .
2017-11-07 15:48:49 -08:00
Tim Seaward
41abe63c10
Open ssl pfx ( #2150 )
2017-11-07 14:49:02 -08:00
Stephen Halter
238da2742d
Use SocketAsyncEventArgs to improve perf ( #2147 )
2017-11-07 14:43:14 -08:00
arerlend
70c8133fce
allow paths that contain '.' ( #125 )
...
* allow paths that contain '.'
* remove InvalidPathWithDotShouldThrowException test
2017-11-07 11:24:52 -08:00
Jass Bagga
fd83b300b8
Port TreeMatcher ( #488 )
...
Addresses #472
2017-11-07 10:51:50 -08:00
Justin Kotalik
9c065bf107
Remove header serialization in favor of setting IIS response directly. ( #465 )
2017-11-06 20:28:40 -08:00
Justin Kotalik
6bfcd4a2d4
Remove header serialization in favor of setting IIS response directly. ( #228 )
2017-11-06 20:28:08 -08:00
Chris Ross
3e3772eecd
Implement read-only HeaderDictionary ( #958 )
2017-11-06 20:03:49 -08:00
azechi
f287c46bad
Fix exception message for AuthenticationScheme ( #960 )
2017-11-06 18:38:01 -08:00
Nate McMaster
aee0d26d67
Merge build infrastructure changes from rel/2.0.3
...
Changes:
- Replaces PackageLineup with the dependencies.props approach to manage package versions.
- Generate the csproj/fsproj files that go into template packages
- Remove the DependencyUpdater and PullRequestSubmitter tasks
- Remove bower.json and bowerrc from Microsoft.DotNet.Web.ProjectTemplates
- Set MyGet feeds via MSBuild instead of NuGet.config
- Upgrades to the functional tests
- Update Selenium
- Make it possible to run tests on macOS/linux
- Disable test parallelization
2017-11-06 16:06:24 -08:00
Nate McMaster
18feba377f
Rename Microsoft.DotNet.Web.ProjectTemplates.2.0.nuspec -> Microsoft.DotNet.Web.ProjectTemplates.nuspec
2017-11-06 16:00:13 -08:00
Nate McMaster
09161305bb
Reorganize repo branch and project folder structure
...
When the code lived in dotnet/templating, the 1.x, 2.0, and 2.1 templates all needed to sit side-by-side.
Now that this code builds from aspnet/templating, we're reorganizing the folder and branch structure to
match the aspnetcore runtime repos.
Branches:
rel/1.1.5 = Microsoft.DotNet.Web.ProjectTemplates.1.x
rel/2.0.3 = Microsoft.DotNet.Web.ProjectTemplates.2.0
dev = Microsoft.DotNet.Web.ProjectTemplates.2.1
Changes:
Remove the 2.0 and 1.x templates projects from this branch
2017-11-06 15:54:02 -08:00
Nate McMaster
1ffcf2c009
Reorganize repo branch and project folder structure
...
When the code lived in dotnet/templating, the 1.x, 2.0, and 2.1 templates all needed to sit side-by-side.
Now that this code builds from aspnet/templating, we're reorganizing the folder and branch structure to
match the aspnetcore runtime repos.
Branches:
rel/1.1.5 = Microsoft.DotNet.Web.ProjectTemplates.1.x
rel/2.0.3 = Microsoft.DotNet.Web.ProjectTemplates.2.0
dev = Microsoft.DotNet.Web.ProjectTemplates.2.1
2017-11-06 10:19:59 -08:00
George Chakhidze
c315b27ad9
Fix the uninitialized g_hWinHttpModule global variable to avoid empty error messages ( #225 )
2017-11-06 10:16:08 -08:00
Chris Ross
e2dcbea4ec
#907 Clarify the encoding requirements for Response.Redirect. ( #956 )
2017-11-03 15:52:59 -07:00
Nate McMaster
2d98a1808c
Pin tool and package versions to make builds more repeatable
...
Part of aspnet/Universe#575
2017-11-03 15:09:19 -07:00