Giter Site home page Giter Site logo

chsakell / mvcarchitecture Goto Github PK

View Code? Open in Web Editor NEW
491.0 57.0 222.0 728 KB

ASP.NET MVC Solution Architecture – Best Practices

Home Page: http://chsakell.com/2015/02/15/asp-net-mvc-solution-architecture-best-practices/

License: MIT License

C# 85.50% ASP 0.25% CSS 0.01% JavaScript 0.01% HTML 14.24%
aspnet aspnet-mvc

mvcarchitecture's Introduction

ASP.NET MVC Solution Architecture – Best Practices

Blog post

  1. Entity Framework Code First development
  2. Generic Repository Pattern
  3. Dependency Injection using Autofac framework
  4. Automapper

mvc-architecture-01

Follow chsakell's Blog

Facebook Twitter
Microsoft Web Application Development
facebook twitter-small

License

Code released under the MIT license.

mvcarchitecture's People

Contributors

chsakell 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mvcarchitecture's Issues

This file generates an error in VS2015

Error CS0117 'Mapper' does not contain a definition for 'CreateMap' Store.Web

MVCArchitecture-master\mvcarchitecture-master\Store.Web\Mappings\ViewModelToDomainMappingProfile.cs 21 Active

Error CS0122 'Disposable.Disposable()' is inaccessible due to its protection level

Hello, I got the follow error "Error CS0122 'Disposable.Disposable()' is inaccessible due to its protection level" when I tried to implement DbFactory class. Please see below for details. It's also happening the code project download. Please advise.

Thanks,

Mani

public class DbFactory : Disposable, IDbFactory
{
StoreEntities dbContext;

    public StoreEntities Init()
    {
        return dbContext ?? (dbContext = new StoreEntities());

    }

    protected override void DisposeCore()
    {
        if(dbContext != null)
        {
            dbContext.Dispose();
        }
    }
}

The Models folder is missing on Store.Web?

Just learning how to build ASP.NET core 2 project in repo pattern, but I wonder how's the models folder going on Web?

I understand the entity model is goes to Store.Model, however I wonder there is no place for Models folder in Web side?

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.