Commit Graph

19 Commits (cfe5a36e49600875e8b482d9940efe0e23ed00ed)

Author SHA1 Message Date
Scott Addie 912a1efc8f Fix invalid bookmarks (#4570) 2017-10-13 15:50:30 -05:00
Michael DePouw e9a9bc8553 fix Broken Link for Create and run unit tests with Visual Studio
reference #4477
2017-10-02 14:20:53 -04:00
Luke Latham 96cca00e38 Drop literal_block comments and fix a few code blocks 2017-09-27 02:38:43 -05:00
Isaac Levin 854c07c430 Remove Deadlinks in aspnetcore section of repo (#4241)
* Create mvc2.md

Added temp file to house doc requested in #3809

* Initial outline of document

* Added Note for Special Tooling (VS 2017 Preview 3)

Will remove when Preview 3 is updated into Release

* Added Porting Link

* Added Core DI Sample

* added DI Section

* Added Storing Configuration Settings Section

* Adding Custom Settings samples

* part of static content

* static content section

* .net standard section

* Adding Edit in VS 2017 Image

* Samples for Startup

* startup and csproj section

* update image reference

* Updates to Migration Doc

changes per @scottaddie

* Final round of changes

Please review

* Edits

* Fix invalid xref link

* More edits

* More edits

* More edits

* More edits

* More edits

* More edits

* Move Content to different directory

* Update Code Sample Links

* change sample location

* ::

* Update Sample Filenames

* Minor edit

* Remove extra space

* More edits

* Move Static Folder

* update reference to image

* Update mvc2.md

* Minor tweaks

* Changes to sample file

* Change copy for Configuration Section

* Fix code formatting

* Remove extra line feed

* Remove extra line feed

* Fix 3xx/4xx/5xx Status Codes in aspnetcore folder

* Take out locality references in urls:

* change MSDN urls to docs.microsoft if possible

* Update aspnet-core-module.md

* Update iis.md

* Remove localization from external links
2017-09-11 20:58:51 -05:00
Luke Latham 4d0eaec779 Update TestingControllerSample app (#4157)
* Update TestingControllerSample app

Addresses #1950

Updates

Updates

Updates

Updates

Update

Updates

Updates

Update

Update

* Drop test packages back to latest stable

* Test proj update

* Close a void element
2017-09-05 16:09:57 -05: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
Rick Anderson c23f9b383b remove /en-us/ (#3670) 2017-07-10 12:20:50 -06:00
Rick Anderson 2225182397 remove | MS Docs (#3612) 2017-06-30 23:47:15 +00:00
Jacob Foshee 620fccb478 Minor: 'in the in the' => 'in the' (#2957) 2017-03-13 10:38:26 -10:00
Andy Pasic 010b730d27 Bulk metadata fix (#2871)
* meta data fix

* Revert "meta data fix"

This reverts commit ba36883476.

* meta data fix2

* test

* Update owin-oauth-20-authorization-server.md

* Update api-ref.md

* Update api-ref.md

* test

* test2
2017-03-02 14:50:36 -10:00
Luke Latham 7d0d9da8f0 Fix links and anchors (#2639)
* Update app-state.md

* Update dependency-injection.md

* Update aspnet-core-module.md

* Update http-modules.md

* Update other-logins.md

* The Walther blog post is gone

* Update cors.md

* Update context-headers.md

* Update subkeyderivation.md

* Update index.md

* Update app-state.md

* Update dependency-injection.md

* Update routing.md

* Update mvc.md

* Update testing.md

* Update razor.md

* Update memory.md

* Update cors.md

* Update iis.md

* Update integration-testing.md

* Update index.md

* Update integration-testing.md
2017-02-01 14:49:21 -10:00
Jie RONG 4cd10bfcce Update testing.md for a grammar issue. (#2573)
* Update testing.md for a grammar issue.

* Update testing.md
2017-01-22 23:14:16 -08:00
Tom Dykstra b1bd9f9ece mvc toc restructure (#2482)
* mvc toc restructure

* move mvc tutorial nodes to mvc section

* fix heading casing and toc node hierarchy

* add intro text to series index.md files
2017-01-14 13:59:26 -08:00
Andy Pasic a82e144ea1 fixed code snippets 2016-11-17 21:03:07 -08:00
Rick Anderson 17f93fe6c5 keywords and decription meta-data 2016-11-17 10:13:02 -10:00
Rick Anderson b23d49f1f6 title + meta on technology 2016-11-16 14:24:57 -10:00
Steve Smith 807a02838b Author updates (#2144) 2016-11-11 11:28:14 -05:00
Andy Pasic 5c533c0d9e dl link fix (#2116)
* quick test

* validation fix
2016-11-07 07:19:31 -10:00
Daniel Roth e9c1419175 Add docfx content 2016-10-28 10:35:15 -07:00