Content
fileupload emty error !!!
Hello friends, if the file upload is empty SqlConnection con = new SqlConnection(ConfigurationManager.ConnectionStrings["Holding_DB"].ConnectionString); con.Open(); SqlCommand cmdSelect = new…


Timespan.FromHours(24) not working after publish application on Azure app service
Hi i hi have one small simple application which logs the information. So I have one basic application which is using System.Threading.Timer and setup timer to run my function once a day and create logs. Ex. _timer = new Timer(callbackAsync, null,…
how to replace retired flashupload functionality with fileupload for single image in asp.net?
how to replace retired flashupload functionality used for uploading multiple images with fileupload for uploading single image in asp.net? Since flashplayer has reached end of support, I need to replace with existing alternative of fileupload control by…


Button click event is not firing
Greetings again dear experts. I have an .aspx page with two sections One section allows our users to enter records displays existing records for update. The second allows users to preview the records, whether insert or update before submitting to the…
c# use tablename as variable
How can i use tablename as a variable in sql query? "select * from table_name " table_name must be variable.


EF Core 6 Adding a table manually?
Hello friends, I am working on a web API project that I implemented with the code-first approach. I wonder if there is a problem creating tables manually without using migrations. Does it cause any problems? Thank you.
how to bind to taghelper property in razor pages?
[HtmlTargetElement("pagination")] public class PaginationTagHelper : TagHelper { [HtmlAttributeName("page-index")] public int PageIndex{get;set;} } and in Index.cshtml <pagination page-index="PageIndex" /> I can not…


Edge browser showing windows security popup
We have implemented MSAL authorization in our web application but when we are executing visual studio code locally, solution running fine with IE but not with edge browser, its showing windows security credentials popup.




Web form issue
Hi, I get "undefined" unexpectedly to the column/field below, while there is the proper row value returned from the table. What is the reason? html += "<td >货币</td><td style='font-weight:…


how can add validation 2 drowdownlist
The user comes and selects the city from the first dropdownlist. If the first value is selected from the second dropdownlist, I want it to give an error. I want to add validation but failed. Help me please ? Where is my mistake ? my code ; var…


500 internal server error in Windows server 2012 with IIS 8 for ASP.net core 6 mvc
I know this is a common errors but i am getting desperate and frustrated. I have published to folder my ASP.net Core 6 MVC application and deployed in a server running Windows 2012 and IIS 8 and I am getting the server error 500. I have tried going…


Net Maui How to show or hide ( collapsed ) content in stacklayout or grid ?
<StackLayout ZIndex="1" x:Name="Page" IsVisible="true" ></StackLayout> <StackLayout x:Name="Page2" IsVisible="false" ></StackLayout>


When Wpf datagrid apply group, the application becomes very slow.
My wpf application is build with .net framework 4.5.2, when datagrid apply group, in some computers the wpf application becomes very slow, but other computers do not have this problem. If the wpf application build with .net framework 4.8, all computers…
Loop through Controls in ScrollView and Get the Data
Hi, In below XAML: <ScrollView x:Name="ScrollViewDetails" Grid.Row="1"> <VerticalStackLayout> <VerticalStackLayout x:Name="StackLayoutPhones"> <BindableLayout.ItemTemplate> …


Azure multi tenant microservice architecture and many app registrations
Let's say I have a multi tentant microservice architecture fronted with an API gateway of which a client app calls to access the microservices behind. Let's say it's grown to a complex system that has 50 microservices all needing user…


How can caming towns null ?
When the city is selected, it comes with the town. But when the city is selected, I want the town to be empty and for the user to select it. I want when user choose city second drowboxlist caming null how can add ? my code is ; For example…


how to get parameter name in c#?
public string BuildParameter(object[] para) { var parameters = ""; for (var i = 0; i < para.Length; i++) { if (para[i] != null) { …
How to setup Vnet integration between ASP.NET 4.8 Azure Service V3 app and SQL Managed Instance?
I just created a simple ASP.NET Web Forms app to Azure Service - Premium V3 plan. This app runs fine as long it does not access our database in SQL Managed Instance (MI). When trying to access the database (a simple SQL SELECT statement in the…


Error XA3001: Could not AOT the assembly: Xamarin.Forms.Platform.Android.dll (XA3001)
Hi, I am trying to archive the project for publication. It worked before. I fixed the camera permission and tried to archive it, it threw the following message and the process failed. "Error XA3001: Could not AOT the assembly:…

