Ben Adams
aa385a1317
Use Environment.NewLine and Environment.StackTrace
2016-07-21 01:13:27 +01:00
Ben Adams
7b8abf5a3e
Improved Memoryblock tracking
...
Also fixed 3 tests that weren't handling block properly
2016-07-21 01:13:27 +01:00
Ryan Nowak
b80f4d31f3
Add a test to verify our service lifetimes
...
This test uses the new features in the service provider to verify that we
don't reference any scoped services from singletons.
Note that this can't really cover the cases where we have optional
services or where we replace default services (like DI for controllers).
You'll just have to be careful.
2016-07-20 17:10:52 -07:00
Ryan Nowak
bc76c0ef31
Fix #4998 - Resolve IViewComponentHelper every time
...
This change resolves the scoped IViewComponentHelper every time its
needed, rather than misusing a shared instance. IViewComponentHelper is
stateful, so sharing an instance was the cause of this bug.
2016-07-20 17:01:39 -07:00
Troy Dai
7235007a9f
Merge pull request #909 from svick/patch-1
...
Improve sample README
2016-07-20 16:56:21 -07:00
Doug Bunting
8a6e99c7c0
Always render antiforgery tokens if `!CanRenderAtEndOfForm`
...
- #5005
- also add `FormContext` doc comments
2016-07-20 15:25:08 -07:00
Steve Smith
44fc5a7bf9
Fixed typo
...
speficied => specified
2016-07-20 17:18:07 -04:00
Petr Onderka
a1f8278381
Improve sample README
...
* fixed broken link
* improved formatting
* added missing full stops
2016-07-20 19:35:12 +02:00
ivano scifoni
581a5ea573
column attribute for <textarea> is incorrect ( #5049 )
...
- Modify tagBuilder.MergeAttribute key to cols
2016-07-20 09:22:39 -07:00
Doug Bunting
35cc5b6e83
Use `IValidationAttributeAdapterProvider` more often
...
- #5009
- don't create a `RequiredAttributeAdapter` directly
2016-07-19 15:35:08 -07:00
Derek
6cd46a5c10
Remote auth expiration fix ( #893 )
...
Remote auth expiration fix, and move ISystemClock to the base AuthenticationProperties
2016-07-19 15:18:42 -07:00
Pranav K
6bdcf35670
Pin the version of dotnet-test-xunit to 1.0.0-rc3-00000-01
2016-07-19 11:14:56 -07:00
Pranav K
22f75a1e00
Pin the version of dotnet-test-xunit to 1.0.0-rc3-00000-01
2016-07-19 11:14:33 -07:00
Pranav K
571fddbd1d
Pin the version of dotnet-test-xunit to 1.0.0-rc3-00000-01
2016-07-19 11:13:05 -07:00
SteveSandersonMS
749c7cb3ce
Add example of full-page prerendering via a custom action result
2016-07-19 15:50:54 +01:00
David Fowler
3078f4914c
Removed unneeded things from Connection
2016-07-18 22:19:45 -07:00
mnltejaswini
0240882031
Perf: Use RouteValueDictionary in AnchorTagHelper rather than creating a new Dictionary ( #4941 )
...
* Perf: Use lighter, more optimized dictionaries for route sensitive TagHelpers
* Changing the project dependency to Routing.Abstractions
2016-07-18 18:41:41 -07:00
Ajay Bhargav Baaskaran
dde24fbba0
Optimize ListStorage in RouteValueDictionary
2016-07-18 17:31:50 -07:00
Kiran Challa
52a7c112e8
[ Fixes #4876 ] ContentResult forcing chunked encoding
2016-07-18 16:10:01 -07:00
Jonathan
f278822a2c
Update UserStore.cs
2016-07-18 14:22:05 -07:00
Jonathan
d807ec029c
Fixed typo
2016-07-18 14:22:05 -07:00
Kiran Challa
c5e09b0344
Added a HttpResponseStreamWriter test for surrogate pairs
2016-07-18 14:11:42 -07:00
Doug Bunting
e5cb6f9595
Add `null` check for `ModelStateEntry.Children`
...
- #4989
2016-07-18 14:02:17 -07:00
Cesar Blum Silveira
bdf9f8dd4e
Wait for connection in RequestTests.ConnectionResetAbortsRequest ( #978 ).
2016-07-18 13:29:42 -07:00
Kiran Challa
26b3b5ea7b
[ Fixes #4766 ] Remove disable buffering feature from our action result classes
2016-07-18 13:07:54 -07:00
Mike Harder
41e50ba688
Enable all tests in HttpsConnectionFilterTests to run on all platforms
...
- Move HttpClientSlim.cs to test\shared
- Change HttpClientSlim to static class to simplify calling code
- Add HttpClientSlim.PostAsync()
2016-07-18 12:38:19 -07:00
mnltejaswini
6801715daf
Add support for IEnumerable<KeyValuePair<string, string>> in RouteValueDictionary Fixes #329 ( #335 )
2016-07-18 12:12:34 -07:00
Andrew Stanton-Nurse
854ffadc6a
fix project reference
2016-07-18 09:41:13 -07:00
Jimmy Bogard
edf1f88398
Updating to AutoMapper 5.0
2016-07-18 17:02:30 +01:00
SteveSandersonMS
f4afb25a2d
Set ts-loader to "silent" mode until there's a fix for https://github.com/TypeStrong/ts-loader/issues/249
2016-07-18 16:54:52 +01:00
SteveSandersonMS
fae0a886af
Transfer multiline log messages from Node to .NET without treating each line as a separate log entry
2016-07-18 16:34:36 +01:00
SteveSandersonMS
f4efcacd40
Switch to native .NET logging APIs
2016-07-18 15:56:45 +01:00
Paul Knopf
27ffa72e0d
Adding support for capturing the output of a node instance for custom logging implementations.
2016-07-18 15:07:09 +01:00
SteveSandersonMS
a14d9ba2df
Change onBeforeStartExternalProcess to a virtual method, so as to avoid expanding the set of constructor params in all hosting models
2016-07-18 14:39:36 +01:00
thunder7553
7119815d04
Added OnBeforeStartExternalProcess callback which to NodeServicesOptions (and OutOfProcessNodeInstance, SocketNodeInstance and HttpNodeInstance) to configure environment of the node.exe process to be started, and the path to the node executable itself. Fixes #20
2016-07-18 14:24:07 +01:00
SteveSandersonMS
057efb43c8
aspnet-webpack module now preserves 'path' and 'publicPath' config settings when invoking Webpack compiler. Fixes #176 .
2016-07-18 13:55:26 +01:00
David Fowler
8399910a6e
PR feedback
2016-07-15 15:16:03 -07:00
David Fowler
14717f2a3f
Always allocate the socket closed tcs
2016-07-15 15:16:03 -07:00
David Fowler
142685c0fb
Remove state lock from Connection
...
- Remove the state lock by creating the frame earlier
- Set properties on the frame that need to be set before calling start.
- Don't rely on the copy ctor of the *Context hierarchy to set
*everything*
2016-07-15 15:16:03 -07:00
Cesar Blum Silveira
3bb7f4e2c4
Treat ECONNRESET as a connection error ( #934 ).
2016-07-15 14:53:21 -07:00
Pranav K
f9cdef745f
Remove Microsoft.AspNet.DataProtection.Extensions
2016-07-15 13:32:27 -07:00
Andrew Stanton-Nurse
91e94b1353
automate the autobahn test suite ( #101 )
...
However, we only run that automation if the Autobahn test suite runner
(wstest) is installed. After this is in and we can verify it on the CI
we'll look at making it mandatory for building the repo.
Also includes test applications and scripts for running Autobahn suites
against arbitrary ASP.NET 4.6, ASP.NET Core and HttpListener
applications.
2016-07-15 11:54:24 -07:00
Stephen Halter
fbcb5dcb1b
Prevent enumeration of queue during modification in SocketOutputTests
2016-07-15 11:53:54 -07:00
Victor Hurdugaci
ed91ba0c2f
- Fix a NullRef exception that was happening when projects have resx files
...
- Print the changed file name in all cases
2016-07-15 11:53:45 -07:00
Doug Bunting
52e4ca7232
Put `ModelBindingHelper` on a diet
...
- remove extra argument checks
- remove two test-only `ConvertTo()` overloads
- this relates to #4521
2016-07-15 11:53:32 -07:00
jacalvar
57ec8b0f04
[ Fixes #228 ] Update sample app to show more common routing patterns and add functional tests for it.
2016-07-15 11:21:28 -07:00
Pranav K
b7a0393311
Register DependencyContextRazorViewEngineOptionsSetup after RazorViewEngineOptionsSetup
...
Fixes #4902
2016-07-15 10:33:59 -07:00
Ryan Brandenburg
8ec27958e7
Replace Linq in hotpath ( #5024 )
2016-07-15 10:19:17 -07:00
Victor Hurdugaci
c769d8dee9
Fix null ref exception when referencing csproj
2016-07-15 10:05:30 -07:00
zhangmm
ea73434979
Fix typo in test name
2016-07-15 10:01:39 -07:00