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, in Program.cs, the code implementation is as follows var webOptions = new WebApplicationOptions() { Args = args, ContentRootPath = AppContext.BaseDirectory }; var builder =…
Impersonation on MAC
Hi Bruce, My Maui approach is to run windows in a vm, and use visual studio for windows. This is a windows only feature. unix does not support changing the process owner.If we are using kerberos authenication, MacOs (and linux) only supports one active…
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…
I'm using VS for developing .net application in my system. Whenever the system restarts or whenever the application reopens, Visual studio doesn't recognize it as a .net application.
I'm using VS for developing .net application in my system. Whenever the system restarts or whenever the application reopens, Visual studio doesn't recognize it as a .net application and publish option wouldn't be available when I try to deploy and some…
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…
Where Can I Find the Remoted iOS Simulator for Windows PC?
Where can I find the Remoted iOS Simulator for Windows PC? Where in Microsoft Visual Studio 2022 should I find the Remoted iOS Simulator for Windows PC? Is it somewhere in a directory like “C:\Program Files\Microsoft Visual Studio\2022\Community?”
.Net SmtpClient protocol error?
Hi, having an issue sending EMails using System.Net.Mail.SmtpClient to a mail server using postfix and postscreen using postscreen_greet_action = enforce. It seams, that the SmtpClient fails to process all greetings lines prior to sending the EHLO…
Taking long time when handling large amount of data in gridview
I have been developing ASP.NET application. i am storing the image to sql table as binary format. i have more than 5000 customer records in the table. every customer will have the medical certificate as image in will be stored in SQL table in binary…
Not able to perform read and write operation in iCloud in .Net Maui Mac
I have set up the app identifier in Apple developer with the document URL set up for iCloud and updated the info.plist and entitlements according to this. info.plist <key>NSUbiquitousContainers</key> <dict> …
.NET 6 In-process worker model
I have Azure Function Apps running on .NET 6 (LTS) In-process worker model. There is a service health advisory released from Microsoft that they will end the support of .NET 6 on Azure Function from 12th November 2024 onwards. Also,there is one more…
Not able to get all paging checkbox checked records in gridview asp.net c#
I am using gridview with paging. i done all the pagination code and selected checkbox. Checkbox "CheclALL" is working fine with every page. But, when i save the record, it will be saving only last page checkbox checked values. What is the…
How can i bind Sumsub mobile android sdk to net maui?
Hi, i try create the binding project with sumsub mobile android sdk, but i didn't have methods of SDK `<Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <IsBindingProject>true</IsBindingProject> …
Content Security Policy Violations happening for whitelisted domains only for Netherlands and Switzerland users.
I have a csp policy where I have whitelisted all the domains from which I want to load the content to my application and have added only default-src directive which is fallback to all the other directives. I have tested the policy on lower…
Burn media in MAC
Hi Bruce, Maui approach is to run windows in a vm, and use visual studio for windows. Is there burn media in apple ? How do i work with it ? C# ? Thanks,
You are using a version of the client that isn't compatible with the server. Client version 1.5, server version undefined
1 I'm using SignalR in my project (asp.net and react js). Here in C# I'm using (.net 4.8) Microsoft.AspNet.SignalR.Client Version - 1.2.2.0 Runtime version - v4.0.30319 Microsoft.AspNet.SignalR.Core Version - 2.2.3.0 Runtime version -…
How to get the position of NotifyIcon at runtime?
Hi, I want to retrieve the location and size of notifyIcon whenever it be clicked. The purpose is to set the application UI above the notifyIcon like the below photo. Please show me how I can do this with C#. Thank you!
How to get the location and size of Hidden icon menu
Hi there, I want to know the way to get the location and size of Hidden icon menu in C#. Please let me know how I can do this. Thank you!
How to Integrate .net core application to see logs in Azure Kubernates Cluster container insights
How can we integrate to see logs of our .net core API application in deployed Azure kubernates cluster container insights. what are all the code changes to be done to see errors and exceptions in container insights. I got to know that WriteTo.Console() ,…
Automatic UI updates with Blazor
Using a .NET 8 Blazor WebApp, I hope to build an application whose pages automatically send updates to all users. For example, when Joe adds a payment to an invoice, Sue (who is viewing the same invoice) should see the new balace reflected on her screen…
I can not see the form any more
Hi When I open the form I get error Timed out while connecting to named pipe. What it mean and how to fix ? Thanks