Commit Graph

82 Commits (df2386e5097f95d5b77e386b009171cf42a140a1)

Author SHA1 Message Date
Luke Latham fd653e519b
Get CDN content links on HTTPS protocol (#5736) 2018-03-20 11:32:41 -07:00
Luke Latham 6b0cf1247f Title, description, and H1 updates (2) (#5697)
Updates
2018-03-14 16:51:34 -10:00
Peter Kellner d7e60ae40f replace Post with Put (#5696)
Since post is an insert, it does not make sense to pass in an "id" to a post, but it does to a put.
2018-03-14 19:51:58 -05:00
Luke Latham 16a6c2029a Surface the intro topic in the RP tutorial (#5652)
* Surface the intro topic in the RP tutorial

* Fix topic title

* Few more title updates

* Refactor title

* Title correction
2018-03-11 21:57:36 -05:00
Luke Latham f047169540 Drop [Main] from snippet references (#5547) 2018-02-24 10:08:11 -06:00
Luke Latham 239aa0ba8c Remove PJ files from non-sample projects (#5502) 2018-02-20 10:38:33 -06:00
Luke Latham ab45f0c5d1 IMiddleware/IMiddlewareFactory topic (#5027)
* IMiddleware/IMiddlewareFactory topic

Change middleware topic filename + add crosslink

Update

Updates

* IMiddleware/IMiddlewareFactory topic

Change middleware topic filename + add crosslink

Update

Updates

* Updates

Updates

* React to feedback

* Add conventional middleware activation example
* Use Ninject to make the samp demo a real nonconforming container

* Show the default factory

* React to feedback

* Cut extraneous Ninject bits

* Updates

Update

* React to feedback

* React to feedback

* Use Simple Injector + default IMiddlewareFactory impl

* Updates

* Update

* Revert topic+sample to using the default container

Update

* Updates

* Updates

* Updates

* React to feedback

* Update
2018-01-30 10:53:14 -06:00
Luke Latham abbe642741 Organize metadata (#5296)
Updates
2018-01-29 09:21:31 -06:00
Luke Latham 8e33d0e94e Remove redirected topic files (#5299)
Updates
2018-01-29 09:15:04 -06:00
Luke Latham fa24342f38 Remove smart quotes (#5294) 2018-01-28 15:49:15 -06:00
Luke Latham 313486d76f Taming the savage contraction issue (#5216)
* Form contractions

* Revert two contractions

* Additional reversions

* Additional reversions

* Additional revisions

* Additional revisions

* React to feedback
2018-01-24 09:27:24 -06:00
Luke Latham 31df8fcabf Remove keywords and ms.assetid metadata from ASP.NET Core topics (#5208) 2018-01-19 14:11:45 -06:00
Luke Latham 374ecc35a7 Documenting Options change for 2.0 (#4797)
* Documenting Options change for 2.0

Update

Updates

Updates

* Updates

Fix link

Update TOC entry

Fix redo

Updates

* Update index.md

Simple is banned.

* Factor remaining Options out of Config topic

* React to feedback and updates

Update

Updates

Update metadata

* React to feedback

Update
2017-11-28 14:09:16 -10:00
MaxHorstmann 2855fc2fb8
fix typo 2017-11-26 21:50:29 -05:00
Luke Latham 1c3b4fea85 Fix and update Testing Controllers sample (#4744) 2017-11-16 11:18:00 -10:00
Luke Latham 65d60b9783 LoggerMessage topic (#4697)
* LoggerMessage topic

Updates

Updates

Updates

Update

Updates

Update

* React to feedback

Update

React to feedback

Update

* React to feedback

* Update loggermessage.md

* Updates

Updates

Updates

Update

* React to feedback
2017-11-06 15:41:13 -10:00
Olcay Bayram 63f7bebb60 Adding optional id parameter to area route (#4628) 2017-10-25 10:31:06 -05:00
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 19ce81f76a Provide link to download instructions for samples 2017-09-30 20:15:54 -05:00
Scott Addie cbbb7a8071 Merge pull request #4363 from guardrex/guardrex/mvc-model-validation-update
Add Required note to model validation topic
2017-09-28 11:45:38 -05:00
Luke Latham 96cca00e38 Drop literal_block comments and fix a few code blocks 2017-09-27 02:38:43 -05:00
Scott Addie 104ab35d53 Add closing paren and semicolon (#4406) 2017-09-26 09:19:06 -07:00
Luke Latham 11d5aacbda Add Required note to model validation topic
Fixes #1928
2017-09-22 21:29:11 -05:00
Luke Latham 18d1878f00 Trim keywords of keyword metadata
Patch 3
2017-09-21 02:22:29 -05:00
Luke Latham d157e2ec7a Kill BOM and add end newlines 2017-09-20 02:36:55 -05:00
Toby Johnson 669347ee62 Update SampleAsyncActionFilter.cs (#4259)
The existing code sample implies that the user can access the result of the action method in `context.Result`, but that is not the case. User needs to capture the result of the `next` delegate in order to access this info.
2017-09-14 21:36:55 -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
Daniel Silva 4693cb02d8 Update filters.md (#4238)
Fixed typo
2017-09-08 09:28:56 -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
Luke Latham 6a7cb40282 Fix file path issues (#4196)
* Fix file path problems

Fixes #4192

Add one

* Revert TEMPs
2017-09-05 09:57:46 -05:00
Steve Smith ddc91e96b3 Clarifying sequence behavior in short-circuiting section. (#3918) 2017-08-10 10:07:30 -04: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
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
Rick Anderson 2225182397 remove | MS Docs (#3612) 2017-06-30 23:47:15 +00: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
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
andrewlock 56cb9c634f Fix typo in filters.md (#3426)
`ReesultFilterAttribute` -> `ResultFilterAttribute`
2017-05-28 11:30:02 -04:00
Tom Dykstra ac604a70d0 fix link (#3357) 2017-05-12 09:50:22 -07:00
Rick Anderson 3519b67600 remove bad links (#3340) 2017-05-10 13:19:04 -07:00
Steve Smith a9dbcff792 Testing controllers fix (#3218)
* Upgraded to VS2017 project
Trying to fix MVC view-based tests.

* modified project to get tests working

* Uncomment asserts

* Clean up console writeline
2017-04-13 14:36:56 -04:00
Scott Addie 9eebb5185e Migrate Filters doc sample code to CSPROJ (#3187) 2017-04-07 17:14:40 -10:00
Rick Anderson bf0dc615cd conventional vs. attribute routing (#3065) 2017-03-24 15:37:04 -10:00
Rick Anderson 6e64bf66b3 add route name H2 for linking 2017-03-24 15:02:06 -10:00
Rick Anderson 19f6ada655 Update routing.md 2017-03-24 11:29:50 -10:00