GithubHelp home page GithubHelp logo

Comments (8)

eb-clickfusion avatar eb-clickfusion commented on May 22, 2024

Check out the NorthwindDbContextFactory and the DesignTimeDbContextFactoryBase classes in the Persistence layer.

The NorthwindInitializer class seeds the database. See here for more details: https://docs.microsoft.com/en-us/ef/core/modeling/data-seeding

from northwindtraders.

Ashwani44 avatar Ashwani44 commented on May 22, 2024

Hi Jason , its really frustating i don't know where i am going wrong.
I was making a small demo today and i end up with the same above issue " cannot create instance of an interface".
Is this a version issue ? I am using .net standard class
library instead of .netcore library .
Does this causing me the issue ? Or am i doing something really wrong .
Please check this doubt ef core.txt
Please help me out .
Thanks

from northwindtraders.

lukehammer avatar lukehammer commented on May 22, 2024

Ashwani44 if you could post the repo. I'll take a look this evening. I been meaning to take a deeper look at this code since i hear the talk and would like a reason .

from northwindtraders.

Ashwani44 avatar Ashwani44 commented on May 22, 2024

from northwindtraders.

Ashwani44 avatar Ashwani44 commented on May 22, 2024

@lukehammer Did you find any particular reason why i am getting the above error ?

from northwindtraders.

lukehammer avatar lukehammer commented on May 22, 2024

from northwindtraders.

Ashwani44 avatar Ashwani44 commented on May 22, 2024

Hi @lukehammer I tried again today but end up with the same issue :( this is really frustating. I tried changing my connection string in appsetting,json file but issue remains the same.
I am really not understanding what causing this issue !!!!

Please check my attached doc. My repo : https://github.com/Ashwani44/CleanArchitectureDemoApp
cannot create instance of an interface.txt

from northwindtraders.

jasontaylordev avatar jasontaylordev commented on May 22, 2024

Hi @Ashwani44 - I've created a pull request on your repo that should get you up and running.
Good luck.

from northwindtraders.

Related Issues (20)

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.