Commit Graph

40898 Commits

Author SHA1 Message Date
Murat Girgin cece79c3c0 Initial push 2015-09-21 10:52:51 -07:00
Ajay Bhargav Baaskaran 6928ff96c5 Enabling NuGetPackageVerifier 2015-09-21 10:45:54 -07:00
Ryan Nowak d3f2b240d7 Add build-template files 2015-09-21 10:42:05 -07:00
Ajay Bhargav Baaskaran 5354ce0a71 Enabling NuGetPackageVerifier 2015-09-21 10:40:36 -07:00
Pranav K 66a04c2fd6 Replacing NotNullAttribute with thrown exceptions 2015-09-21 10:26:14 -07:00
Ryan Nowak 00c436b0e1 [Perf] Remove use of [FromServices] on Controller
[FromServices] requires modelbinding to run for each of these four
properties, which allocates a lot, and ultimately just ends up calling
GetRequiredService in the end.

Also, retrieving these services is now lazy, which should be very
beneficial as few of them aren't used often.
2015-09-21 08:53:12 -07:00
Ryan Nowak 9badd9386e API-Review Strongly-typed collections for a few options types.
We don't want these extensions methods defined in a wierd namespace, it's
straightforward and future-proof to just make these strongly-typed
collections.
2015-09-20 22:11:22 -07:00
Doug Bunting 895258d550 Work around aspnet/External#33, aspnet/External#41, aspnet/External#42, and aspnet/External#43
- do not run tests that hit known issues with Core CLR on Linux
2015-09-20 21:42:12 -07:00
Doug Bunting c67ea208b2 [quick fix] Remove `version` property from `project.json` for LoggingWebSite
- avoid warning when building Microsoft.AspNet.Mvc.FunctionalTests project
- now consistent w/ other web sites in this repo
  - all but MvcMinimalSample.Web and that isn't used in functional tests
2015-09-20 21:38:08 -07:00
Ryan Nowak 10ec9144ca Remove extra registration of TelemetrySource
This is now provided by hosting.
2015-09-20 21:16:01 -07:00
Ryan Nowak 4d55a6e62d API review - remove DefaultOrder
No change in behavior intended, removing this from our public API.
2015-09-20 21:11:57 -07:00
Ryan Nowak ccb5ead450 Api-Review - put uri complexity in CreatedResult 2015-09-20 19:44:32 -07:00
Pranav K 7816c0183e Removing Microsoft.Framework.Primitives from HttpAbstractions 2015-09-20 10:20:58 -07:00
Doug Bunting 42017faa21 Add `InputFormatterResult` and `InputFormatterContext.ModelName`
- #2722
- make communication of errors from formatters to `BodyModelBinder` explicit
  - `JsonInputFormatter` now adds errors to `ModelStateDictionary` with correct key
- change `InputFormatter.SelectCharacterEncoding()` to add an error and return `null` when it fails
  - one less `Exception` case and removes some duplicate code

nits:
- improve some doc comments (more `<inheritdoc/>`, `<paramref/>` and `<see/>`)
- add another two `BodyValidationIntegrationTests` tests
2015-09-19 21:36:38 -07:00
David Fowler 891b991a34 Use new packInclude feature to include native assets
- Now Kestrel won't break when people overwrite the build.cmd
2015-09-19 03:59:58 -07:00
N. Taylor Mullen 44675701cb Refactored internal class `TagHelperBlockTracker` slightly. 2015-09-18 17:29:19 -07:00
N. Taylor Mullen 0253c563be Update tests to run correctly on stable mono. 2015-09-18 17:04:03 -07:00
Doug Bunting 0476d53f1d [quick fix] Allow `TestCommon` project to build successfully
- otherwise may fail in VS or when using `BuildV2` from the command line
2015-09-18 16:45:01 -07:00
N. Taylor Mullen 7c1f18c0a4 Update &lt; and &gt; in error messages to not be double encoded. 2015-09-18 16:42:59 -07:00
Kiran Challa 392b7a3710 Reacting to Dnx runtime sources changes 2015-09-18 16:28:26 -07:00
N. Taylor Mullen c494cb344d Enable `TagHelper`s with `[RestrictChildren]` to log errors for no tag name tags when targeted by catch all.
#534
2015-09-18 15:41:58 -07:00
Pranav K ceded805f3 Formatting fixes 2015-09-18 15:17:41 -07:00
Pranav K 58974a9def Replacing NotNullAttribute with thrown exceptions 2015-09-18 15:11:27 -07:00
N. Taylor Mullen 635514453b Enable `TagHelper`s with `[RestrictChildren]` to log errors for no tag name tags.
- Added test cases for situations when tags have no names.

#534
2015-09-18 14:47:48 -07:00
Doug Bunting cb3dea63a3 Avoid path too long errors when performing BuildV2 builds in MVC repo
- do not glob to the ends of the earth when looking for `project.json` files

nits:
- remove unused variable in `_kpm-build.shade`
- remove incorrect comment in `_kpm-pack.shade`
- clean up some trailing whitespace
2015-09-18 13:09:51 -07:00
Hao Kung cf6008e947 React to security 2015-09-18 12:59:03 -07:00
Ajay Bhargav Baaskaran 61831527f8 Enabling NuGetPackageVerifier 2015-09-18 12:44:29 -07:00
Chris R fa1896869e #358 Support HTTP_PLATFORM_PORT. 2015-09-18 12:41:39 -07:00
Hao Kung 3fbd8aeed1 React to security changes 2015-09-18 12:40:36 -07:00
N. Taylor Mullen 36450c978b Add support for `@tagHelperPrefix` and `[RestrictChildren]`.
- Added a test to validate prefixed `TagHelper`s can have children with `TagHelper` prefixes.

#532
2015-09-18 12:31:07 -07:00
Ajay Bhargav Baaskaran b5c87648cb Running xml-docs-test before test target 2015-09-18 12:29:43 -07:00
Ajay Bhargav Baaskaran 90777c903d Running xml-docs-test before test target 2015-09-18 12:28:29 -07:00
Hao Kung 081577e4f4 Remove usage IOptions from middleware ctors 2015-09-18 12:24:33 -07:00
Ajay Bhargav Baaskaran 361e0b4ea2 Running xml-docs-test before test target 2015-09-18 12:24:13 -07:00
Ajay Bhargav Baaskaran a3d943197a Moving nuget-verify to run before test 2015-09-18 12:07:55 -07:00
Daniel Weber eadcae54d4 Add constructors to IdentityDbContext to allow dependency injection. The other approach (overriding 'OnConfiguring') does not work well with unit testing. 2015-09-18 16:39:49 +02:00
Doug Bunting 0fb09908d3 [Build break] Correct doc comment references to match current namespaces
- local command line builds fail consistently during `xml-docs-test`
- bit buried on the CI machine but repo is not testing successfully there
2015-09-17 23:12:26 -07:00
N. Taylor Mullen fb6a08d5de Allow `TagHelper`s inside of text/html typed script tags.
- To limit the impact of the change ensured that we only do extra work in the case that we detect a script tag with a `type` attribute.
- The parsing changes include normal HTML parsing behaviors when we detect that a script tag has a `type` attribute with value `text/html`.
- Added unit and code generation tests to validate `text/html` script tag behavior.

#502
2015-09-17 21:14:40 -07:00
N. Taylor Mullen a10610c0cc Update dnvm.ps1 and dnvm.sh DNX feed names to `aspnetcidev`. 2015-09-17 20:58:10 -07:00
N. Taylor Mullen 19f8830a57 Update nuget.exe and corresponding feeds to v3. 2015-09-17 18:34:39 -07:00
N. Taylor Mullen 360a06004b Update nuget.exe and corresponding feeds to v3. 2015-09-17 18:34:08 -07:00
N. Taylor Mullen f81707d5fe Update nuget.exe and corresponding feeds to v3. 2015-09-17 18:34:03 -07:00
N. Taylor Mullen 62cc882c96 Update nuget.exe and corresponding feeds to v3. 2015-09-17 18:33:50 -07:00
N. Taylor Mullen d7cba38dc8 Update nuget.exe and corresponding feeds to v3. 2015-09-17 18:33:46 -07:00
N. Taylor Mullen 5a1c308345 Update nuget.exe and corresponding feeds to v3. 2015-09-17 18:33:42 -07:00
N. Taylor Mullen 3f8b94b9bb Update nuget.exe and corresponding feeds to v3. 2015-09-17 18:33:38 -07:00
N. Taylor Mullen 51fa3643fa Update nuget.exe and corresponding feeds to v3. 2015-09-17 18:33:34 -07:00
N. Taylor Mullen 18da1b3093 Update nuget.exe and corresponding feeds to v3. 2015-09-17 18:33:30 -07:00
N. Taylor Mullen 06c89aa340 Update nuget.exe and corresponding feeds to v3. 2015-09-17 18:33:26 -07:00
N. Taylor Mullen d076b019d0 Update nuget.exe and corresponding feeds to v3. 2015-09-17 18:33:20 -07:00