Jonathan Channon
f2f643ad15
Updated XML documentation for HttpResponse.Body ( #816 )
2017-04-13 09:57:35 -07:00
Hao Kung
f6cf5293a0
Add challenge/forbid overloads for MVC
2017-04-12 16:03:35 -07:00
John Luo
0da88e0dda
Avoid double escaping in PathString
2017-04-06 13:29:06 -07:00
Hao Kung
13925be91e
Initial Auth 2.0 checkin
2017-03-31 11:56:20 -07:00
John Luo
2bdbbbf41d
UseMiddleware resolves InvokeAsync in addition to Invoke
2017-03-27 11:28:09 -07:00
Pranav K
b3b846c27e
Remove net451 as a cross-compile target
2017-03-24 11:46:13 -07:00
John Luo
49daa416ba
Use StringComparer.Ordinal
2017-03-22 14:45:46 -07:00
Doug Bunting
c9f12a23f8
Disable API Check in projects with untracked breaking changes
2017-03-22 08:33:55 -07:00
Derek Gray
d89f66f150
Use a CopyOnWriteDictionary in ApplicationBuilder so branches can set their own properties
...
Fix #783
2017-03-21 14:31:26 -05:00
Nate McMaster
73d58b7a13
Unify dependency versions to one file
2017-03-15 13:54:28 -07:00
kchanlee
1b02cd2baf
Implement `OwinEnvironment` `IEnumerable.GetEnumerator()` ( #789 )
2017-03-13 07:54:57 -07:00
Justin Van Patten
fc3af1ecfe
Remove explicit static constructors
...
Explicit static cctors cause the C# compiler to not mark types as
beforefieldinit, which means the JIT will add checks to each static
method and instance constructors of the type to make sure that the
static constructor was previously called. This can be avoided by
removing explicit static constructors and initializing static fields
inline.
2017-03-13 07:40:03 -07:00
John Luo
a1f4928ed5
Clean up Header qvalue parsing
2017-03-06 14:31:14 -08:00
Yves57
7440d5d29c
Remove allocations and improve Header Quality Values parsing performance
2017-03-06 14:31:13 -08:00
John Luo
15adff9433
Only format non-negative int64 #760
2017-02-28 14:47:08 -08:00
Nate McMaster
b9bba9cbb1
Downgrade to stable packages
2017-02-14 16:15:30 -08:00
David Fowler
945b4e63de
Added support for middleware activation via IMiddlewareFactory ( #773 )
...
* Added support for middleware activation via IMiddlewareFactory
- IMiddlewareFactory and IMiddleware are new extensiblity points for
activating and authoring middleware. Under the covers, middleware is still
very much just a function. This just provides a nice way to get a per request
activated middleware instance that is created and released via the IMiddlewareFactory.
The caveats are that middleware needs to be registered in the container (by default)
and that not possible to explicitly pass arguments directly via UseMiddleware.
- Added tests
2017-02-13 18:53:10 -08:00
Brian Chavez
6e01e642cb
Fixed typo in HttpContext.User XML doc. ( #771 )
2017-02-08 20:00:08 -08:00
Chris R
96f33b27d4
Migrate from xproj to csproj
2017-02-03 15:37:51 -08:00
Daniel Roth
2703835352
Fix doc comment typo
2017-02-01 06:36:45 -08:00
John Luo
3289afe007
Add check for index advance during parsing
2017-01-31 11:03:20 -08:00
Chris R
779115b1ad
#407 Add ContentLength to IHeaderDictionary
2017-01-24 15:14:46 -08:00
john
b7d2f8c905
separate GetEncodedUrl and GetEncodedPathAndQuery
2017-01-17 11:37:25 -08:00
john
6ac2452231
update xml doc
2017-01-17 11:37:25 -08:00
john
51f6415ea1
let UriHelper.GetEncodedUrl can get relative url
2017-01-17 11:37:25 -08:00
Chris R
622d112372
#723 Make HttpContextAccessor static AsyncLocal
2017-01-09 14:49:35 -08:00
Ben Adams
3b25acd4ad
ContentType.IsNullOrEmpty
2017-01-09 13:38:18 -08:00
John Luo
3ea2f36449
Fix wrong status code
2017-01-06 15:46:00 -08:00
John Luo
33dd1d965f
Add all status codes in IANA list and update reason phrases
2017-01-06 13:51:27 -08:00
John Luo
7d20ae2156
Add more status codes and reason phrases
2017-01-05 16:37:16 -08:00
John Luo
b34bfdd92d
Add 101 status code
2017-01-03 09:55:32 -08:00
Pranav K
991fbb08bc
Updating to 4.4 CoreFx packages
2016-12-14 14:47:29 -08:00
Andrius Bentkus
a12de2cfd9
Small typo fix
2016-12-09 14:17:47 -08:00
John Luo
d50a24145d
Add functionalities to HeaderUtilities
...
- Add allocation free parsing of int32, int64
- Improve performance of converting int64 to string
- Add parsing of seconds from header values
- Add check for existence of cache directives
- Expose CacheControlHeaderValue constants
2016-12-08 17:43:25 -08:00
Kiran Challa
aa158f5d25
Modified Base64UrlTextEncoder to reduce string allocations.
2016-11-16 13:43:56 -08:00
Pranav K
4fbb0b01fc
Updating versions to 1.2.0-*
2016-11-09 14:17:55 -08:00
jacalvar
db677639c3
Created public API baselines
2016-11-04 16:31:24 -07:00
Kiran Challa
4dcde8a329
Added Base64UrlTextEncoder utility from Security repo
2016-11-01 15:31:39 -07:00
Ben Adams
4569653504
Don't allocate for ResponseCookiesFeature
2016-10-07 10:01:42 -07:00
Kristian Hellang
063d6eca0f
Added custom RFC 1123 DateTimeFormatter to improve allocation profile ( #716 )
2016-10-05 12:19:15 -07:00
Pranav K
874dcebbcb
Updating partner package versions
2016-09-28 11:50:48 -07:00
Ben Adams
067eb9c6f8
Make FeatureReferences<T>.Fetch inlineable ( #704 )
2016-09-28 11:35:04 -07:00
Mikael Mengistu
35cde79e46
Renamed HttpMethod class to HttpMethods to avoid conflicts
2016-09-27 14:26:36 -07:00
Mikael Mengistu
626332c5db
Adding HTTP method constants
2016-09-26 23:09:08 -07:00
Pavel Krymets
18f08fdb2f
Use TaskCache class from Microsoft.Extensions.TaskCache.Sources ( #705 )
...
Instead of Task.FromResult(0)
2016-09-07 10:40:13 -07:00
Kiran Challa
30a4b09d9f
Fix CookieOptions.HttpOnly doc comment
2016-09-01 10:18:39 -07:00
John Luo
e4afd782e8
Add strong and weak ETag comparisons
2016-08-30 14:15:16 -07:00
John Luo
e2a0e887af
Add UsePathBase middleware
2016-08-16 16:18:36 -07:00
Justin Kotalik
69729bc75b
Perf to ToUriComponent
2016-08-10 16:26:33 -07:00
Justin Kotalik
a4a4e490c5
Addresses #678 and #679
2016-08-03 22:31:42 -07:00