add Syncfusion
This commit is contained in:
		
							parent
							
								
									6d6bfc1012
								
							
						
					
					
						commit
						9e839e61c4
					
				| @ -21,6 +21,9 @@ | ||||
| 		<PackageReference Include="MimeKit" Version="4.9.0" /> | ||||
| 		<PackageReference Include="Newtonsoft.Json" Version="13.0.3" /> | ||||
| 		<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="9.0.3" /> | ||||
| 		<PackageReference Include="Syncfusion.DocIO.Net.Core" Version="28.2.12" /> | ||||
| 		<PackageReference Include="Syncfusion.EJ2.PdfViewer.AspNet.Core" Version="28.2.12" /> | ||||
| 		<PackageReference Include="Syncfusion.Licensing" Version="28.2.12" /> | ||||
| 		<PackageReference Include="System.Text.Json" Version="9.0.1" /> | ||||
| 	</ItemGroup> | ||||
| 
 | ||||
|  | ||||
| @ -9,6 +9,7 @@ using EnotaryoPH.Web.Common.Jobs; | ||||
| using EnotaryoPH.Web.Common.Models; | ||||
| using Exadel.Compreface.Clients.CompreFaceClient; | ||||
| using Microsoft.AspNetCore.Authentication.Cookies; | ||||
| using Syncfusion.Licensing; | ||||
| 
 | ||||
| namespace EnotaryoPH.Web | ||||
| { | ||||
| @ -37,6 +38,9 @@ namespace EnotaryoPH.Web | ||||
|             builder.Services.AddSingleton<NotificationService>(); | ||||
| 
 | ||||
|             var config = builder.Configuration; | ||||
|             builder.Services.AddTransient<IConfiguration, ConfigurationManager>(provider => config); | ||||
| 
 | ||||
|             SyncfusionLicenseProvider.RegisterLicense(config.GetValue<string>("SyncfusionLicenseKey")); | ||||
| 
 | ||||
|             builder.Services.AddDbContext<NotaryoDBContext>(); | ||||
|             builder.Services.AddHttpContextAccessor(); | ||||
|  | ||||
| @ -24,5 +24,7 @@ | ||||
|             "Password": "" | ||||
|         } | ||||
|     }, | ||||
|     "BaseUrl": "https://localhost:7121" | ||||
|     "BaseUrl": "https://localhost:7121", | ||||
|     "SyncfusionLicenseKey": "secret", | ||||
|     "UriRecordingBloblContainer": "secret" | ||||
| } | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user