Last post Jun 29, 2015 12:15 PM by bruce (sqlwork.com)
Jan 29, 2015 10:39 AM|ThatsIT|LINK
just looking into MVC6 starter project, learning how to compile less and typescript files using grunt.
Grunt seems like a fair bit of config for what web essentials did out of the box, from what I can tell you need to add each less file to the config.
Why grunt, when web essentials gave us a good editor that let us see the css in the preview pane and compiled the css files on save. While debugging I could save less file and see changes in the browser now it looks as if I have to build to see less file
changes in the browser.
Am I missing something or are we going backwards?
Jan 30, 2015 02:22 AM|Archer Wang|LINK
Thank you for your post. ASP.NET5 is a total different technology than before. Many things has been changed, although we are more accustomed to using old version.
I suggest that you could learn more skills from the tutorial as below. Also, there are too less tutorials in the Internet currently.
Or, if you have any suggestions about the new technology, you could send a feedback to Microsoft by this
Feedback on ASP.NET .
Hope this could be helpful to you.
Jan 30, 2015 01:49 PM|imran_ku07|LINK
IMHO, bower, grunt and gulp community in client side is huge, popular, wide and famous. There are lot of plugins/packages already built for them. Visual Studio just added support for them so that a developer can easily use the famous and problem solving
client side stuffs(that are already built) within VS(without using any other tool). Vs-Essentials is not gone and is also available for VS 2015 https://visualstudiogallery.msdn.microsoft.com/ee6e6d8c-c837-41fb-886a-6b50ae2d06a2
Feb 02, 2015 06:20 PM|rstrahl|LINK
While I think it's great that there's awesome Grunt and Gulp support in VS2015, I also don't think these tools are necessary for all scenarios. Having a build process is great, but it's overkill for many small and internal sites that don't need to perform
all the processing tasks.
Personally I think there's a valid place for both build process tooling and for in place transformation especially given that this is not rocket science in terms of functionality.
+++ Rick ---
Mar 17, 2015 08:57 AM|ByteStorms|LINK
While grunt and gulp may be cool, powerfull, nice and stuff like that... For tons of web projects out there, we just need what Web Essentials 2013 achieved.
There's no point in using such complex processing, configs and stuffs when you can simply hit SAVE and move on.
Major down for Web Essentials 2015 and Visual Studio 2015 for web projects.
A lot of people will stick to VS2013 just because of that.
Mar 19, 2015 04:40 PM|CodeHobo|LINK
I'm personally in favor of the shit towards grunt/gulp. While it does take slightly more configuration, after getting comfortable you can get gulp (I don't like grunt myself) up and running fairly quickly.
The major benefits I see are
1) Gulp can do more than just provide less support, it's a full fledged task runner so you get extra benefits like linting, minification, unused css etc..
2) Less support on Gulp is widely supported in the greater web dev community. If there is an update it will go there first. Using gulp/grunt we get those updates along with the larger community and we don't have to wait for Mads to update Web Essentials
(which he does pretty frequently, but it's one less step).
Jun 26, 2015 01:57 PM|DerekFoulk|LINK
@ThatsIT - After a few times setting up a Gruntfile.js & package.json, you will find that there is a very small amount of config for the power that these tools contain. You can usually reuse these files in various projects (with some renaming, etc.).
Also, you don't have to list all Less files to the Grunt config... Just use something like the following and be sure to
read the docs!
If you'd like, you can use dotLess to handle your Less files...
Grunt does much more than allow for Less compiling though! I use Grunt for all kinds of things... Concatenation, renaming, versioning. One of the great things about Grunt is that you can customize Bootstrap in a completely modular environment.
I am loving this new face of MVC personally... But I am a control freak, and am not a fan of visual editing. I like the control and speed Grunt offers.
Jun 27, 2015 02:44 PM|rstrahl|LINK
Mads Kristensen has created a new bundler/minifier in a separate VS extension that picks up some of the slack for vs2015.
More info here:
And here is the extension:
No Less/Sass support there though.
Jun 27, 2015 02:48 PM|ThatsIT|LINK
Jun 29, 2015 12:15 PM|bruce (sqlwork.com)|LINK
MVC6 approach you get the latest with a simple npm command.
you can easily add a grunt task with a file watcher to do the less and min on file save. see this thread:
again this is the same approach can be used with any client tools. that is instead of writing a extension that only works in vs, you write a gunt task that works with any ide, say visual studio code.