why ViewData is encoded for unicode text in asp.net web?
ViewData["Title"] ="xxxxxxxxxxx"; it is 首页 why?
Developer technologies | ASP.NET | ASP.NET Core

Adding Map to MVC
Hello everyone and thanks for the help in advance. I'm trying to add a Google Map to a MVC page, but can't get it to display correctly. I've looked at the Google Developer docs, but I think, due to the rendering engine, I'm getting things out of…
Developer technologies | ASP.NET | ASP.NET Core

color connverter
I have a converter public class SelectedAvatarMultiValueConverter : IMultiValueConverter { public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) { if(values.Length == 2 && …
Developer technologies | .NET | .NET MAUI
alignment in chat app
I am doing a chat app with Maui, but I need help with alignment <ContentView x:Class="FireChat.Controls.ChatView" xmlns="http://schemas.microsoft.com/dotnet/2021/maui" …
Developer technologies | .NET | .NET MAUI
.net 8 application can't find SQLClient in the executable directory.
I have a .net 8 application that talks to a couple of SQL Servers. On the developer machines (Windows 10), it runs just fine. On Windows 2019 servers (I tested on both the production and developer server.), I get the…
Developer technologies | .NET | Other
Creating a reusable form using C# custom "User Control"
I'm trying to create a layout / form that can be reused on other forms. I think I'm in the right to utilize a "User Control" (screen captures below). I populate the control with some components, save it, then try to bring it onto the main…
Developer technologies | Windows Forms
Why does DI container retain references to transient instances that are IDisposable?
https://learn.microsoft.com/en-us/dotnet/core/extensions/dependency-injection-guidelines#disposable-transient-services-captured-by-container says, "by default the DI container will hold onto these references, and not Dispose() of them until the…
Developer technologies | C#
should I use asp.net core compression ?
I know why EnableforHttps is disabled by default so should I use it ? and another question IIS cannot use http3.0 right?
Developer technologies | ASP.NET | ASP.NET Core
OneWay Data Binding Between 2 Content Views not working
I've setup 2 ContentViews: NewContent1.xaml and ChildContentView.xaml using .NET 9. I've added <MauiEnableXamlCBindingWithSourceCompilation>true</MauiEnableXamlCBindingWithSourceCompilation> to my Project Properties. I'm binding a string…
Developer technologies | .NET | .NET MAUI
How can I fix the 'Unable to download installation files' error in Visual Studio Installer? (Theres no Internet issue)
just downloaded the installer from the site , clicked on the installer , after a few seconds , this , and btw there is no issue with internet
Developer technologies | Visual Studio | Setup
How to change the image cshtml.
I am using several images on the home page of my project. The path of which is always using the same name. That is, even if the image changes, the image path remains the same. The problem is that when I upload the image for the first time, the correct…
Developer technologies | ASP.NET | ASP.NET Core
how to download "System.Speech.Recognition"?
I try to download it but it's not available, how to download it?
Developer technologies | C#
How to Share Apple Code Signing Key
Trying to switch to developing an iOS app using Hot Restart from using Mac Xcode. Using the same project, when building I am getting the error message "signing key not found in keychain". I am able to build and deploy to the iPhone using the…
Developer technologies | .NET | .NET MAUI


How to Debug Remote MAUI App Launch
I have a .NET 9 MAUI app being deployed to a remote Xcode iOS iPhone 16 Plus. All components have the latest release software. The deployment is successful, and the application is launched and the splash screen displayed on the phone. However, the first…
Developer technologies | Visual Studio | Debugging


Can we prevent Narrator from speaking UI control's name?
Hello, I'm working on WinUI2 app with XAML island in purely C++ (no XAML code). I want to support Narrator screen reader for my app. I tried to set accessibility props (name and helpertext) for UI controls. While this props are being read by Narrator, it…
Developer technologies | Universal Windows Platform (UWP)
What is the differences between Object class and Lock class in mutual exclusion in C#?
Hello, When should I use the Lock class and when should I use the Object class? What is the differences between Object class and Lock class in mutual exclusion in C#? using System.Globalization; namespace ConsoleApp3 { internal class Program { …
Developer technologies | C#
What could be the reason for the disappearance of the ApplicationHost.config file in IIS?
When I try to perform tasks like restarting or stopping sites in IIS Manager, or editing SSL bindings, or changing settings, a file write error occurs and the operation fails. The file is not visible in the system32/inetsrv/config/ directory. It's…
Windows development | Internet Information Services
Developer technologies | ASP.NET | Other
How to target .NET Framework 4.0 in VS 2022 on Windows 11?
Working on some old projects targeting .NET Framework 4.0. I used VS 2022 to open the solution and was told to install 4.0 targeting pack. I can't find the download link on the dotnet website, nor the installation option in Visual Studio Installer. …
Developer technologies | .NET | .NET Runtime
Developer technologies | Visual Studio | Debugging
Windows for business | Windows Client for IT Pros | User experience | Other
Developer technologies | C#
ListView events arent always triggered.
Hello, I am not sure if I selected right tag for my topic, but there is not present UWP tag naw. I have problem with ListView. If my ListView has many rows (about 150+), some events are sometime not triggered (but sometime they are triggered as well). If…
Developer technologies | Universal Windows Platform (UWP)
Faield to start deployed web application
hello community, I am a beginner in WEB application development. During my first trial, I met with an issue when start the deployed web application onto IIS running on Windows 11. The situation is, I get below error when open the application in the…