No video

Real-World C# Controls: Syncfusion PDF Viewer

  Рет қаралды 12,724

IAmTimCorey

IAmTimCorey

Күн бұрын

Seeing a C# control work is different from learning how to use a control in the real world. In this video, we will create a new Blazor Server project and add the Syncfusion PDF Viewer control. That way, we can see what we need to implement it, how to turn off the licensing warning, how to overcome implementation issues, and more.
Syncfusion Components: bit.ly/387BBoP
Blazor Components: bit.ly/3Oi7M5P
Full Training Courses: IAmTimCorey.com
Source Code: leadmagnets.ap...
Mailing List: signup.iamtimc...

Пікірлер: 33
@graynoble4795
@graynoble4795 2 жыл бұрын
This video is gold!!!! I had no idea about the secrets area!!! Thank you Tim and staff!!!!!
@IAmTimCorey
@IAmTimCorey 2 жыл бұрын
I am glad it was so helpful.
@Karolo0
@Karolo0 2 жыл бұрын
Is there a way to use the css and js files embded in the _Layout, but in offline version? I need to implement the feature inside app that dont have access to external sources on deploy
@kirkrepository
@kirkrepository 2 жыл бұрын
A quick one Tim, how would you store 'secrets' in a Web Assembly app though?
@IAmTimCorey
@IAmTimCorey 2 жыл бұрын
You really can't. Blazor WebAssembly runs fully on the client. That means that even the C# source code goes down to the client. In order to store secrets, you need to use an API and store them behind the API. That's the same reason why Blazor WebAssembly cannot directly access a database. Any "secret" that Blazor WebAssembly can read is fully visible to the user. That's true of any SPA (Angular, React, Vue, etc.)
@kirkrepository
@kirkrepository 2 жыл бұрын
@@IAmTimCorey Well, great. Here's the hurdle I'm facing with the API: I have actually implemented an API and dedicated a service that fetches that license key to the Client. But once I got the data in the front end, I can't quite figure out how to register the license in the Program.cs file for the Syncfusion components to use. It's easy to inject service in the Pages using the @inject directive, but how do you do the same in the Program.cs of the client project because that's where we register the license?
@IAmTimCorey
@IAmTimCorey 2 жыл бұрын
@@kirkrepository From Syncfusion: As per the nature of Blazor WASM App, you need to register license key in Program.cs file. If you don't want to specify the key in Program.cs file, then you can use the NuGet from License build where it is not needed to register the license. Currently, there seems no feasible solution to update the Program.cs file dynamically after the WebAPI raised.
@kirkrepository
@kirkrepository 2 жыл бұрын
@@IAmTimCorey noted Tim and thank you for everything. I will continue developing with the key in Program.cs file for now as we wait for new tricks to come by. Gracias!
@mherman90
@mherman90 2 жыл бұрын
Great video as always,are you gonna deep dive more into using these components in an expanded way, maybe connecting to an API or whats the plan? also, is it possible to change languages with these components? Thank you!
@IAmTimCorey
@IAmTimCorey 2 жыл бұрын
Right now, I plan on releasing one more Syncfusion video. That's enough to get you started. Then, I will monitor the suggestion site ( suggestions.iamtimcorey.com ) to see what people would like. If a particular issue or problem focused on a Syncfusion product comes up, I may create a further video on the topic.
@abdouldia1605
@abdouldia1605 Жыл бұрын
Hi Tim, Thanks for the tutorial. I'm curious to see how to interact with the display pdf and saved back the changes from c# code. Any clue ?
@IAmTimCorey
@IAmTimCorey Жыл бұрын
You mean to update the PDF and then save those changes? That's not something this is set up to do.
@RouteDeTours
@RouteDeTours 2 жыл бұрын
Hello Tim, Another great turorial. I would never have been able to do this on my own. I tried searching the Syncfusion site for instructions but failed miserably. If you have a spare couple of minutes, I would be really grateful if you could tell me where Syncfusion tell what to include in _Layout.cshtml. Many thanks.
@IAmTimCorey
@IAmTimCorey 2 жыл бұрын
This should get you started: blazor.syncfusion.com/documentation/getting-started/blazor-server-side-visual-studio
@jankool01
@jankool01 2 жыл бұрын
Thanks - v useful.
@IAmTimCorey
@IAmTimCorey 2 жыл бұрын
You are welcome.
@germandf
@germandf 2 жыл бұрын
Is there a way to not lose server connection for a while when user wants to download the pdf?
@IAmTimCorey
@IAmTimCorey 2 жыл бұрын
That’s not software-controlled. That’s up to your network connection.
@mohamaddjelouah9332
@mohamaddjelouah9332 2 жыл бұрын
am using the .55 version in blazor server with docker and am using the viewer inside a dialog there's some changes to do in the docker file but it works perfect and i noticed the ram usage go so high my pdf's are less than 2mb and are stored in mongodb as array byte
@IAmTimCorey
@IAmTimCorey 2 жыл бұрын
I'm not sure what "so high" means for your RAM, but you are doing a LOT of things at once here - Docker, MongoDB, PDF Viewer, a dialog, Blazor, etc. That's going to take up some memory. Also, until you publish the release version, everything will take up significantly more memory because it has all of the debugging hooks in it.
@mohamaddjelouah9332
@mohamaddjelouah9332 2 жыл бұрын
@@IAmTimCorey high means for example not using the syncfusion max usage arroung 150mb with syncfusion goes arround 1GB with a medium heavy work
@IAmTimCorey
@IAmTimCorey 2 жыл бұрын
I would check for a memory leak somewhere. Maybe you are initializing variables that you are not letting go of.
@mohamaddjelouah9332
@mohamaddjelouah9332 2 жыл бұрын
@@IAmTimCorey noted thank you tim so much for all your hard work
@bobbydavis9254
@bobbydavis9254 2 жыл бұрын
Do you have any videos on .net 6 and oracle stored procedures?
@IAmTimCorey
@IAmTimCorey 2 жыл бұрын
I do not.
@ayanpoddar5041
@ayanpoddar5041 2 жыл бұрын
how to use it with windows form that would be helpful..
@IAmTimCorey
@IAmTimCorey 2 жыл бұрын
Thanks for the suggestion. Please add it to the list on the suggestion site so others can vote on it as well: suggestions.iamtimcorey.com/
@selahattinkaradogan2744
@selahattinkaradogan2744 2 жыл бұрын
What is syncfusion
@KanokpitsunLertprommakul
@KanokpitsunLertprommakul 2 жыл бұрын
Component Lib
@jankool01
@jankool01 2 жыл бұрын
Set of libraries that you can use in your own apps. Free for small projects - try Googling.
@IAmTimCorey
@IAmTimCorey 2 жыл бұрын
This video should help: kzfaq.info/get/bejne/fMthpqZ21q2sdpc.html
@RouteDeTours
@RouteDeTours 2 жыл бұрын
I have just noticed that the text is extremely blurry to the point of being of little use apart from merely giving an idea of the PDF contents. Users would have to download the file and view it with a decent viewer. Apparently, this problem was pointed out to them more than 7 years ago, and in spite of repeated promises to fix it, they have done absolutely nothing about it. I am getting more and more frustrated with Syncfusion, especially as their documentation is nowhere near the standard to be expected these days. As you are sponsored by them perhaps you could let them know that they need to pull their socks up. Cheers.
@IAmTimCorey
@IAmTimCorey 2 жыл бұрын
I'll look into it. Thanks for sharing.
Creating Custom Reports using Syncfusion
21:29
IAmTimCorey
Рет қаралды 14 М.
10 C# Libraries To Save You Time And Energy
33:59
IAmTimCorey
Рет қаралды 206 М.
а ты любишь париться?
00:41
KATYA KLON LIFE
Рет қаралды 3,5 МЛН
Dad Makes Daughter Clean Up Spilled Chips #shorts
00:16
Fabiosa Stories
Рет қаралды 1,9 МЛН
طردت النملة من المنزل😡 ماذا فعل؟🥲
00:25
Cool Tool SHORTS Arabic
Рет қаралды 19 МЛН
Intro to Blazor Controls in Syncfusion
41:39
IAmTimCorey
Рет қаралды 15 М.
The Easiest Way to Create PDFs in .NET
9:47
Nick Chapsas
Рет қаралды 113 М.
30+ String Manipulation Techniques in C#
1:44:07
IAmTimCorey
Рет қаралды 102 М.
.NET PDF Tool Shootout with Aspose, IronPDF, iText, and SyncFusion
52:05
Fritz's Tech Tips and Chatter
Рет қаралды 6 М.
Coding a Web Server in 25 Lines - Computerphile
17:49
Computerphile
Рет қаралды 334 М.
.NET Framework vs .NET Core vs .NET vs .NET Standard vs C#
25:14
IAmTimCorey
Рет қаралды 550 М.
ASP.NET Core Crash Course - C# App in One Hour
1:00:44
freeCodeCamp.org
Рет қаралды 1,5 МЛН
I've been using Redis wrong this whole time...
20:53
Dreams of Code
Рет қаралды 354 М.
а ты любишь париться?
00:41
KATYA KLON LIFE
Рет қаралды 3,5 МЛН