Commit Graph

52 Commits (f928bcc4289253fc7ece4bb251ac91a4a0ecf2e0)

Author SHA1 Message Date
Rick Anderson 66e783bcad
Update Program.cs (#246) 2024-01-18 10:24:55 -10:00
Tim Deschryver 3d17688a07
fix typo in problem-details-service (#171) 2023-08-23 16:02:39 -10:00
Rick Anderson 62700a4c22
Update Program.cs 2023-05-17 15:17:44 -10:00
Samson Amaugo 1bd99457aa
added sampleproblemdetailswriter sample
Signed-off-by: Samson Amaugo <sammychinedu2ky@gmail.com>
2023-05-13 11:20:08 +01:00
Rick Anderson b2fd1ce0b4
Update streaming Readme /1 (#107)
* Update streaming Readme /1

* Update fundamentals/streaming/README.md
2023-02-03 12:07:44 -10:00
Fiyaz Bin Hasan 5e092f4af1
Update Program.cs (#105) 2022-10-31 12:43:58 -10:00
Rick Anderson 6ce135eded
R l3 (#103)
* update snippets

* update snippets
2022-10-14 16:47:07 -10:00
Rick Anderson 3e4ab6ad48
update snippets (#102) 2022-10-14 14:54:16 -10:00
Rick Anderson c2a3007465
Add more rate limiter samples (#101)
* Add more rate limiter samples

* Add more rate limiter samples
2022-10-14 14:18:37 -10:00
Fiyaz Bin Hasan a3d1c88af2
Rate Limiter Service (#97)
* work

* rename HomeController back to Home2Controller

* call to app.UseRateLimiter()
2022-10-13 11:07:15 -10:00
Rick Anderson 2da2b854e9
Pd33 (#95)
* add comments

* add comments
2022-10-11 13:35:53 -10:00
Rick Anderson f55abce743
add comments (#94) 2022-10-11 13:32:50 -10:00
Rick Anderson 7feed8800f
IProblemDetailsWriter (#93) 2022-10-11 13:05:14 -10:00
Maarten Balliauw 38d9c10d48
Update rate limiting demo to .NET 7 RC1 (#82) 2022-09-30 11:18:28 -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
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
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 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 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
Rick Anderson b9476e0d97
Rename readme.txt to readme.md 2022-08-18 13:40:13 -10:00