Commit Graph

56 Commits (e334b21a46100490976d0f2434657d7da0575f5e)

Author SHA1 Message Date
Samson Amaugo 552819d0b8 edit 2022-09-29 13:42:04 +01:00
Samson Amaugo 65b88b9a91 multipleresulttypes 2022-09-29 13:39:58 +01:00
Rick Anderson e6e2fdc19d
remove auth from tests (#78) 2022-09-28 10:46:15 -10:00
Rick Anderson f31647481e
Update Program.cs 2022-09-27 12:33:20 -10:00
Rick Anderson ae3dc6e0d6
Pd18 (#75)
* fix snip

* add new snippet

* add new snippet
2022-09-27 12:05:38 -10:00
Rick Anderson 0abed56f1a
fix snip (#74) 2022-09-26 17:25:53 -10:00
Rick Anderson 5aef987605
pd17 (#73) 2022-09-26 16:59:19 -10:00
Fiyaz Bin Hasan 3b23fdc72f
work (#72) 2022-09-26 13:56:13 -10:00
Rick Anderson 9194e957b7
update snippets (#69) 2022-09-22 17:26:52 -10:00
Rick Anderson 4061c06d00
add new snippet (#68) 2022-09-22 16:42:19 -10:00
Rick Anderson 839b3d42de
update problem details sample (#67) 2022-09-22 16:12:01 -10:00
Fiyaz Bin Hasan 5dc9ca5902
initial commit (#66) 2022-09-22 06:56:21 -10:00
Rick Anderson 5a31172a61
clean up code (#65)
* clean up code

* clean up code
2022-09-21 12:18:19 -10:00
Rick Anderson 8dd4ff3147
update new controller (#64) 2022-09-21 11:50:56 -10:00
Samson Amaugo 05aa9ab952
Problemdetailsmiddleware (#63)
* added middleware feature

* removed statuscodepages

* formatted code

* Removed unnecessary middleware 😅

* setErrorType from handler

* setErrorType from handlers

* deleted the has path func

* fixed for middleware

* setting for controllers

* fixed iss for controllers 😎

* formatted code 😎

* Removed unnecessary middleware

* edit

* added third controller

* added back code

* code reset
2022-09-21 11:32:33 -10:00
Rick Anderson 76ad1295a5
fix code (#62) 2022-09-20 16:09:47 -10:00
Rick Anderson d93184b0bb
Pd9 (#61)
* Add controller to middleware example

* fix code
2022-09-20 14:54:56 -10:00
Rick Anderson 3d61ef0900
Add controller to middleware example (#59) 2022-09-20 11:07:59 -10:00
Rick Anderson e4ca4dcc09
format snippet (#58) 2022-09-19 17:01:37 -10:00
Rick Anderson 2361e29610
update sample (#57) 2022-09-19 16:27:45 -10:00
Rick Anderson 4f1f7edbd4
fix snippet (#56) 2022-09-19 15:53:13 -10:00
Rick Anderson 42ffdd7650
format problem details (#55) 2022-09-19 15:34:09 -10:00
Rick Anderson d2c6359165
short problems sample (#54) 2022-09-19 14:32:07 -10:00
Rick Anderson 4a82e87929
problem details code clean up (#53) 2022-09-19 14:05:18 -10:00
Samson Amaugo 417877e51e
Problemdetailsmiddleware (#42)
* added middleware feature

* removed statuscodepages

* formatted code

* Removed unnecessary middleware 😅

* setErrorType from handler

* setErrorType from handlers

* deleted the has path func

* fixed for middleware

* setting for controllers

* fixed iss for controllers 😎

* formatted code 😎

* Removed unnecessary middleware
2022-09-14 16:06:37 -10:00
Rick Anderson 2b73a19515
remove record (#44) 2022-09-12 12:48:20 -10:00
Rick Anderson eb9bbe8b26
update records (#43) 2022-09-12 12:11:23 -10:00
Martin Costello 8be68558af
Update [AsParameters] example (#41)
Change to use a struct and a class instead of all being records.
2022-09-11 11:06:49 -10:00
Rick Anderson 3ebbb8baf4
Problem details refactor (#39)
* Problem details refactor

* Problem details refactor

* Problem details refactor

* Problem details refactor

* Problem details refactor
2022-09-09 11:11:17 -10:00
Samson Amaugo 43159fca08
Problemdetailsmiddleware (#40)
* added middleware feature

* removed statuscodepages

* formatted code
2022-09-08 20:14:44 -10:00
Samson Amaugo 49cf47c420
Problemdetailsmiddleware (#38)
* added middleware feature

* removed statuscodepages
2022-09-08 17:47:17 -10:00
Rick Anderson 5c2d63d79a
Format problem details (#36)
* problem details formatting

* Moniker prep for Problem Details
2022-09-08 16:52:59 -10:00
Rick Anderson 21fdbf522f
problem details formatting (#35) 2022-09-08 08:04:44 -10:00
Samson Amaugo b07d2c5805
Problem detail service middleware sample code (#25)
* created project

* edited file

* edited file

* changed to project name

* changed file name

* created mathErrorFeature variable

Co-authored-by: Bruno Oliveira <brunolins16@users.noreply.github.com>

* use of switch expressions

Co-authored-by: Bruno Oliveira <brunolins16@users.noreply.github.com>

* use statuscodepages

Co-authored-by: Bruno Oliveira <brunolins16@users.noreply.github.com>

* switched to using the statuscodepages middleware

* change to sync

Co-authored-by: Bruno Oliveira <brunolins16@users.noreply.github.com>

* change to sync

Co-authored-by: Bruno Oliveira <brunolins16@users.noreply.github.com>

* change to sync

Co-authored-by: Bruno Oliveira <brunolins16@users.noreply.github.com>

* change to sync

Co-authored-by: Bruno Oliveira <brunolins16@users.noreply.github.com>

* added features extension

* dotnet format

* dotnet format

* changed casing in proj

Co-authored-by: Bruno Oliveira <brunolins16@users.noreply.github.com>

* changed casing of csproj

Co-authored-by: Bruno Oliveira <brunolins16@users.noreply.github.com>
2022-09-01 15:57:59 -10:00
Rick Anderson fa0a822f2b
format (#32) 2022-09-01 15:31:31 -10:00
Rick Anderson 83cbfdcc8a
more code formats (#31)
* more code formats

* more code formats
2022-09-01 15:24:22 -10:00
Rick Anderson bef98a31c8
format sample (#30) 2022-09-01 15:11:22 -10:00
Rick Anderson e413883cb9
2param binding min api (#29)
* sample clean up

* sample clean up
2022-09-01 15:01:19 -10:00
Rick Anderson 2ff85f5d80
sample clean up (#28) 2022-08-31 16:24:23 -10:00
Rick Anderson e5b2cac112
Param binding refactor (#27) 2022-08-31 15:14:32 -10:00
Martin Costello 17e4c47647
Add sample for Minimal API argument lists (#26)
Add code sample for dotnet/AspNetCore.Docs#26540.
2022-08-29 11:57:52 -10:00
Rick Anderson d3be4c3413
format rate limit code (#24) 2022-08-24 12:37:33 -10:00
Rick Anderson 489476ae57
Format rate limiting code (#23)
* RejectionStatusCode

* code format
2022-08-24 12:28:51 -10:00
Rick Anderson bae4c1836f
RejectionStatusCode (#22) 2022-08-23 17:55:21 -10:00
Rick Anderson 87b52884d1
Clean up Rate Limit sample (#19) 2022-08-23 17:00:59 -10:00
Rick Anderson b2be189aa1
Rate limit clean up. (#18)
* Rate limiter code formatting

* remove CreateNoLimiter

* remove CreateNoLimiter
2022-08-22 19:33:10 -10:00
Rick Anderson 9db0c7dd65
Rate limiter code formatting (#17) 2022-08-21 14:33:47 -10:00
Rick Anderson 266024f802
fix snippets in rate limiter code (#16) 2022-08-19 17:03:52 -10:00
Rick Anderson c8f1948cbf
Delete fundamentals/middleware/rate-limit/ratelimit-service directory (#15) 2022-08-19 13:35:07 -10:00
Rick Anderson c563496f15
rate limit sample (#13)
* rate limit sample

* Update fundamentals/middleware/rate-limit/WebRateLimitAuth/Program.cs

Co-authored-by: Brennan <brecon@microsoft.com>

* react to feedback

* react to feedback

* react to feedback

* Update fundamentals/middleware/rate-limit/WebRateLimitAuth/Program.cs

Co-authored-by: Kahbazi <akahbazi@gmail.com>

* react to feedback

* react to feedback

* react to feedback

* react to feedback

* react to feedback

* react to feedback

* react to feedback

* react to feedback

* react to feedback

* react to feedback

* react to feedback

Co-authored-by: Brennan <brecon@microsoft.com>
Co-authored-by: Kahbazi <akahbazi@gmail.com>
2022-08-19 13:31:02 -10:00