Commit Graph

1450 Commits (abf1465c827fffe4a298ffc37a289c50879f9b56)

Author SHA1 Message Date
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
Rick Anderson 4dce74e480 Mac validatin (#3558)
* Mac validatin

* Mac validatin
2017-06-22 19:37:45 -07:00
Rick Anderson 9c1a833b12 Update getTodoItems.md 2017-06-22 19:36:26 -07:00
Rick Anderson 277d39f89c part 7 intro to mvc on mac (#3556)
* part 7 intro to mvc on mac

* work

* work
2017-06-22 19:04:21 -07:00
Baptiste Pesquet 1acdc8ad3a Correct case typo in title 2017-06-22 23:27:28 +02:00
Rick Anderson 6944f8912d Update localization.md (#3522) 2017-06-22 14:12:41 -07:00
Rick Anderson 80422bfe45 Update search3.md (#3554) 2017-06-22 14:12:24 -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
Scott Addie c2c63d8732 Move Razor Pages TOC link above Filters 2017-06-22 10:55:16 -05:00
Rick Anderson c734a58f33 Update search3.md (#3535)
* Update search3.md

* Update search3.md

* Update search3.md

* Minor tweaks to wording
2017-06-22 08:46:18 -07:00
Rick Anderson 8819c61577 Update app-state.md (#3539)
* Update app-state.md

* Update app-state.md
2017-06-22 08:44:59 -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
Rick Anderson 02aa606eb6 mac vrsion of adding search (#3537)
* mac vrsion of adding search

* mac vrsion of adding search

* mac vrsion of adding search

* mac vrsion of adding search
2017-06-21 13:52:49 -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 cf64a51cf3 Update url-rewriting.md (#3534) 2017-06-21 11:14:40 -07:00
Scott Addie 30fcdef4fc Remove duplicate word "middleware" 2017-06-21 11:26:52 -05:00
Rob Lindley 75b1816ad8 Add KeyDelimiter replacement to GetKey function. (#3525)
Without the handling of "--" the keys never get turned into sections seperated by the ConfigurationPath delimiter.
2017-06-21 08:25:28 -07:00
Rick Anderson 4af991dfb4 Update adding-model.md (#3531) 2017-06-21 08:24:16 -07:00
Rick Anderson a370c3e61c mac6 (#3529) 2017-06-21 08:08:06 -07:00
Rick Anderson 369de838f4 mac SQL (#3528)
* mac SQL

* mac SQL
2017-06-20 17:32:24 -07:00
Rick Anderson afacc7ee2b Mvc mac 3/rick (#3527)
* fix

* fix

* fix

* fix

* fix
2017-06-20 17:02:03 -07:00
Rick Anderson 58ba2b6a2a Fix build (#3526) 2017-06-20 15:37:36 -07:00
Rick Anderson ab0c9a7123 fix scaffold tools (#3521) 2017-06-20 12:48:03 -07:00
Rick Anderson 826daa6d97 update tools (#3520) 2017-06-20 09:58:57 -07:00
Rick Anderson 5b0f01ce3d Test build (#3518) 2017-06-20 08:30:39 -07:00
Rick Anderson d8cd3fee1d Update web-api-vsc.md (#3517) 2017-06-20 08:21:28 -07:00
Rick Anderson 9137aa516d Update request-features.md (#3515)
* Update request-features.md

* Update request-features.md
2017-06-19 19:54:07 -07:00
Scott Addie 7b8cb1e211 Replace "dotnet CLI" with ".NET Core CLI" in description metadata 2017-06-19 20:53:15 -05:00
Scott Addie 9ad3891c8f Add missing comma and remove extra comma 2017-06-19 20:38:04 -05:00
Rick Anderson 81f3461327 Update environments.md (#3516) 2017-06-19 17:53:28 -07:00
Rick Anderson 6c39e14bef WIP:Mac version of Intro to MVC part 2 (#3514)
* Mac version of Intro to MVC part 2

* work

* work

* work

* work
2017-06-19 16:47:27 -07:00
Rick Anderson 3a0a6a8a3c Update error-handling.md (#3508) 2017-06-19 15:07:29 -07:00
Luke Latham f3e57cd7f9 Update versions in bundle install command (#3494) 2017-06-19 12:00:09 -07:00
Rick Anderson 7ee7356ecb Update accconfirm.md (#3510)
* Update accconfirm.md

* Update accconfirm.md
2017-06-19 08:49:17 -07:00
Christopher Kimbell 60f5417f4e Spelling mistake in 'ConfigureServices' 2017-06-19 09:37:11 +02:00
Rick Anderson d50c49ef9b Update our Intro page - #1 article (#3497)
* Create index.md

* Create index.md

* Create index.md

* Update index.md
2017-06-17 09:43:54 -07:00
Rick Anderson 06e2020f93 Intro to MVC on Mac (#3414)
* WIP: Intro to MVC on Mac

* work

* work

* work

* work

* work

* work
2017-06-16 14:40:44 -07:00
Scott Addie e4c55ce6f2 Change 'full .NET Framework' references to '.NET Framework' 2017-06-16 08:42:44 -05:00
Rick Anderson fbd5089b1f Update authoring.md 2017-06-15 18:58:50 -07:00
Scott Addie a487653ddc Tweak Yeoman subgenerator command casing to match PR #3498 2017-06-15 13:54:18 -05:00
Aftab Ansari 6f74ab0f30 yeoman generator name correction (#3498) 2017-06-15 09:11:58 -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
Scott Addie a6c647c73a Remove trailing double quote from FontAwesome link tag 2017-06-14 14:39:51 -05:00
Scott Addie 28ae19182f Add missing letter to Bower doc's description metadata 2017-06-13 15:05:29 -05:00
Rick Anderson 916bc7bb4f Create using-gulp.md (#3482) 2017-06-13 10:04:06 -07:00
Luke Latham 91b0ba09a4 Add line+link for setting AppPool envvar setting (#3488) 2017-06-13 10:03:50 -07:00
Rick Anderson cf6fe1568a Create secure-data.md (#3490) 2017-06-12 16:39:19 -07:00
Stephen Daudell 908e9ce369 Added a missing word to routing.md (#3485)
"Routes must configured..." to "Routes must be configured..."
2017-06-12 09:34:29 -04:00
Jon Galloway 2871979b98 Changes to code block language hints
Package Manager should be PowerShell, not bash. Differences between JavaScript and JSON language blocks are pretty minor, but might as well update while getting the bash->PowerShell one.
2017-06-11 22:19:02 +02:00
sintetico82 9ba4f0ed27 Extra information in DataAnnotations localization (#3480)
* Extra information in DataAnnotations localization

Add information about the use of SharedResources class in Data Annotation

* Create localization.md
2017-06-09 10:11:23 -07: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
Tom Dykstra f789f2c720 add db providers link (#3477) 2017-06-08 13:22:41 -07:00
Jacob Appleton b870dce7fa Create Startup.cs (#3475)
Moved the snippet region end to after app.UseRewriter(options); so that it appears in the documentation.
2017-06-08 11:43:11 -07:00
Pablo Recalde f89bdea48c modified mvc example to use c#7 (#3447)
As suggested by VS2017 I've substituted the 2 line code by an inline temporary variable.
2017-06-07 11:50:22 -07:00
Kevin Hillinger 9814a9b1c9 Making code sample accurate (#3472)
Updating MinimumAge property to public and setter private, since the 'protected' accessibility won't work in the MinimumAgeHandler (given it accesses this property as public).
2017-06-07 11:42:19 -07:00
Tom Dykstra e4deb07051 fix metadata date 2017-06-07 09:01:39 -07:00
Stephen Daudell 26a74b47db Fix typo in routing.md (#3465)
Change "asterix" to "asterisk"
2017-06-05 16:28:02 -04:00
Tom Dykstra d0fe3f358e escape angle bracket 2017-06-03 13:22:21 -07:00
Jessica White b11243c6df Update routing.md (#3454)
* Update routing.md

When using square brackets with in your regex statement you need to escape them by doubling them. This currently isn't mentioned anywhere in the documentation.

* Update routing.md
2017-06-02 14:53:39 -07:00
Rick Anderson a2e9aa435d Update url-rewriting.md (#3459) 2017-06-02 14:52:40 -07:00
Tom Dykstra 8b083c3b70 link to model binding article (#3456) 2017-06-02 09:58:25 -07:00
Tom Dykstra 724c224886 change notepad instructions (#3455) 2017-06-02 09:57:41 -07:00
InoueKonoha 6ca6a5666f Update parameter type of GetById in POST example (#3446) 2017-06-01 17:11:09 -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
Tom Dykstra c544e5acb2 set ms.topic to get-started-article (#3442)
* set ms.topic

* set ms.topic
2017-05-31 14:55:29 -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
Rick Anderson 29de1c9d7d Add precompiled view link to Razor Pages (#3432) 2017-05-30 16:55:24 -07:00
Derek Christensen 3a3b79933d Correct async/await usage (#3417)
Fixed async/await usage to not call .Wait() on the task and to not await the Task that is never used.
2017-05-30 16:35:55 -07:00
Nate McMaster f3040c8ebd Update "Key Encryption At Rest" doc for new API in .NET Core 2.0 (#3430) 2017-05-30 13:37:41 -07:00
Thawatchai Klinkliang 49de2ecfe1 Update TodoController.csc (#3421)
Parameter of _context.TodoItems.Update should be "todo" instead of "item"
2017-05-30 13:36:23 -07:00
Roman Blinkov ab20ece3c2 Fix for pkcs12 certificate export (#3418)
* Fix for pkcs12 certificate export

* Update https.md

Removed extra lines
2017-05-30 13:18:30 -07:00
Rick Anderson c0849eb674 Secure user data (#3336)
* Secure user data

* removed dead code

* Revert "removed dead code"

This reverts commit 3311e8e4d4.

* move snippets to final15

* work

* fix

* work

* work

* work

* work

* work

* work

* work

* work

* work

* CRUD check

* work

* rename

* work

* formatting

* tdykstra feedback

* work

* tom feedback

* work

* work

* joe feedback

* work

* download

* fix

* download link

* download link
2017-05-30 13:11:31 -07:00
Rick Anderson c7bfcf5138 web API toc (#3413)
* web API toc

* fix

* fix

* fix
2017-05-30 12:38:50 -07:00
Tom Dykstra c04b7f0272 explanations and includes in adding-model.md (#3420)
* issue 3112

* fix link

* fix formatting

* add link
2017-05-30 12:23:24 -07:00
Jonathan Menzel 6bbf4f9d6a Minor punctuantion changes (#3423)
Replacing semicolons by the right punctuation in text
2017-05-30 12:18:36 -07:00
Ganesan Arunachalam 520e0013bb Fixed typo (#3424)
* Fixed typo

* Update register_dbContext.md
2017-05-30 12:17:19 -07:00
Ganesan Arunachalam 285cd142e1 Fixes broken link (#3425) 2017-05-30 12:14:53 -07:00
John Korsnes fa482262f0 Update docs with load user profile option (#3397)
* Update docs with load user profile option

Related docs from @blowdart: https://github.com/aspnet/DataProtection/issues/107

The option of having the app pool user load the profile was by far the easiest route, and is not part of the docs.

* Update iis.md

> Any data you protected will no longer be able to be unprotected. 

I don't understand that.

>you should configure Data Protection with the deployment script

What deployment script?

* Update iis.md

* Update iis.md

* Update iis.md
2017-05-30 12:11:26 -07:00
andrewlock 56cb9c634f Fix typo in filters.md (#3426)
`ReesultFilterAttribute` -> `ResultFilterAttribute`
2017-05-28 11:30:02 -04:00
Tom Dykstra aa6c97dbec add note explaining log method parameters (#3416) 2017-05-25 09:08:09 -07:00
Rick Anderson 90adc00b47 mac Prerequisites (#3410) 2017-05-24 21:03:31 -07:00
Rick Anderson 30f80837bf Web API refactor and remove repository (#3399)
* work

* work

* work

* work

* work

* work

* work

* work

* work

* work
2017-05-24 13:48:25 -07:00
Tom Dykstra 0adb972b9a add to TOC (#3409) 2017-05-24 13:46:10 -07:00
Elektronenvolt 49d56c2097 To stop tracing session use Stop-EtwTraceSession (#3400)
To stop the ETW tracing session, the Remove-EtwTracingSession command doesn't work. Used Stop-EtwTraceSession instead.
2017-05-24 13:21:52 -07:00
Omar Maher d1a2867afd Update Startup.cs in Formatting (#3378)
* Update Startup.cs

Make default format xml

* Update Startup.cs

Make Xml global format
2017-05-24 11:24:00 -07:00
Rick Anderson d40cd19b30 Update 2fa.md - download links (#3406)
* Update 2fa.md

* Update 2fa.md

* Update 2fa.md

* Update 2fa.md
2017-05-24 11:22:52 -07:00
Swiss-Devs a05ae67125 Add ASPSMS to 2FA tutorial (#3348)
* Add ASPSMS to 2FA tutorial

* fix requested changes (#3348)
2017-05-23 18:31:55 -07:00
Rick Anderson 7115e244b4 Update index.md 2017-05-23 09:21:31 -10:00
Rick Anderson b5f44bda45 Update index.md (#3398)
* Update index.md

* Update index.md

* Update index.md

* Update index.md
2017-05-23 12:08:06 -07:00
Tom Dykstra a9e9497ddc revise development environment section (#3401) 2017-05-23 11:01:57 -07:00
Hisham Bin Ateya e140318865 Remove unnecessary quotations from localization cookie format (#3393) 2017-05-22 18:37:38 -07:00
James Valkyrie 741884ddb9 Corrected some grammatical (tense) error (#3394) 2017-05-22 18:36:42 -07:00
Tom Dykstra c2586b7c45 Link to remote debugging doc in VS doc set (#3395)
* Link to remote debugging doc in VS doc set

* add link to remote debugging doc
2017-05-22 18:35:11 -07:00
Tom Dykstra f1e17a1450 fix highlighting 2017-05-22 09:39:33 -07:00
kalch 2308564b88 Fix spelling error (#3392) 2017-05-20 07:09:22 -04:00
Aftab Ansari e48bd55293 Small Correction (#3391) 2017-05-19 18:36:43 -07:00
Tom Dykstra 3a0c9d3076 change angle brackets to curly braces 2017-05-19 16:51:41 -07:00
Rick Anderson 971b805d36 Update adding-model.md (#3382)
* Update adding-model.md

* Update adding-model.md
2017-05-18 08:36:30 -10:00
Christian Weiss eaa322e432 Missing ")" in comment (#3381) 2017-05-18 08:23:24 -10:00
steven ferrell c42fe12bea Missing ending parentheses in AddAuthorization example code (#3374) 2017-05-17 20:22:36 -10:00
Tom Dykstra b0e5fa8c9f CORS doc samples .xproj --> .csproj (#3376) 2017-05-17 15:34:48 -07:00
Rick Anderson 3bd2837d01 Update index.md 2017-05-17 10:36:26 -10:00
Tom Dykstra 9049def785 add link to project.json docs (#3372) 2017-05-17 06:21:37 -07:00
Tom Dykstra 86f323d5c7 typo (#3368) 2017-05-16 08:58:07 -07:00
Dale Gardner 184fe30215 fix several extensions and syntax highlighting on snippets (#3360) 2017-05-15 11:15:39 -10:00
Aftab Ansari b8b5fca28c With VS2017 and dotnet 1.0 installation genrator needs to have latest installation (#3363) 2017-05-15 09:51:45 -10:00
Tom Dykstra b29dd4b85c add community.md to toc (#3355)
* add community.md to toc

* add community.md
2017-05-15 11:16:58 -07:00
Aftab Ansari 1e29dc1ed7 Razore File Extension corrected (#3361) 2017-05-15 07:45:12 -10:00
Tom Dykstra e0a1968476 fix link (#3356)
Add an optional extended description…
2017-05-12 10:01:56 -07:00
Tom Dykstra ac604a70d0 fix link (#3357) 2017-05-12 09:50:22 -07:00
Rick Anderson f2a1e2354f Update routing.md 2017-05-11 14:28:46 -10:00
Adrien Torris f28d490726 Extend middleware code sample to display var decla (#3347)
Extend Localization middleware code sample to display the declaration of the variable 'supportedCultures'
2017-05-11 14:16:23 -10:00
Rick Anderson 011c021ffc macOS VS Web API tutorial (#3345)
* done

* bold

* fix

* feedback

* more fixes
2017-05-11 12:04:57 -10:00
Tom Dykstra 4351d13c9c remove instructions left over from 1.0 (#3344) 2017-05-10 18:52:17 -07:00
Tom Dykstra 4aa9032226 add custom model binding (#3343) 2017-05-10 14:03:18 -10:00
Tom Dykstra 84ef999f35 remove outdated MVC 5 text (#3342) 2017-05-10 14:01:07 -10:00
Rick Anderson b21575c59e Update index.md 2017-05-10 10:20:03 -10:00
Rick Anderson 3519b67600 remove bad links (#3340) 2017-05-10 13:19:04 -07:00
Rick Anderson 1cc0ee1387 Razor Pages initial draft (#3335)
* Razor Pages initial draft

* c

* acrolynx

* rename file, add to toc

* Ryan feedback

* quick proofread
2017-05-10 08:31:01 -10:00
Tom Dykstra 356f5f89be Fix bug in edit/create code (#3330)
* correct errors in edit/create code

* add line of code missed in earlier commit

* fix highlighting
2017-05-10 11:28:28 -07:00
Tom Dykstra 5270dad17c fix links (#3334) 2017-05-10 10:09:50 -07:00
Daniel Roth 31da7b21f4 Add dev https doc (#3337) 2017-05-10 10:08:24 -07:00
Brandon Pugh 822081930b Fix link url (#3283)
Seemed to be pointing to the wrong domain.
2017-05-09 18:10:52 -10:00
Rick Anderson 94b493d89c Update adding-model3.md (#3321) 2017-05-09 10:18:11 -10:00
Jonathan 58c0e3784c Update web-api-help-pages-using-swagger.md (#3325)
Use HTTPS. Prefer IANA-assigned example.com domain.
2017-05-09 09:50:40 -10:00
Steven Volckaert 194ad97f94 Updating line 78: Correcting French punctuation. (#3331)
In French, a space is required both before and after all two- (or more) part punctuation marks and symbols, including the exclamation mark "!". See https://www.thoughtco.com/how-to-use-french-punctuation-4086509 for more information.
2017-05-09 09:49:28 -10:00
Kévin Chalet 14a94acf1a Update community.md to include AspNet.Security.OpenIdConnect.Server (#3329) 2017-05-08 14:38:14 -07:00
Sayed Ibrahim Hashimi 8639b3b36e Add page for OSS auth options (#3314)
* Add page for OSS auth options
In the One ASP.NET dialog we are adding a link for users to learn more about OSS auth options.
I'm working with @danroth27 on the content here.
2017-05-08 12:52:40 -07:00
Steve Smith f032613ffa fixing build errors (#3326) 2017-05-08 09:36:20 -07:00
Aftab Ansari 9077d46233 Small Correction (#3324) 2017-05-08 06:01:40 -07:00
Aftab Ansari d5e959a7c3 It should be W3School not CodeSchool (#3291)
* It should be W3School not CodeSchool

* Update angular.md

* Update angular.md
2017-05-06 08:51:49 -10:00
Sébastien Ros 39ce057520 Update configuration.md (#3307)
* Update configuration.md

* Update configuration.md
2017-05-06 08:43:43 -10:00
Rick Anderson 84e32a6d75 Update tutorial list to mention Web API (#3304)
* Update index.md

* Update index.md

* Update index.md

* Update index.md

* combine web api paragraphs
2017-05-05 12:44:57 -10:00
Tom Dykstra bcd64dfb8d highlight department in course.cs (#3317) 2017-05-05 12:12:53 -07:00
Tom Dykstra 797db96de2 fix link (#3315) 2017-05-05 11:54:39 -07:00
Tom Dykstra 64c0686921 fix DbContext namespace (#3313) 2017-05-05 09:03:49 -07:00
Tom Dykstra e1c8ca9fe8 add PMC text (#3303)
* add PMC text

* Update intro.md

* reword PMC line
2017-05-04 15:09:22 -07:00
Steve Smith ff6b4b196e Custom model binding (#3275)
* Initial outline and updates to links.

* Fixing formatting

* adding sample

* sample base64 string

* Working on article and sample

* ready for initial review

* Responding to feedback

* Uncommenting attribute

* switching back to authorid

* Fixing code listing

* Updated based on feedback

* responding to feedback

* Responding to feedback. Tested simplified app and still works as expected.
2017-05-03 16:21:50 -04:00
Aftab Ansari 6820ebec01 AngularJs Version is Synced with AngularJs Version in bowerJson file (#3289) 2017-05-01 21:13:26 -10:00
Aftab Ansari f4798aa7c6 Aftab ansari/angular js solution explorer (#3290)
* Replaced with Latest correct image

* Image resized
2017-05-01 21:13:16 -10:00
Rick Anderson fea3ca8c7f Update working-with-sql.md 2017-05-01 21:11:44 -10:00
Marius Schulz 16255dfe17 Update cookie.md (tiny typo) (#3285) 2017-05-01 18:43:58 -10:00
Artur Zgodziński de8c4105e5 Update routing.md (#3286)
Fixed regular expressions to match the whole segment value instead of its sub-string.
2017-05-01 18:42:58 -10:00
Aftab Ansari 5d1b92e25e Duplicate Point removed (#3287) 2017-05-01 18:42:25 -10:00
Aftab Ansari 0e30d2fe34 Aftab ansari/azure continuous deployment patch (#3288)
* replaced with latest VS project template images

* source control dialog removed
2017-05-01 18:41:07 -10:00
Sivanantham Padikkasu 80e1203e79 Changed the LogOff action name into LogOut (#3292)
Changed the LogOff action name into LogOut.Asp Net Core defaultly provides Logout action only.
2017-05-01 18:37:20 -10:00
Sivanantham Padikkasu 37fb4e0a8d Changed the "LogOff" action name into "LogOut" (#3293)
Changed the "LogOff" action name into "LogOut".Changed the "LogOff" action name into "LogOut".By default ASP Net core provides Logoff action in "LogOut" ActionResult Only.Also raised PR for changed the action name in account controller .
2017-05-01 18:36:55 -10:00
Sivanantham Padikkasu ebd0b16af5 Changed the "LogOff" action name into "LogOut (#3294)
Changed the "LogOff" action name into "LogOut
2017-05-01 18:36:28 -10:00
Petr Onderka f705fbda1d Explain how to run app in linuxproduction (#3276)
* Explain how to run app

* Improve formatting

* Update linuxproduction.md

* Update linuxproduction.md
2017-04-26 12:51:58 -10:00
Tom Dykstra 1c7febf6b2 remove redundant code (#3267) 2017-04-25 15:48:31 -07:00
Rick Anderson 0eaab41fc5 Update middleware.md (#3268)
* Update middleware.md

* Update middleware.md

The original:
>[!WARNING]		  >[!WARNING]
 ->Be careful modifying the `HttpResponse` after invoking `next`, because the response **may** have already been sent to the client. You can use [HttpResponse.HasStarted]() to check whether the headers have been sent.

Be careful means it's OK to do this as long as you are careful and implies you can be careful via: 

You can use [HttpResponse.HasStarted] to check whether the headers have been sent.

* Update middleware.md

* Update middleware.md

* Update middleware.md

* Update middleware.md
2017-04-25 11:02:17 -10:00
Rick Anderson 37c2c2de37 Update owin.md (#3253) 2017-04-24 15:55:55 -10:00
Tom Dykstra a217702b3b fix typo (#3271) 2017-04-24 14:11:22 -07:00
Tom Dykstra 0d6c8029fc remove wrench links (#3270) 2017-04-24 14:04:46 -07:00
Tom Dykstra e4940fb39e remove wrench topics from toc (#3264) 2017-04-24 14:00:39 -07:00
Tom Dykstra 2c36be09d5 corrections noted by Sijmen.Koffeman (#3266)
* corrections noted by Sijmen.Koffeman

* fix other instances of 8/8 date

* remove "also"
2017-04-24 13:37:42 -07:00
cdavid ee279bd93c Swashbuckle.AspNetCore is now v1.0 (#3265)
So we don't need to include preleases (or do -Pre) when installing the package.
2017-04-24 10:31:52 -10:00
Steve Smith 21d7b9523a Fix typo 2017-04-23 16:12:40 -04:00
Rick Anderson 6cd9cf14d6 Update validation.md (#3257)
Per customer feedback
Robin_St.Clair
please do not use the word consume, in this context, it is nonsensical and an abuse of English, it is preferable to write - The Input Tag Helper uses the DataAnnotations attributes and . . .
2017-04-23 09:13:56 -07:00
Rick Anderson 608cbce992 Update adding-model.md (#3258) 2017-04-23 09:12:34 -07:00
Tom Dykstra eb9b2996ed escape angle bracket (#3262)
Add an optional extended description…
2017-04-23 09:02:29 -07:00
Rick Anderson c737a33f75 Update localization.md (#3252) 2017-04-21 14:28:10 -10:00
Rick Anderson 6c295d2e0c Remove references to Microsoft.DotNet.InternalAbstractions (#3251)
* Remove references to Microsoft.DotNet.InternalAbstractions

* update
2017-04-20 16:31:37 -10:00
Rick Anderson 5034dd22ee Update new-field.md (#3250)
* Update new-field.md

* Update new-field.md
2017-04-20 16:25:47 -10:00
Tom Dykstra 2128a5d8a1 Add dynamic linq to EF MVC tutorial (#3214) 2017-04-20 09:16:35 -07:00
Rick Anderson bca76e57c2 Update adding-model.md (#3247)
* Update adding-model.md

* Update adding-model.md
2017-04-19 15:17:24 -07:00
Rick Anderson cb2e684d1e Update adding-model.md (#3245) 2017-04-19 10:29:52 -10:00
Rick Anderson d16097c1aa Update MvcMovie.csproj (#3246) 2017-04-19 10:27:30 -10:00
Tom Dykstra 02a2b7d1a0 delete repeated phrase (#3243) 2017-04-19 09:14:10 -07:00
Tom Dykstra 6c395cd9d5 note bug on Linux, misc minor updates (#3241) 2017-04-17 17:37:52 -10:00
Richard Hallett e87f9cc351 Remove usage of quotations with set command (#3238)
With the change from setx to set, quotation marks are invalid and get set as part of the environment variable, this actually leads to a bad path exception upon dotnet run.
2017-04-17 10:18:19 -04:00
Tom Dykstra 477488e513 EF clarifications in intro to MVC add model (#3235) 2017-04-15 13:10:18 -07:00
Tom Dykstra 0a73450535 typo (#3233) 2017-04-15 10:06:02 -10:00
Rick Anderson e014c9dcca Update routing.md (#3236)
Maybe I should get rid of Warning too.
2017-04-15 10:05:22 -10:00
Rick Anderson 468e284107 Update new-field.md (#3234)
* Update new-field.md

* Update new-field.md

* Update new-field.md
2017-04-15 09:59:28 -10:00
Tom Dykstra aa52a96557 exit --> exist (#3231)
Add an optional extended description…
2017-04-14 14:08:20 -07:00
Tom Dykstra ac77fcd48d Deployment overview (#3213) 2017-04-14 13:34:58 -07:00
Rick Anderson 641f2d226a Update index.md (#3224) 2017-04-14 09:47:11 -10:00
Tom Dykstra 0f21f3ea06 Add link to community standup (#3228) 2017-04-14 11:31:50 -07:00
ch-hristov b3aa458bb5 Update identity-configuration.md (#3226) 2017-04-14 07:48:25 -10:00
Tom Dykstra bfb904348a minor fixes (#3227) 2017-04-14 07:46:51 -10:00
Rick Anderson 996d71d919 final xplat intro to mvc (#3223)
* final xplat intro to mvc

* Fix
2017-04-13 16:50:55 -07:00
Rick Anderson f17152f762 validation xplat (#3220) 2017-04-13 12:01:09 -10:00
Tom Dykstra 2163e7dfbf release notes toc (#3222) 2017-04-13 14:46:10 -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
Marcin Hoppe 751347380e Fix typo (#3215)
malacious -> malicious
2017-04-13 09:33:55 -04:00
Rick Anderson 38f25bfebd Update adding-model.md 2017-04-12 11:47:18 -10:00
Rick Anderson 21d01fd143 xplat intro 2 mvc - add a field (#3197)
* xplat intro 2 mvc - add a field

* fix

* fix

* drop db

* fix

* final fix
2017-04-12 09:55:13 -10:00
rhires 00e4417c0e Minor copy edits (#3202)
* Minor copy edits 

Apostrophe, indefinite article, and comma for clarity

* Update introduction.md
2017-04-12 07:14:31 -10:00
Tom Dykstra b5e506801f EF MVC corrections (#3209) 2017-04-12 09:41:27 -07:00
Scott DePouw 7aa94251c8 Fixed typo in copy: Missing closing ')' (#3211) 2017-04-12 08:19:20 -04:00
Rick Anderson 0889dc6d3d xplat add a model (#3210) 2017-04-11 19:02:07 -10:00
Tom Dykstra 4647aac844 update metadata (#3204) 2017-04-11 15:20:49 -07:00
Andrew Germann 862fb8a1f0 Update views.md (#3203)
* Update views.md

Just adding the using directive for the AuthorizationService injection.

* Update views.md
2017-04-11 08:42:56 -10:00
Tom Dykstra ef23e32a43 clarify ANCM-Kestrel communication (#3206) 2017-04-11 10:50:23 -07:00
Rick Anderson 7a9c2834cc xplat intro 2 mvc - search (#3196)
* xplat intro 2 mvc - search

* fix

* fix
2017-04-09 14:52:07 -10:00
Rick Anderson ccc070e501 Update working-with-sql.md 2017-04-09 12:19:19 -10:00
Rick Anderson 425ec37f48 xplat controller methods and views (#3191) 2017-04-08 15:51:01 -10:00