Category : asp.net

I have an ASP.NET Core web site running under IIS on a server. I created a folder and want to display any pdf file in that folder in the browser using the url for the site. https://example.com/pdf/myfile.pdf folder structure: c:inetpubwwwrootmysitepdfmyfile.pdf – contains pdf files I enabled Directory Browsing for the site in IIS Manager, but ..

Read more

I’m using this code to upload some files to GOOGLE DRIVE . It works fine when i test it with a console application . Google drive asks for authentication the first time and work correctly after that . public class RepositoryGoogleDrive : IDisposable { public void Dispose() { } static string[] Scopes = { DriveService.Scope.Drive, ..

Read more