Skip to content
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

Support for CoreWCF #32

Open
ibrahimabtula opened this issue Feb 10, 2023 · 5 comments
Open

Support for CoreWCF #32

ibrahimabtula opened this issue Feb 10, 2023 · 5 comments

Comments

@ibrahimabtula
Copy link

Problem Statement

I am trying to use Autofac.Wcf with CoreWCF(https://github.com/CoreWCF/CoreWCF) but nuget is only available for .NET Framework 4.7.2

Desired Solution

Can you add support for .net 5/6/7.
If I am not mistaken it should require only a rebuild with different Target framework moniker (TFM).

Alternatives You've Considered

Additional Context

@tillig
Copy link
Member

tillig commented Feb 10, 2023

Since native WCF (referenced by this project) is only available on desktop .NET, it's not just adding a TFM; it'll be adding the CoreWCF references, adding the associated tests, updating the docs, and adding an example to the examples repo.

If you're up to it, we'd be happy to review PRs for these things.

@ibrahimabtula
Copy link
Author

Thanks for the quick response, I'll be happy to work on it during the weekends :)

@Kermel
Copy link

Kermel commented Jun 21, 2023

Hello @ibrahimabtula - just curious - is there possibly anything new regarding the rewrite for CoreWcf?

Edit: I have actually tried myself but there is a problem with converting the "AutofacHostFactory" and derived types (they all inherit originally from ServiceHostFactory and provide ServiceHost instances but none of those types exist (and will exist) in CoreWCF

I didn't dive deep enough to the WCF and CoreWCF to figure out how to do this properly :-/

@EricDionne
Copy link

Hello @ibrahimabtula and @tillig,

We are currently trying to make CoreWcf and autofac work together but we didn't succeed and we are out of ideas.

Do you know if there is any progress on this issue ?

@tillig
Copy link
Member

tillig commented Sep 15, 2023

There is no change from the Autofac standpoint or you'd have seen some notes here. This is also pretty low priority, all things considered, so likely we'll be relying on the community to either ship their own CoreWCF support library or submit pull requests to make this whole thing work with both original and CoreWCF. Any progress or further work here, at least by the Autofac team, will be posted here in an effort to save time with future progress requests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants