Commit Graph

40929 Commits

Author SHA1 Message Date
Chris R 0e05c64855 React to IFeatureCollection changes, test cleanup. 2015-08-04 09:09:53 -07:00
Hao Kung 19d56be977 Delete unused classes
Fixes https://github.com/aspnet/Identity/issues/531
2015-08-03 17:43:14 -07:00
Kiran Challa 80150ec3a6 Changed SessionSample's registratio of RedisCache service from Transient to Singleton 2015-08-03 16:41:13 -07:00
Stephen Halter e5144e3139 Include Server and Date in the initial response header dictionary 2015-08-03 16:20:34 -07:00
Stephen Halter 978dd39924 Update the prepare script used to generate code
- The syntax to run dnx with a modified appbase has recently changed
2015-08-03 16:20:32 -07:00
Stephen Halter 7446fe4cc7 Update SocketOutputTests to account for the "immediate" Write param 2015-08-03 16:20:30 -07:00
Louis DeJardin 6ff894bb19 Using masked byte sequences to recognize well-known header names 2015-08-03 16:20:28 -07:00
Louis DeJardin b999b47218 String concatination showed up in profiler 2015-08-03 16:20:26 -07:00
Louis DeJardin f6dc72544c Response headers don't need to be queued before subsequent write 2015-08-03 16:20:24 -07:00
Louis DeJardin c0728edda7 Linq .Any() was causing enumeration 2015-08-03 16:20:22 -07:00
Louis DeJardin f9cf9f1936 Improvements to appending request header 2015-08-03 16:20:20 -07:00
Louis DeJardin 96b03ee212 Perf - enumerate with struct
Conflicts:
	src/Microsoft.AspNet.Server.Kestrel/project.json
2015-08-03 16:20:18 -07:00
Louis DeJardin ad089be477 Removing "I like pie" diagnostics 2015-08-03 16:20:16 -07:00
Louis DeJardin 963f086eb0 Prototypeing a fast header dictionary
Conflicts:
	src/Microsoft.AspNet.Server.Kestrel/project.json
2015-08-03 16:20:14 -07:00
Mikael Mengistu ab56ac6038 Added headers to store original IP, host, and protocol values 2015-08-03 16:04:56 -07:00
N. Taylor Mullen 0ef68eefc8 Added default `UrlResolutionTagHelper` to resolve app relative URLs.
- Razor removed the ability to automatically resolve URLs prefixed with `~/`; therefore `ScriptTagHelper`, `LinkTagHelper` and `ImageTagHelper` have changed to take in `IUrlHelper`s and auto-resolve their URL based properties if they start with `~/`.
- Added a catch-all `~/` resolver for non `TagHelper` based HTML elements. Razor used to resolve any attribute value that started with `~/` now the behavior is restricted to attributes that can contain URLs.
- Updated `IUrlHelper` to accept `null` values.
- Added functional tests to validate that URLs resolve correctly.
- Updated `TagHelper` tests to ensure that URLs are resolved via an `IUrlHelper`.

#2807
2015-08-03 16:00:33 -07:00
Chris R b138f2a460 React to IFeatureCollection API changes. 2015-08-03 15:46:01 -07:00
Chris R 83b2c95385 React to IFeatureCollection changes. 2015-08-03 15:13:58 -07:00
Chris R aa34e5e46e React to IFeatureCollection changes.
Use a static feature collection.
2015-08-03 15:08:39 -07:00
N. Taylor Mullen 6d228a62dc Added missing `HtmlAttributeNotBound` to `ViewContext` property.
- Did not add a test to validate the behavior. None of the other `TagHelper`s validate that a property is not visible/bound.

#2901
2015-08-03 15:05:08 -07:00
Chris R ac945a0bcf #339 Reduce IFeatureCollection surface area. 2015-08-03 14:55:25 -07:00
Ajay Bhargav Baaskaran 2792f10f9a [Fixes #2862] asp-append-version now works with urls containing fragment 2015-08-03 12:06:18 -07:00
Dejan Paležević 4a9029fc9c Used nameof expression to resolve parameters name 2015-08-03 11:56:04 -07:00
Pranav K fe9bf8bcbf Remove the use of Regex in the TemplateRouteParser
Fixes #164
2015-08-03 11:13:57 -07:00
sornaks 5d7ec0e2c6 Changing QueryHelpers.AddQueryString to use Array instead of List. 2015-08-03 11:08:54 -07:00
Ryan Nowak 68c52adef4 Fix #2837 - Make it easier to get ParameterInfo/PropertyInfo
For a typical configuration, it's now possible to cast a parameter
descriptor to ControllerParameterDescriptor or
ControllerBoundPropertyDescriptor to access the corresponding reflection
type.
2015-08-03 10:53:33 -07:00
ASP.NET Push Bot 942598e63a ⬆️ dnvm.ps1, dnvm.cmd, dnvm.sh
Source: AspNet/kvm@f13c8521b5
2015-07-31 17:26:53 -07:00
N. Taylor Mullen 48a6b567d6 Remove ~/ handling from core Razor.
- Removed parsing, chunk generation and code generation.
- Removed related tests.
- Did not modify existing unrelated tests with ~/ since it's just plain text and may be valid for end-users.

#427
2015-07-31 15:55:29 -07:00
N. Taylor Mullen c8df81ef91 React to aspnet/Razor#459. 2015-07-31 15:47:29 -07:00
N. Taylor Mullen a8fd85db1e Add ability to execute child content more than once.
- Added a boolean overload that specifies whether the user wants to retrieve cached content.
- Added tests to validate `TagHelperExecutionContext` `GetChildContentAsync` and that `TagHelperContext` passes the appropriate values through.

#459
2015-07-31 15:23:49 -07:00
Pranav K e0abf70a80 Reacting to DI changes 2015-07-31 14:32:32 -07:00
ASP.NET Push Bot c9122c3f87 ⬆️ dnvm.ps1, dnvm.cmd, dnvm.sh
Source: AspNet/kvm@dbd7367bbc
2015-07-31 14:07:37 -07:00
anurse 0926e0c280 react to DNX renames 2015-07-31 13:48:22 -07:00
mikary c0255f4188 React to aspnet/EntityFramework#2757 2015-07-31 12:38:57 -07:00
mikary 80e9d35630 React to DNX renames 2015-07-31 12:38:40 -07:00
anurse 07304640ed react to DNX renames 2015-07-31 11:54:52 -07:00
anurse 712b1d1aec fix build 2015-07-31 11:48:21 -07:00
Brennan be06eec7ba Install Libuv on Travis 2015-07-31 11:32:01 -07:00
Chris R 84203a5d45 React to OpenIdConnectMessage namespace change. 2015-07-31 11:09:29 -07:00
ASP.NET Push Bot 68a8e3e9ea ⬆️ dnvm.ps1, dnvm.cmd, dnvm.sh
Source: AspNet/kvm@79e42f29ba
2015-07-31 08:38:27 -07:00
Stephen Halter 6da15a65b2 Additional testing using app funcs that throw exceptions 2015-07-30 16:02:39 -07:00
Stephen Halter 4a9515d2e0 Gracefully handle uncaught exceptions in user code when possible 2015-07-30 16:01:33 -07:00
Stephen Halter b2289b9a54 Disable parallel test execution
- MultipleLoopTests and NetworkingTests seem to interfere with each other.
2015-07-30 15:20:22 -07:00
unknown b85db5e8c0 Reacting to namespace changes in identitypackages - beta7 update 2015-07-30 13:11:08 -07:00
Troy Dai 07de3cafd1 Clean build warnings 2015-07-30 12:14:13 -07:00
Hisham Abdullah Bin Ateya c228b65d47 Make 'DefaultCookieName' static readonly field instead of a property
DefaultCookieName as Constant

Add empty line
2015-07-30 11:44:27 -07:00
Victor Hurdugaci 84192cb1a9 Fix the casing of a pacakge reference. It is causing cross plat issues 2015-07-30 11:39:28 -07:00
Hisham Abdullah Bin Ateya 01d0b5db22 Reformat project.json
Reformat project.json

Fix typo
2015-07-30 11:26:14 -07:00
Ajay Bhargav Baaskaran e4049c07eb Razor boolean and null attribute special case handled correctly
- Issue #2769
 - Special case is only applied to null and bool value with no surrounding
   whitespace
2015-07-30 10:37:38 -07:00
Hisham Abdullah Bin Ateya 59d957df31 Simplify generating culture names
Replace '\n' with Environment.NewLine
2015-07-30 10:01:01 -07:00