Commit Graph

54 Commits

Author SHA1 Message Date
Ryan Brandenburg d84b069116 Make resource lookup behavior overridable (#266) 2016-08-08 11:45:42 -07:00
Doug Bunting 2669c32641 One build to rule them all
- well, at least VS and command-line builds will share output
- part of aspnet/Coherence-Signed#277
2016-07-07 12:11:11 -07:00
Pranav K cf6e0de480 Updating to dev versions 2016-06-16 10:18:12 -07:00
N. Taylor Mullen 6389f1326d Remove direct Microsoft.NETCore.Platforms dependency.
- Microsoft.NETCore.App now pulls this package in.

aspnet/Coherence-Signed#344
2016-06-13 15:30:11 -07:00
jacalvar 855d5381b1 Remove unncessary imports 2016-06-08 15:09:06 -07:00
Hisham Bin Ateya b72816e24c Remove unecessary using (#242) 2016-05-16 14:44:29 -07:00
Pranav K 08e394d994 Fix build warnings 2016-05-02 11:27:19 -07:00
BrennanConroy 693f58c18f Remove references to UseDefaultHostingConfiguration 2016-04-27 16:26:23 -07:00
BrennanConroy 2887f2ee83 Update web.config and add publish tool 2016-04-25 09:04:54 -07:00
Pavel Krymets 23bb1fca43 Bring Microsoft.NETCore.Platforms dependency back 2016-04-18 17:09:29 -07:00
Pavel Krymets 9268ca73df Migrate tests, tools and samples to portable 2016-04-15 12:04:16 -07:00
John Luo c9d53ad14b Move web.config and use ANCM 2016-04-11 10:04:14 -07:00
Kiran Challa 624467286d Changed DNX451 references to NET451 2016-04-08 15:03:58 -07:00
John Luo dfb1f9c712 Reacting to Kestrel extensions 2016-03-30 16:23:13 -07:00
BrennanConroy 62a22caa00 Fixing sample for tests 2016-03-29 10:45:41 -07:00
John Luo c69a159672 React to Hosting changes 2016-03-22 12:04:03 -07:00
Pranav K c8f5ab7ac6 Reacting to new CoreCLR packages 2016-03-21 07:09:00 -07:00
Pranav K 1d76db4d36 Removing ifdefs from test
Fixes #210
2016-03-17 16:44:54 -07:00
Pranav K 948c4d6b98 * Target minimal TFM 2016-03-13 22:12:40 -07:00
Doug Bunting 6412a14502 Remove project name from output path
- aspnet/Coherence-Signed#187
- remove `<RootNamespace>` settings but maintain other unique aspects e.g. `<DnxInvisibleContent ... />`
- in a few cases, standardize on VS version `14.0` and not something more specific
2016-03-02 18:59:17 -08:00
N. Taylor Mullen b746844466 Transition to netstandard.
- dotnet5.X => netstandard1.y (where y = x-1).
- DNXCore50 => netstandardapp1.5.
- Applied the same changes to ifdefs.
2016-03-01 13:38:14 -08:00
John Luo bb4a04b3a3 Fix samples used by tests 2016-02-24 16:12:32 -08:00
Hisham Bin Ateya a928982055 Localization Sample Fix 2016-02-22 12:54:10 -08:00
Pranav K 33134f7f2a Change build to use dotnet
Fixes #198
2016-02-05 12:06:03 -08:00
Hisham Bin Ateya 3590cacd3f Add 'UseServer' 2016-02-03 02:12:37 +03:00
Pavel Krymets bc4426cf44 Fix sample on CoreClr 2016-02-02 12:52:59 -08:00
N. Taylor Mullen 4010676634 Rename AspNet 5 file contents.
See https://github.com/aspnet/Announcements/issues/144 for more information.
2016-01-22 12:24:55 -08:00
John Luo 0bd2e3281d Reacting to hosting rename 2016-01-17 17:56:43 -08:00
Chris R 30b71fb8c5 React to hosting API changes. 2016-01-12 14:22:45 -08:00
John Luo 5c2bdc8923 Updating to new options pattern 2016-01-07 18:26:38 -08:00
John Luo d9fc399531 Standardizing middleware to use configureOptions lambda 2015-12-22 21:57:56 -08:00
John Luo 5c98dd5d98 Reacting to new Hosting API 2015-12-18 15:52:58 -08:00
damianedwards e72d3cb249 ResourceManagerStringLocalizerFactory trims app name from resource base name:
- Only applies when LocalizationOptions.ResourcesPath is set
- #167
2015-12-16 15:38:25 -08:00
damianedwards 0b013ae769 Usability improvements:
- Remove the defaultRequestCulture parameter from IApplicationBuilder.UseRequestLocalization and make it a property on RequestLocalizationOptions instead
- Have just a single overload for IApplicationBuilder.UseRequestLocalization that takes the options
- #164
2015-12-11 15:21:07 -08:00
Pranav K 62412836de Removing extraneous dependencies 2015-12-08 10:48:26 -08:00
N. Taylor Mullen dc56363dbd Remove System beta tag in project.json for coreclr packages. 2015-11-12 12:24:23 -08:00
damianedwards e93a00c2c4 Fix the sample:
- Configure Kestrel properly
2015-11-01 21:08:01 -08:00
Kirthi Krishnamraju 636459a6f7 Fix #111: Design changes to known/allowed culture list and cache 2015-10-23 00:41:07 -07:00
Pranav K f782d8845c Renaming Microsoft.Framework.* -> Microsoft.Extensions.* 2015-10-03 15:44:49 -07:00
Kirthi Krishnamraju 06aa2412a8 Update sample to use LocalizationOptions and fixed issue in AddLocalization 2015-09-17 11:08:03 -07:00
Kirthi Krishnamraju a5a264d1ad fix #3: Add localized resources to the sample 2015-09-14 16:46:43 -07:00
Chris R d927314047 Add missing namespaces. 2015-08-31 10:23:01 -07:00
Chris R 2a1cf633fc Use new HttpContext.Features API. 2015-08-31 09:55:57 -07:00
Troy Dai cc0c4e1f55 Update CoreCLR versions 2015-08-04 10:15:29 -07:00
damianedwards 39f40d2c5f Fix references to include beta-* 2015-05-29 11:46:24 -07:00
Hisham Abdullah Bin Ateya 8382170178 Unnecessary using directives 2015-05-21 03:44:19 +03:00
damianedwards 4ba159afe7 Removed Moq from tests & enabled .NET Core
- Introduced AssemblyWrapper to enable testing
- Cleaned up properties on ResourceManagerStringLocalizer
- #15

Change "Strategy" to "Provider"
- #19
2015-05-20 14:41:52 -07:00
damianedwards ecfb7f342a Sort project.json dependencies 2015-05-15 12:14:14 -07:00
damianedwards 21dc2909a1 Made IRequestCultureStrategy async to support things like user profile lookup 2015-05-11 18:29:03 -07:00
damianedwards 306d71ef43 Moved some things around:
- Options are now given to strategies
- Options only contains properties relevant to the middleware itself. Strategies can have their own properties, e.g. AcceptLanguageHeaderRequestCultureStrategy limits the number of values in the header to try
- Strategies now derive from common base class and validate against the options, e.g. app specified supported cultures
- Renamed RequestLocalizationMiddlewareOptions to RequestLocalizationOptions
- Fixed missing doc comments
2015-05-11 15:28:50 -07:00