diff --git a/Open and Save for Blazor PDF Viewer(next gen)/PDFViewerSample.sln b/Open and Save for Blazor PDF Viewer(next gen)/PDFViewerSample.sln new file mode 100644 index 0000000..0566411 --- /dev/null +++ b/Open and Save for Blazor PDF Viewer(next gen)/PDFViewerSample.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.8.34219.65 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PDFViewerSample", "PDFViewerSample\PDFViewerSample.csproj", "{122086AC-F5C1-4E02-A2F7-9FD64A0C9C38}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {122086AC-F5C1-4E02-A2F7-9FD64A0C9C38}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {122086AC-F5C1-4E02-A2F7-9FD64A0C9C38}.Debug|Any CPU.Build.0 = Debug|Any CPU + {122086AC-F5C1-4E02-A2F7-9FD64A0C9C38}.Release|Any CPU.ActiveCfg = Release|Any CPU + {122086AC-F5C1-4E02-A2F7-9FD64A0C9C38}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {58F1D4B3-EEB0-4A76-AC65-81120F954551} + EndGlobalSection +EndGlobal diff --git a/Open and Save for Blazor PDF Viewer(next gen)/PDFViewerSample/App.razor b/Open and Save for Blazor PDF Viewer(next gen)/PDFViewerSample/App.razor new file mode 100644 index 0000000..6fd3ed1 --- /dev/null +++ b/Open and Save for Blazor PDF Viewer(next gen)/PDFViewerSample/App.razor @@ -0,0 +1,12 @@ + + + + + + + Not found + +

Sorry, there's nothing at this address.

+
+
+
diff --git a/Open and Save for Blazor PDF Viewer(next gen)/PDFViewerSample/Data/WeatherForecast.cs b/Open and Save for Blazor PDF Viewer(next gen)/PDFViewerSample/Data/WeatherForecast.cs new file mode 100644 index 0000000..e676c4d --- /dev/null +++ b/Open and Save for Blazor PDF Viewer(next gen)/PDFViewerSample/Data/WeatherForecast.cs @@ -0,0 +1,13 @@ +namespace PDFViewerSample.Data +{ + public class WeatherForecast + { + public DateOnly Date { get; set; } + + public int TemperatureC { get; set; } + + public int TemperatureF => 32 + (int)(TemperatureC / 0.5556); + + public string? Summary { get; set; } + } +} diff --git a/Open and Save for Blazor PDF Viewer(next gen)/PDFViewerSample/Data/WeatherForecastService.cs b/Open and Save for Blazor PDF Viewer(next gen)/PDFViewerSample/Data/WeatherForecastService.cs new file mode 100644 index 0000000..41a1070 --- /dev/null +++ b/Open and Save for Blazor PDF Viewer(next gen)/PDFViewerSample/Data/WeatherForecastService.cs @@ -0,0 +1,20 @@ +namespace PDFViewerSample.Data +{ + public class WeatherForecastService + { + private static readonly string[] Summaries = new[] + { + "Freezing", "Bracing", "Chilly", "Cool", "Mild", "Warm", "Balmy", "Hot", "Sweltering", "Scorching" + }; + + public Task GetForecastAsync(DateOnly startDate) + { + return Task.FromResult(Enumerable.Range(1, 5).Select(index => new WeatherForecast + { + Date = startDate.AddDays(index), + TemperatureC = Random.Shared.Next(-20, 55), + Summary = Summaries[Random.Shared.Next(Summaries.Length)] + }).ToArray()); + } + } +} diff --git a/Open and Save for Blazor PDF Viewer(next gen)/PDFViewerSample/PDFViewerSample.csproj b/Open and Save for Blazor PDF Viewer(next gen)/PDFViewerSample/PDFViewerSample.csproj new file mode 100644 index 0000000..79ed5f7 --- /dev/null +++ b/Open and Save for Blazor PDF Viewer(next gen)/PDFViewerSample/PDFViewerSample.csproj @@ -0,0 +1,19 @@ + + + + net7.0 + enable + enable + + + + + + + + + + + + + diff --git a/Open and Save for Blazor PDF Viewer(next gen)/PDFViewerSample/Pages/Counter.razor b/Open and Save for Blazor PDF Viewer(next gen)/PDFViewerSample/Pages/Counter.razor new file mode 100644 index 0000000..ef23cb3 --- /dev/null +++ b/Open and Save for Blazor PDF Viewer(next gen)/PDFViewerSample/Pages/Counter.razor @@ -0,0 +1,18 @@ +@page "/counter" + +Counter + +

Counter

+ +

Current count: @currentCount

+ + + +@code { + private int currentCount = 0; + + private void IncrementCount() + { + currentCount++; + } +} diff --git a/Open and Save for Blazor PDF Viewer(next gen)/PDFViewerSample/Pages/Error.cshtml b/Open and Save for Blazor PDF Viewer(next gen)/PDFViewerSample/Pages/Error.cshtml new file mode 100644 index 0000000..39e9928 --- /dev/null +++ b/Open and Save for Blazor PDF Viewer(next gen)/PDFViewerSample/Pages/Error.cshtml @@ -0,0 +1,42 @@ +@page +@model PDFViewerSample.Pages.ErrorModel + + + + + + + + Error + + + + + +
+
+

Error.

+

An error occurred while processing your request.

+ + @if (Model.ShowRequestId) + { +

+ Request ID: @Model.RequestId +

+ } + +

Development Mode

+

+ Swapping to the Development environment displays detailed information about the error that occurred. +

+

+ The Development environment shouldn't be enabled for deployed applications. + It can result in displaying sensitive information from exceptions to end users. + For local debugging, enable the Development environment by setting the ASPNETCORE_ENVIRONMENT environment variable to Development + and restarting the app. +

+
+
+ + + diff --git a/Open and Save for Blazor PDF Viewer(next gen)/PDFViewerSample/Pages/Error.cshtml.cs b/Open and Save for Blazor PDF Viewer(next gen)/PDFViewerSample/Pages/Error.cshtml.cs new file mode 100644 index 0000000..9b888f9 --- /dev/null +++ b/Open and Save for Blazor PDF Viewer(next gen)/PDFViewerSample/Pages/Error.cshtml.cs @@ -0,0 +1,27 @@ +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.RazorPages; +using System.Diagnostics; + +namespace PDFViewerSample.Pages +{ + [ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)] + [IgnoreAntiforgeryToken] + public class ErrorModel : PageModel + { + public string? RequestId { get; set; } + + public bool ShowRequestId => !string.IsNullOrEmpty(RequestId); + + private readonly ILogger _logger; + + public ErrorModel(ILogger logger) + { + _logger = logger; + } + + public void OnGet() + { + RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier; + } + } +} diff --git a/Open and Save for Blazor PDF Viewer(next gen)/PDFViewerSample/Pages/FetchData.razor b/Open and Save for Blazor PDF Viewer(next gen)/PDFViewerSample/Pages/FetchData.razor new file mode 100644 index 0000000..f47eac3 --- /dev/null +++ b/Open and Save for Blazor PDF Viewer(next gen)/PDFViewerSample/Pages/FetchData.razor @@ -0,0 +1,47 @@ +@page "/fetchdata" +@using PDFViewerSample.Data +@inject WeatherForecastService ForecastService + +Weather forecast + +

Weather forecast

+ +

This component demonstrates fetching data from a service.

+ +@if (forecasts == null) +{ +

Loading...

+} +else +{ + + + + + + + + + + + @foreach (var forecast in forecasts) + { + + + + + + + } + +
DateTemp. (C)Temp. (F)Summary
@forecast.Date.ToShortDateString()@forecast.TemperatureC@forecast.TemperatureF@forecast.Summary
+} + +@code { + private WeatherForecast[]? forecasts; + + protected override async Task OnInitializedAsync() + { + forecasts = await ForecastService.GetForecastAsync(DateOnly.FromDateTime(DateTime.Now)); + } +} diff --git a/Open and Save for Blazor PDF Viewer(next gen)/PDFViewerSample/Pages/Index.razor b/Open and Save for Blazor PDF Viewer(next gen)/PDFViewerSample/Pages/Index.razor new file mode 100644 index 0000000..150d3fb --- /dev/null +++ b/Open and Save for Blazor PDF Viewer(next gen)/PDFViewerSample/Pages/Index.razor @@ -0,0 +1,118 @@ +@using Google.Apis.Drive.v3; +@using Google.Apis.Auth.OAuth2; +@using Google.Apis.Services; +@using Google.Apis.Util.Store; +@using System.IO; +@using System.Threading.Tasks; +@using Syncfusion.Blazor.Buttons +@using Syncfusion.Blazor.SfPdfViewer; + +@page "/" +Save file to google drive + + + + +@code { + private string DocumentPath { get; set; } + private SfPdfViewer2 viewer; + + private readonly string FolderId = "Your Google Drive Folder ID"; + private readonly string CredentialPath = "Your Path to the OAuth 2.0 Client IDs json file"; + private readonly string ApplicationName = "Your Application name"; + private readonly string FileName = "File Name to be loaded into Syncfusion PDF Viewer"; + + private static readonly string[] Scopes = { DriveService.Scope.DriveFile, DriveService.Scope.DriveReadonly }; + + protected override async Task OnInitializedAsync() + { + UserCredential credential; + using (var stream1 = new FileStream(CredentialPath, FileMode.Open, FileAccess.Read)) + { + string credPath = "token.json"; + credential = await GoogleWebAuthorizationBroker.AuthorizeAsync( + GoogleClientSecrets.Load(stream1).Secrets, + Scopes, + "user", + CancellationToken.None, + new FileDataStore(credPath, true)); + } + + var service = new DriveService(new BaseClientService.Initializer() + { + HttpClientInitializer = credential, + ApplicationName = ApplicationName, + }); + + var listRequest = service.Files.List(); + listRequest.Q = $"mimeType='application/pdf' and '{FolderId}' in parents and trashed=false"; + listRequest.Fields = "files(id, name)"; + var files = await listRequest.ExecuteAsync(); + + string fileIdToDownload = files.Files + .FirstOrDefault(file => file.Name == FileName)?.Id; + + if (!string.IsNullOrEmpty(fileIdToDownload)) + { + var request = service.Files.Get(fileIdToDownload); + using (var stream = new MemoryStream()) + { + await request.DownloadAsync(stream); + stream.Position = 0; + DocumentPath = "data:application/pdf;base64," + Convert.ToBase64String(stream.ToArray()); + } + } + else + { + Console.WriteLine("File not found in Google Drive."); + } + } + + public async void OnClick(MouseEventArgs args) + { + byte[] data = await viewer.GetDocumentAsync(); + string result = Path.GetFileNameWithoutExtension(FileName); + string fileName = result + "_downloaded.pdf"; + UserCredential credential; + + using (var memStream = new FileStream(CredentialPath, FileMode.Open, FileAccess.Read)) + { + string credPath = "token.json"; + credential = await GoogleWebAuthorizationBroker.AuthorizeAsync( + GoogleClientSecrets.Load(memStream).Secrets, + Scopes, + "user", + CancellationToken.None, + new FileDataStore(credPath, true)); + } + + // Create the Drive API service. + var service = new DriveService(new BaseClientService.Initializer() + { + HttpClientInitializer = credential, + ApplicationName = ApplicationName, + }); + + var fileMetadata = new Google.Apis.Drive.v3.Data.File() + { + Name = fileName, + Parents = new List { FolderId } + }; + + FilesResource.CreateMediaUpload request; + + using (var stream = new MemoryStream(data)) + { + request = service.Files.Create(fileMetadata, stream, "application/pdf"); + request.Fields = "id"; + object value = await request.UploadAsync(); + } + } +} + + + + diff --git a/Open and Save for Blazor PDF Viewer(next gen)/PDFViewerSample/Pages/_Host.cshtml b/Open and Save for Blazor PDF Viewer(next gen)/PDFViewerSample/Pages/_Host.cshtml new file mode 100644 index 0000000..fd788a7 --- /dev/null +++ b/Open and Save for Blazor PDF Viewer(next gen)/PDFViewerSample/Pages/_Host.cshtml @@ -0,0 +1,38 @@ +@page "/" +@using Microsoft.AspNetCore.Components.Web +@namespace PDFViewerSample.Pages +@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers + + + + + + + + + + + + + + + + + + + + +
+ + An error has occurred. This application may no longer respond until reloaded. + + + An unhandled exception has occurred. See browser dev tools for details. + + Reload + 🗙 +
+ + + + diff --git a/Open and Save for Blazor PDF Viewer(next gen)/PDFViewerSample/Program.cs b/Open and Save for Blazor PDF Viewer(next gen)/PDFViewerSample/Program.cs new file mode 100644 index 0000000..04f9dd4 --- /dev/null +++ b/Open and Save for Blazor PDF Viewer(next gen)/PDFViewerSample/Program.cs @@ -0,0 +1,34 @@ +using Microsoft.AspNetCore.Components; +using Microsoft.AspNetCore.Components.Web; +using PDFViewerSample.Data; +using Syncfusion.Blazor; + +var builder = WebApplication.CreateBuilder(args); + +// Add services to the container. +builder.Services.AddRazorPages(); +builder.Services.AddServerSideBlazor().AddHubOptions(o => { o.MaximumReceiveMessageSize = 102400000; }); +// Add Syncfusion Blazor service to the container. +builder.Services.AddSyncfusionBlazor(); +builder.Services.AddSingleton(); + +var app = builder.Build(); + +// Configure the HTTP request pipeline. +if (!app.Environment.IsDevelopment()) +{ + app.UseExceptionHandler("/Error"); + // The default HSTS value is 30 days. You may want to change this for production scenarios, see https://aka.ms/aspnetcore-hsts. + app.UseHsts(); +} + +app.UseHttpsRedirection(); + +app.UseStaticFiles(); + +app.UseRouting(); + +app.MapBlazorHub(); +app.MapFallbackToPage("/_Host"); + +app.Run(); \ No newline at end of file diff --git a/Open and Save for Blazor PDF Viewer(next gen)/PDFViewerSample/Properties/launchSettings.json b/Open and Save for Blazor PDF Viewer(next gen)/PDFViewerSample/Properties/launchSettings.json new file mode 100644 index 0000000..feed45c --- /dev/null +++ b/Open and Save for Blazor PDF Viewer(next gen)/PDFViewerSample/Properties/launchSettings.json @@ -0,0 +1,37 @@ +{ + "iisSettings": { + "windowsAuthentication": false, + "anonymousAuthentication": true, + "iisExpress": { + "applicationUrl": "http://localhost:51985", + "sslPort": 44327 + } + }, + "profiles": { + "http": { + "commandName": "Project", + "dotnetRunMessages": true, + "launchBrowser": true, + "applicationUrl": "http://localhost:5263", + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + }, + "https": { + "commandName": "Project", + "dotnetRunMessages": true, + "launchBrowser": true, + "applicationUrl": "https://localhost:7024;http://localhost:5263", + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + }, + "IIS Express": { + "commandName": "IISExpress", + "launchBrowser": true, + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + } + } +} diff --git a/Open and Save for Blazor PDF Viewer(next gen)/PDFViewerSample/Shared/MainLayout.razor b/Open and Save for Blazor PDF Viewer(next gen)/PDFViewerSample/Shared/MainLayout.razor new file mode 100644 index 0000000..5eda93d --- /dev/null +++ b/Open and Save for Blazor PDF Viewer(next gen)/PDFViewerSample/Shared/MainLayout.razor @@ -0,0 +1,19 @@ +@inherits LayoutComponentBase + +PDFViewerSample + +
+ + +
+
+ About +
+ +
+ @Body +
+
+
diff --git a/Open and Save for Blazor PDF Viewer(next gen)/PDFViewerSample/Shared/MainLayout.razor.css b/Open and Save for Blazor PDF Viewer(next gen)/PDFViewerSample/Shared/MainLayout.razor.css new file mode 100644 index 0000000..551e4b2 --- /dev/null +++ b/Open and Save for Blazor PDF Viewer(next gen)/PDFViewerSample/Shared/MainLayout.razor.css @@ -0,0 +1,70 @@ +.page { + position: relative; + display: flex; + flex-direction: column; +} + +main { + flex: 1; +} + +.sidebar { + background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%); +} + +.top-row { + background-color: #f7f7f7; + border-bottom: 1px solid #d6d5d5; + justify-content: flex-end; + height: 3.5rem; + display: flex; + align-items: center; +} + + .top-row ::deep a, .top-row .btn-link { + white-space: nowrap; + margin-left: 1.5rem; + } + + .top-row a:first-child { + overflow: hidden; + text-overflow: ellipsis; + } + +@media (max-width: 640.98px) { + .top-row:not(.auth) { + display: none; + } + + .top-row.auth { + justify-content: space-between; + } + + .top-row a, .top-row .btn-link { + margin-left: 0; + } +} + +@media (min-width: 641px) { + .page { + flex-direction: row; + } + + .sidebar { + width: 250px; + height: 100vh; + position: sticky; + top: 0; + } + + .top-row { + position: sticky; + top: 0; + z-index: 1; + } + + .top-row, article { + padding-left: 2rem !important; + padding-right: 1.5rem !important; + } +} diff --git a/Open and Save for Blazor PDF Viewer(next gen)/PDFViewerSample/Shared/NavMenu.razor b/Open and Save for Blazor PDF Viewer(next gen)/PDFViewerSample/Shared/NavMenu.razor new file mode 100644 index 0000000..7b06af0 --- /dev/null +++ b/Open and Save for Blazor PDF Viewer(next gen)/PDFViewerSample/Shared/NavMenu.razor @@ -0,0 +1,39 @@ + + + + +@code { + private bool collapseNavMenu = true; + + private string? NavMenuCssClass => collapseNavMenu ? "collapse" : null; + + private void ToggleNavMenu() + { + collapseNavMenu = !collapseNavMenu; + } +} diff --git a/Open and Save for Blazor PDF Viewer(next gen)/PDFViewerSample/Shared/NavMenu.razor.css b/Open and Save for Blazor PDF Viewer(next gen)/PDFViewerSample/Shared/NavMenu.razor.css new file mode 100644 index 0000000..604b7a1 --- /dev/null +++ b/Open and Save for Blazor PDF Viewer(next gen)/PDFViewerSample/Shared/NavMenu.razor.css @@ -0,0 +1,68 @@ +.navbar-toggler { + background-color: rgba(255, 255, 255, 0.1); +} + +.top-row { + height: 3.5rem; + background-color: rgba(0,0,0,0.4); +} + +.navbar-brand { + font-size: 1.1rem; +} + +.oi { + width: 2rem; + font-size: 1.1rem; + vertical-align: text-top; + top: -2px; +} + +.nav-item { + font-size: 0.9rem; + padding-bottom: 0.5rem; +} + + .nav-item:first-of-type { + padding-top: 1rem; + } + + .nav-item:last-of-type { + padding-bottom: 1rem; + } + + .nav-item ::deep a { + color: #d7d7d7; + border-radius: 4px; + height: 3rem; + display: flex; + align-items: center; + line-height: 3rem; + } + +.nav-item ::deep a.active { + background-color: rgba(255,255,255,0.25); + color: white; +} + +.nav-item ::deep a:hover { + background-color: rgba(255,255,255,0.1); + color: white; +} + +@media (min-width: 641px) { + .navbar-toggler { + display: none; + } + + .collapse { + /* Never collapse the sidebar for wide screens */ + display: block; + } + + .nav-scrollable { + /* Allow sidebar to scroll for tall menus */ + height: calc(100vh - 3.5rem); + overflow-y: auto; + } +} diff --git a/Open and Save for Blazor PDF Viewer(next gen)/PDFViewerSample/Shared/SurveyPrompt.razor b/Open and Save for Blazor PDF Viewer(next gen)/PDFViewerSample/Shared/SurveyPrompt.razor new file mode 100644 index 0000000..ec64baa --- /dev/null +++ b/Open and Save for Blazor PDF Viewer(next gen)/PDFViewerSample/Shared/SurveyPrompt.razor @@ -0,0 +1,16 @@ +
+ + @Title + + + Please take our + brief survey + + and tell us what you think. +
+ +@code { + // Demonstrates how a parent component can supply parameters + [Parameter] + public string? Title { get; set; } +} diff --git a/Open and Save for Blazor PDF Viewer(next gen)/PDFViewerSample/_Imports.razor b/Open and Save for Blazor PDF Viewer(next gen)/PDFViewerSample/_Imports.razor new file mode 100644 index 0000000..443f30d --- /dev/null +++ b/Open and Save for Blazor PDF Viewer(next gen)/PDFViewerSample/_Imports.razor @@ -0,0 +1,12 @@ +@using System.Net.Http +@using Microsoft.AspNetCore.Authorization +@using Microsoft.AspNetCore.Components.Authorization +@using Microsoft.AspNetCore.Components.Forms +@using Microsoft.AspNetCore.Components.Routing +@using Microsoft.AspNetCore.Components.Web +@using Microsoft.AspNetCore.Components.Web.Virtualization +@using Microsoft.JSInterop +@using PDFViewerSample +@using PDFViewerSample.Shared +@using Syncfusion.Blazor; +@using Syncfusion.Blazor.SfPdfViewer; \ No newline at end of file diff --git a/Open and Save for Blazor PDF Viewer(next gen)/PDFViewerSample/appsettings.Development.json b/Open and Save for Blazor PDF Viewer(next gen)/PDFViewerSample/appsettings.Development.json new file mode 100644 index 0000000..770d3e9 --- /dev/null +++ b/Open and Save for Blazor PDF Viewer(next gen)/PDFViewerSample/appsettings.Development.json @@ -0,0 +1,9 @@ +{ + "DetailedErrors": true, + "Logging": { + "LogLevel": { + "Default": "Information", + "Microsoft.AspNetCore": "Warning" + } + } +} diff --git a/Open and Save for Blazor PDF Viewer(next gen)/PDFViewerSample/appsettings.json b/Open and Save for Blazor PDF Viewer(next gen)/PDFViewerSample/appsettings.json new file mode 100644 index 0000000..10f68b8 --- /dev/null +++ b/Open and Save for Blazor PDF Viewer(next gen)/PDFViewerSample/appsettings.json @@ -0,0 +1,9 @@ +{ + "Logging": { + "LogLevel": { + "Default": "Information", + "Microsoft.AspNetCore": "Warning" + } + }, + "AllowedHosts": "*" +} diff --git a/Open and Save for Blazor PDF Viewer(next gen)/PDFViewerSample/token.json/Google.Apis.Auth.OAuth2.Responses.TokenResponse-user b/Open and Save for Blazor PDF Viewer(next gen)/PDFViewerSample/token.json/Google.Apis.Auth.OAuth2.Responses.TokenResponse-user new file mode 100644 index 0000000..ce4d5c6 --- /dev/null +++ b/Open and Save for Blazor PDF Viewer(next gen)/PDFViewerSample/token.json/Google.Apis.Auth.OAuth2.Responses.TokenResponse-user @@ -0,0 +1 @@ +{"access_token":"ya29.a0AfB_byCsUoOCfER9QXH7Ku9wB9csjRyjlv-z7SlvheiD1pkSOhU1kSuJD4yJGWRyXSWLDFUWCYwBHlYoEt3iY9kmm47H7Y1AeOvY1gr3KBQjcSH03ZNfkCR6h7kVwv1kwPHov5n5W6ZvMnCBmI-98Oiv7ZB7-rYSOpxmaCgYKAeMSARMSFQHGX2Mi7KFvXB0gJuPaVm5HxPiNuw0171","token_type":"Bearer","expires_in":3599,"refresh_token":"1//0g-4uCkn5wUOHCgYIARAAGBASNwF-L9IrhUFJS7X0FIiynmM44WZRmiW8EeTUKZoAHatwNc4dVBNWuUuH6d2qaABNCbhy1iqW54s","scope":"https://www.googleapis.com/auth/drive.readonly https://www.googleapis.com/auth/drive.file","Issued":"2024-01-08T16:42:50.316+05:30","IssuedUtc":"2024-01-08T11:12:50.316Z"} \ No newline at end of file diff --git a/Open and Save for Blazor PDF Viewer(next gen)/PDFViewerSample/wwwroot/favicon.png b/Open and Save for Blazor PDF Viewer(next gen)/PDFViewerSample/wwwroot/favicon.png new file mode 100644 index 0000000..8422b59 Binary files /dev/null and b/Open and Save for Blazor PDF Viewer(next gen)/PDFViewerSample/wwwroot/favicon.png differ