Chris Ross
b5156a00b3
Argument validation cleanup.
2014-11-14 15:14:16 -08:00
Chris Ross
ba693dd383
Code cleanup.
2014-11-14 15:11:41 -08:00
Chris Ross
1dd3a2ee1f
#147 - OWIN: Throw KeyNotFoundException if the underlying Feature is missing. Return defaults for required entries.
2014-11-14 15:11:40 -08:00
Victor Hurdugaci
76bb27e5d3
Update KProj to the latest format
2014-11-12 15:09:59 -08:00
Chris Ross
389e27e460
#134 - Add HeadersSent api.
2014-11-06 10:59:52 -08:00
Louis DeJardin
b7d9e11a84
Middleware invokation with per-request services
...
* Extension methods for .Use<TService1, ...> and
.Run<TService1, ...> add service parameters to lambda
* Middleware class .Invoke method may take services as
additional parameters
2014-11-05 13:32:25 -08:00
Chris Ross
02aa1c50ff
#28 - Add Helper for building Uris.
2014-11-05 09:50:27 -08:00
David Fowler
3bbdce3511
Added package descriptions
2014-10-31 01:38:05 -07:00
Chris Ross
114d834876
Add Session feature, object model, etc..
2014-10-20 08:49:49 -07:00
Chris Ross
dc600a636a
Support removing features from FeatureCollection.
2014-10-20 08:49:44 -07:00
Stephen Halter
2352bd7ca3
Change GetService calls to GetRequiredService
...
GetRequiredService throws for missing services like GetService used to.
2014-10-17 15:09:27 -07:00
Chris Ross
dcb710cfbe
Update Claims dependency.
2014-10-17 09:47:52 -07:00
Chris Ross
8bd068f4a6
Move UseMiddleware from RequestContainer to Http.Extensions.
2014-10-15 09:39:12 -07:00
Levi B
0f2b9b3701
Add Base64UrlEncode / Base64UrlDecode.
2014-10-14 16:12:51 -07:00
Pranav K
dc04ff843c
Reacting to CLR package versioning changes
2014-10-10 10:32:48 -07:00
Chris Ross
f5577c589e
#130 - Remove semi-colon support from query parsing.
2014-10-08 14:25:59 -07:00
David Fowler
20de1d0597
Fix up references
2014-10-05 05:08:26 -07:00
Pranav K
38e085e3ef
Removing out var usage
2014-10-01 14:26:20 -07:00
Chris Ross
c2934912af
#121 - Make the query parsing API public.
2014-09-23 15:13:08 -07:00
Chris Ross
3811f47b23
Use out var syntax.
2014-09-15 09:13:27 -07:00
Chris Ross
0bfe3c14db
Port AuthProperties.AllowRefresh from Katana.
2014-09-12 12:42:36 -07:00
Pranav K
547d77778e
Reacting to System.Text.Encoding package version change
2014-09-11 10:06:46 -07:00
Chris Ross
335895d9b4
#122 - Rename IBuilder to IApplicationBuilder.
2014-09-10 11:45:02 -07:00
David Fowler
90dad40029
Updated to use the new target framework in project.json
2014-09-04 01:27:14 -07:00
David Fowler
aac0ce134c
Updated to use the new target framework in project.json
2014-08-28 23:31:29 -07:00
Chris Ross
1aed739edb
WebUtilities: Add more query helpers.
2014-08-22 09:04:30 -07:00
Chris Ross
bc0732f900
Code cleanup.
2014-08-21 12:13:26 -07:00
Chris Ross
ddc7f08957
#116 - Add IBuilder.Properties collection.
2014-08-20 12:39:28 -07:00
Chris Ross
7230a3d78e
Add form and query helpers needed for Facebook auth.
2014-08-20 12:39:24 -07:00
Pranav K
e2a3f1455b
Reacting to System.IO package version change
2014-08-20 06:56:33 -07:00
David Fowler
274f20a383
Removed source files from the project
2014-08-15 08:14:48 -07:00
Chris Ross
6d45f817f9
Make new overloads virtual.
2014-08-07 15:58:26 -07:00
Chris Ross
22f3d52762
#111 - Change Challenge, SignIn parameter order to support params.
2014-08-07 15:21:02 -07:00
Chris Ross
7be9cefc4c
QueryBuilder Add overload for IEnumerable.
2014-07-24 16:24:44 -07:00
Chris Ross
af279f6d2b
#65 Add a QueryBuilder.
2014-07-24 09:10:34 -07:00
harshgMSFT
80ffd26465
Adding abstractions for request headers
...
viz. Accept, Accept-Charset and Content-Type.
2014-07-23 14:54:15 -07:00
Chris Ross
384d54577e
Remove unused field.
2014-07-23 09:14:34 -07:00
Chris Ross
0ba1731928
Add more feature constructors.
2014-07-17 09:57:27 -07:00
Chris Ross
dc055f783a
#91 Add constructors to Form, Query, and Cookie features for testing.
2014-07-16 16:12:46 -07:00
Chris Ross
dd7537de4a
#103 Fix ambigious Keys property on IHeaderDictionary.
2014-07-16 12:11:51 -07:00
Pranav K
8ab566e049
Reverting version change to ComponentModel
2014-07-14 15:35:04 -07:00
Pranav K
ccbf458f71
Reacting to System.Collections version change
2014-07-14 15:27:24 -07:00
Pranav K
6c94e0317b
Reacting to System.Collections version change
2014-07-14 15:07:44 -07:00
David Fowler
8f39f6d4b5
Renamed configurations to frameworks in project.json
2014-07-13 21:50:53 -07:00
Chris Ross
1074fc102a
OWIN WebSockets: Cleanup, docs, extension methods.
2014-07-09 17:19:41 -07:00
Chris Ross
b1c82c0066
#96 Enable AspNet->Owin WebSockets.
2014-07-09 10:03:13 -07:00
Chris Ross
31edabdfcb
#96 Enable Owin->AspNet WebSockets.
2014-07-09 10:03:11 -07:00
Chris Ross
1ece87ef68
Fix mispelled class name.
2014-07-09 09:28:40 -07:00
Chris Ross
578518d5c4
#66 Add response writing extensions.
2014-07-08 09:34:57 -07:00
Chris Ross
5bf4883cd9
#91 Provide a default constructor for DefaultHttpContext.
2014-07-07 10:48:07 -07:00
Chris Ross
9028c6a1a5
#88 Rename IHttpOpaqueUpgradeFeature to IHttpUpgradeFeature.
2014-07-03 11:59:22 -07:00
Chris Ross
10d8b1015e
#69 Make auth APIs use IEnumerable instead of IList.
2014-07-03 09:55:10 -07:00
Chris Ross
bc2cf1223e
#89 - Rename OnRequestAborted to RequestAborted.
2014-07-01 16:24:27 -07:00
Chris Ross
05a275faae
OWIN: #87 Make IHttpAuthenticationFeature.Handler not throw.
2014-06-30 11:06:32 -07:00
Chris Ross
13f4c242ab
Rename T to TFeature, Creator to Factory.
2014-06-27 09:52:56 -07:00
Chris Ross
f4a397dfcc
OWIN: Support dynamically creatable features.
2014-06-27 09:21:06 -07:00
Chris Ross
f5173e44ae
Expand feature support for OWIN->K.
2014-06-27 09:21:04 -07:00
Chris Ross
df730a47a9
Rename CancellationToken parameter.
2014-06-26 10:11:29 -07:00
Chris Ross
55e491e354
Make CancellationToken a default param.
2014-06-26 09:32:54 -07:00
Chris Ross
ff31b958fe
#80 - Add CancellationToken to GetClientCertAsyc, GetFormAsync.
2014-06-26 09:32:44 -07:00
Chris Ross
82f72581c9
Add an explict Count to IHeaderDictionary to resolve ambiguity.
2014-06-24 15:47:08 -07:00
Chris Ross
f08b6a8d53
#3 - Add Count, Keys, and ContainsKey to IReadableStringCollection
2014-06-24 14:51:51 -07:00
Brice Lambson
7f1135cec3
Bump version to 1.0.0-*
2014-06-19 16:33:18 -07:00
Chris Ross
b6f4207b3b
#70 - Refactor client cert feature interface.
2014-06-19 11:46:13 -07:00
Chris Ross
2ae3a24a16
Remove CallCancelled property. Fix Owin query string. Add Owin user. Add Owin tests.
2014-06-19 09:02:49 -07:00
Chris Ross
434a128f1a
Rename AcceptWebSocket to AcceptWebSocketAsync.
2014-06-13 08:37:23 -07:00
Chris Ross
b9d7561bf9
Enable WebSocket and Opaque features.
2014-06-12 15:05:58 -07:00
David Fowler
124749de28
Fixed project.json casing
2014-05-26 02:49:34 -07:00
David Fowler
57717dd325
Fixed casing of project.json
2014-05-25 10:04:11 -07:00
David Fowler
e5724c7301
Renamed Project.json to Project.json2
2014-05-25 10:04:11 -07:00
Pranav K
aa9b259da7
Updating kproj file to match tooling changes
2014-05-18 20:13:55 -07:00
Andrew Peters
00d49bbd60
Updating copyright headers
2014-05-08 23:01:09 -07:00
David Fowler
efc77e60e0
More fallout from the rename
2014-05-08 10:08:17 -07:00
Chris Ross
4e36207b14
Owin adapter: Fix FeatureMap constructor visibility.
2014-05-06 15:08:50 -07:00
Chris Ross
8b26f1d319
Move IBuilder and related components to the Ms.AspNet.Builder namespace.
2014-05-05 21:05:21 -07:00
Chris Ross
0ecb989103
Name Microsoft.AspNet.Abstractions to Microsoft.AspNet.Http.
2014-05-05 16:04:53 -07:00
Chris Ross
7fd80850ee
Rename all feature interfaces to I*Feature.
2014-05-05 14:33:41 -07:00
Chris Ross
f11e62d0ef
Update reflection dependency.
2014-05-05 10:20:46 -07:00
anpete
35f921856f
Update file headers
2014-05-01 17:39:31 -07:00
Wei Wang
ce0e1128d5
Make HTTP feature interfaces assembly neutral
2014-04-30 11:46:23 -07:00
Chris Ross
98f4212915
#20 - Add Use extension for inline middleware.
2014-04-30 11:35:49 -07:00
Chris Ross
5557b959c4
#20 - Port Map and MapWhen. Move Run.
2014-04-30 11:35:45 -07:00
Chris Ross
cfe76de294
#53 - Reduce auth exceptions for missing handlers.
2014-04-28 16:18:58 -07:00
Chris Ross
78bb008681
#38 - Provide a default dictionary for HttpContext.Items that returns null for missing values.
2014-04-24 16:27:18 -07:00
Chris Ross
8ad7b489e2
#18 - Add interfaces for request lifetime management.
2014-04-24 14:44:50 -07:00
Chris Ross
b751cf19d0
#34 - Make HttpContext.User return non-null.
2014-04-24 12:43:15 -07:00
Chris Ross
66495cdc58
Add missing namespace.
2014-04-23 14:15:41 -07:00
Chris Ross
4a5de61cd1
OWIN: Change interop extension methods.
2014-04-23 12:01:25 -07:00
Chris Ross
a04d592d06
OWIN->K and K->OWIN support via Func<AppFunc, AppFunc>.
2014-04-21 16:26:15 -07:00
David Fowler
e3afbae213
Remove the converter logic
2014-04-19 02:27:49 -07:00
Chris Ross
28fbacc7f4
Remove #if NET45s for IPAddress, X509Certificate.
2014-04-18 08:51:59 -07:00
David Fowler
03b089abe0
Renamed Builder.ServiceProvider to Builder.ApplicationServices
...
- Made things consistent with HttpContext.ApplicationServices
2014-04-17 22:08:47 -07:00
Chris Ross
f12117fe1f
Remove temp IAppBuilder support.
2014-04-15 11:28:42 -07:00
Pranav K
c31e0f295f
Removing unused Owin packages that are causing build failure
...
* Adding Microsoft.AspNet.AppBuildSupport.Tests to sln
2014-04-12 13:57:49 -07:00
Chris Ross
165effebde
Abstractions: Pull in k10 dependency for IdnMapping.
2014-04-11 10:52:45 -07:00
David Fowler
a8a47a0489
Removed all assembly infos.
2014-04-08 09:25:29 -07:00
David Fowler
7e7c940c63
Updated to use the new tooling
2014-04-08 01:10:29 -07:00
Pranav K
f4904e1803
Fixing PathString.Add(PathString) to handle trailing slashes correctly
...
Fixes #31
2014-04-03 12:55:45 -07:00
sornaks
9f3433acec
WebFX 156 - Introducing RedirectPermanent.
...
Merging RedirectPermanent to Redirect.
2014-04-02 15:24:20 -07:00
Chris Ross
ee37c75544
Rename Auth Context API Ack to Accept
2014-04-01 17:08:09 -07:00
Chris Ross
dfc0c5d323
Change GetAuthType to use a context object instead of a delegate.
2014-04-01 16:29:47 -07:00
Chris Ross
c638c74bc9
Move AuthManager methods to Context and Response.
2014-04-01 16:03:54 -07:00
Chris Ross
63dc9ad719
Auth: Remove GetAuthType predicate overload.
2014-03-31 12:00:55 -07:00
Chris Ross
60d892b529
Revert new project dependnecy.
2014-03-31 11:28:27 -07:00
Chris Ross
097138e813
Auth: Validate acks.
2014-03-31 11:12:22 -07:00
Chris Ross
4347ddfd0f
Security contracts.
2014-03-31 11:12:20 -07:00
Pranav K
eaddb29577
Updating CoreCLR package versions
2014-03-28 06:03:23 -07:00
Chris Ross
2c49d89094
Code review cleanup.
2014-03-20 11:19:42 -07:00
Chris Ross
951dcbebb7
Add IServerInformation to IBuilder.
2014-03-19 11:35:24 -07:00
Chris Ross
f2835e7185
Rename IResponseCookiesCollection to IResponseCookies.
2014-03-19 09:12:42 -07:00
Chris Ross
732ae3d030
Code review cleanup.
2014-03-19 09:12:29 -07:00
Chris Ross
b9899fc72a
Fix response cookies namespace.
2014-03-19 09:12:27 -07:00
Chris Ross
bc43ccbc30
Change QueryString to include the leading '?'.
2014-03-19 09:12:25 -07:00
Chris Ross
fc8832f69f
Add Claims dependency.
2014-03-19 09:12:23 -07:00
Chris Ross
cbd8401582
Fill in OnSendingHeaders, Redirect, IsSecure.
2014-03-19 09:12:21 -07:00
Chris Ross
ae9545a124
Improve request and response cookie handling.
2014-03-19 09:12:18 -07:00
Louis DeJardin
ca2ef860f5
Adding IServiceProvider interfaces to HttpContext
2014-03-17 21:42:35 -07:00
Ryan Nowak
543e818acd
Add support for host based on Host header
2014-03-12 14:29:51 -07:00
Pranav K
9ac0a8c703
Adding ContentLength to HttpRequest
...
Partially addresses #15
2014-03-11 11:17:48 -07:00
David Fowler
2dfdfafaa6
Added required packages for K
2014-03-07 02:17:04 -08:00
Pranav K
09cc1964e7
Adding GetFormAsync on HttpRequest to read form data
2014-02-25 12:52:00 -08:00
Pranav K
fe15f4a849
Ensure HttpResponse.Query is populated with query string values
2014-02-18 09:15:13 -08:00
Pranav K
ad5a77ca4c
Removing csproj files that are not meant to be commited
2014-02-14 19:56:27 -08:00
GrabYourPitchforks
69addcac86
FeatureModel should use Type.IsInstanceOf rather than direct type equality.
2014-02-14 16:26:13 -08:00
Yishai Galatzer
a34826d90b
Use the right collection, so accessing a non existent ContentType on a response doesn't throw and return null instead
2014-02-12 12:43:13 -08:00
Chris Ross
fe1011e507
Code review cleanup.
2014-02-10 10:52:19 -08:00
Chris Ross
40a7181ff0
Lazy translate conditional Owin keys to Features.
2014-02-10 10:24:11 -08:00
Chris Ross
850128dc39
Implement request and response properties: Headers, ContentLength.
2014-02-10 10:24:10 -08:00
Louis DeJardin
86025a3ec4
Updated Builder constructors
2014-02-09 18:24:16 -08:00
Louis DeJardin
e2f45c59ea
Placing IServiceProvider on IBuilder
...
Replaces concept of features/items on builder instance for now
2014-02-08 16:03:59 -08:00
David Fowler
370a6b7ba3
Added code for the k10 case in FeatureObject.
2014-02-01 03:09:04 -08:00
David Fowler
4ce1423b1c
Made small changes to prevent null refs when getting HttpRequestInformation
...
- Use FeatureReference<T>.Default instead of new when constructing
- Fixed project.json in tests
2014-02-01 02:32:46 -08:00
Louis DeJardin
003718c564
Fixing build errors
2014-01-31 13:35:26 -08:00
Louis DeJardin
af0923b68f
Rouging out feature interfaces and default abstraction implementations
2014-01-31 13:26:10 -08:00
Louis DeJardin
4de6abb7b5
Adding a placeholder for IdmMapping
2014-01-31 13:26:06 -08:00
Louis DeJardin
fd9f392ec9
Fixing merge conflicts (?)
2014-01-27 12:47:14 -08:00
Louis DeJardin
d6cd02d121
Updating abstractions
2014-01-27 11:46:32 -08:00
Louis DeJardin
f7a4db4ae1
Roughing out more abstractions
2014-01-27 11:43:50 -08:00
David Fowler
724897d0eb
Added super hacky RawOwinHttpContext for K profile.
2014-01-26 03:44:21 -08:00
David Fowler
430217e2de
Remove csproj files.
2014-01-25 17:21:50 -08:00
David Fowler
62bcfc0a95
Fixed up the func.
2014-01-25 16:36:02 -08:00
David Fowler
a8b4c71284
Added temporary owin glue for HttpAbstractions based on Microsoft.Owin.
2014-01-25 16:29:15 -08:00
David Fowler
242ea9a319
Updated the build.
2014-01-25 02:19:01 -08:00
David Fowler
9bc47f8698
Changed version
2014-01-24 01:19:07 -08:00
David Fowler
336e69a677
Added content type and WriteAsync as a stop gap.
2014-01-24 00:17:07 -08:00
David Fowler
76ef358974
Moved tests to test folder and renamed solution.
2014-01-23 23:54:25 -08:00
David Fowler
3ef8197d18
Updated projects and the build.
...
- Things compile with ifdefs for coreclr now.
2014-01-23 23:52:20 -08:00
Louis DeJardin
27ff7762e9
Updating with work in progress
2014-01-23 14:53:22 -08:00
Louis DeJardin
bdf69b0d0c
Initial commit
2013-12-19 11:38:05 -08:00