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

Implementation with microsoft.extensions.dependencyinjection/Hosting #296

Open
XanNava opened this issue Oct 4, 2022 · 4 comments
Open

Comments

@XanNava
Copy link

XanNava commented Oct 4, 2022

Hi I saw there is an implementation for asp.net, but was wondering if it could be implemented with just microsoft.extensions.dependencyinjection/Hosting? Aka for non web based .net core applications.

@ipjohnson
Copy link
Owner

@XanNava
Copy link
Author

XanNava commented Oct 4, 2022

That looks like it, but seems to have dependancies tied around asp.net. I add that script which uses GraceServiceProviderFactory, then that needs GraceRegistration.Populate which is as far as I can get as that has a lot of dependancies that seem to be asp.net related.
Currently trying to figure out how Populate works, but seems a bit out of my knowledge range as of yet.

@ipjohnson
Copy link
Owner

I'm interested in what dependencies you're seeing from asp.net when you use Grace.Extensions.Hosting as that's supposed to be the non asp.net version of the extension.

@XanNava
Copy link
Author

XanNava commented Oct 5, 2022

Ah I was doing it wrong, I just loaded that package through nugget and it worked perfectly, thank!

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

2 participants