Commit Graph

162 Commits (7e3a4a80363e68741fbf201f37b2ef9f7eb939e5)

Author SHA1 Message Date
Rick Anderson 2afe3c19fc 2.0 metapackage (#3735)
* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* Minor tweaks to metapackage.md

* Convert "settings" to singular form

* Remove double quotes surrounding Microsoft.NET.Sdk.Web

* work

* work

* work

* work

* work
2017-07-18 15:44:34 -06:00
Steve Smith 7db259e0ea Adding note clarifying collection property expression behavior / name generation (#3762) 2017-07-18 15:21:18 -06:00
Steve Smith 0fb5119564 added notes about htmlAttributes for Editor/EditorFor (#3766)
* added notes about htmlAttributes for Editor/EditorFor

* Update working-with-forms.md
2017-07-18 15:17:37 -06:00
Rick Anderson 0b52d857d3 Update index.md (#3756) 2017-07-18 09:22:39 -06:00
Rick Anderson 7960422b44 Update index.md 2017-07-18 09:04:57 -06:00
Rick Anderson b1c8db731f Razor Pages with VS17 (#3750)
* Razor Pages with VS17

* Razor Pages with VS17

* Razor Pages with VS17
2017-07-17 16:13:28 -06:00
Rick Anderson f4de84612e forms-gen-anti-forgery-tokens (#3743)
* forms-gen-anti-forgery-tokens

* WORK

* WORK

* WORK
2017-07-17 16:05:29 -06:00
Rick Anderson 25f776c19b broken link (#3727) 2017-07-17 15:03:06 -06:00
Rick Anderson d397e9db4f Razor Pages update (#3722)
* Razor Pages update

* work

* work

* work

* work

* work

* work

* work

* Minor tweaks to Microsoft.AspNetCore.All sentence
2017-07-17 12:19:44 -06:00
mwvdev 87617ec2ea Fixed an extra bracket in test method (#3740)
The source listing of the GetTestSessions method of [Testing Controller Logic](https://docs.microsoft.com/en-us/aspnet/core/mvc/controllers/testing) included an end bracket due to an offset error in the line numbers:

```cs
[Fact]
public async Task Index_ReturnsAViewResult_WithAListOfBrainstormSessions()
{
	// Arrange
	var mockRepo = new Mock<IBrainstormSessionRepository>();
	mockRepo.Setup(repo => repo.ListAsync()).Returns(Task.FromResult(GetTestSessions()));
	var controller = new HomeController(mockRepo.Object);

	// Act
	var result = await controller.Index();

	// Assert
	var viewResult = Assert.IsType<ViewResult>(result);
	var model = Assert.IsAssignableFrom<IEnumerable<StormSessionViewModel>>(
		viewResult.ViewData.Model);
	Assert.Equal(2, model.Count());
}
}

private List<BrainstormSession> GetTestSessions()
{
	var sessions = new List<BrainstormSession>();
	sessions.Add(new BrainstormSession()
	{
		DateCreated = new DateTime(2016, 7, 2),
		Id = 1,
		Name = "Test One"
	});
	sessions.Add(new BrainstormSession()
	{
		DateCreated = new DateTime(2016, 7, 1),
		Id = 2,
		Name = "Test Two"
	});
	return sessions;
}
```

This has been fixed by increasing the starting offset by one.
2017-07-17 07:58:06 -06:00
Scott Addie 3b18a15f31 Remove implied ToolsVersion property (#3720) 2017-07-14 09:33:50 -06:00
Rick Anderson 2001207627 Update AnchorTagHelper.md (#3715) 2017-07-13 16:01:02 -06:00
Daniel Vicarel 798520e785 Clarified some language in the 'Controlling Tag Helper scope with the *_ViewImports.cshtml* file' section. (#3712) 2017-07-13 15:25:43 -06:00
Scott Addie 94d64fbb62 Add missing xref prefix to link 2017-07-12 11:23:51 -05:00
Scott Addie e052808955 UE Edit of native Tag Helpers landing page (#3705) 2017-07-12 11:15:57 -05:00
Scott Addie 68cb2ea37f Add missing space in Tag Helpers heading 2017-07-12 11:02:08 -05:00
Rick Anderson af72b3d973 Update index.md (#3699)
* Update index.md

* Update index.md
2017-07-11 16:59:54 -06:00
Peter Kellner e7d790a5a3 Update CacheTagHelper.md (#3680)
* Update CacheTagHelper.md

Fixed the vary-by-user explanation to be more clear and removed the "Needs Review" comment

* Update CacheTagHelper.md
2017-07-10 18:31:22 -06:00
Rick Anderson c23f9b383b remove /en-us/ (#3670) 2017-07-10 12:20:50 -06:00
Rick Anderson 4eac4d247a built in TH (#3674) 2017-07-08 10:50:40 -06:00
Rick Anderson 8376f60ed3 replace GetTempFileName (#3639)
* replace GetTempFileName

* replace GetTempFileName

* good app
2017-07-06 12:23:52 -06:00
Bertrand Mermet b7da7b974b Fix markdown in code samples (#3643)
Add c# syntactic highlighting on some samples that lacked it.
2017-07-06 08:53:44 -06:00
Scott Addie a1f6795a89 Fixes #1435 2017-07-05 22:30:23 -05:00
Steve Smith bfe33a10b2 Minor edits. (#3629) 2017-07-05 10:18:20 -06:00
Scott Addie 515706c593 Remove wrench icon in Configuring Formatters paragraph 2017-07-03 13:39:22 -05:00
Rick Anderson 2225182397 remove | MS Docs (#3612) 2017-06-30 23:47:15 +00:00
Rick Anderson 341f123ce0 Update index.md (#3594)
* Update index.md

* Update index.md

* Update index.md

* Minor formatting/spelling changes

* Update index.md (#3609)

* Update index.md

* Update index.md

* Update index.md
2017-06-30 22:09:13 +00:00
Scott Addie 43ef7d7cf4 Remove double quotes used in addTagHelper directives (#3600) 2017-06-30 01:27:25 +00:00
Rick Anderson 4cedb9a349 Update dependency-injection.md 2017-06-29 15:28:54 -07:00
Andrew Lock 9aaec5fe2e Move Action filter example to correct section
The Action filters sample was previously at the end of the Exceptions filter section. 

Moved it to the end of the Action filters section instead.
2017-06-29 20:50:52 +01:00
Rick Anderson fd6489be5c MVC TOC (#3572)
* MVC TOC

* fo

* fo

* fo

* fo

* fo
2017-06-29 09:42:25 -07:00
Rick Anderson 7da60adf35 Update intro.md (#3596)
* Update intro.md

* Update intro.md
2017-06-29 09:14:20 -07:00
Rick Anderson fbdb1985d0 Tag Helpers fix snippet (#3595) 2017-06-28 17:31:26 -07:00
Scott Addie a8ee6a5bdd Remove unnecessary dash 2017-06-28 13:26:53 -05:00
Scott Addie 5eb13ac659 Fix encoding issue preventing display of Tag Helper markup 2017-06-27 15:36:41 -05:00
Rick Anderson e781d6a95b Update overview.md 2017-06-26 16:32:07 -07:00
Stephen Halter 4e2b3e3fb4 Clarify explanation of @namespace directives (#3540)
* Clarify explanation of @namespace directives

* Address PR feedback
2017-06-22 11:38:22 -07:00
Rick Anderson f0622dd552 Update index.md 2017-06-22 07:16:24 -07:00
Scott Addie 5cd8500f29 Remove extra asterisk after file name 2017-06-21 22:39:16 -05:00
Rick Anderson 3016c23949 Update razor.md 2017-06-21 14:12:40 -07:00
Scott Addie 7e34341a50 Fix misplaced apostrophe in Razor doc 2017-06-21 15:47:42 -05:00
Scott Addie 9e9e1d7c7e Relocate Razor Pages TOC link to MVC node 2017-06-21 15:35:21 -05:00
Rick Anderson fbd5089b1f Update authoring.md 2017-06-15 18:58:50 -07:00
Scott Addie 6ca21a6741 Convert ASP.NET MVC Core references to ASP.NET Core MVC 2017-06-15 09:42:55 -05:00
Scott Addie eaeda320e0 Update doc to use official name of ASP.NET Core MVC 2017-06-15 09:32:46 -05:00
mwessner dd4fdf8fe8 Fix typo (#3479)
Minor typographical error in the first sentence of 'Token replacement in route templates ([controller], [action], [area])' segment fixed.
2017-06-09 08:30:56 -07:00
Rick Anderson 89e2a2e7d8 fix links (#3444) 2017-05-31 20:07:13 -07:00
Andrew Stanton-Nurse bc0cac341d document registering View Component Tag Helpers (#3436)
* document registering View Component Tag Helpers

fixes #3435

* pr feedback

* Update view-components.md

* Update view-components.md

* Update view-components.md
2017-05-31 14:55:49 -07:00
Rick Anderson dd07b9d0cd help SEO on precompilation (#3431)
* help SEO on precompilation

* Update view-compilation.md

* Update view-compilation.md
2017-05-30 16:56:39 -07:00
andrewlock 56cb9c634f Fix typo in filters.md (#3426)
`ReesultFilterAttribute` -> `ResultFilterAttribute`
2017-05-28 11:30:02 -04:00