Commit Graph

155 Commits

Author SHA1 Message Date
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