GithubHelp home page GithubHelp logo

hamed-shirbandi / cormon Goto Github PK

View Code? Open in Web Editor NEW
46.0 8.0 22.0 5.54 MB

Free and Open Source CMS based on ASP.NET Core and MongoDB

C# 69.56% JavaScript 3.79% HTML 26.65%
mongodb mvc-core asp-net-core cms

cormon's Introduction

What is CorMon ?

Free and Open Source CMS based on ASP.NET Core and MongoDB

Article in persian

features (Done/To Do)

  • CRUD Based, Anemic Domain Model

  • Onion Architecture

  • Unit Testing

  • E2E Testing

  • ASP.NET Core MVC

  • ASP.NET Core Web Api

  • ASP.NET Core Identity

  • MongoDB

  • Repository

  • Redis Cache

  • Cookie Authentication

  • JWT Authentication

  • Swagger UI

  • ...

Screenshots

CorMon

CorMon

cormon's People

Contributors

hamed-shirbandi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cormon's Issues

خطا در زمان اجراء

در زمان اجرای پروژه خطای زیر را دریافت کردم

An unhandled exception occurred while processing the request.
RedisConnectionException: It was not possible to connect to the redis server(s); to create a disconnected multiplexer, disable AbortOnConnectFail. SocketFailure on PING

StackExchange.Redis.ConnectionMultiplexer.ConnectImpl(Func multiplexerFactory, TextWriter log) in ConnectionMultiplexer.cs, line 890

CorMon.Web.Controllers.HomeController+d__4.MoveNext() in HomeController.cs

        /// <summary>
        /// 
        /// </summary>
        public async Task<IActionResult> Index()
        {

            if (!_redisCacheService.TryGetValue(key: CacheKeyTemplate.PostsCacheKey, result: out IEnumerable<PostOutput> posts))

            {
                 posts = await _postService.SearchAsync(page: 0, recordsPerPage: recordsPerPage, term: "", taxonomyId: null, taxonomyType: null, publishStatus: PublishStatus.Publish, sortOrder: SortOrder.Desc);
                await _redisCacheService.SetAsync(key: CacheKeyTemplate.PostsCacheKey, data: posts, cacheTimeInMinutes: 60);
            }
            return View(posts);

`

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.