Skip to content

Commit d31e2bc

Browse files
Merge pull request #109 from SyncfusionExamples/984779-pv-sample
984779: Update the sample file
2 parents 8322167 + fc5e1d3 commit d31e2bc

File tree

8 files changed

+37
-7
lines changed

8 files changed

+37
-7
lines changed
Binary file not shown.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Load a PDF security documents
2+
This example explains how to load a PDF security document. Here the document is hosted in a live server.
3+
4+
Documentation: https://help.syncfusion.com/document-processing/pdf/pdf-viewer/blazor/document-security
5+
6+
## Project pre-requisites
7+
To run this application, you need Visual Studio 2019 or later versions.
8+
9+
## Deploying and running the sample
10+
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.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# How To Deploy PDF Viewer in WPF Blazor App
2+
This section contains samples of how To Deploy PDF Viewer in WPF Blazor App.
3+
4+
Documentation: https://help.syncfusion.com/document-processing/pdf/pdf-viewer/blazor/getting-started/deploy-wpf-blazor-app
5+
6+
## Project pre-requisites
7+
To run this application, you need Visual Studio 2019 or later versions.
8+
9+
## Deploying and running the sample
10+
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.

Server Deployment/DeployWPF/WPFBlazorHybridApp/MainWindow.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public partial class MainWindow : Window
2121
public MainWindow()
2222
{
2323
InitializeComponent();
24-
var serviceCollection = new ServiceCollection();
24+
ServiceCollection serviceCollection = new ServiceCollection();
2525
serviceCollection.AddWpfBlazorWebView();
2626
serviceCollection.AddMemoryCache();
2727
serviceCollection.AddSyncfusionBlazor();

Server Deployment/DeployWPF/WPFBlazorHybridApp/WPFBlazorHybridApp.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010

1111
<ItemGroup>
1212
<PackageReference Include="Microsoft.AspNetCore.Components.WebView.Wpf" Version="9.0.110" />
13-
<PackageReference Include="Syncfusion.Blazor.SfPdfViewer" Version="31.1.17" />
14-
<PackageReference Include="Syncfusion.Blazor.Themes" Version="31.1.17" />
13+
<PackageReference Include="Syncfusion.Blazor.SfPdfViewer" Version="*" />
14+
<PackageReference Include="Syncfusion.Blazor.Themes" Version="*" />
1515
</ItemGroup>
1616

1717
</Project>
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# How To Deploy PDF Viewer in WinForms Blazor App
2+
This section contains samples of how To Deploy PDF Viewer in WinForms Blazor App.
3+
4+
Documentation: https://help.syncfusion.com/document-processing/pdf/pdf-viewer/blazor/getting-started/deploy-winforms-blazor-app
5+
6+
## Project pre-requisites
7+
To run this application, you need Visual Studio 2019 or later versions.
8+
9+
## Deploying and running the sample
10+
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.

Server Deployment/WinForms/WinFormsBlazorHybridApp/Form1.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ public partial class Form1 : Form
99
public Form1()
1010
{
1111
InitializeComponent();
12-
var services = new ServiceCollection();
12+
ServiceCollection services = new ServiceCollection();
1313
services.AddWindowsFormsBlazorWebView();
1414
services.AddMemoryCache();
1515
services.AddSyncfusionBlazor();
16-
var blazorWebView = new BlazorWebView()
16+
BlazorWebView blazorWebView = new BlazorWebView()
1717
{
1818
HostPage = "wwwroot\\index.html",
1919
Services = services.BuildServiceProvider(),

Server Deployment/WinForms/WinFormsBlazorHybridApp/WinFormsBlazorHybridApp.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
</PropertyGroup>
1010

1111
<ItemGroup>
12-
<PackageReference Include="Syncfusion.Blazor.SfPdfViewer" Version="31.1.17" />
13-
<PackageReference Include="Syncfusion.Blazor.Themes" Version="31.1.17" />
12+
<PackageReference Include="Syncfusion.Blazor.SfPdfViewer" Version="*" />
13+
<PackageReference Include="Syncfusion.Blazor.Themes" Version="*" />
1414
<PackageReference Include="Microsoft.AspNetCore.Components.WebView.WindowsForms" Version="9.0.110" />
1515
</ItemGroup>
1616

0 commit comments

Comments
 (0)