Ryan Brandenburg
d84b069116
Make resource lookup behavior overridable ( #266 )
2016-08-08 11:45:42 -07:00
Ryan Brandenburg
e976c0fa22
Include all strings from GetAllStrings ( #264 )
2016-07-15 10:01:02 -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
Pranav K
08e394d994
Fix build warnings
2016-05-02 11:27:19 -07:00
Pranav K
0c5e5dbd29
Removing imports from src projects
2016-04-08 06:49:24 -07:00
jacalvar
2acc2b0a03
Return IServiceCollection from AddLocalization extension methods
2016-03-31 19:27:34 -07:00
Eilon Lipton
5ba0c4a0f7
Fix package metadata
2016-03-27 15:35:54 -07:00
Hisham Bin Ateya
007821bf1b
Remove unnecessary 'usings'
2016-03-21 14:38:38 -07:00
Pranav K
90235c7008
Reacting to Hosting changes
2016-03-15 09:14:31 -07:00
Pranav K
948c4d6b98
* Target minimal TFM
2016-03-13 22:12:40 -07:00
Ajay Bhargav Baaskaran
3b560d65df
Added Company, Copyright and Product attributes to AssemblyInfo
2016-03-03 17:33:34 -08:00
John Luo
7c8be4d8e3
Update cookie name
2016-03-03 13:36:47 -08: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
Kiran Challa
7ac771155d
Fix test failures
2016-03-01 09:32:01 -08:00
jacalvar
4b348efa59
Make ServiceCollectionExtensions consistent
2016-02-29 11:28:52 -08:00
Ajay Bhargav Baaskaran
324f586eeb
Enabled xml doc generation
2016-02-18 16:58:35 -08:00
N. Taylor Mullen
0d6d596219
Update System.Linq 4.0.2-* => 4.1.0-*.
2016-02-18 15:36:54 -08:00
Pranav K
67611a81cb
Reacting to CoreCLR package version changes
2016-02-08 09:33:47 -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
N. Taylor Mullen
ee1738db56
Rename AspNet 5 folders and files.
...
See https://github.com/aspnet/Announcements/issues/144 for more information.
2016-01-22 12:24:52 -08:00
ryanbrandenburg
60047186eb
* Replace System.Resources.ReaderWriter
2016-01-20 12:02:02 -08:00
John Luo
5c2bdc8923
Updating to new options pattern
2016-01-07 18:26:38 -08:00
ryanbrandenburg
f3855b9cf2
* Throw proper exception when missing resource
2015-12-29 14:13:20 -08:00
John Luo
c1589ef9bc
Adding back middleware initialization with options instance.
2015-12-23 15:09:59 -08:00
John Luo
d9fc399531
Standardizing middleware to use configureOptions lambda
2015-12-22 21:57:56 -08:00
Hao Kung
489250a8e1
OptionsModel => Options
2015-12-21 16:07:14 -08:00
damianedwards
d3b84c19c8
Tweaked cache key when getting localizer from basName/location:
...
- Cleaned up code a little to make it easier to understand (maybe)
- #138
2015-12-18 14:28:08 -08:00
Pranav K
0b9b99e617
Don't throw if LocalizedString is null
2015-12-17 20:56:37 -08:00
damianedwards
f55f32fdb8
Make LocalizedString a class
2015-12-17 15:46:40 -08:00
damianedwards
f7f8d9b9eb
Rename "ancestor" to "parent" on loc APIs
2015-12-17 15:25:39 -08:00
damianedwards
b041a07652
Change culture fallback to depth-first:
...
- #112
2015-12-16 16:11:22 -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
2e8ae969b7
Changed property name based on feedback
2015-12-16 12:11:22 -08:00
damianedwards
1c5362bccb
Added support for hierarchical culture fallback:
...
- Enabled by default and configured by RequestLocalizationOptions.FallbackToAncestorCulture/FallbackToAncestorUICulture
- Tries all candidate cultures first before trimming the list to parents and trying again, until a match is found, depth limit is reached, or none is found
- Updated functional tests to cover fallback case
- #112
2015-12-15 14:56:04 -08:00
ryanbrandenburg
5074bf0c57
* Default ResourcePath behavior is to look next to .cs file
2015-12-15 11:53:55 -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
damianedwards
9afd2c256b
Make ResourceManagerStringLocalizer thread safe now instances are cached & shared
2015-12-10 17:49:44 -08:00
Pranav K
62412836de
Removing extraneous dependencies
2015-12-08 10:48:26 -08:00
damianedwards
96462b9528
Make the ResourceManagerStringLocalizerFactory cache localizer instances
...
- #156
2015-12-07 22:20:17 -08:00
Doug Bunting
36bc26fb55
Remove `[SuppressMessage]`s
...
- build break
nit: let VS have its way w/ a `.xproj` file
2015-12-07 21:07:23 -08:00
N. Taylor Mullen
dc56363dbd
Remove System beta tag in project.json for coreclr packages.
2015-11-12 12:24:23 -08:00
Cesar Blum Silveira
e88655bf29
Merge branch 'release' into dev
2015-11-03 13:27:14 -08:00
Cesar Blum Silveira
d8060792b2
Strong name everything.
2015-11-03 12:14:18 -08:00
Chris R
198fbad113
React to Cookie API changes.
2015-11-03 11:05:17 -08:00
Hisham Bin Ateya
bb83bd27cb
Fix docs
2015-10-26 10:24:25 -07:00
Hisham Bin Ateya
c79e8e8886
Remove CultureInfoGenerator
2015-10-24 04:36:46 +03:00
Ryan Nowak
68f1a45ea7
Fix breaking change from stringvalues
2015-10-23 15:43:50 -07:00
Kirthi Krishnamraju
636459a6f7
Fix #111 : Design changes to known/allowed culture list and cache
2015-10-23 00:41:07 -07:00