How to enable CSP in asp:UpdatePanel without having to write 'unsafe-inline'
I have an asp:UpdatePanel and asp:ScriptManager in my web form. When I enable CSP in the web.config as below, the functionality of the pages are not working like 'OnSelectedIndexChanged' event of asp:DropDownList and many more. <add…
Print Preview will not appear and no exception is thrown
Hello, We have an application that is using a winforms webbrowser control to display an html document. To show a print preview, we are using: SHDocVw.IWebBrowser2.ExecWB(SHDocVw.OLECMDID.OLECMDID_PRINTPREVIEW...) command where we are passing in a path to…
How do I change the embed media properties (size, text wrapping, border, and so on) in CKEditor 5 (checking for script tag)?
Hi! I have an implementation of CKEditor fields in my project in the form: DecoupledEditor .create( document.querySelector( '#editor' ), { extraPlugins: [ MyCustomUploadAdapterPlugin ], removePlugins: […
When will .NET 8 (Early Access) be available on Azure Government?
Currently .NET 8 (Early Access) is available on Azure Commercial. I like to know when will .NET 8 (Early Access) be available on Azure Government App Service?
Blazor Server Side AuthorizationHandler - PreLoad - HttpContext is Null
I have a Multi-Tenant Blazor Server Side application, that uses Pre-Load to use HttpContext in the Razor Pages. I am setting up Authentication and Authorization using Azure Entra. For Authorization I need to Authorize the user against the Tenant. The…
How do I draw anti-aliased text in a ListBox with DrawMode set to OwnerDrawFixed?
I have a ListBox on my form with its DrawMode property set to OwnerDrawFixed. How can I get the text I draw to be antialiased? I've already set the TextRenderingHint property of the Graphics object to AntiAliasGridFit but it's not drawn…
.Net Maui ViewModel and MVVM
Currently I have a shell application with a Tabbed Page with several Content Page Views. Instead of using one big Model (Populated with Data from a Database) in my ViewModel for all these Content Page Views, what is the best practice to separate…
.Net 8 - HttpClient - Kerberos Auth - Authentication validation failed with error - InvalidToken.
We have an existing C# application in firm in .Net 6. This app consumes rest api exposed by another system within the firm (sso / kerberos). Its a simple GET call with Http Client. We upgraded the solution to .Net 8 and started facing Authentication…
Access network folder and files from .NET Core application in IIS
Greetings, I have an application deployed in IIS with .NET Core 7 and SQL Server, I want to access a network path, write and read files within a folder in the path (\path\folder) What steps should I follow to achieve this?
visual studio 2022 error mt1007 failed to launch application
I recently upgraded windows visual studio to 17.5.4 Windows Xamarin Forms to 5.0.0.2545 When I try to debug the Xamarin iOS application I get the following: error MT1007: Failed to launch the application…
Call the Microsoft GraphApi from the .net application and get the user details based on the email address
Hi, I have a below requirement. I need to call the microsoft GraphApi from the .net application and get the user details based on the email address he/she types in the textbox. In Azure portal - i have enabled (Any Microsoft Entra ID tenant -…
how to set ssl need basic idea and step by step implementation
hello I have hosted my site in IIS and that system has static ip from internet provider for example 55.XXX.XXX.XX anywhere around the world if i enter this ip its working fine now client requirment is he want as website so what i did is i purchase one…
Unable to bypass the certificate validation when trying to access APIs from a web application which has its own certification
Unable to bypass the certificate validation when trying to access APIs from a web application which has its own certification Hi All, I m facing issue when I m trying to access a Service management API to create/ fetch a ticket through my web application…
CultureNotFoundException Querying SQL database using EF
Hello, I have a Web App (ASP.NET MVC) with controllers making CRUD operations using EF 6. Any operation involving the EF context to read data generates the following exception The Web App is localized in it-IT, setting up ThreadCulture and…
How to get the index of duplicate elements along with the range of empty elements after it. LINQ
hi Dim ComplexArray As String() = Split("A C A B C A B A B C") 'Need Result As Array (3 dimensional) Dim Arr3D = {({"A", ({"0-2", "5-9", "16-16", "19-20"})}),…
How to update/save a file in a database in web application
i have a code error and i wish i can get it fix by your noble helps or interventions here is a code block that updates a new product on a product page in a web application this is the code behing the productController.cs file for the cshtml file…
Jquery DataTable not working after appending the html code to DataTable using jQuery
I have created a datatable and appending the data to that datatable body , data appending successfully but the datatable not working properly ex:- If I click on the datatable header columns the entire table data is erasing. Here is my full logic…
Webview is not allowing the remaining UI elements to render properly
I have labels, images and button along with webview. When I am landing to this webview page, the remaining UI controls are not rendered(not shown in the UI). When I start scrolling then the UI elements are rendered properly like in attached screenshots.…
SQL Connectivity Issue From Cloud app to on-prem server
hi, I have deployed a .net core MVC app in azure app service as a webapp. I have to connect to a on-prem sql server to retrieve data. I have setup Azure relay/hybrid connection for the same. Also I have installed hybrid connection manager in on-prem…
MAUI: The CollectionView items collide with each other when scrolling
When I try to scroll top to bottom at that time, the CollectionView items collide on the iOS platform, but it works fine on the Android platform. Below, I am adding a screenshot and Screen record of this issue. Screenshot: Screen Record: screen record…