Git Product home page Git Product logo

Comments (10)

peterblazejewicz avatar peterblazejewicz commented on May 27, 2024

I think the generator is developed on the promise to deliver the same experience for creating C#/.NET projects that are available for users with MS Visual Studio (vNext). So it ships with only those libraries/features/solutions that are available out-of-the box in MS VisualStudio (no extension added, no additional tools installed).
Also cast a vote here, as feature in subject is not existent:
http://visualstudio.uservoice.com/forums/121579-visual-studio/suggestions/7017377-support-for-es6-modules

from generator-aspnet.

sayedihashimi avatar sayedihashimi commented on May 27, 2024

I think the generator is developed on the promise to deliver the same experience for creating C#/.NET projects that are available for users with MS Visual Studio (vNext).

When using the yo generators _you should be able to create the same projects and files as Visual Studio_ but we _should not limit ourselves_ to what VS has. We recently reached parity with VS which I'm really happy about (thanks everyone who helped). We (the asp.net community) can create templates better and faster that Microsoft can. In the long term I'd like for VS to pull template content from this repo or a related one created and owned by the community.

Since yo generators are invoked on the command line we have the ability to provide for a broader set of options than what can be presented in VS. For example there are several yo generators which have optional settings which can be presented. One good example for us would be grunt or gulp.

We can also provide new options which may not be available in VS, like the idea here.

Whenever we do add content which is above and beyond what VS has we have to ensure that it's high quality content and that it aligns with asp.net 5 best practices.

In cases where there will be a significant addition to the generators I'd like to propose the following steps.

  1. Create a new issue so that we can discuss the idea
  2. Submit a PR with the proposed updates so that everyone can try it out
  3. See what everyone here thinks
  4. Get input of the asp.net team

I will be on the hook for getting the feedback from the asp.net team to ensure that we are following best practices and aligning with future goals of asp.net/VS.

Thoughts?

from generator-aspnet.

peterblazejewicz avatar peterblazejewicz commented on May 27, 2024

@sayedihashimi
Maybe I was not clear: I hope that generator will be able to create a content that is portable - I want to be able to create a project on nix machine in such way, that another folk could open in VS - and other way around. I work at company with exclusive C# stack, so we literally brick walled external contractor(s) with only *nix machine - or just without VS installed on Win machine. I hope that vNext - including generator - will allow to break this wall (I've worked mostly in startups with stacks that were based on open source components and can run everywhere).
I agree that some sugar can be added to generator features though - but as addition to *core
features.

from generator-aspnet.

sayedihashimi avatar sayedihashimi commented on May 27, 2024

"I hope that generator will be able to create a content that is portable"
Yes, completely agree.

In this case VS editors do not support import/export but the asp.net runtime supports everything fine. Since it's a bug that VS doesn't support those it's ok to create content in generators containing it. Hopefully we can get the support soon.

from generator-aspnet.

spboyer avatar spboyer commented on May 27, 2024

@OdeToCode has a good post here - http://odetocode.com/blogs/scott/archive/2015/02/18/using-jspm-with-visual-studio-2015-and-asp-net-5.aspx showing how to setup jspm. I could create an option for the project templates --jspm to use as an optional to bring it in. Thoughts?

@sayedihashimi

from generator-aspnet.

OdeToCode avatar OdeToCode commented on May 27, 2024

+1 ;)

from generator-aspnet.

sayedihashimi avatar sayedihashimi commented on May 27, 2024

Lets try it out, later we can add a "show additional options" and prompt for this and other choices like grunt/gulp/etc.

Can you send a PR, then I can review it with the team?

from generator-aspnet.

peterblazejewicz avatar peterblazejewicz commented on May 27, 2024

+1

from generator-aspnet.

jack4it avatar jack4it commented on May 27, 2024

Looking forward to it...

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.