Defining a table with DocumentFormat.OpenXml.Spreadsheet
I have successfully managed to make an excel file which is exporting my registration model public async Task ExportParticipantListToExcelAsync( Stream stream, RegistrationListRequest request) { try { using…
Request OAuth2.0 token using azure app services managed identity
Hi All, I have a question on Azure App Service Managed Identity. Currently we are working on an API project where it provide the function to interact with user in Azure Entra thru Microsoft Graph API calling. To protect the API function, we have a…
Building Reusable Blazor Components - Seeking Advice
Hi, I recently built a Blazor Server app using the Radzen master-detail data grid component (https://blazor.radzen.com/master-detail-hierarchy). To improve reusability, I'd like to turn this functionality into a custom Blazor component. Your expertise…
Part of this app has been blocked IIS Worker Process has tried to load Microsoft.Workflow.Compiler.exe
When launching an ASP.Net web application on a Windows 11 system with Smart App Control On, I'm getting the below toast notification. Part of this app has been blocked: IIS Worker Process has tried to load Microsoft.Workflow.Compiler.exe which doesn't…
COM timeout Excel
Microsoft 365 Excel version 2403. C# application (WPF on .Net 8) using excel COM interop ("automation") which adds a menu in the Excel application and setsup a click handler (in WPF). All works normally just fine, but when debugging and say…
Issue of slow data loading in Radzen grid in .net 8 blazor web app in both SSR and CSR And Auto mode ? How to Fix this?
Hi, I have a Razor component and in this component I have Radzen grid to show data , In my data base i have 60000 + rows and I am showing this data to component page using Radzen Datagrid but its taking more then 1 minute to load the data how i can…
I'm trying to read excel from sharepoint by using asp.net but its giving me following error fail: PowerBi_Report.Controllers.HomeController[0] An error occurred while processing the request: The remote server returned an error: (401) Unauthorized.
I have all the permissions for excel present in sharepoint still I'm getting same error can someone please help me out on this I'm pasting my code below using System; using System.Diagnostics; using System.Net; using Microsoft.AspNetCore.Mvc; using…
Why => is called token?
https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/operators/lambda-operator is => a Token?
Error loading report.rdlc,Unable to copy bin\debug\
Good afternoon again, I have already searched for information online, but I have not been able to find the error. The error is the following: An error occurred during local report processing. The report definition has not been specified, the file is not…
How to convert from AutomationElement of uiautomation library to AutomationElement of flaui library?
How to convert an object ele of type **AutomationElement **defined by Microsoft's uiautomationg library(uiautomation) to a flauiEle object of type **AutomationElement **defined by the flaui library? Both uiautomation library and flaui library are for…
what is the most current Windows platform for .NET and C#
I see on the internet that MS has deprecated UWP. What do I need to add to my Visual Studio 2022 Community edition in order to program using the latest flavor of Windows for general Windows Apps? I'm getting frustrated trying to discern the myriad…
Dangerous site - attackers on the site you're trying to visit might trick you
I have an intranet site. This site is hosted on our internal server 2019 on IIS version 10.0. This website is just a web page that enables the employees to fill out their information and then populates a .pdf file from the information that they fill out.…
Draw rectangle with corner radius and fit an image bytes to that rectangle with same corne radius
Below I attached my code I need an image with a border and corner radius, please correct my code, and give any other guidelines CanvasRenderTarget renderTarget = new CanvasRenderTarget(device, cardWidth, cardHeight, dpi); using…
How to restore direct dependencies packages only by 'restore --packages' command
I want to restore a .NET project's packages by command line dotnet restore --package. The behavior like this in dotnet restore doc: Package Restore first installs the direct dependencies of a project as needed, then installs any dependencies of those…
Linq how to joins with Left Outer and more than 2 tables
I asked the question (https://learn.microsoft.com/en-us/answers/questions/1659579/linq-join-of-3-tables) and got an answer which works but is not entirely what I need. With each join the result set gets smaller as not all instance have an entry in each…
How to create a custom keyboard in Xamarin?
Hello, What is the process for designing a custom number pad in Xamarin forms to be displayed in certain fields, while others still use the native Android keyboard for input? I'd like to avoid using axml as I am not familiar with it, and the default…
Excel thumbnails in Taskbar are gray and dull
In the taskbar of Windows 10 I can see the thumbnails of all the open workbboks of an Excel application. (I believe thumbnail is the correct term). Sometimes these are show pretty dull, i.e. sometimes they are just gray boxes without any information (and…
Can't convert Word Document Equation into HTML readable format text like MathML in C#
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of…
Linq join of 3 tables
I have three tables with same fields. I can join 2 tables with following Linq. List<CommonPoints> lista = poso.assists.ToList(); List<CommonPoints> listp = poso.points.ToList(); List<CommonPoints> listg=poso.goals.ToList(); var…
Select - SelectMany - Any - the differences, when should I take what?
Hello! Is there a procedure? 1:n relationships From the data model to an XML file and generate queries from it? Data model --> XML Serialize --> Save as xml file, read the xml file and make queries. Where do I have problems? The procedure. …