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: […
How to dynamically change the port listened by Webserver in. NET when the Webserver is running
I created a NET 8 Console Application to create a WebServer and make it a Windows Service, in Program.cs, the code implementation is as follows var webOptions = new WebApplicationOptions() { Args = args, ContentRootPath =…
ASP.NET Core MVC pass a url parameter to the POST
Hi all; I have a Blazor Server app. It uses the ASP.NET Identity Library which is ASP.NET Core MVC. I am trying to pass a parameter to register so a URL like /identity/account/Register?follow=uniqueId gives me the parameter follow=uniqueId. In…
A weired error about HTTP 500 !
I created a web user asp.net 8.0 mvc without ef. When I modify the stucture of oracle datebase table ,such as add a field ,then the web related to the table report a error about HTTP 500 . But after I restart the iis,it works well without doing anything…
AKS deployed application to access on-prem server
Hi, I want to connect to on-prem sql server from a .net application which is deployed in AKS. We already have Azure relay/hybrid connection setup for the same, but that requires azure app service. I am looking for options to connect from AKS deployed…
How to resolve SignalR Hub connection issue from Client side Javascript code
I have web application developed in .NET 5.0. This web application calls Web APIs to fetch information from SQL DB. Web and API applications are two separate applications hosted in Azure. I want to push some real time data every 2 minutes to all clients…
How to create backend application using Asp.net C# Web API Core
How to create backend application using web api core application followed by standards using desing pattern, Depedency injection and solid principle I am new to web api core how to start following things JWT token authentical and authorization simple…
How to pass input data from one page to another page property
Register.cshtml <form method="post"> <div class="mb-3 row"> <div class="col-md-4"> <label for="CountryCode" class="form-label">Country Code</label> …
metadata_storage_path error in .NET with Azure AI Search.
Right now from my post api I am storing the address like UploadEmailAsync() in Azure Queue. I have tried saving it with and without JSON format but path which we use for Filters in Azure AI Search requires the base64 converted link. Right now i have…
How to use SystemWebAdapter SessionClient to share only registered keys and ignore the others
I am learning how to migrate a large .net framework application to .net core and am happy with the tooling provided by SystemWebAdapters and RemoteAppClient. The framework application uses session state extensively and it looks like the default behaviour…
Download Files in Razor Pages without submitting the form (Edit page)
Hi, I want to download my uploaded files in razor pages edit screen. I dont want to submit the form or refresh the page upon clicking on the download button. Could anyone please advice me how to acheive this?
Custom Hybrid Connection Manager
Hi, I would like to know if we can have a custom hybrid connection manager in .net core code. I would like to connect to on-prem sql server from a cloud deployed .net solution. I am using Azure app service /Relay/Hybrid Connection for the same. I would…
How to pass the input data from one page to another
Register.cshtml.cs using FaceAdminApp.Auth; using FaceAdminApp.DTOs; using FaceAdminApp.Models; using FaceAdminApp.Services; using FaceAdminApp.Utilities; using FaceAdminApp.ViewModels; using Microsoft.AspNetCore.Mvc; using…
How to publish asp.net with angular application?
I was following this tutorial: https://learn.microsoft.com/en-us/visualstudio/javascript/tutorial-asp-net-core-with-angular?view=vs-2022 But when I publish my app, either to a remote IIS server or locally into a folder, the angular project is not…
How to setup Blazor Server with Blazor WASM with gRPC for virtual IIS application?
Hi, I have simple Blazor Server without static files. It is only falling into Blazor WASM with static files using FallBackTo. There is gRPC an its Controller mapped on the main endpoint. Everythig is working on https://localhost. Once I try to deploy…
Error when uploading CSV files to Azure blob storage using ManagedIdentity with C# and GraphQLAPI. "Total size of resourceFiles is using 147% of available space after processing."
Hello All, I have created a console app using C# where I try to fetch the data from GraphQLAPI and store the data in csv files. post that it would be uploaded to the Azure blob storage using ManagedIdentity. This complete code work fine in my local VS…
ManagedIdentityApplication.AcquireTokenForManagedIdentity("api://AzureADTokenExchange") giving error in local machine.
Hi, I am implementing the "Federated Identity Credential" along with User Managed identity in .net core 3.1 web api. Getting the error code: "managed_identity_unreachable_network" with error message "A socket operation was…
sending an email with attachment in .net core console application
I need to send an email with attachment in .net core console application. The part of sending an email is working. The attachment part is not working. I have this code: public void sendEmail(List<string> toList) { string from =…
Encountering 'WebSocketException (0x80004005): The server returned status code '404' when status code '101' was expected' when signalr client starts a hub connection.
We have a .net core signalr client trying to establish a connection to signalr hub web application and a signalr service. The client successfully connects to the hub and signalr service, but fails when attempting to start the websocket transport to the…
Azure Function .Net8 Json Deserialization Error
I'm developing an azure function in .Net8 which is a migration from a .net6 in-process function. The code always breaks while trying to deserialize a json object that comes within the EventGridEvent.Data which triggers the function, the deserialization…