Commit Graph

1252 Commits (dd52e425383d0fe9bfd1ad288787e4c4b61110d6)

Author SHA1 Message Date
Ajay Bhargav Baaskaran 108ae806a5 2.0 DataProtection updates (#3708)
* 2.0 DataProtection updates

* tabs for versions

* fix inconsistent indent spacing

* Updated flowcharts
2017-07-17 16:06:33 -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
Bader Nasser Al-Hashmi ec471bf6f1 escape asterisk to look properly on ms-docs (#3752) 2017-07-17 15:56:21 -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
Rick Anderson 69117a3da3 fix bad link (#3736) 2017-07-15 13:25:23 -06:00
Rick Anderson c008925deb Update anti-request-forgery.md (#3733) 2017-07-15 12:41:20 -06:00
Rick Anderson bd1b333ef4 Update anti-request-forgery.md (#3730)
* Update anti-request-forgery.md

* Update anti-request-forgery.md

* Minor tweaks to note
2017-07-15 07:30:19 -06:00
Rick Anderson e1a22c76e6 Update app-secrets.md 2017-07-14 18:05:52 -06:00
Rick Anderson 041ccc059c Update index.md 2017-07-14 14:59:29 -06:00
Rick Anderson 126ad593cc Update validation.md 2017-07-14 14:39:16 -06:00
Scott Addie 4f06f52b39 Fix spelling mistake in image alt text 2017-07-14 12:49:07 -05:00
Scott Addie 3b18a15f31 Remove implied ToolsVersion property (#3720) 2017-07-14 09:33:50 -06:00
Scott Addie ee5bdb1b00 Add missing comma 2017-07-14 09:51:42 -05:00
mwvdev 1b0218569c Fixed broken link syntax (#3719) 2017-07-14 08:41:30 -06:00
Kasun Kodagoda 5e7c785bea Fixed a typo. (#3718)
Added a missing ')' to a reference link for better readability.
2017-07-14 09:24:25 -05: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
Tom Dykstra e56645aa5e 2.0 release notes (#3687)
* initial

* initial2

* initial3

* toc

* fix note format

* fix links

* Update aspnetcore-2.0.md (#3689)

* ra feedback, additional edits

* more edits

* clarify this isn't all there is in 2.0

* netstandard

* fix link
2017-07-12 09:10:23 -06:00
Tamás Koczka db9ed5f56d Fix typo in cross-site-scripting.md (#3695) 2017-07-12 10:58:10 -04:00
Rick Anderson af72b3d973 Update index.md (#3699)
* Update index.md

* Update index.md
2017-07-11 16:59:54 -06:00
Steve Smith f2e1022f5c Cleaning up and updating Startup (#3666)
* Cleaning up and updating startup details.

* Responding to feedback

* re-arranging order and responding to feedback

* Tweaking reference to Hosting

* Remove reference to repo that lists all startup services
2017-07-11 09:07:06 -06:00
Rick Anderson 3bbb252e46 Update response.md (#3683) 2017-07-10 21:53:15 -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 8c07fac6d9 Update next.md (#3685) 2017-07-10 15:12:20 -06:00
Tom Dykstra d98731bef3 fix links (#3686) 2017-07-10 15:12:03 -06:00
Tom Dykstra e8aa80f5a8 retire vsts tutorial (#3684) 2017-07-10 14:50:31 -06:00
Scott Addie 5ce7775138 Fixes #3499
Update Yeoman doc
2017-07-10 15:02:22 -04:00
Rick Anderson c23f9b383b remove /en-us/ (#3670) 2017-07-10 12:20:50 -06:00
Steve Smith c26e0c9fe1 Updating Identity (#3652)
* Updating to latest, cleaning up article and screenshots

* Update of Identity (#3653)

* WIP: Update of Identity

* Update identity.md

* Adding red box; adding link to account confirmation.
2017-07-10 11:58:09 -06:00
Steve Smith b93c125ec1 Making PNG background white, not transparent, so it works with docs dark theme. (#3679) 2017-07-10 11:30:13 -04:00
Rick Anderson 4d7898aa80 Update start-mvc.md (#3678)
* Update start-mvc.md

* Update start-mvc.md
2017-07-10 09:12:22 -06:00
Rick Anderson d15f54cb50 Update environments.md (#3673) 2017-07-08 10:51:40 -06:00
Rick Anderson 4eac4d247a built in TH (#3674) 2017-07-08 10:50:40 -06:00
Steve Smith 7526517a61 Preventing Open Redirect Attacks (#3619)
* Initial progress

* Adding to TOC

* Ready for review

* redirect (#3631)

* WIP: redirect

* Update preventing-open-redirects.md

* Minor cleanup

* Adding LocalRedirect info and example

* Updating figure

* Fixing typo and adding another example

* Rewording example and adding list.
2017-07-07 13:42:08 -06:00
mwvdev b38130c98e Removed id parameter from the Create and Update actions (#3649) 2017-07-07 10:05:21 -06:00
Steve Smith bbcecb9a42 Upgraded to VS2017 project system. Fixed #2928 (#3650) 2017-07-07 10:05:00 -06:00
Rick Anderson 8376f60ed3 replace GetTempFileName (#3639)
* replace GetTempFileName

* replace GetTempFileName

* good app
2017-07-06 12:23:52 -06:00
Jaliya Udagedara 68d336165a Updated: Windows with IIS/WebListener scenario. (#3620) 2017-07-06 10:34:35 -07:00
Steve Smith 38bc89a6b8 Configuring Windows Auth (#3622)
* Initial draft of article

* Adding TOC entries

* Fix TOC link

* Adding sample and figures.

* Ready for PR

* Fixing file reference error; replacing with code listing

* Update windowsauth.md (#3628)

* Removing sample

* responding to feedback

* Update windowsauth.md (#3630)

* Update windowsauth.md

* Update windowsauth.md

* Update windowsauth.md

* Update windowsauth.md

* Responding to feedback and fixing links.

* Update windowsauth.md

* Added black border
2017-07-06 11:52:56 -04:00
Rick Anderson 08e14f2c35 Update first-web-api.md (#3625) 2017-07-06 08:58:54 -06:00
Rick Anderson bda3034e54 Update first-web-api-mac.md (#3626) 2017-07-06 08:58:39 -06:00
Rick Anderson 8c254e1e20 Update web-api-vsc.md (#3627) 2017-07-06 08:58:17 -06:00
Luke Latham e9fa4e1a2a Update hosting bundle link (#3640) 2017-07-06 08:54:30 -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
Tom Dykstra dbfa7151bd Localdb --> SQLite (#3641) 2017-07-06 08:50:30 -06:00
Scott Addie a1f6795a89 Fixes #1435 2017-07-05 22:30:23 -05:00
Rick Anderson e3ab7d41dc connection string (#3637)
* connection string

* connection string
2017-07-05 16:26:07 -06:00
Steve Smith bfe33a10b2 Minor edits. (#3629) 2017-07-05 10:18:20 -06:00
Ganesan Arunachalam 28104d5e4b Removed unnecessary user management. (#3616) 2017-07-05 10:14:29 -06:00
Ganesan Arunachalam 80aaf4caab Fix issue which rose when rendering index (#3617)
* Fix issue which rose when rendering index

* Includes check for edit permission before listing.

* Inject authorization service and import libraries.

* Commented out cosmetic
2017-07-05 09:40:32 -06:00
Ganesan Arunachalam 5f4e63ec18 Removed redundant Task.FromResult (#3615) 2017-07-05 08:07:03 -06:00
Rick Anderson feda235811 Update logging.md (#3623) 2017-07-03 15:20:26 -06:00
Scott Addie 7c2e804baf Delete project.json from sample project (#3624) 2017-07-03 15:19:09 -06:00
Steve Smith 23cae32d3e Custom Storage Providers for ASP.NET Core Identity (#3507)
* stub for custom providers doc

* progress

* more progress

* Updating TKey references.

* More progress

* adding sample project with default identity controllers and views

* Final updates before PR

* Update identity-custom-storage-providers.md (#3509)

* Update identity-custom-storage-providers.md

* Update identity-custom-storage-providers.md

* Minor tweaks to Identity storage providers doc

* Change "a" to "an"

* Update identity-custom-storage-providers.md

* Responding to Tom's feedback in Rick's PR.

* Responding to feedback

* Updated home page to provide instructions. Updated ApplicationUser to implement IIdentity.
2017-07-03 13:55:11 -06:00
Scott Addie 515706c593 Remove wrench icon in Configuring Formatters paragraph 2017-07-03 13:39:22 -05:00
dansoper cff46b1453 Update identity-configuration.md (#3618)
Suggestions by @tdykstra
2017-07-03 10:46:58 -07: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 1ebc2ecf20 Replace "Angular" TOC text with "AngularJS"
"AngularJS" represents v1 of the framework, which is what this doc and sample code use.
2017-06-30 12:17:47 -05:00
Scott Addie 4f67e61267 Add SpaServices with ASP.NET Core doc (#3563)
* Initial commit for revised SpaServices doc

* Add Tag Helpers text and code

* Add screenshot of global postList variable

* Restore Tag Helpers code sample to original state

* Adjust Tag Helpers heading styles

* Add Webpack Dev Middleware code and text

* Reorganize headings and start to HMR content

* HMR changes

* Additional tweaks to content

* Add HMR screenshot and finish SpaServices prereqs section

* Start to project creation content for .NET Core CLI

* Add Karma / Jasmine testing content

* More minor tweaks

* Refine existing content

* Remove unused Tag Helper from Index view

* Update TOC

* Start publishing section of content

* Finish writing publishing section of content

* Remove original, unused images

* Replace future tense usage

* Update spa-services.md

* Implement suggestions from Tom and Rick

* Implement suggestions from Damien
2017-06-30 16:55:26 +00:00
Nate McMaster 21f5d4ad35 Update the version of dotnet-user-secrets in sample documentation 2017-06-30 09:24:35 -07:00
Luke Latham e455eed800 Describe MSBuild props that control web.config transform (#3608)
* Add info on web.config transformation control

* React to feedback
2017-06-30 15:42:10 +00:00
Jason N. Gaylord 619bd3e001 Update ForgotPassword.cshtml file (#3591)
* Commented out the reset password link

* Updated the instructions to update the ForgotPassword.cshtml page.

* Update accconfirm.md

* Update accconfirm.md

* Minor updates to text and to fix the code block.

* Update accconfirm.md
2017-06-30 15:40:59 +00:00
Scott Addie 7096febfe4 Capitalize CSS 2017-06-29 21:48:22 -05:00
dansoper 22babd1593 Grammar fix in identity-configuration.md (#3598)
* Grammar fix in identity-configuration.md

* Update identity-configuration.md
2017-06-30 01:27:56 +00:00
Scott Addie 43ef7d7cf4 Remove double quotes used in addTagHelper directives (#3600) 2017-06-30 01:27:25 +00:00
Rick Anderson 9cf28eb0cb Update adding-model.md (#3605)
* Update adding-model.md

* Update adding-model.md
2017-06-30 00:18:17 +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 9b908d2ff7 Update working-with-sql.md 2017-06-29 10:38:36 -07: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
dansoper 34cf6cb1ee Update identity-primary-key-configuration.md 2017-06-29 09:19:56 +01:00
Rick Anderson fbdb1985d0 Tag Helpers fix snippet (#3595) 2017-06-28 17:31:26 -07:00
Scott Addie d7cd5ea863 Merge pull request #3588 from AlphaGit/patch-3
Minor: snippet code reformatting
2017-06-28 16:42:16 -05:00
Scott Addie aac8637452 Associate TypeScript language with Grunt code snippets 2017-06-28 13:51:59 -05:00
Alpha 19cda29edc Second attempt (tabs. vs spaces) 2017-06-28 14:30:03 -04:00
Scott Addie a8ee6a5bdd Remove unnecessary dash 2017-06-28 13:26:53 -05:00
Rick Anderson 6aa92b70c0 pmc (#3584) 2017-06-27 18:28:54 -07:00
Rick Anderson b45ee5d9ef move to PMC (#3583)
* move to PMC

* move to PMC

* move to PMC

* move to PMC

* move to PMC
2017-06-27 17:16:24 -07:00
Scott Addie 5eb13ac659 Fix encoding issue preventing display of Tag Helper markup 2017-06-27 15:36:41 -05:00
Rick Anderson 4ef4f0422f Update configuration.md (#3566)
* Update configuration.md

* Update configuration.md

* Update configuration.md

* Update configuration.md

* Update configuration.md

* Update configuration.md
2017-06-27 10:31:16 -07:00
Scott Addie d364f478b6 Capitalize Bower reference 2017-06-27 10:59:06 -05:00
Rick Anderson e781d6a95b Update overview.md 2017-06-26 16:32:07 -07:00
Rick Anderson 85569515c7 Update iis.md (#3571)
* Update iis.md

* Update iis.md

* Update iis.md
2017-06-26 15:07:59 -07:00
Rick Anderson 711f6a12e0 Update logging.md 2017-06-26 15:01:52 -07:00
perthcha d50a2ecfc7 correct typo (#3573)
change higher -> lower
2017-06-26 14:59:16 -07:00
Rick Anderson 9339f46920 Update adding-controller.md 2017-06-26 14:53:19 -07:00
Rick Anderson 043b40e06b TOC fix (#3568)
* TOC fix

* TOC fix

* TOC fix
2017-06-26 11:45:35 -07:00
Rick Anderson a1a9f9f074 Update index.md 2017-06-26 09:15:22 -07:00
Scott Addie 5868f618ac Convert "a" to "an" 2017-06-23 16:25:45 -05:00
Alpha 357cdbf575 Resource-based authorization: code formatting (#3561) 2017-06-23 09:46:23 -07:00
Scott Addie 0c3831da80 Change "a" to "an" 2017-06-23 09:08:01 -05:00
Rick Anderson 4616747ecd Update index.md 2017-06-22 20:54:22 -07:00
Scott Addie 79e9318f58 Replace semicolon with comma 2017-06-22 22:09:36 -05:00