Commit Graph

18 Commits (d3addbbb02e6d837153c4041b6da31df82515207)

Author SHA1 Message Date
EpicMo 14c595a270
fix: #27917 (#29182)
* fix: #27917

* fix
2023-05-06 09:00:18 -10:00
Alex Buck 167954e87d
[BULK UPDATE] DocuTune - Rebranding links (#27044)
* [BULK UPDATE] DocuTune - Rebranding links

* Update cascading-values-and-parameters.md
2022-09-20 14:37:02 -10:00
Rick Anderson 39b7df2ca8
Remove .min ref from all non-Blazor projects /2 (#26216) 2022-06-23 15:27:45 -10:00
Rick Anderson 53a8555e09
Fix trans middleware DI sample/1 (#25804)
* Fix trans middleware DI sample/1

* Fix trans middleware DI sample/1

* Fix trans middleware DI sample/1
2022-05-05 14:00:24 -10:00
Rick Anderson 915694b3fe
fix sample (#23990) 2021-11-19 08:40:17 -10:00
Rick Anderson f6b9a092b5
V6 of DI /5 (#23211)
* V6 of DI /5

* V6 of DI /5

* V6 of DI /5

* V6 of DI /5

* V6 of DI /5

* V6 of DI /5

* V6 of DI /5

* V6 of DI /5

* V6 of DI /5

* V6 of DI /5

* V6 of DI /5

* V6 of DI /5

* V6 of DI /5

* V6 of DI /5

* V6 of DI /5

* Update aspnetcore/fundamentals/dependency-injection.md

Co-authored-by: Stephen Halter <halter73@gmail.com>

* respond to feedback

Co-authored-by: Stephen Halter <halter73@gmail.com>
2021-10-13 12:06:34 -10:00
Kirk Larkin a57c0d5a06
General DI updates (#19515)
* General DI updates

* A few more sections

* Another small section

* More sections

* Small tweaks to previous commit

* Another section (2 left)

* Almost there (1 left)

* Final section

* A few final? touches

* A few final? touches
2020-08-20 13:39:01 -10:00
Rick Anderson 37660a2e38
Anti pattern di/ra/xboxeer (#19468)
* Add anti-patterns example in DI recommendations 

According to https://github.com/dotnet/AspNetCore.Docs/pull/19156, we'd like to add a new anti-patterns to DI recommendations in DI docs. The reason is in Stackoverflow, some community member is suggesting to call BuildServiceProvider to resolve service instance in ConfigureService method(https://stackoverflow.com/questions/31863981/how-to-resolve-instance-inside-configureservices-in-asp-net-core), which will result to couple issues as described in this PR. So it is better to add this as an anti-patterns in recommendations and provide an alternative way to address developers requirement.

* Add ✔️and before correct and incorrect

Add ✔️and before correct and incorrect

* xboxeer anti-pattern DI PR

* clean up

* clean up

* clean up

* clean up

* clean up

* clean up

Co-authored-by: Elendil <yuzheng1@microsoft.com>
2020-08-11 21:52:38 -10:00
Rick Anderson dc1237f61b
DI rewrite (#19271)
* DI Antipatterns

* DI Antipatterns

* DI Antipatterns

* DI Antipatterns

* DI Antipatterns

* DI Antipatterns

* DI Antipatterns

* DI Antipatterns

* DI Antipatterns

* DI Antipatterns

* DI Antipatterns

* DI Antipatterns

* DI Antipatterns

* DI Antipatterns

* DI Antipatterns

* DI Antipatterns

* DI Antipatterns

* DI Antipatterns

* DI Antipatterns

* work

* work

* work

* work

* work

* work

* work

* work

* DI Antipatterns

* DI Antipatterns

* DI Antipatterns

* DI Antipatterns

* DI Antipatterns

* DI Antipatterns

* react to feedback

* react to feedback

* Apply suggestions from code review

Co-authored-by: Kirk Larkin <6025110+serpent5@users.noreply.github.com>

* react to feedback

* react to feedback

* react to feedback

* react to feedback

* react to feedback

* react to feedback

* react to feedback

Co-authored-by: Kirk Larkin <6025110+serpent5@users.noreply.github.com>
2020-08-11 21:42:11 -10:00
Luke Latham 4a16dc236d
3.1 Sample Updates (#16170) 2019-12-12 17:31:22 -06:00
Luke Latham 259dcfeca2 DI topic updates for 3.0 (#14471)
* DI topic updates for 3.0

Updates

* React to feedback

* AddControllersWithViews over UseMvc for 3.0 Autofac example

* Nits

* Link out for container replacement scenarios

* Content for Generic Host Startup injection
2019-09-24 09:31:50 -10:00
Luke Latham b93ab83fb6 Pascal case placeholder names in log strings (#14508)
* Pascal case placeholder names in log strings

* Updates
2019-09-23 14:11:50 -10:00
Luke Latham 1013d66639 Drop unused sample apps (#13041) 2019-06-28 12:50:50 -05:00
Luke Latham 021cb52aaa DI topic and sample update to 2.2 (#11729) 2019-03-28 11:04:51 -10:00
Rick Anderson 0ee6b101d9
delete map and min files (#9310) 2018-10-31 14:26:48 -10:00
Luke Latham 8e6dd4a7f4 Drop version from App package (#8881)
Addresses #8579 

I might be getting the hang of **_find and replace_** now. 😝

This doesn't touch a couple that ref 2.2.0. I'll tidy those up on https://github.com/aspnet/Docs/issues/8518 after 2.2 RTM.
2018-10-06 17:10:28 -10:00
Luke Latham 46f41d4774
Update All and App package versions (#8513) 2018-09-13 11:39:23 -05:00
Luke Latham 940ea3c502 Dependency injection topic and sample updates (#7412)
* Dependency injection topic and sample updates

Updates

Updates

Updates

Updates

* React to feedback

* React to feedback

* Update

* Update ctor injection behavior section (6331)

* React to feedback

* React to feedback

* Link updates

* React to feedback

* React to feedback

React to feedback

Updates

* React to feedback

* Ping me for feedback

* Describe ActivatorUtilities

* Update

* Crosslink repository pattern
2018-07-28 16:49:23 -06:00