Microsoft Q&A

.NET Standard

483 questions

A formal specification of .NET APIs that are available on multiple .NET implementations.

Browse all .NET tags

483 questions with .NET Standard tags

Sort by: Updated
1 answer One of the answers was accepted by the question author.

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) { …

.NET
.NET
Microsoft Technologies based on the .NET software framework.
620 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: The period of time during which a program is being executed in a computer.
956 questions
.NET Standard
.NET Standard
A formal specification of .NET APIs that are available on multiple .NET implementations.
483 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
291 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,554 questions
asked 2023-01-30T05:50:44.7+00:00
打玻璃 1,526 Reputation points
accepted 2023-01-30T09:17:44.13+00:00
打玻璃 1,526 Reputation points
2 answers

How to get a working Control in VS-2022 for a net6 app C#

I have been trying to build a custom control for one of my apps all night and always end up with a greyed-out control in my tool box. I have tried various flavors of windows forms apps net, desktop with different forms of control libraries all from…

.NET Standard
.NET Standard
A formal specification of .NET APIs that are available on multiple .NET implementations.
483 questions
Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,322 questions
asked 2022-07-30T06:59:37.53+00:00
mx dog 1 Reputation point
answered 2023-01-26T05:54:08.7166667+00:00
Amin darestani 0 Reputation points
3 answers One of the answers was accepted by the question author.

How do I modify this jQuery to allow for more controls?

Greetings again mates. I have been trying quite unsuccessfully for the last three days to try to figure out how to dynamically add rows based on selecting DropDownList values. There are quite a good number of examples on how to do this by clicking a…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
1,830 questions
.NET Standard
.NET Standard
A formal specification of .NET APIs that are available on multiple .NET implementations.
483 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,190 questions
asked 2023-01-03T19:53:00.06+00:00
Simflex 81 Reputation points
edited the question 2023-01-25T22:15:50.1566667+00:00
Simflex 81 Reputation points
5 answers

Why Microsoft systematically abandons its own technology?

I understand that they are not going to answer me, I also understand that perhaps this question does not correspond to this place but it is something that worries me, for some time I have noticed that Microsoft is focusing a lot on Linux but not in the…

.NET Standard
.NET Standard
A formal specification of .NET APIs that are available on multiple .NET implementations.
483 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,190 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.
6,967 questions
asked 2023-01-11T19:37:04.3466667+00:00
Juan Carlos RR 26 Reputation points
edited a comment 2023-01-24T18:28:43.34+00:00
Bruce (SqlWork.com) 28,036 Reputation points
1 answer

CallerLineNumberAttribute' exists in both 'System.Runtime' and 'mscorlib'

Running Visual Studio 2022 + all updates. I have an old version of a Class Library running on .Net 4.7. Im attempting to upgrade it to the new SDK style so I first run the command dotnet tool install --global Project2015To2017.Migrate2019.Tool then…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
2,424 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.
6,967 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
620 questions
.NET Standard
.NET Standard
A formal specification of .NET APIs that are available on multiple .NET implementations.
483 questions
asked 2023-01-24T09:21:12.7166667+00:00
Mr Edge 121 Reputation points
answered 2023-01-24T18:25:33.3433333+00:00
Bruce (SqlWork.com) 28,036 Reputation points
1 answer

RDLC Report Error: After process some reports getting exception: An error occurred during local report processing.

Server stack trace: at Microsoft.Reporting.WebForms.LocalReport.EnsureExecutionSession() at Microsoft.Reporting.WebForms.LocalReport.InternalRender(String format, Boolean allowInternalRenderers, String deviceInfo, PageCountMode pageCountMode,…

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.
6,967 questions
.NET Standard
.NET Standard
A formal specification of .NET APIs that are available on multiple .NET implementations.
483 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,190 questions
SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
2,102 questions
asked 2022-06-08T09:24:21.017+00:00
Ramanamurthy vadugu 1 Reputation point
answered 2023-01-24T05:03:53.2733333+00:00
Poorna Chandran 0 Reputation points
1 answer One of the answers was accepted by the question author.

How to write all selected Files of checkedListBox in C# so i can merch the files

Hi i already have following programm and i want that all selected files which are shown in the listBox will be merched in the end. So what i need is how can i code, that i get the path of all checked entries and hwo can i then write them into my programm…

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.
6,967 questions
.NET Standard
.NET Standard
A formal specification of .NET APIs that are available on multiple .NET implementations.
483 questions
Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,322 questions
asked 2023-01-23T10:35:01.4933333+00:00
Andi 46 Reputation points
commented 2023-01-23T15:42:13.1833333+00:00
Reza Aghaei 3,331 Reputation points Microsoft MVP
1 answer

what is `LPSERVICE_MAIN_FUNCTIONA ` in .net?

I want to use c++ func in .net there is a parameter LPSERVICE_MAIN_FUNCTIONA what is it in .net?

.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
291 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: The period of time during which a program is being executed in a computer.
956 questions
.NET Standard
.NET Standard
A formal specification of .NET APIs that are available on multiple .NET implementations.
483 questions
asked 2023-01-06T07:01:41.377+00:00
打玻璃 1,526 Reputation points
commented 2023-01-23T09:55:36.52+00:00
Jiachen Li-MSFT 10,911 Reputation points Microsoft Employee
2 answers

SlowCheetah - major issues - vb.net

Hi A while ago i added SlowCheetah to my solution in order to transform the config file content between debug & build versions. It wasnt working out for me so i removed slowCheetah however, its now caused me some problems... I uninstalled it and…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
620 questions
.NET Standard
.NET Standard
A formal specification of .NET APIs that are available on multiple .NET implementations.
483 questions
asked 2023-01-18T09:50:25.2966667+00:00
NachitoMax 406 Reputation points
answered 2023-01-19T02:34:16.04+00:00
Anna Xiu-MSFT 11,111 Reputation points Microsoft Employee
1 answer

"Unable to add or delete the folders, Access is denied".

Getting the following error while publishing .NET code in VS 19, I enabled rewrite URL feature in IIS, I also allowed full permissions in the properties->security tab of the directory. But when I try to unmark the read only, and click on…

.NET Standard
.NET Standard
A formal specification of .NET APIs that are available on multiple .NET implementations.
483 questions
Microsoft 365 Publishing
Microsoft 365 Publishing
Microsoft 365: Formerly Office 365, is a line of subscription services offered by Microsoft which adds to and includes the Microsoft Office product line. Publishing: The process of preparing, producing, and releasing content for distribution or sale.
491 questions
Internet Information Services
asked 2022-09-14T05:14:31.7+00:00
Kurakula, Julia 21 Reputation points
answered 2023-01-17T14:09:14.51+00:00
Oskar Shon 786 Reputation points Microsoft MVP
2 answers

How to convert a xlsx file to a excel file without nugget and merge multiple pdf´s with chedlistbox [C# | WinForm]

Hi, in my current programm i am writing text into a xlsx file and save it. Now i would like to convert it to a PDF file, i found some nugget solutions but they are not optimal because i get a watermark in the endproduct and need to pay for that -.-…

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.
6,967 questions
.NET Standard
.NET Standard
A formal specification of .NET APIs that are available on multiple .NET implementations.
483 questions
asked 2023-01-12T10:03:19.7766667+00:00
Andi 46 Reputation points
answered 2023-01-16T07:19:31.13+00:00
Jack J Jun 19,216 Reputation points Microsoft Employee
3 answers

WHY ARE MICROSFT KILLING VISUAL BASIC AND THIER USERS? in favour on third party programming languges

My question is Why is Visual basic (the original programming language) being leverage out of Microsoft? Today there are many programming languages in the world currently in use as well as the mass migration to the python platform ... which would not…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
1,830 questions
.NET Standard
.NET Standard
A formal specification of .NET APIs that are available on multiple .NET implementations.
483 questions
asked 2021-03-11T10:46:42.393+00:00
Leroy 26 Reputation points
edited a comment 2023-01-13T15:36:49.8933333+00:00
Jan Ulik 0 Reputation points
2 answers

NetNamedPipeBinding Support

Hi, Can Anyone Please help me regarding the use of netnamedpipebinding in .net core 7.0? Thanks

.NET Standard
.NET Standard
A formal specification of .NET APIs that are available on multiple .NET implementations.
483 questions
Hyper-V
Hyper-V
A Windows technology providing a hypervisor-based virtualization solution enabling customers to consolidate workloads onto a single server.
1,824 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
620 questions
asked 2023-01-10T06:07:57.313+00:00
tehwain99 1 Reputation point
answered 2023-01-12T16:40:05.1866667+00:00
Limitless Technology 9,291 Reputation points
0 answers

WPF Enterprise App crashes on Windows 10/11 after Windows Updates installed - "StoryFragments part failed to load"

WPF Enterprise App crashes on Windows 10/11 after Windows Updates installed - "StoryFragments part failed to load" Our enterprise app (32/64 bit - targeting .NET Framework 4.8.x) deployed across hundreds of customer accounts with thousands…

.NET Standard
.NET Standard
A formal specification of .NET APIs that are available on multiple .NET implementations.
483 questions
Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,182 questions
Office Management
Office Management
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Management: The act or process of organizing, handling, directing or controlling something.
1,570 questions
asked 2023-01-09T07:16:11.413+00:00
Devassy, Bijeesh 1 Reputation point
edited a comment 2023-01-12T09:03:39.5433333+00:00
Hui Liu-MSFT 14,796 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

how to create temp and archive folder in .net

I want to create temp and archive folder. The most commonly used "Path.GetTempPath()" function. But there is a problem for me. gettemppath gives only path, i want it to create a temp folder where the exe is located. How can i do that?

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.
6,967 questions
.NET Standard
.NET Standard
A formal specification of .NET APIs that are available on multiple .NET implementations.
483 questions
asked 2023-01-09T10:59:23.657+00:00
Suleyman Sirkinti 21 Reputation points
accepted 2023-01-11T13:09:34.3233333+00:00
Suleyman Sirkinti 21 Reputation points
4 answers One of the answers was accepted by the question author.

outdated local documentation

I need help to solve a serious problem, I have the visual studio help viewer, even though it is version 2.3 and it is included in visual studio 2022 the viewer still shows the 2015 documentation, there are no options to modify the origin online from the…

.NET Standard
.NET Standard
A formal specification of .NET APIs that are available on multiple .NET implementations.
483 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
2,424 questions
asked 2023-01-03T21:32:00.8+00:00
Juan Carlos RR 26 Reputation points
answered 2023-01-11T00:04:37.507+00:00
Juan Carlos RR 26 Reputation points
1 answer One of the answers was accepted by the question author.

API to move data from SQL to Mongodb.

Hello Techie, I am trying to create API using .net. The purpose of API is used to read data from multiple sql table and store it to respective Documents of mongodb. The Change Data Capture feature has to be feature of API , so any change in…

.NET Standard
.NET Standard
A formal specification of .NET APIs that are available on multiple .NET implementations.
483 questions
Microsoft Partner Center API
Microsoft Partner Center API
Microsoft Partner Center: A Microsoft website for partners that provides access to product support, a partner community, and other partner services.API: A software intermediary that allows two applications to interact with each other.
258 questions
asked 2022-12-27T07:36:55.53+00:00
Uma 321 Reputation points
accepted 2023-01-09T17:00:42.287+00:00
Uma 321 Reputation points
0 answers

Portability analyzer tool reports not compatible for Array.Reverse example but Microsoft API documentation has it in the examples

I have created .NET core 2.0 project and added the below code int nMonths = DateTimeFormatInfo.CurrentInfo.Calendar.GetMonthsInYear(DateTime.Now.Year); int[][] months = new int[nMonths][]; Array.Reverse(months); (complete code is…

.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
291 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
620 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: The period of time during which a program is being executed in a computer.
956 questions
.NET Standard
.NET Standard
A formal specification of .NET APIs that are available on multiple .NET implementations.
483 questions
asked 2023-01-06T10:23:32.69+00:00
Mallesh_MS 1 Reputation point
commented 2023-01-09T02:02:50.863+00:00
Jiachen Li-MSFT 10,911 Reputation points Microsoft Employee
5 answers One of the answers was accepted by the question author.

Understanding LINQ SubmitChanges

Greetings again mates, My understand of Linq to SQL had improved a lot. Once I understand what LINQ code is doing, I can generally rewrite the code to more "normal" .net code with real sql query. I still have issues figuring out…

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.
6,967 questions
.NET Standard
.NET Standard
A formal specification of .NET APIs that are available on multiple .NET implementations.
483 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
1,830 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
8,516 questions
asked 2023-01-06T20:17:29.577+00:00
Simflex 81 Reputation points
commented 2023-01-08T00:37:27.563+00:00
Karen Payne MVP 29,236 Reputation points Microsoft MVP
2 answers One of the answers was accepted by the question author.

how to use ServiceBase in .net core 3.1?

can not use ServiceBase in .netcore 3.1 right? I want to create windows services in .net core 3.1 how to do it?

.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
291 questions
.NET Standard
.NET Standard
A formal specification of .NET APIs that are available on multiple .NET implementations.
483 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: The period of time during which a program is being executed in a computer.
956 questions
asked 2023-01-06T02:42:35.543+00:00
打玻璃 1,526 Reputation points
answered 2023-01-06T17:08:16.907+00:00
Bruce (SqlWork.com) 28,036 Reputation points