Reputation: 16401
I was wandering if can we safely use Less Css for .NET in a ASP.NET MVC applications.
Does it have critical drawbacks / disvantages that designers and developers should be aware?
Upvotes: 0
Views: 409
Reputation: 8186
I am a developer on dotless and I think it has advantages..
Here are a list of differences between less.js and dotless. Most are positive differences.
https://github.com/dotless/dotless/wiki/Less-js-differences
I would also suggest you have a look at our open issues list if you have any concerns.
https://github.com/dotless/dotless/issues?labels=&milestone=&state=open
and regarding MVC we support upto asp 3.5. For 4.5 we have an open bug to support it and in that bug a gist for using it in MVC 4.5.
Upvotes: 2
Reputation: 245399
Yes, you can safely use .less{} with ASP.NET MVC Applications. It is registered in your web.config as a handler for .less files which aren't handled by MVC so can be safely routed to the appropriate handler.
You could also do a quick search of Google for "dotless mvc". There are several blogs that explain how to properly configure your application to use .less{}.
Upvotes: 0