-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Loosen System.Web Stranglehold #315
Comments
I think a new assembly will be needed for the aspnet specific bits but we can include in the current squishit package to minimize disruption. A .nancy package could then include alternate implementations, along with the framework assembly. Now that we're on .net 4 can make these satellite assemblies register themselves with the framework (like the pre processors do). |
Is the Are you happy for me to pull out the necessary interfaces, or do you want to set up the initial work? |
I'm put something together as a start, I'll create a PR for you to have a look. Try and have it done in the next couple of days, but might not have much time tomorrow ;) |
MVC package is just razor helper stuff, I've never actually used it. I'm thinking a SquishIt.AspNet assembly that gets included with current package will be the way to go. Then if you get nancy implementations together we can put out SquishIt.Nancy and include a pointer in the release notes for any nancy users. Yeah if you want to pull out the interfaces thats fine. Just create some folder in the Framework project for now and we can get it moved out to a new assembly when ready. Definitely thinking this should be included in 1.0 release since its a pretty major change. You can fork from here: https://github.com/AlexCuse/SquishIt/tree/feature/v1.0 |
Thanks. Now have to figure out the best way to fork it, as I can't. I've already forked the Any suggestions? edit: Actually, is there a specific reason the 1.0 branch is not in the parent repository? Then I wouldn't have a problem ;) |
Ok, I've managed to manually create a fork... however, after switching to your feature/v1.0, I have 40 failed tests. Is this expected? They're all related to the expected minified script being |
Oh man sorry about that - just committed a change flipping the default minifiers back to ajaxmin. I got cold feet about that change in light of #323. |
re self registering assemblies (when SquishIt.AspNet gets split out): |
@AlexCuse Could you take a look at the PR I sent you: Worthaboutapig/AC-SquishIt#2 |
I don't understand that PR - what does it have to do with extracting dependencies on System.Web? Are there unpushed commits? I am not sure I want to make this change, because the sass project seems to be working for some people and it might break it. I have been watching libsass.net and there seems to be movement in making it "AnyCPU" ready. |
Oh wait I see, its PR 1 in your repo not 2. I never got a notification for this - it looks like you submitted the PR against your repo's feature/v1.0 branch instead of upstream. It does look more or less like what I had in mind though. Don't worry too much about coding style, though I appreciate your efforts. The project has been around for a while, and its had contributions from a lot of people. I can never quite get a satisfactory result from resharper's "solution wide" cleanup. I especially appreciate your inclusion of xml comments, as I am on the verge of starting to include them in nuget packages for http://dotnetapis.com. Now that this is getting close I will probably wait until we have the new nuget packages defined so I can include them everywhere at once. Let me know how everything goes, and if I can help with anything. I think you can get my email from the git logs. |
Hide everything that depends on System.Web behind an interface, allow user to specify alternate implementations.
Probably a good change for v1.0, take the opportunity to overhaul configuration API to make it more discoverable.
BundleCache / RawContentCache and DebugStatusReader are the two remaining that come to mind, though I'd imagine there are others.
It'd be nice to put implementations of these interfaces into a new project/package for nancy users, though I am not sure I have the expertise with nancy to figure this stuff out (CacheDependency is an especially glaring need).
The text was updated successfully, but these errors were encountered: