Giter Club home page Giter Club logo

Comments (5)

adams85 avatar adams85 commented on July 23, 2024

No, it won't. This lib is for ASP.NET Core only.

For classic ASP.NET projects your best bet is System.Web.Optimization. At least, there's a NuGet package for WebForms so it should work for you. (Cannot say for sure, I've used it only in MVC projects).

from bundling.

Gruski avatar Gruski commented on July 23, 2024

That one has not been updated since 2014 and fails on all kinds of modern concepts: i.e. css props, async/await, etc. so it is completely useless for css and javascript minification at all levels. Do you know of any modern minifiers that work well with ASP.NET WebForms?

from bundling.

adams85 avatar adams85 commented on July 23, 2024

I don't know of other bundling solutions for classic ASP.NET.

System.Web.Optimization may not be totally hopeless though. It is extensible to a fair degree. E.g. you can define custom bundle types, so probably it can be integrated with libs like NUglify or LibSassHost.

Another option might be to backport my lib. It should be doable as it supports Netstandard 2.0 which is available on NET 4.6.1 or later. There are relatively few ASP.NET Core specific parts, which can be replaced with some effort. This would take definitely more work than tweaking System.Web.Optimization though (and TBH, I don't see too much value in this when classic .NET is virtually considered as legacy).

from bundling.

Gruski avatar Gruski commented on July 23, 2024

Well I don't have the resources to extend System.Web.Optimization. Looking for a done solution not something that needs time investment. It would be good if you backported your lib. Although .NET is considered legacy for new development, there are still many huge projects built on it that will not go away any time soon and need to use new CSS and ES6 features. Right now we are not minifying because there is nothing out there for .NET that does it.

from bundling.

adams85 avatar adams85 commented on July 23, 2024

I understand your situation but I'm not sure where you are going with this. Of course, I could backport my lib if I wanted to. But that'd take a significant amount of effort for something I'm not in need of.

In this repo I shared some high quality software components with the public for free. But these were created because I needed them or, at times, for fun. Backporting this lib neither would have any value, nor would be fun for me. So I'm sad to say that this won't happen unless you give me some incentive.

AFAIK, there's no out-of-the-box solution to your problem. If you want a solution, you'll need investment in one way or the other. If you stick to using this lib, I'm open to further discussion. In this case, please give me your email address and let's continue it privately.

from bundling.

Related Issues (16)

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.