Visual Studio Designer Copy With Name
I created a new label. It came with "label1" name. I changed the name "label1" to "myLabel1". I'm copying this: "myLabel1" When I paste it comes as: "label1" It wasn't like this before. When I paste must…
Selection using Selection Rectangle
Can anyone please tell me how to make this kind of behaviour in our own WPF app. Right now i am making a File explorer kind of behaviour using the WPF datagrid. Can someone please help me with the logic or post some code. Here if we see the rows are…
How do I add a CAPTCHA to a web site written with ASP.NET/VB
A bot seems to be using my web site to send out emails via AmazonSES. I want to add a CAPTCHA to it to prevent this. I came across https://stackoverflow.com/questions/71515717/how-to-add-captcha-in-asp-net-project which appears to be what I want, but…
Change android alert dialog background and text color from code in .NET8 MAUI
I would like to change the default white background color on the android (API 34) alert dialogs (like the one what appers when the user taps on a normal Picker). Its important that I would not like to use the styles.xml solution, I need a c# code that…
how to install APP in android in maui?
I will download new version update and install it in my android device.
How to add to "GraphicsView" class with “DrawableProperty" in dotnet maui
Hello! I trying drawing of the circle in center which is touched in the "GraphicsView" control. And I thought the one of the important points is how to add "GraphicsView" class with "DrawableProperty" in dotnet Maui. Please…
Azure B2C sign in page does not display company branding images on .NET clients only
We are using MSAL.NET with B2C to authenticate our users. We have a custom company logo and background image that we display when the user signs in to our application. In our Angular-based web portal, the sign in page displays correctly, but in our .NET…
Customize the EmailConfirmation and 2FA token expiration in .NET 8.0
Is there a way to extend the 2FA and Email confirmation token expiration timespan with email in .NET 8.0? I am using the Microsoft.AspNetCore.Identity and Microsoft.AspNetCore.Authentication classes to use the 2FA with…
Reuse legacy COM component in ASP .NET core Web API
I have a legacy COM dll which exposes business logic via COM objects. Its implemented using VC++. I am in process of modernising my application for web. Initially I wanted reuse this COM component without any change. A single instance of COM object only…
does arr works in iis express
for a blazor with all render modes enables (a server and a wasm-project integrated in one solution) I need: Sticky sessions with Application Request…
Create a process that runs as a different user from a windows service
Hi, From a Windows Service running under a virtual service account, is it possible to create a process that runs as a different user? I have tried Process.Start using a ProcessStartInfo structure with user credentials. The process runs but when I query…
Blazor Culture in the Route
Is it recommended to add the language (culture) in the route e.g. site.com/en/page-name or only page name is sufficient e.g. site.com/page-name? How to I change the culture to de-DE if you paste the URL like the following? mysite.com/de/home Thank…
Looking for suggestion on storage
I am look for a suggestion on file storage with .net Maui. In my existing .net Android app, I am reading/writing files to a custom folder in the device root basicall /myfolder, this allows the user to connect and transfer files to/from the device…
how do I find the working area of my uwp app in .net using C#
This is a simple question but I'm having a rough time finding an answer. What I want to find is the working area of my application. I'm working in Visual Studio 2022 and have created the basic project. Searches on the internet result in many answers…
How can I access SharePoint files via a C# web api that uses no user authentication?
I have followed numerous guides on how to access SharePoint via C# and no matter what I do I end up with a "401 Unauthorized response:" I am out o fideas. Anybody able to help? Would prefer working code examples. using…
OutputCaching issue in .NET 8.0
Hi, I have implemented the Output Caching in ASP.NET Core 8.0 and deployed the same S3 bucket and Lambda function and its exposed through AWS API gateway. After implementation output cache and I have tested the local swagger API through postman first…
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…
Blazor web app net 8 rendermode auto authentication
I am confused on how to add authorization to my components. In the client part I am using AuthenticationStateProvider and in the server part ServerAuthenticationStateProvider. Segum I've been looking at the documentation and other examples. My blazor app…
How to fix "The target process exited without raising as CoreCLR started event. Ensure that the target process is configured to use .NET Core. This may be expected if the target process did not run on .NET Core"
My application console application is build on .net core 7 and gave error when running on docker container, several other console applications running properly but one gave problem. Docker container logs given below: Targer OS is linux. I have tried…
How should I add a Blazor UI to an existing .NET Core API?
We have a .NET Core product with an API that we want to create a UI for. We've decided to switch from React (which we've used on other projects) to Blazor because our team all knows C# and only one person knows React/JS. I've done some initial learning…