Content
How to setup an Web API in IIS that should run on specific windows account
Hi, I want to host an Web API developed in .NET Core in IIS 10 (Microsoft Hyper-V Server) and want to know how to setup the Web API that should run on a specific windows account. Please assist me on setting up the wep api run on a specific windows…
Deserialize Trivial XML
Hi, Everybody!... All I need to do is to deserialize the following, seemingly trivial XML... <ExtendedProperties> <ExtendedProperty> <Property>Some Property</Property> <Value>Some…
Conversion error from DECF34 to byte[]
When there is a RFC call to function module from SAP we are getting error from dot net code as below When there is a function call via RFC we are getting below error ERROR IN Y_BC_IXOS_CHECK_LINE_ITEMS FUNCTION : FIELD HIST_TAX_FACTOR1 of STRUCTURE…
How to configure Auto update in MAUI application ?
Hi, Consider we have developed a MAUI application. For deployment of this MAUI application in multiple machine we created a setup file / package following this link -…
Publish iOS MAUI Application on Existing Apple App Store Application built on .net Xamarin.Forms?
Is it possible to Publish iOS MAUI Application on Existing Apple App Store Application built on .net Xamarin.Forms? The current Application is developed in Xamarin.Forms and Published on Apple App Store. Expecting: While Publishing an upgraded…
C# SCROLLINFO not working on Chrome window
I am attempting to retrieve scroll information from the window handle, but I keep getting a value of 0. I am pursuing this approach because my goal is to capture a complete scrolling screenshot of the window. The intention is to enable automatic…
Custom Dependency injection in .NET 7
Hello all, I have come across a scenario in our application where I have to initialize my services project with a URL. Earlier the URL was stored in configuration so we could pass the configuration variable while adding the services. e.g. …
Problem with multiple ClickOnce applications needing to be reinstalled every day
We've been using multiple ClickOnce applications (now last built with Visual Studio 2022) on Windows 10 for many years without problems on 20 or so on production and staff computers. In the last week or so we've run into a problem where every day when…
Hiding and showing the div tags in Razor page
I have the following code in my controller: public async Task<IActionResult> Index() { string destinationDirectory = _configuration["DestinationPath"].ToString(); string DocHash =…
Routing and URL in ASP.NET Core Razor Pages
Hello, What is the ultimate form of URL in the following routing? I don't know when to use the forward slash. https://localhost:7147/ @page "/Products/Add" @page "/Products/Add/" @page "Products/Add" @page…
Is there a way to add Material Design to ASP.NET Webforms?
I haven't found many resources to add Material Design to ASP.NET Webforms. The closest I found was this stackoverflow which didn't help much.
How to shipped UWP platform specific assemblies (ANY CPU, X86,x64,ARM) inside lib/uap10.0
How to shipped UWP platform specific assemblies (ANY CPU, X86,x64,ARM) inside lib/uap10.0
Release Configuration Causes Exited with Code 1
I have an app that works great in debug mode, but in release mode it does not give an error that prevents it from building, but it gives the following warning: MSB3073: The command ""C:\Program Files…
Is it safe to manually delete the "...\Microsoft.AspNetCore.App\5.0.3\.version" folder and all of it's sub contents located from the local C disk drive?
Hello, is it safe to manually delete the "...\Microsoft.AspNetCore.App\5.0.3.version" folder and all of it's sub contents located from the local C disk drive? Believe this is related to Web based development which we don't use. Reason it was…
How can I change the Toggle Button in WPF Expander to Radio Button so that i can only select one expander in a group of expanders?
In my side Menu i have some expanders like five of them, i wanted my user to only select one expander at a time, then i thought of using expanders based on radio buttons, in the default style of wpf expanders i found this xaml below where i thought it is…
Replacing DbContext.Attach()
I've found Attach() to be problematic as it's tricky to mark everything needed modified. For example, if all you change is a property in Address where Address is builder.OwnsOne(org => org.Address), it doesn't see it. My use case is pretty standard.…
dynamic combobox
Hi, I would like if you can give a small sample for combobox that show the name of drives. If I insert or remove disk on key it will reflect the changes in the combobox - how is can be done. Thanks in advance, private void UploadDriveItems() …
MAUI project iOS simulator startup failed MT7091
onnxruntime.xcframework/ios-arm64_x86_64-simulator/onnxruntime.framework/onnxruntime File format not recognized I have a MAUI project. When I tried to start using the iOS emulator, an error occurred. VS was able to connect to the MAC machine normally,…
.NET framework version missing
Hallo, I am quite new to VS. I installed the Community version 2022 recently but I cannot run my script. I get the error which I copied here below. I checked in my registry editor and I can see that I have the version 4.8.04084 (even though in the…
LINQ questions using contain
Hello, the source code is shown below. private async Task<IEnumerable<SearchResource>> GetSearchItemByIdAsync(IEnumerable<string> querys, int offset, int maxResults) { var allQueries = querys.SelectMany(q =>…