0

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?

madth3
  • 7,275
  • 12
  • 50
  • 74
Junior Mayhé
  • 16,144
  • 26
  • 115
  • 161

2 Answers2

2

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.

Luke Page
  • 8,136
  • 1
  • 20
  • 22
0

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{}.

Justin Niessner
  • 242,243
  • 40
  • 408
  • 536