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

Rotativa and WebAPI #38

Closed
yyie opened this issue Aug 15, 2013 · 6 comments
Closed

Rotativa and WebAPI #38

yyie opened this issue Aug 15, 2013 · 6 comments

Comments

@yyie
Copy link

yyie commented Aug 15, 2013

Hi, I want to use BuildPdf method inside a WebAPI action. I want to use BuildPdf to send some PDF mails. The BuildPdf method requires the Mvc.Context and not the ApiControllerContext. Somebody know if is it possible to used in WebApi?

@webgio
Copy link
Owner

webgio commented Nov 18, 2014

No. Just works on MVC, but you could fork repo to provide modified version to work with webapi.

@webgio webgio closed this as completed Nov 18, 2014
@JustMaier
Copy link

Submitted Pull Request to address this.

@pjdupreez
Copy link

Had any luck with this? I am also looking for this functionality.

@JustMaier
Copy link

@pjdupreez you can grab my fork/pull request for a version that works without the HTTPContext.

@pjdupreez
Copy link

Thanks, I will definitely have a look

@2E0PGS
Copy link

2E0PGS commented Aug 1, 2018

I suggest we re open this issue. Merge the pull request and then close it.

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

5 participants