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

ViewerJS with Angular front end and ASP.Net Core as Middle Tier Web API #307

Open
amulu06 opened this issue Aug 11, 2022 · 0 comments
Open

Comments

@amulu06
Copy link

amulu06 commented Aug 11, 2022

Hi, I have a requirement in our Application which is built using Angular 11 as Front end and API layer on ASP.Net core. Both the Applications are hosted on the same Web Server.
I need to show the preview of the documents with in the Attachments function as one of the preview option. Trying to use ViewerJS.
I'm not sure about where exactly this ViewerJS need to be copied and how to use it to preview documents.
I tried copying this on Angular side under assets folder and also my sample file in the same, but I could not make it load, It just shows blank screen,
Also I tried copying the ViewerJS under Middle Tier wwwroot folder with my files under wwwroot\downloads. This also not working.
Would you please provide some sample on how to use ViewerJS in the above scenario

Thanks,

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

1 participant