Commit Graph

3504 Commits (4e84d8bf5f404bb77f3d41665cf7e7374fc39142)

Author SHA1 Message Date
Bader Nasser Al-Hashmi 4e84d8bf5f Update cu-final sample to use `nameof` (#4193) 2017-09-05 10:04:13 -05:00
Bader Nasser Al-Hashmi a98cef6abd Highlight modified code (#4185)
* Highlight modified code

* Highlight code based on livefyre comment
2017-09-05 10:00:50 -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
Bader Nasser Al-Hashmi abf1465c82 Fix controller's filename in ef-mvc tutorial (#4183) 2017-09-05 09:35:35 -05:00
Bader Nasser Al-Hashmi 95b731a252 Fix views' folder name: Department -> Departments (#4186) 2017-09-05 09:34:33 -05:00
Bader Nasser Al-Hashmi 3f2a123d35 Add a comma for better readability (#4181) 2017-09-05 09:32:26 -05:00
Bader Nasser Al-Hashmi b9c0471606 Minor tweaks (#4190) 2017-09-05 09:30:50 -05:00
Bader Nasser Al-Hashmi d4a2787cec Add a missing slash after folder name (#4189) 2017-09-05 09:28:57 -05:00
Bader Nasser Al-Hashmi 4144f196c4 Remove redundant word (#4184)
(the code sends sends an error)
2017-09-05 09:23:20 -05:00
Maira Wenzel 88d79e0af3 fix typo (#4179) 2017-09-05 09:22:23 -05:00
Bader Nasser Al-Hashmi 2eb0d81e57 Add a note about missing `using` statement (#4202) 2017-09-05 09:21:04 -05:00
Luke Latham d527050afa Remove orphaned sample (#4205)
This samp isn't linked anywhere AFAICT.
2017-09-05 09:05:20 -05:00
Luke Latham ceea71816d Remove IOptionsSnapshot samp app (#4206)
Not in use anywhere AFAICT.
2017-09-05 09:04:03 -05:00
Luke Latham fe794832dd Remove ConfigConsole samp app (#4207)
Not used in topics AFAICT.
2017-09-05 09:00:28 -05:00
Bader Nasser Al-Hashmi 7c63421a6d Call `UseMvc()` instead of `UseMvcWithDefaultRoute()` (#4204) 2017-09-05 08:54:25 -05:00
Rick Anderson a33767db54 comma decimal (#4176) 2017-09-01 14:50:01 -07:00
Luke Latham 41e3e00751 Add wwwroot assets to the ResponseFormattingSample (#4161)
* Add wwwroot assets to ResponseFormattingSample

Add-on PR due to the unexpected presence of *wwwroot* in the
*.gitignore* file.

* Delete _references.js
2017-09-01 16:03:39 -05:00
Scott Addie 6e7dacfee4 Fix spelling mistake in header 2017-09-01 15:43:15 -05:00
Scott Addie 5286679ed0 Fix spelling mistake 2017-09-01 15:39:44 -05:00
Scott Addie 85431318e8 2.0 updates to Swagger tutorial (#4145)
* 2.0 updates to Swagger tutorial

* More edits

* Add missing wwwroot folder

* More edits

* More edits

* Update code comment

* Move UseMvc call to last invocation

* Update property name in JSON sample

* Convert UseMvcWithDefaultRoute() to UseMvc()

* Add Startup2.cs

* Simplify the .csproj file

* Adopt new WebHost pattern in Program.cs

* walk through --> walkthrough

* Remove unused controller

* Update images

* Remove unused controller

* More edits

* Wordsmithing

* Provide more detail in UI customization text

* Modify JSON sample

* Add keywords

* Implement Rick's suggestions

* Add cross platform instructions

* Update image

* Convert 2 sentences into list
2017-09-01 15:24:18 -05:00
Steven Moschidis 26166785ad fix broken link (#4173)
* fix broken link

not sure if this is the right way to fix it, but it's definitely broken

* update link as requested
2017-09-01 09:58:53 -05:00
babakramak a2fad7f70f Update nano-server.md (#4171)
Following items edited:
Reset-IISServerManager -confirm:$false
$sm = Get-IISServerManager
2017-09-01 09:14:28 -05:00
TqrHsn b96c1e2877 Update middleware.md (#4172)
I think it will be more clear to say it this way. As far as my understanding is because I got confused on it too.
2017-09-01 09:12:12 -05:00
Rick Anderson 87900dffec Z/ra/acr (#4168)
* never

* Clean up RP

* work

* work

* work
2017-08-31 17:14:06 -07:00
Luke Latham 9d3f27a1ee Delete web.config (#4160) 2017-08-31 15:48:26 -05:00
Luke Latham b7b64803d5 Remove OutputType from project files (#4163)
Removing \<OutputType> from updated 2.0 projects, as it's specified by
Sdk.Web, and we're (generally) not showing defaults in the files.

There's a chance that we'll need to make an additional  update for
*wwwroot* to match the templates. I'm checking on that now.
2017-08-31 15:47:33 -05:00
Rachel Appel 377d8cdcdd Fixes #4067: formatters added note about order;change code (#4144)
* formatters added note about order;change code

* added space between sentences
2017-08-31 14:45:30 -05:00
Luke Latham fcd26bdbb2 Remove wwwroot (#4167) 2017-08-31 14:38:45 -05:00
Bader Nasser Al-Hashmi 605dc99d24 Highlight modified line (#4165) 2017-08-31 09:30:28 -05:00
Bader Nasser Al-Hashmi d7e0df365a Change highlighted code (#4152) 2017-08-30 18:59:49 -07:00
Rick Anderson cd991bc3b6 Update index.md (#4154) 2017-08-30 18:57:34 -07:00
Bader Nasser Al-Hashmi 7fef13045e Add link to `@:` razor syntax (#4153) 2017-08-30 17:30:20 -07:00
Rick Anderson 809ca4fc37 Update first-web-api.md 2017-08-30 15:57:22 -07:00
Luke Latham 275a5381b6 Rename "sample62.css" to "sample62.cs" (#4138)
Replaces #4090
2017-08-30 08:43:57 -07:00
Luke Latham cce0539737 Update WatchConsole sample (#4139)
Addresses #1950

This starts the process of dealing with the issue. More PRs to come!
2017-08-30 08:43:24 -07:00
Luke Latham 5e7d6a2be8 Update ResponseFormattingSample app (#4140)
Addresses #1950

AFAICT you can't specify the global format filter as the live sample
does ... removing that line results in a properly functioning sample. It
returns both XML or JSON depending on the Accepts header; otherwise, it
(the live sample) only ever returns XML.

Sample updates
2017-08-30 08:42:20 -07:00
Luke Latham 5d641ee2cb Update ValidationSample app (#4146)
Fixes #1950

* Upgrades sample to 2.0 with minor fixes
* No significant changes made to the topic
2017-08-30 08:40:35 -07:00
Luke Latham 6b4fcd5365 Drop CodeSnippets sample (#4147)
Addresses #1950

AFAICT this sample is no longer used anywhere in the topics.
2017-08-30 08:39:29 -07:00
Luke Latham 90570653d4 Drop ConsoleApp1 and ClassLibrary1 samples (#4148)
Addresses #1950

These also look to be unused anywhere in the topics. Dropping also drops
a few more nasty `dnxcore50` references.
2017-08-30 08:35:26 -07:00
Luke Latham 3a0264a639 Drop Bundling+Minification sample (#4149)
Addresses #1950

AFAICT there's no reason to keep the old sample merely to show the
\<environment> tag helpers of the `_Layout.cshtml` file. Those tags are
in the new sample for the topic.
2017-08-30 08:33:40 -07:00
Bader Nasser Al-Hashmi 2d55d9a201 Add missing `<tr>` to snippet (#4150) 2017-08-30 08:31:48 -07:00
Cash Wu 1db592cd8f fix markdown error (#4141) 2017-08-29 09:06:18 -05:00
Tom 72783b218c Fix dead StackExchange.Redis link (#4142) 2017-08-29 09:02:50 -05:00
Rick Anderson d9ec19e545 macOS and Code version of intro to RP (#4037)
* macOS version of intro to RP

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* Changes to Razor Pages on macOS and VS Code (#4081)

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* fix

* fix

* fix

* fix
2017-08-28 19:54:12 -04:00
Rick Anderson d9e2c99c83 mac/xplat intro to mvc, update to 2.0 (#4131)
* mac/xplat intro to mvc, update to 2.0

* mac/xplat intro to mvc, update to 2.0

* fix

* fix

* fix

* fix

* fix

* fix
2017-08-28 16:30:32 -04:00
Wilka Hudson 8cafdd1dd4 Added generic param on AddEntityFrameworkStores (#4124)
The 2.0 version of AddEntityFrameworkStores still needs the DbContext type
2017-08-28 13:21:42 -05:00
Scott Addie abb2bb3228 TOC updates to Migration node (#4129) 2017-08-28 11:12:40 -05:00
Andrii Chebukin 30770c2fc1 Very important note about URL format (#4120)
* Very important note about URL format

I spent 4 hours finding what is wrong!
If you can you must highlight it with red font

* Update cors.md

* Update cors.md
2017-08-28 12:09:55 -04:00
Rick Anderson 3fddc2f2a7 Update middleware.md (#4130)
* Update middleware.md

* Update middleware.md
2017-08-28 11:48:12 -04:00
Isaac Levin 22ed8e662f [WIP] Migration Document for ASP.Net Framework to ASP.Net Core 2.0 (#3897)
* 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
2017-08-28 09:14:58 -05:00