Commit Graph

178 Commits (d182d04934c2b35cc61de8ff00b212914965ad1c)

Author SHA1 Message Date
Rick Anderson 3fbd938e13 What's in a scaffolded Razor Page? (#3857)
* What's in a scaffoled Razor Page?

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* Add missing hyphen

* Change code snippet types to cshtml
2017-08-05 09:54:40 -04:00
Scott Addie f6dac646e1 Remove duplicated instances of 'the' (#3893) 2017-08-05 09:54:04 -04:00
Rick Anderson c2d95c5bd1 Update razor.md (#3839)
* Update razor.md

* Update razor.md

* Update razor.md

* Update razor.md
2017-08-04 15:02:43 -04:00
Scott Addie 5fe7e5418c Fix snippet content type issues (#3876) 2017-08-03 15:14:23 -04:00
Tom Dykstra 7ffe15c871 remove outdated note (#3868) 2017-08-02 07:35:09 -07:00
David Glass 6b46d02d96 Tidied up a sentence that didn't make sense (#3859) 2017-08-01 10:01:53 -05:00
Rick Anderson 559693ec9f Update index.md (#3840) 2017-07-31 15:32:10 -07:00
Rick Anderson 329ae66fc4 Update index.md (#3838) 2017-07-27 18:08:59 -07:00
Rick Anderson 81861eb61e Intro to Razor Pages (#3825)
* Intro to Razor Pages

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work
2017-07-26 09:42:18 -07:00
Rick Anderson 4096daf1c0 Update index.md 2017-07-25 14:57:09 -07:00
Rick Anderson 8b52f0bfa0 update Razor Pages image (#3818)
* update Razor Pages image

* update Razor Pages image
2017-07-25 09:27:22 -07:00
Tatsuro Shibamura 9e7c2a4b9d Update ImageTagHelper.md (#3814) 2017-07-25 10:18:27 -05:00
Rick Anderson 774ec2df9f Update intro.md 2017-07-24 07:56:01 -07:00
Scott Addie c5b6a6e14f Remove extra space 2017-07-21 16:44:02 -05:00
Hisham Bin Ateya 6cd0296ef2 Update Environment Tag Helper docs (#3794)
* Update Environment Tag Helper docs

* Update EnvironmentTagHelper.md
2017-07-21 13:27:23 -07:00
Scott Addie 85dbbbbf7e Change Razor Pages cshtml snippets to devlang cshtml (#3782) 2017-07-20 11:22:56 -07:00
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