NetCoreStack / Localization
Licence: mit
🌏 Database Resource Localization for .NET Core with Entity Framework and In Memory Cache
Stars: ✭ 68
Projects that are alternatives of or similar to Localization
NETProvider
Firebird ADO.NET Data Provider
Stars: ✭ 113 (+66.18%)
Mutual labels: entity-framework, netcore, entity-framework-core, net
Filecontextcore
FileContextCore is a "Database"-Provider for Entity Framework Core and adds the ability to store information in files instead of being limited to databases.
Stars: ✭ 91 (+33.82%)
Mutual labels: entity-framework, netcore, net
Module Shop
一个基于 .NET Core构建的简单、跨平台、模块化的商城系统
Stars: ✭ 398 (+485.29%)
Mutual labels: entity-framework-core, netcore
Bcrypt.net
BCrypt.Net - Bringing updates to the original bcrypt package
Stars: ✭ 422 (+520.59%)
Mutual labels: netcore, net
Efcorepowertools
Entity Framework Core Power Tools - reverse engineering, migrations and model visualization for EF Core
Stars: ✭ 774 (+1038.24%)
Mutual labels: entity-framework, entity-framework-core
Simplcommerce
A simple, cross platform, modularized ecommerce system built on .NET Core
Stars: ✭ 3,474 (+5008.82%)
Mutual labels: entity-framework-core, netcore
Sapphiredb
SapphireDb Server, a self-hosted, easy to use realtime database for Asp.Net Core and EF Core
Stars: ✭ 326 (+379.41%)
Mutual labels: entity-framework, net
Efdesigner
Entity Framework visual design surface and code-first code generation for EF6, Core and beyond
Stars: ✭ 256 (+276.47%)
Mutual labels: entity-framework, entity-framework-core
Dnczeus
DncZeus 是一个基于ASP.NET Core 3 + Vue.js(iview-admin) 的前后端分离的通用后台权限(页面访问、操作按钮控制)管理系统框架。后端使用.NET Core 3 + Entity Framework Core构建,UI则是目前流行的基于Vue.js的iView(iview-admin)。项目实现了前后端的动态权限管理和控制以及基于JWT的用户令牌认证机制,让前后端的交互更流畅。码云镜像:https://gitee.com/rector/DncZeus 。演示地址(demo):
Stars: ✭ 1,104 (+1523.53%)
Mutual labels: entity-framework, netcore
Entityframework.docs
Documentation for Entity Framework Core and Entity Framework 6
Stars: ✭ 888 (+1205.88%)
Mutual labels: entity-framework, entity-framework-core
Entityframework.lazyloading
LazyLoading for EF Core
Stars: ✭ 23 (-66.18%)
Mutual labels: entity-framework, entity-framework-core
Efsecondlevelcache.core
Entity Framework Core Second Level Caching Library
Stars: ✭ 300 (+341.18%)
Mutual labels: entity-framework, entity-framework-core
Mockqueryable
Moking Entity Framework Core operations such ToListAsync, FirstOrDefaultAsync etc
Stars: ✭ 281 (+313.24%)
Mutual labels: entity-framework, netcore
Dbreeze
C# .NET MONO NOSQL ( key value store embedded ) ACID multi-paradigm database management system.
Stars: ✭ 383 (+463.24%)
Mutual labels: netcore, net
Entityframework.exceptions
Handle database errors easily when working with Entity Framework Core. Supports SQLServer, PostgreSQL, SQLite, Oracle and MySql
Stars: ✭ 266 (+291.18%)
Mutual labels: entity-framework, entity-framework-core
Zkweb
A flexible web framework supports .Net Framework and .Net Core
Stars: ✭ 475 (+598.53%)
Mutual labels: netcore, net
Efcore.demo
Projetos com os novos recursos do Entity Framework Core
Stars: ✭ 50 (-26.47%)
Mutual labels: entity-framework, netcore
H.NotifyIcon.WPF
NotifyIcon for .Net Core 3.1 and .Net 5 WPF.
Stars: ✭ 44 (-35.29%)
Mutual labels: netcore, net
csharp-ddd-skeleton
🦈✨ C# DDD Skeleton: Bootstrap your new C# projects applying Hexagonal Architecture and Domain-Driven Design patterns
Stars: ✭ 67 (-1.47%)
Mutual labels: entity-framework, netcore
NetCoreStack Localization v1.0.6
Database Resource Localization for .NET Core with Entity Framework and In Memory Cache
Links
-
Online Demo Page: http://netcorestack-localization-test.herokuapp.com/
-
Latest release on Nuget: https://www.nuget.org/packages/NetCoreStack.Localization
-
Docker Image: https://hub.docker.com/r/tahaipek/netcorestack-localization-test-hosting
Docker File
PM> docker pull tahaipek/netcorestack-localization-test-hosting
PM> docker run -d -p 5003:80 netcorestack-localization-test-hosting
Requirements:
- .NET Core 2.1 or later
- SQLite or MsSQL Server
Install for .NET Core
PM> Install-Package NetCoreStack.Localization
Features
- .NET Core Resources in MsSql Server
- Injectable .NET Core StringLocalizers
- Serve Resources to JavaScript as JSON
- Directly access and manage Languages/Resources with api and code
Installation
AppSettings Configuration
Configuration settings in AppSettings.json
:
{
"DbSettings": {
"SqlConnectionString": "Server=.;Database=LocalizationTest;Trusted_Connection=True;MultipleActiveResultSets=true"
},
"LocalizationSettings": {
"UseDefaultLanguageWhenValueIsNull": true
}
}
Enable NetCoreStack.Localization in ASP.NET Core
public void ConfigureServices(IServiceCollection services)
{
services.AddNetCoreStackMvc(options => { options.AppName = "NetCoreStack Localization"; });
services.AddNetCoreStackLocalization(Configuration);
}
public void Configure(IApplicationBuilder app, IHostingEnvironment env)
{
app.UseNetCoreStackMvc();
app.UseNetCoreStackLocalization();
}
Client-side localization in *.cshtml file
<head>
<!-- Optional: The resources defined javascript. => "window.culture.resource" -->
<netcorestack-javascriptregistrar></netcorestack-javascriptregistrar>
<!--
Optional:
- If you want cookies to be set by JavaScript, you should use this.
- If you don't want cookies to be set by JavaScript, remove this line. It will automatically redirect to Controller Action.
-->
<netcorestack-languageSelector-scripts></netcorestack-languageSelector-scripts>
</head>
<body>
<!--
Required: Language Selector Combobox
Optional:
- If you want cookies to be set by JavaScript, you should set "set-cookie-with-java-script" property.
- If you don't want cookies to be set by JavaScript, the application sets it through Controller Action.
-->
<netcorestack-languageSelector name="culture" set-cookie-with-java-script="true"></netcorestack-languageSelector>
@Localizer["Logo_Description"]
</body>
Back-end Localization in *.cs file
public class HomeController : Controller
{
private readonly IStringLocalizer _stringLocalizer;
public HomeController(IStringLocalizer stringLocalizer)
{
_stringLocalizer = stringLocalizer;
}
public IActionResult About()
{
ViewData["Message"] = _stringLocalizer["AboutPageDescription"];
return View();
}
}
Test Project Preview
How To Use | Forms & Validations |
---|---|
Component Api | Client-Side Localization |
---|---|
Exception Localization | AjaxException Localization |
---|---|
.Net Core Localization
.Net Core Localization with Entity Framework
.Net Core Database Localization
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].