Comments (10)
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.
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.
- Create a new issue so that we can discuss the idea
- Submit a PR with the proposed updates so that everyone can try it out
- See what everyone here thinks
- 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.
@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.
"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.
@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?
from generator-aspnet.
+1 ;)
from generator-aspnet.
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.
+1
from generator-aspnet.
Looking forward to it...
from generator-aspnet.
We are shutting this repo down, it's been replaced with dotnet new
.
Thanks!
from generator-aspnet.
Related Issues (20)
- Remove 'usersecrets` subgenerator for RC HOT 1
- Update Docker template content for 2017RC HOT 1
- Update global.json generator/template for VS2017 RC HOT 1
- How to create controller in vscode using yo HOT 2
- [Possible Bug] Can't seem to run Yeoman generate project on Heroku HOT 10
- Can find project.json inside of new project HOT 18
- Log off should be Logout in mvc template
- Cant project in visual studio HOT 2
- The target "Restore" does not exist in the project HOT 2
- The specified framework 'Microsoft.NETCore.App', version '1.0.4' was not found HOT 5
- Subgenerators are not available HOT 5
- Can not bundle Js and css file in aspcore/angular2 HOT 2
- How to install previous generators HOT 1
- Bower is deprecated HOT 3
- double '<' character in csproj files HOT 1
- Error when using --version-current HOT 2
- Upgrade project templates to .NET Core 2.0 HOT 2
- Can't install generator-aspnet
- Sematic UI template - Index.cshtml content still has "ASP.NET MVC 5" or "ASP.NET 6" naming reference HOT 1
- Deprecate generator-aspnet package HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from generator-aspnet.