how to upload a picture to a picture1 box in html
code behind cshtml file @model IMS_Project.Models.Product @{ ViewBag.Title = "Product"; ViewBag.SubTitle = "Create"; @using (Html.BeginForm("Create", "Product",…
*How do I add MVC 4 to an existing .net framework web application 4.8 that includes controller and view folders, and routing information.
This question starts in https://learn.microsoft.com/en-us/answers/questions/1662118/how-do-i-add-an-mvc-template-to-my-web-app-project I thought that is should be more specific in my question, so, I created a new post with more a more specific title. I…
Migrate SQLite db from Xamarin Android to NET Maui app?
I am having issue with one of my app migration to .NET MAUI. When I migrate, I am unable to access SQLlite databse which was being used in Xamarin in XAMARIN database was being accessed as…
How to fix StackOverflowException after upgrading from .Net 6 to .Net 8
Hello, I have upgraded 5 projects in my solution from .Net 6 to .Net 8 using upgrade assistant in Visual Studio. When I run the solution, StackOverflowException is being thrown and Swagger is not loading. Looks like onchangetokenfired() method is being…
.NET MAUI: downloading a file in the background (Android)
Hello. Is there a way to do some action in background in case of android devices? For example, in my app I have a callback that starts to download a file after user pressed the download button. This file is quite large and some devices may turn off their…
Data Models
I have two Models, CustomerModel and CustomerInfo neither one relates to the other except that the Model(s) have fields in the same table and I wanted to separate the fields in the Models because they are used in different views of my .Net Maui…
IMAGE UPLOAD USING PHOTO PICKER DIALOG
RegistrationForm.cshtml <div class="mt-2"> <div class="row"> <div class="col-7 col-sm-6"> <div class="d-flex…
WPF Select All Checkbox in a DataGrid DataBinding (Using Xampp, SQLYog, ODBC Driver)
Hi! Everyone I have been searching and integrating all checkbox multiselect from the answers I found online, and I l learnt so much, whether they use MVVM Light tollkit and Non-MVVM approach. All of them runs in different way but all are fulfilled the…
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…
Having issues deploying IOS project on iphone
Microsoft Visual Studio Professional 2022 (64-bit) - Current Version 17.5.5 Xamrin 17.5.0.173 & Xamarin.IOS -16.2.0.5 Getting these errors : Severity Code Description Project File Line Suppression State Error /usr/bin/codesign exited with code…
Android App Won't Launch when installed from APK
I am experiencing issues when trying to use our signed Android MAUI application running after I install it from an APK onto emulator or physical device. It installs without issue, but when launched it freezes and crashes. Since our application is…
How to connect different Azure Id with Visual Studio 2022 Id
Can other people connect and use it with one ID(Tenant ID or Subscription ID, ...)? ( For Test Purpose ) If so, how can this be done? Thank you.
In the .Net framework, I am using a large panel in Form1. In this panel, I call up Form3 and in this Form3, I have created a chart control function. How is it that the chart, which has been placed and sized as desired, is visible during testing but not in
first picture = code second = form3 third = Test run what i try to do is in Form1, add a panel, and in that panel ill switch forms 2,3 and 4 with buttons and in form3 i call Control Chart and use enough space as in picture 2 and i must say all…
Can I force AuthenticationState to refresh (when claims have changed)?
Hi all; Is there any way to force the AuthenticationState to re-read the database when claims have changed? I've implemented a ServerAuthenticationStateProvider and it works great for my adding IdentityUser.Enabled. But when I set it to re-read the…
Blazor Multitenant Configuration with Azure App Configuration Service
I have read the following article, but no where in this document does it talk about how this can be instantiated within your program.cs or startup using…
How to fix .NET Framework error
I have a problem with my .NET Framework, whenever I run programs like Visual Studio, it gives me this error message: Clicking "Yes" forwards me to the installation page, which after running the installer, I am told that the .NET framework…
Numbers are not displayed properly when using Arabic culture with Right-to-Left (RTL) flow direction in WPF.
When using a textbox in Arabic culture with RTL, numbers are displayed in Arabic numerals. However, I want them to be displayed in standard numerals only. FlowDirection="LeftToRight": FlowDirection="RightToLeft": Code…
How can I configure my .NET app to use Azure Firewall proxy in explicit mode?
I'm trying to use Azure Firewall in explicit proxy mode to test that my .NET app works when configured with a proxy. The .NET app uses the WebProxy class to configure the HttpClient:…
How to do Search inside a subFolder with Azure AI Search.
In Azure AI Search how to find something inside a subdirectory? right now when I am searching something i am getting result from all of the subfolders, I have to do search within a folder for example right now I am in /Submission directory and there are…
How to copy big file 5g with task and within impersonation
Hi, How to copy big file 5G from source to destination using impersonation: WindowsIdentity.RunImpersonated( ImpersonationHelper.Token Thanks,