All Projects → damienbod → Aspnetcorelocalization

damienbod / Aspnetcorelocalization

Licence: mit
Localization.SqlLocalizer & ASP.NET Core MVC Localization Examples

Projects that are alternatives of or similar to Aspnetcorelocalization

PersianDataAnnotations
PersianDataAnnotations is ASP.NET Core MVC & ASP.NET MVC Custom Localization DataAnnotations (Localized MVC Errors) for Persian(Farsi) language - فارسی سازی خطاهای اعتبارسنجی توکار ام.وی.سی. و کور.ام.وی.سی. برای نمایش اعتبار سنجی سمت کلاینت
Stars: ✭ 38 (-79.23%)
Mutual labels:  mvc, localization, aspnetcore, asp-net-core
MvcSimplePager
Simple,lightweight,easy to expand pager for asp.net mvc and asp.net core,针对asp.net mvc 和 asp.net core 设计的通用、扩展性良好的轻量级分页扩展
Stars: ✭ 13 (-92.9%)
Mutual labels:  mvc, aspnetcore, asp-net-core
XAF Security E4908
This repository contains examples for Role-based Access Control, Permission Management, and OData / Web / REST API Services for Entity Framework and XPO ORM
Stars: ✭ 47 (-74.32%)
Mutual labels:  mvc, aspnetcore, asp-net-core
AspNetCoreMvcAngular
ASP.NET Core MVC with angular in MVC View OpenID Connect Hybrid Flow
Stars: ✭ 54 (-70.49%)
Mutual labels:  mvc, aspnetcore, asp-net-core
Elmahcore
ELMAH for Net.Standard and Net.Core
Stars: ✭ 127 (-30.6%)
Mutual labels:  asp-net-core, aspnetcore, mvc
Identityserver4aspnetcoreidentitytemplate
An ASP.NET Core 3.1 IdentityServer4 Identity Bootstrap 4 template with localization
Stars: ✭ 262 (+43.17%)
Mutual labels:  aspnetcore, mvc, localization
AspNetCore-ReCAPTCHAv3
reCAPTCHA v3 Usage in Asp.Net Core MVC
Stars: ✭ 17 (-90.71%)
Mutual labels:  mvc, aspnetcore, asp-net-core
Nopcommerce
The most popular open-source eCommerce shopping cart solution based on ASP.NET Core
Stars: ✭ 6,827 (+3630.6%)
Mutual labels:  sql, asp-net-core, aspnetcore
Aspnetcorewindowsauth
Local and Windows Authentication, ASP.NET Core MVC, IdentityServer4
Stars: ✭ 87 (-52.46%)
Mutual labels:  aspnetcore, mvc
Docker Series
Docker Series about containerizing ASP.NET Core app with MySQL..
Stars: ✭ 88 (-51.91%)
Mutual labels:  asp-net-core, aspnetcore
Mytested.aspnetcore.mvc
Fluent testing library for ASP.NET Core MVC.
Stars: ✭ 1,358 (+642.08%)
Mutual labels:  asp-net-core, mvc
Yishaadmin
基于 .NET Core MVC 的权限管理系统,代码易读易懂、界面简洁美观。演示版 http://106.14.124.170/admin
Stars: ✭ 1,186 (+548.09%)
Mutual labels:  aspnetcore, mvc
Aspnetcorenlog
ASP.NET Core NLog MS SQL Server PostgreSQL MySQL Elasticsearch
Stars: ✭ 54 (-70.49%)
Mutual labels:  sql, asp-net-core
Gitserver
ASP.NET Core Git HTTP Server
Stars: ✭ 98 (-46.45%)
Mutual labels:  asp-net-core, aspnetcore
Danvic.psu
This is my graduation project of dotnet core version
Stars: ✭ 46 (-74.86%)
Mutual labels:  aspnetcore, mvc
Dotnettency
Mutlitenancy for dotnet applications
Stars: ✭ 100 (-45.36%)
Mutual labels:  aspnetcore, mvc
Aspnetcore.identity.mongodbcore
A MongoDb UserStore and RoleStore adapter for Microsoft.AspNetCore.Identity 2.2. Allows you to use MongoDb instead of SQL server with Microsoft.AspNetCore.Identity 2.2. (not Identity 3.0)
Stars: ✭ 118 (-35.52%)
Mutual labels:  asp-net-core, aspnetcore
Znetcs.aspnetcore.authentication.basic
A simple basic authentication middleware.
Stars: ✭ 40 (-78.14%)
Mutual labels:  asp-net-core, aspnetcore
Cronscheduler.aspnetcore
Cron Scheduler for AspNetCore 2.x/3.x or DotNetCore 2.x/3.x Self-hosted
Stars: ✭ 100 (-45.36%)
Mutual labels:  asp-net-core, aspnetcore
Aspnetcore.identity.mongo
This is a MongoDB provider for the ASP.NET Core 2 Identity framework
Stars: ✭ 179 (-2.19%)
Mutual labels:  asp-net-core, aspnetcore
Build Localization.SqlLocalizer
.net core Build status NuGet Status

========================

Documentation: http://localizationsqllocalizer.readthedocs.io/en/latest/

NuGet | Issues | Code

Basic Usage ASP.NET Core

Add the NuGet package to the project.csproj file

"dependencies": {
        "Localization.SqlLocalizer": "3.0.0",

Add the DbContext and use the AddSqlLocalization extension method to add the SQL Localization package.

public void ConfigureServices(IServiceCollection services)
{
    // init database for localization
    var sqlConnectionString = Configuration["DbStringLocalizer:ConnectionString"];

    services.AddDbContext<LocalizationModelContext>(options =>
        options.UseSqlite(
            sqlConnectionString,
            b => b.MigrationsAssembly("ImportExportLocalization")
        ),
        ServiceLifetime.Singleton,
        ServiceLifetime.Singleton
    );

    // Requires that LocalizationModelContext is defined
    services.AddSqlLocalization(options => options.UseTypeFullNames = true);

Create your database

dotnet ef migrations add Localization --context localizationModelContext

dotnet ef database update Localization --context localizationModelContext

========================

ASP.NET Core MVC Localization Example

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].