Git Product home page Git Product logo

Comments (4)

larsw avatar larsw commented on May 27, 2024

#71 partially solves this.

from generator-aspnet.

spboyer avatar spboyer commented on May 27, 2024

@peterblazejewicz @larsw in order to solve the issue, it would have to also add the view correct? And the other item/restriction I would be concerned about is there is a constraint around the component having to be named "Components" - "This folder must be named Components."

from generator-aspnet.

peterblazejewicz avatar peterblazejewicz commented on May 27, 2024

@spboyer
I'm not exactly sure what are current constraints:
http://www.asp.net/vnext/overview/aspnet-vnext/vc#addv
Yes, we could scaffold entire component (class + view), so we should pick current implementation . As far as I understand we could place ViewComponents anywhere in generated project structure - but from this point we should follow conventions outlined in that article (unless there is newer one ofc).
They added a note about where to place View:

Note: View Component views are more typically added to the Views\Shared folder, because VCs are typically not controller specific.

I could be wrong previously - at the time of adding issue, where ViewComponent class should be located and what is convention for folder and classes names.
Thanks!

from generator-aspnet.

peterblazejewicz avatar peterblazejewicz commented on May 27, 2024

We are shutting this repo down, it's been replaced with dotnet new.

Thanks!

from generator-aspnet.

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.