.net MAUI app and WebPages
So I have built my first .net MAUI app. All things good. I would like to put on a webserver and run the app from a weblink on a webpage. Somewhat like the old SmartClient apps. How would I go about that? Thanks.
Choosing between desktop and web (intranet) for an internal application
We're developing a document management application for internal users. Users are spread out over 25 offices, each office will have 10-15 users. Users will be required to scan documents (20+ at times), generate and print barcode for each page and print a…
How to use the concept of activation context in .net to load unmanaged dlls?
After some help and reading, I am sure the concept activation context can be used to solve my problem. In my application, I have to load an unmanaged dll c.dll by another managed dll b.dll, which is loaded by a.dll, which is loaded by app.exe. The…
How to solve this .NET missing issue?
We developed a Wpf application, based on .NET 5.0, target OS version is 10.0.17763.0. And in developers' computer, they have Visual Studio installed, so the app runs normally. Now we make a release x64 version of the app and put it on a newly…
Mapper Key seems to be arbitrary
When coding a mapping the key used does not seem to matter. Is there a case where the value matters. PickerBase can be any string and it still works. PickerHandler.Mapper.AppendToMapping("PickerBase", (handler, view) =>
How to set ACTION_IGNORE_BATTERY_OPTIMIZATION_SETTINGS on/off within the Xamarin.
I am trying to achieve ACTION_IGNORE_BATTERY_OPTIMIZATION_SETTINGS on/off within the app. So in a specific activity, it should be on and other off. I could achieve to request the permission and PowerManager.isIgnoringBatteryOptimizations() returning true…
Bearer token authentication is not permitted for non TLS protected endpoints (MS Graph) C#
Hello, I am having trouble pulling a user’s photo from MS Graph. In my app, I have configured ASP.net Core Identity to use Microsoft as an external login / registration choice. Locally, it pulls the picture fine, which leads me to believe it has…
Quick login for Desktop Windows apps
Would it be possible to for a .NET Windows app such as UWP to have access to display list of connected accounts on Windows PC? That could be like a quick list to login faster in the app instead of need to re-type the Microsoft email, kind of like it…
Android device connection refused in WebClient download request on localhost PC
A VisualStudio 2019 project running on Windows 10 Home was taken from a tutorial that actually targeted Phone 8. It is a 'Book Store' app using data stored in an XML file which is loaded into the local host web page built with Asp.Net Core Web app. My…
how to use image color for using in ui
hello everyone , so, I have a music player project and in my project i want to use musics image dominant (or Correct) color for using in my UI , i searched about it a lot but i couldn't find any good solution , in fact i want to make something like…
Microsoft.Office.Interop.Word.dll Not Found
I have office installed but I don't have this path: C:\Program Files (x86)\Microsoft Visual Studio\Shared\Visual Studio Tools for Office\PIA\Office14\Microsoft.Office.Interop.Word.dll How do I get this fixed? I have tried reinstalling office and…
Migrate legacy ASP.NET Webforms application (specially aspx controls and its code behind pages) to .NET Core 6 using DotVVM
Hi, One of our client requirement is to migrate legacy ASP.NET Webforms application (specially aspx controls and its code behind pages) to .NET Core 6. We were evaluating different tools and then we found that DotVVM (https://www.dotvvm.com/)…
ASP.NET MVC Adding Same Records too many times when I refresh the page
I am new with ASP.NET and i made a blog project with simple ways. My problem is after commentting to a single blog and every refresh the page comment has been recorded too many times. I would be happy if you solve this or find a new way to comment to a…
How to remove the titlebar in MAUI (MacOS and Windows)?
How to remove the titlebar?
How to upload image using ajax in asp.net mvc
Hi guys how can i upload image using AJAX in ASP.NET MVC
Azure Ad B2C: from client to server to another server?
I am trying to set up an application consisting of a front-end Next.js (client + server) application with a Asp.Net Core Web API. So there are two servers and one client. Next.js has a nice library called nextAuth which allows using Azure Ad B2C as…
how to custom asp-validate-for target?
I want to using asp-validate-for to validate a image upload If I Upload some picutre there is a div will display it: <div id="my-image"> </div> if there is some image: <div id="my-image"> …
Restricting access to a public ASP.NET Core WebAPI
I'm building an application and I'm having a hard time understanding how to properly restrict access to the API for its data while still allowing the sites and apps that run on that data to function. The API is on its own domain (say api.mysite.com)…
sort static dropdown using VB.NET asp.net page
I'm populating a dropdown with dates, it's currently showing the dates as 8/1/2022 7/1/2022 6/1/2022 5/1/2022 I want to show the dates as 5/1/2022 6/1/2022 7/1/2022 8/1/2022 protected sub getDates(sender as…
Recognition of changed culture or time format
I want to show the current day time in the current time format like: DateTime now = DateTime.Now; textBlockTime.Text = now.ToString("T", culture); On app start the culture is set to CultureInfo.CurrentCulture. When the user changed…