Not able to add a View in Visual Studio 2020 .net 6
I'm trying to add View in .net and getting below error popup. Kindly assist me to resolve this. I'm using .net 6 and visual studio 2022 community version.
A weired error about HTTP 500 !
I created a web user asp.net 8.0 mvc without ef. When I modify the stucture of oracle datebase table ,such as add a field ,then the web related to the table report a error about HTTP 500 . But after I restart the iis,it works well without doing anything…
All Toolbox Options Greyed in Visual Studio 2022
I have recently upgraded my WinForm C# application from .Net 4.7.x to .Net 6 I wish to make a change to one of the Forms, however when I try to add any control to any form, I find that all options are greyed out in the Toolbox, so I can modify any of the…
Recognize whether the user is logged in
In Windows 10 and Windows 11, apps that are started automatically at startup are already started before the user has logged in. In Windows 8.1, such automatically launched apps were only started after the user had logged in. At least this is the case on…
How Can find Data between Two Date Using LINQ
i wan find data between two date. but all data can't display. only last two data find as result. Date productID 2024-04-19 15:50:35.7510481 9 2024-04-19 15:50:35.7539253 10 2024-04-19 16:42:54.1178610 1 2024-04-19 16:42:54.1408529 2 2024-04-19…
.NET MAUI Application is not supported on Visual Studio Mac
When I tried to run the MAUI project on Visual Studio Community 2022 for Mac, I faced the error below. Error: Could not find any available provisioning profiles for ApplicationName on iOS. Then I fixed the above error by deleting the .vs, obj, and bin…
How To make Common Filter Component in Blazor Web Assembly project
Please Describe How i make Common filter component
Failure to run Blazor Web Assembly on CPU 5200
The software Develop with Blazor Web Assembly and .NET 8 runs on almost all CPUs, but it does not run on the Intel E5200 CPU.
How to create Dialog, bar graphs in Blazor Webassembly with dynamic data. It will be common component
Title: Creating Dialogs and Bar Graphs in Blazor WebAssembly with Dynamic Data. It will be a common component. Description: I'm currently working on a Blazor WebAssembly project and I need some guidance on two specific tasks: creating dialogs and…
System.Web.UI in .Net
I am trying to migrate several projects from .Net Framework 4.8 to .Net 8 in WinForms, Wpf and Asp.net that use common c# libraries. When trying to compile the common dll, errors appear related to "System.Web.UI" which apparently is not used in…
Need to convert stream file to PDF.
S is my stream variable. I have successfully converted it into doc format. Now I am trying for pdf one. Content Type: "application/pdf" doesn't work. Please give me a solution. s =…
Export Entire User Input Form to PDF in C#
I have a form that captures general user information like FirstName, LastName etc. When user is done entering all information and clicks on the button Button1; I need to export the entire form to PDF. Is there a way to do it? First Name: …
Permutations Array?
Good day all Master! please help me to fix my problem. This problem is a permutations process. If I click button OK it well shuffle and this display in the listBox1. Please take look the picture below. at this image as you can see it's do permutations…
Is it able to upload a folder with blazor wasm client and minimal api server?
I want to upload files and folders recursively throught the wasm client to minimal api server. I have learned that I can use IFormFile or IFormFileCollection to receive files in minimal api.
Should I install an older version of Visual Studio to work on an old ASP.NET app?
I prefer to use Visual Studio 2022, because I've been working with newer, .NET projects. However, I may be assigned to do some maintenance on an older, .NET Framework ASP.NET WebForms application. I've been familiarizing myself with the app this morning…
Xamarin navigate to page throws "Object reference not set to an instance of an object."
I'm trying to navigate and pass data to an edit page when I select a row. I select a row in the checklistpage and what to pass that rows data to the treeinfopage. (has two points of entry 1 from menu and 1 from ChecklistPage) the page structures are as…
How do I find the method calling Entity Framework that led to an exception
I believe this call is coming from the ASP.NET Identity Library. However, it may be coming from my Blazor code. The below is the entire exception written to the log. How do I find out what method (Identity library or my Blazor code) is calling this? …
Mac question
I don't understand why in Mac is not possible to open all windows Mac does not support programmatic activation of windows. First of all, I would like to inform you that the user has to touch the screen to active a session on iOS/MacCatalyst. Please…
.net MAUI is there a way to have an entry field have focus on load but not show the soft keyboard?
so ive worked on an android app in VS2019 and in that app its not a problem for me to have a screen load up, set focus to the first entry field( in that case its an EditText) but not show the soft keyboard. it will only show the soft keyboard if the…
How to upload file and view those file in modal popup using gridview
I need help in gridview. i am using normal add, edit and delete functionalities in gridview. This is working fine. Initially i am saving the records using textbox controls and save button. This contains including file upload also. After saving the…