abc
❔ C# Library - Word to PDF?
Hey.
I have a project that can export data as word using SharpDocX library. Bottom line is somewhere in my code i reach a point where I have a byte array that can be deserialized to a docx document.
Do you know of a library that can transform the docx to a pdf?
8 replies
❔ CORS error
I have enabled cors according to: https://learn.microsoft.com/en-us/aspnet/core/security/cors?view=aspnetcore-7.0
named policy and middleware
policy.WithOrigins("http://localhost:7022").AllowAnyHeader().AllowAnyMethod();
i still get
rom origin 'https://localhost:7022' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
5 replies