24,500 questions with .NET-related tags

Sort by: Updated
2 answers

My ViewModel Constructor is executed before my property is set. So I am having to put my method ( RefreshData )that I want to execute in the Constructor in the ApplyQueryAttributes method.

My ViewModel Constructor is executed before my property is set Id = myPackage.packageId; . So I am having to put my method ( RefreshData ) that I want to execute in the Constructor in the ApplyQueryAttributes method. Otherwise, My parameter value is…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,048 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,470 questions
asked 2024-06-13T18:18:55.96+00:00
Tom Meier 140 Reputation points
answered 2024-06-14T03:03:32.6133333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 37,421 Reputation points Microsoft Vendor
0 answers

How to run power toy in hidden window?

Dim p = New Process() p.StartInfo.WindowStyle = ProcessWindowStyle.Hidden p.StartInfo.CreateNoWindow = True p.Start("C:\Program Files\PowerToys\WinUI3Apps\PowerToys.Settings.exe") After running this code, the setup window still appears. Is…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,522 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,624 questions
asked 2024-06-13T20:26:36.28+00:00
Yen Dang 0 Reputation points
edited the question 2024-06-14T02:55:53.06+00:00
Jiale Xue - MSFT 41,116 Reputation points Microsoft Vendor
1 answer

how to write ios without storyboard?

related https://learn.microsoft.com/en-us/answers/questions/1693595/how-to-write-code-in-cs-file-in-xamarin-ios write in cs file. Can you tell me how to make ios without storyboard? just cs file?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,048 questions
asked 2024-06-12T12:43:50.4366667+00:00
mc 3,866 Reputation points
edited the question 2024-06-14T02:42:43.35+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 27,746 Reputation points Microsoft Vendor
1 answer

.Net MAUI desctop app

I am new to programming. I am trying to figure out how to work with MAUI. The problem is that the program does not start in Windows Explorer, but everything works fine from Visual Studio (mobile and desktop versions).Windows11

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,048 questions
asked 2024-06-12T18:35:45.7166667+00:00
K00300006: Lionel Jose Maria 0 Reputation points
commented 2024-06-14T02:39:29.9866667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 70,556 Reputation points Microsoft Vendor
0 answers

ASP.NET azure hosted app / sql server Works on localhost only

When I run my simple CRUD app on localhost it works really good. Hint: It is using SQL server to insert data and server is hosted on my Azure Subscription inside same Resource Group Deployed app : myAzureWebsitesLink.net Not working route : School -…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,281 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,361 questions
Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
807 questions
asked 2024-06-11T20:15:24.4333333+00:00
Anel Hodžić 0 Reputation points
commented 2024-06-14T02:38:47.8466667+00:00
JasonPan - MSFT 4,701 Reputation points Microsoft Vendor
1 answer

How to block same value section on for each loop in XSLT 1

Hi Team, Currently we have a created xslt map with foreach to block looping using single value(PartNumbers) - <PartNumbers>099-923-G</PartNumbers>, in the below example same partnumber(Consideration value) repeating on both…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,522 questions
Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
2,929 questions
asked 2024-06-12T11:27:54.77+00:00
Mahesh Madhusanka 176 Reputation points
edited a comment 2024-06-14T02:22:19.3366667+00:00
Yitzhak Khabinsky 25,376 Reputation points
0 answers

Error Running the Selected Code Generator - ASP.Net MVC

I am getting the following "generating code" error when creating a Controller using "MVC 5 Controller with Views, using Entity Framework" in Visual Studio 2019. I've tried several solutions to similar problem reported online: Removed…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,361 questions
asked 2024-06-13T16:24:17.7366667+00:00
Malam Malam 166 Reputation points
commented 2024-06-14T02:21:41.94+00:00
Lan Huang-MSFT 27,716 Reputation points Microsoft Vendor
0 answers

How to debug and fix 'Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR)' error on MAUI Android app

I have an Android app published in 'open testing' in Play store. And I am seeing 2% crash rate with this error. I have got the logcat file for 2 crashes, but not able to figure out any source/reason for crash. I am really looking for some help to make…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,522 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,048 questions
asked 2024-04-16T17:45:30.3666667+00:00
ac-lap 71 Reputation points
commented 2024-06-14T02:05:18.3166667+00:00
James Clayton 0 Reputation points
1 answer

Control Flow guard

Hello Team, Control flow guard is only for visual c++ based application or for all c++ compilers or it will works for all like c#, .net based application.

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,522 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,470 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,590 questions
asked 2024-06-07T11:13:32.64+00:00
Mashuk Raza 20 Reputation points
commented 2024-06-14T01:55:26.78+00:00
Minxin Yu 10,456 Reputation points Microsoft Vendor
4 answers One of the answers was accepted by the question author.

What is the best way to show the loader while uploading the file in gridview

I am using gridview for displaying and inserting new records. i'm using loader wherever it is required in the gridview. it is working fine. i'm trying to use animation loader for specific upload column in gridview. will it possible to show the loader…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,361 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,470 questions
asked 2024-06-07T17:12:49.2366667+00:00
Gani_tpt 2,026 Reputation points
commented 2024-06-14T01:48:21.4233333+00:00
Lan Huang-MSFT 27,716 Reputation points Microsoft Vendor
0 answers

How to fix "module was not instrumented." Reason:"path_is_excluded" error in Microsoft.CodeCoverage.Console tool?

I'm receiving the following problem while trying to instrument my dll with Microsoft.CodeCoverage.Console tool. module was not instrumented. Reason: path_is_excluded." I'm using Microsoft.CodeCoverage.A console tool for calculating code coverage.…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,522 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,757 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,590 questions
Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
334 questions
asked 2024-06-13T06:50:10.2966667+00:00
R M 0 Reputation points
edited the question 2024-06-14T01:45:27.8433333+00:00
Hui Liu-MSFT 46,961 Reputation points Microsoft Vendor
1 answer

How to remove MAUI .NET Entry white space?

I've a entry in my android app. As in picture, text is clipped, and there is a big white space around. Is it possible to made text bigger, without clipping it, reducing the white space? <Style TargetType="Entry"> <Setter…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,522 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,048 questions
asked 2024-06-13T08:07:03.3+00:00
Ajeje Brazorf 106 Reputation points
edited an answer 2024-06-14T01:44:51.78+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 70,556 Reputation points Microsoft Vendor
0 answers

async Task method with await Task.Run make application crash shutdown without any errors/exceptions. how to solve?

when running the application, it starts doing the code in the method but then after few seconds the application crash shutdown without showing any errors or exceptions and it's never reaching any of the catch places. maybe there is a deadlock? not…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,863 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,470 questions
asked 2024-06-14T00:32:37.6766667+00:00
Chocolade 516 Reputation points
commented 2024-06-14T01:42:04.2133333+00:00
KOZ6.0 5,630 Reputation points
2 answers

Change cookie path

In my ASP.NET application, I want to change the cookie path from the root to some specific folder. How can I do that?

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,361 questions
asked 2024-06-13T11:23:12.5066667+00:00
Adeel Mirza 21 Reputation points
edited an answer 2024-06-14T01:28:09.34+00:00
SurferOnWww 2,171 Reputation points
2 answers

How to call another view from one view in MVC?

In my main MVC project (Proj1) form's menu (Shared_Menu,cshtml), I've added a new menu item to open up a view from another project (proj2) that has been added to the solution. How do I call the proj2's view when the menu item in proj1 is clicked?

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,281 questions
asked 2024-06-10T06:12:45.8866667+00:00
Malam Malam 166 Reputation points
edited a comment 2024-06-14T00:48:03.82+00:00
SurferOnWww 2,171 Reputation points
1 answer

My aurhorization shows fore alittle my mainlayout and then redirect to unauthorizedpage

<Router AppAssembly="@typeof(Admin).Assembly"> <Found Context="routeData"> <AuthorizeRouteView RouteData="@routeData"…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,281 questions
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,448 questions
asked 2024-06-11T08:22:45.62+00:00
Ioannis Karakostas 0 Reputation points
answered 2024-06-13T22:30:10.0433333+00:00
Bruce (SqlWork.com) 59,036 Reputation points
1 answer

Good day, i have an ObservableCollection with a list of items from the Sqlite database file in .NET MAUI, the retrieval of items works ,my problem is that the carousel view returns all the items from the list instead of the current selected item,

using CommunityToolkit.Mvvm.ComponentModel; using CommunityToolkit.Mvvm.Input; using MyHerbalDiari.DataAccess; using MyHerbalDiari.Models; using System.Collections.ObjectModel; using System.Windows.Input; Good day, when i load my item from the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,048 questions
asked 2024-06-13T21:12:58.82+00:00
solomon mokoena 0 Reputation points
commented 2024-06-13T21:43:49.2433333+00:00
solomon mokoena 0 Reputation points
4 answers One of the answers was accepted by the question author.

What is the correct way to upgrade dotnet SDKs for MAUI

Can someone tell me the proper way to upgrade .net? I have kept mine on an older version for a while now because it has been working with xcode 15.3 for me. Since it appears the issues with xcode 15.3 have been resolved in the latest version, I would…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,048 questions
asked 2024-05-16T15:01:48.6366667+00:00
Tony Pitman 60 Reputation points
commented 2024-06-13T19:28:15.86+00:00
Tony Pitman 60 Reputation points
1 answer

Gridview row.cells Unable to cast checkbox as textbox

I have this Gridview where I'm updating a SQL table. Everything works fine until I come across a column that has checkboxes. I'm getting an error message stating unable to cast/convert checkbox to textbox. Here are the lines in question. Dim columnValue…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,522 questions
asked 2024-06-12T13:33:51.9166667+00:00
Hutty 0 Reputation points
commented 2024-06-13T19:18:22.5666667+00:00
Hutty 0 Reputation points
1 answer

Getting error while search name in the textbox using bootstrap in ASP.NET C#

I am using gridview for reports and it contains more than 10000 (ten thousands) records. i am using one textbox for searching and multiple column values such as (CustNo,CustName,Department,MaterialName,Salary and DateofJoining) All search has to be done…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,361 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,470 questions
asked 2024-06-13T17:34:51.2533333+00:00
Gani_tpt 2,026 Reputation points
edited a comment 2024-06-13T18:28:58.6233333+00:00
AgaveJoe 26,671 Reputation points