Commit Graph

54 Commits (2b4c72a0296c21147cea4b0afe74dfbe4e991891)

Author SHA1 Message Date
Joan Pujol 4295e26c8a
Update DepartmentsController.cs (#23398)
FromSql is no longer supported. You must replace it with FromSqlRaw
2021-10-11 11:37:29 -10:00
Joan Pujol 5fb60f44ff
Update CoursesController.cs (#23401)
ExecuteSqlCommandAsync is obsolete. Must be replaced by ExecuteSqlRawAsync
2021-10-11 11:37:06 -10:00
Joan-Pujol 61a0f2b89c
Update SchoolContext.cs (#23390)
Changed the ToTable for Student from "Student" to "Person". Same for Instructor.
Otherwise and error is raised
2021-09-27 09:39:20 -07:00
Rick Anderson a8918f686f
Update Startup.cs (#22780)
* Update Startup.cs

* Update crud.md
2021-07-20 15:08:07 -07:00
Fiyaz Bin Hasan 0298e5896e
sample and doc update (#22548) 2021-06-16 06:22:57 -07:00
Scott Addie 09e3573c75 Finish default branch renaming work 2021-03-09 22:40:27 -06:00
Scott Addie 95780eb7da
Update Bootstrap CSS class name in EF/MVC tutorial (#21166) 2021-01-08 18:11:44 -06:00
Rick Anderson 2800110609
5.0 update for EF/MVC (#20395)
* 5.0 update for EF/MVC

* 5.0 update for EF/MVC

* 5.0 update for EF/MVC

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work
2020-11-04 17:38:16 -10:00
Raredall 03756f1859
Update CoursesController.cs (#19683)
重定向代码位置错误,应该在保存更改后重定向
2020-08-27 14:04:00 -07:00
ChristopheVanassche 29e4aa305d
Fix typo (#19472)
"currentFilter" should be using capital "C"
2020-08-11 10:04:31 -05:00
Rick Anderson 32a8f9ecc3
Clean up EF/MVC EF/RP (#18164)
* Clean up EF/MVC EF/RP

* Clean up EF/MVC EF/RP
2020-05-07 07:14:14 -10:00
Scott Addie 9174ead0d3
Update aspnet org. links to reference the dotnet org. (#17077)
* Update aspnet org. links to reference the dotnet org.

* Update API ref links
2020-02-20 19:37:35 -06:00
Tom Dykstra f13d94aff5
page --> pageNumber in dynamic linq snippet (#12308) 2019-05-06 15:32:12 -07:00
Luke Latham 217c6f3604 React to repo name change in repo links (#12152) 2019-04-24 14:04:39 -10:00
Tom Dykstra 691bc83e53 update for 2.2 2019-03-27 13:48:37 -07:00
Tom Dykstra 8b557d40e5 concurrency fixes 2019-03-27 13:28:09 -07:00
Tom Dykstra 37458a2bd3 related data update fixes 2019-03-27 13:00:43 -07:00
Tom Dykstra c5277c893a paging fixes 2019-03-27 10:18:58 -07:00
Tom Dykstra c999a09c9a single-->firstordefault 2019-03-27 09:36:22 -07:00
Tom Dykstra 2693b3eee2 update to 2.2 2019-03-26 15:04:58 -07:00
Tom Dykstra 819add6760 corrections 2019-03-26 14:23:22 -07:00
Nikita Potapenko 222f776962 Fix typo (#11640)
Fixes #11537
2019-03-22 20:33:10 -10:00
Paul Goldman 0401c6d3c1 Updated code & screenshots for /aspnetcore/data/ef-mvc/ tutorials (#10802)
* screenshots

* ASP.NET MVC tutorial 2.2

* updates

* Minor updates

* minor edits

* minor edits

* minor edits

* minor edits

* minor edits

* Shorter title

* Shortened title

* Shortened title

* Shortened title

* Shortened title

* Shortened title

* Shortened title

* Shortened title

* Shortened title

* Shortened title

* Acknowledgements- John Parente and me

* Better acknowledgements
2019-02-11 20:10:33 -08:00
Rick Anderson 0ee6b101d9
delete map and min files (#9310) 2018-10-31 14:26:48 -10:00
Luke Latham 5704de168e Implicit versioning of the All package (#9223)
Fixes #9219 

@JunTaoLuo Dan calls out the implicit versioning "for 2.1 SDK or later;" however, we don't usually version the doc content by SDK release. We might need to say something for this update in the passage that I'm adding to the All topic (*aspnetcore/fundamentals/metapackage.md*) about which SDK version this applies to. I don't know if that's something that you would like to do or what version to call out.

I also remove the version from the samples. We also assume that devs are using the latest SDK with our samples.
2018-10-25 15:16:50 -10:00
Luke Latham 46f41d4774
Update All and App package versions (#8513) 2018-09-13 11:39:23 -05:00
Luke Latham 1a0f79a8fe
Update All/App package version (#8489) 2018-09-11 08:53:03 -05: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
Rick Anderson 933bb4db4f
Update _Layout.cshtml (#4723)
remove legacy AI script call
@Html.Raw(JavaScriptSnippet.FullScript)
2017-11-03 07:48:02 -10: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
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 2cfae19cdb Use `nameof` instead of magic strings in the samples (#4100) 2017-08-25 15:11:14 -04:00
Tom Dykstra 40beeaa3a6 EF MVC for 2.0 (#4000) 2017-08-17 11:36:07 -07:00
Mark MacLin fc54595c70 use correct github url in link to project source code (#3920)
The final source code and a snippet referenced in "EF Core with ASP.NET Core MVC" tutorial needs correct url,
currently:  "https://github.com/aspnet/Docs/tree/master/aspnet/data/ef-mvc/intro/samples/cu-final"
should be:
"https://github.com/aspnet/Docs/tree/master/aspnetcore/data/ef-mvc/intro/samples/cu-final"
2017-08-10 10:06:24 -04:00
Rick Anderson c23f9b383b remove /en-us/ (#3670) 2017-07-10 12:20:50 -06: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 1c7febf6b2 remove redundant code (#3267) 2017-04-25 15:48:31 -07:00
Tom Dykstra 2128a5d8a1 Add dynamic linq to EF MVC tutorial (#3214) 2017-04-20 09:16:35 -07:00
Tom Dykstra b5e506801f EF MVC corrections (#3209) 2017-04-12 09:41:27 -07:00
Tom Dykstra d516c5deb8 revise readme in EF MVC core snippets project (#3028) 2017-03-22 08:39:34 -07:00
Tom Woodforde 19e3aa194b Correct the path to the demo project and add database instructions (#3021)
* Correct the path to the demo project and add database instructions

* revise wording
2017-03-21 09:21:12 -07:00
Tom Dykstra 14686ab8d9 Clarify eager loading code (#3013) 2017-03-20 14:05:56 -07:00
Tom Dykstra c9d2009574 remove superfluous code (#3005) 2017-03-18 11:27:37 -07:00
Tom Dykstra 115a74c97d Update EF/MVC tutorial to use no-auth template (#2951)
* switch to no-auth

* update csproj

* typos and migrations changes

* remove sql design package

* additional notes

* trim nuget section, add troubleshooting note

* change join entity nav ppty names

* clarify wording

* many-to-many description

* correct errors

* minor corrections

* misc corrections

* corrections and clarifications

* fix snippet ranges

* more snippet ranges

* note that ef design packages are installed

* dates

* update final version of sample project

* correction in .csproj

* restore readme
2017-03-16 08:49:41 -07:00
Tom Dykstra 9b18d5179c ViewBag --> ViewData (#2881)
* Update Index2.cshtml

* update About.cshtml

* Update Index3.cshtml
2017-03-06 09:36:00 -08:00
Tom Dykstra 69f7e12b7c minor corrections (#2863) 2017-03-06 09:36:00 -08:00
Tom Dykstra 8bcdd4e36f csproj and vs 2017 updates to ef mvc core tutorial (#2794) 2017-03-06 09:20:56 -08: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
Tom Dykstra d7a1ff2d4e propagate #2247 change to cu-final (#2276)
Add an optional extended description…
2016-11-30 09:11:24 -08:00
Lee Dumond b0271a9126 Fix null reference exception (#2247)
Line 146 runs inside of a block for which departmentToUpdate == null. Therefore, the attempt to read departmentToUpdate.InstructorID leads to a null reference exception.

The code is re-displaying the properties of the deletedDepartment, so the selected member of the select list should be deletedDepartment.InstructorID
2016-11-28 14:10:18 -08:00