diff --git a/Load and Save/Load the Security Document/Document_Security/wwwroot/permission-restricted.pdf b/Load and Save/Load the Security Document/Document_Security/wwwroot/permission-restricted.pdf index 57ca4c3..577ae7f 100644 Binary files a/Load and Save/Load the Security Document/Document_Security/wwwroot/permission-restricted.pdf and b/Load and Save/Load the Security Document/Document_Security/wwwroot/permission-restricted.pdf differ diff --git a/Load and Save/Load the Security Document/README.md b/Load and Save/Load the Security Document/README.md new file mode 100644 index 0000000..99a3816 --- /dev/null +++ b/Load and Save/Load the Security Document/README.md @@ -0,0 +1,10 @@ +# Load a PDF security documents +This example explains how to load a PDF security document. Here the document is hosted in a live server. + +Documentation: https://help.syncfusion.com/document-processing/pdf/pdf-viewer/blazor/document-security + +## Project pre-requisites +To run this application, you need Visual Studio 2019 or later versions. + +## Deploying and running the sample +To debug while running the application, press F5 or select Debug > Start Debugging. To run the sample without debugging, press Ctrl+F5 or selectDebug > Start Without Debugging. \ No newline at end of file diff --git a/Server Deployment/DeployWPF/README.md b/Server Deployment/DeployWPF/README.md new file mode 100644 index 0000000..82bd2c6 --- /dev/null +++ b/Server Deployment/DeployWPF/README.md @@ -0,0 +1,10 @@ +# How To Deploy PDF Viewer in WPF Blazor App +This section contains samples of how To Deploy PDF Viewer in WPF Blazor App. + +Documentation: https://help.syncfusion.com/document-processing/pdf/pdf-viewer/blazor/getting-started/deploy-wpf-blazor-app + +## Project pre-requisites +To run this application, you need Visual Studio 2019 or later versions. + +## Deploying and running the sample +To debug while running the application, press F5 or select Debug > Start Debugging. To run the sample without debugging, press Ctrl+F5 or selectDebug > Start Without Debugging. \ No newline at end of file diff --git a/Server Deployment/DeployWPF/WPFBlazorHybridApp/MainWindow.xaml.cs b/Server Deployment/DeployWPF/WPFBlazorHybridApp/MainWindow.xaml.cs index bef7596..d04685b 100644 --- a/Server Deployment/DeployWPF/WPFBlazorHybridApp/MainWindow.xaml.cs +++ b/Server Deployment/DeployWPF/WPFBlazorHybridApp/MainWindow.xaml.cs @@ -21,7 +21,7 @@ public partial class MainWindow : Window public MainWindow() { InitializeComponent(); - var serviceCollection = new ServiceCollection(); + ServiceCollection serviceCollection = new ServiceCollection(); serviceCollection.AddWpfBlazorWebView(); serviceCollection.AddMemoryCache(); serviceCollection.AddSyncfusionBlazor(); diff --git a/Server Deployment/DeployWPF/WPFBlazorHybridApp/WPFBlazorHybridApp.csproj b/Server Deployment/DeployWPF/WPFBlazorHybridApp/WPFBlazorHybridApp.csproj index 6d5179f..25b1ed0 100644 --- a/Server Deployment/DeployWPF/WPFBlazorHybridApp/WPFBlazorHybridApp.csproj +++ b/Server Deployment/DeployWPF/WPFBlazorHybridApp/WPFBlazorHybridApp.csproj @@ -10,8 +10,8 @@ - - + + diff --git a/Server Deployment/WinForms/README.md b/Server Deployment/WinForms/README.md new file mode 100644 index 0000000..2366e83 --- /dev/null +++ b/Server Deployment/WinForms/README.md @@ -0,0 +1,10 @@ +# How To Deploy PDF Viewer in WinForms Blazor App +This section contains samples of how To Deploy PDF Viewer in WinForms Blazor App. + +Documentation: https://help.syncfusion.com/document-processing/pdf/pdf-viewer/blazor/getting-started/deploy-winforms-blazor-app + +## Project pre-requisites +To run this application, you need Visual Studio 2019 or later versions. + +## Deploying and running the sample +To debug while running the application, press F5 or select Debug > Start Debugging. To run the sample without debugging, press Ctrl+F5 or selectDebug > Start Without Debugging. \ No newline at end of file diff --git a/Server Deployment/WinForms/WinFormsBlazorHybridApp/Form1.cs b/Server Deployment/WinForms/WinFormsBlazorHybridApp/Form1.cs index 00c66d1..9908019 100644 --- a/Server Deployment/WinForms/WinFormsBlazorHybridApp/Form1.cs +++ b/Server Deployment/WinForms/WinFormsBlazorHybridApp/Form1.cs @@ -9,11 +9,11 @@ public partial class Form1 : Form public Form1() { InitializeComponent(); - var services = new ServiceCollection(); + ServiceCollection services = new ServiceCollection(); services.AddWindowsFormsBlazorWebView(); services.AddMemoryCache(); services.AddSyncfusionBlazor(); - var blazorWebView = new BlazorWebView() + BlazorWebView blazorWebView = new BlazorWebView() { HostPage = "wwwroot\\index.html", Services = services.BuildServiceProvider(), diff --git a/Server Deployment/WinForms/WinFormsBlazorHybridApp/WinFormsBlazorHybridApp.csproj b/Server Deployment/WinForms/WinFormsBlazorHybridApp/WinFormsBlazorHybridApp.csproj index d589ea6..8dda653 100644 --- a/Server Deployment/WinForms/WinFormsBlazorHybridApp/WinFormsBlazorHybridApp.csproj +++ b/Server Deployment/WinForms/WinFormsBlazorHybridApp/WinFormsBlazorHybridApp.csproj @@ -9,8 +9,8 @@ - - + +