1,130 questions with .NET Runtime tags

Sort by: Updated
1 answer

Creating a generic template in C#

I have researched that C#, as well as its predecessor, C++, enable users to create generic templates. Here are the two source code snippets below: using System; using System.Collections.Generic; using System.Data.OleDb; using System.IO; namespace…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,849 questions
Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
701 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,363 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,130 questions
asked 2021-01-20T06:12:29.877+00:00
JohnCTX 636 Reputation points
commented 2021-01-20T08:20:54.047+00:00
Daniel Zhang-MSFT 9,621 Reputation points
2 answers One of the answers was accepted by the question author.

Microsoft.EntityFrameworkCore.Sqlite C# ulong (64 bit integer) could not be translated (LINQ query)

Hi! I'm testing database code migration from .NET Framework to .NET 5.last. I'm using .NET 5, Microsoft.EntityFrameworkCore.Sqlite & LINQ query. (all last varsions) Following pseudo-code fails when using correspondence C#: ulong type…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,860 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,363 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,130 questions
asked 2021-01-18T16:51:47.347+00:00
vb 276 Reputation points
commented 2021-01-18T18:32:37.883+00:00
vb 276 Reputation points
4 answers

After upgrading to net5.0.1 version err in Mysql

From dotnet core 3.1 i have updated to dotnet 5.0.1 now I'm getting error... " Detected package version outside of dependency constraint: Pomelo.EntityFrameworkCore.MySql 3.2.4 requires Microsoft.EntityFrameworkCore.Relational (>= 3.1.8…

.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,130 questions
asked 2020-12-21T05:46:15.313+00:00
Pritam Savagavi 1 Reputation point
answered 2021-01-18T16:36:12.423+00:00
AlbaneseQuattroLife 1 Reputation point
1 answer

What is the best way in .Net to handle authentication & authorization protocols for downloading a file via https

Hi all; We need to implement pretty much every common authentication & authorization protocol for both reading files and OData queries from a url via https. We need this for both .Net Framework & .Net Core. Is there a way to do this…

.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,130 questions
asked 2020-12-27T16:17:44.813+00:00
David Thielen 2,306 Reputation points
commented 2021-01-14T14:54:30.247+00:00
David Thielen 2,306 Reputation points
0 answers

Spatial data operations

Hello, I have to migrate some routines written in VBNET in WPF environment on AZURE (webapi net core). In these routines spatial operations such as union, intersection, etc. take place. here is an example: Private Sub example(ByVal sender…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
701 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,229 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,130 questions
asked 2021-01-14T10:50:45.65+00:00
Marco Salvatori 191 Reputation points
2 answers One of the answers was accepted by the question author.

How to use Dispatcher for thread with WPF Window and a BlockingCollection<GraphicalData>(ConcurrentQueue<GraphicalData>)

Hi. Techs used are: C#, .Net Core 3.1, WPF, BlockingCollection<> and ConcurrentQueue<> I am trying to understand how to use the Dispatcher with a WPF Window. The Window will be updated with a ConcurrentQueue<GraphicalData>…

.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,130 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
768 questions
asked 2021-01-09T16:46:45.027+00:00
Magnus Vinterhav 61 Reputation points
accepted 2021-01-14T09:10:04.963+00:00
Magnus Vinterhav 61 Reputation points
1 answer

Getting error .NET Runtime version 4.0.30319.0 - Loading profiler failed during CoCreateInstance.

Hello, I have a .NET Framework 4.6.1 Web API. Recently started getting error ".NET Runtime version 4.0.30319.0 - Loading profiler failed during CoCreateInstance. Profiler CLSID: '{71DA0A04-7777-4EC6-9643-7D28B46A8A41}'. HRESULT: 0x8007007e. …

.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,130 questions
asked 2021-01-13T18:38:07.1+00:00
Shailendra Sute 1 Reputation point
commented 2021-01-14T01:37:55.007+00:00
Xingyu Zhao-MSFT 5,356 Reputation points
1 answer

WebClient for downloading and uploading file

Hi All, We are trying to download and upload a file to a device using HTTPS protocol using the 'WebClient' class from C#. It uses .Net framework 4.5. Once we download to the device or upload a file from the device, we get a JSON response from the…

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,685 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,130 questions
asked 2021-01-05T05:13:20.263+00:00
S Abijith 346 Reputation points
answered 2021-01-13T21:22:59.187+00:00
Abdulhakim M. Elrhumi 351 Reputation points
0 answers

Secure SSL Stream.read ...throws System.IO.IOException: The decryption operation failed (System.ComponentModel.Win32Exception: The specified data could not be decrypted)

we are using the SSL Stream Read to receive bytes of the files from the remote machine using TCP port .we have authentication done with X509Certificate2 certifcate for the file transfer from one machine to another. In call back of the tcplistener,…

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,363 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,130 questions
asked 2021-01-12T13:34:56.08+00:00
Jeyakumar Guruchandran 1 Reputation point
commented 2021-01-13T06:47:03.037+00:00
Xingyu Zhao-MSFT 5,356 Reputation points
1 answer

Application consuming High CPU

Hello, Our Application is running multiple processes (.exe) and each process utilizing CPU processor is always high while processing which near to 80 to 100% CPU. There is work around to minimize CPU utilization using System.Threading.Thread.Sleep…

.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,130 questions
asked 2021-01-12T10:25:00.277+00:00
Mavliwala, Adnan 1 Reputation point
answered 2021-01-13T02:10:22.74+00:00
Jerry Cai-MSFT 986 Reputation points
0 answers

Visual studio 2019: not showing Target framework .net 5 while migrating a class library from .net framework 4.7.2

Hi There, We have class library project on .netframework 4.7.2 , now want to port this class library project .net 5( basically targeting .net core) We opened class library project in 2019 and migrated package.config to package reference , after…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,443 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,685 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,676 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,130 questions
asked 2021-01-11T22:15:41.93+00:00
Sri 1 Reputation point
commented 2021-01-12T08:01:34.793+00:00
Jerry Cai-MSFT 986 Reputation points
2 answers

How to start WPF in separate thread and still updating it continuously

Hi. C#, .Net 3.1, WPF I want to have a WPF window that takes data from a BlockingCollection<ColorAddress>(ConcurrentQueue<ColorAddress>) continuously. I have managed to start the window in it's own thread, but while doing this with the…

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,685 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,130 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
768 questions
asked 2021-01-08T02:28:34.823+00:00
Magnus Vinterhav 61 Reputation points
answered 2021-01-11T11:24:23.8+00:00
Peter Fleischer (former MVP) 19,231 Reputation points
1 answer

Impact of Microsoft .NET Framework Security Updates on SQL server host

New year wishes to all. I wanted to know about any potential impact to SQL server services on applying Microsoft .NET Framework Security Updates on SQL server host. Below are the details of my OS and SQL server version.

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,860 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,130 questions
asked 2021-01-09T07:34:54.777+00:00
udhayan d 181 Reputation points
commented 2021-01-09T19:09:17.833+00:00
Erland Sommarskog 102.2K Reputation points
2 answers One of the answers was accepted by the question author.

Only every third object is consumed in BlockingCollection<string>(ConcurrentQueue<string>)

Hi. I'm building a multi-threaded simulator and need to create and consume ID's in an orderly fashion. I am doing this in C# and Core 3.1 and it is a WPF application. Please note that I am just learning about multi-threading AND queues, so it is…

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,363 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,130 questions
asked 2021-01-07T20:32:50.747+00:00
Magnus Vinterhav 61 Reputation points
accepted 2021-01-07T21:54:35.05+00:00
Magnus Vinterhav 61 Reputation points
2 answers One of the answers was accepted by the question author.

Which .net core 5 runtime is preferred x86 or x64?

Team, Happy NewYear! On my azure environment, I want to host .net core 5 rest api on this machine Previous generation A-Series On this azure machine(part of my service plan) 4 other services are already running where in 1% CPU +…

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,255 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,229 questions
Azure Stack Hub
Azure Stack Hub
An extension of Azure for running apps in an on-premises environment and delivering Azure services in a datacenter.
180 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,130 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,997 questions
asked 2021-01-06T12:48:06.017+00:00
Tanul 1,251 Reputation points
commented 2021-01-07T20:19:02.81+00:00
Tanul 1,251 Reputation points
5 answers One of the answers was accepted by the question author.

Logging .net core web api with azure

Team, I need to host a .net core web api as app service in azure. Is it mandatory to enable file system option to view console logs. This option will any way work for 12 hours and not recommended in production then how could we see our logs. I have…

.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,130 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,997 questions
asked 2020-12-26T20:39:57.45+00:00
Tanul 1,251 Reputation points
commented 2021-01-07T19:50:23.84+00:00
ajkuma 22,766 Reputation points Microsoft Employee
1 answer

.net core System.Text.RegularExpressions.Regex.Split

in the .net core 3.1 in the .net core 5.0

.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,130 questions
asked 2021-01-06T03:13:08.603+00:00
Celebrimbor 1 Reputation point
answered 2021-01-07T05:53:57.257+00:00
Jerry Cai-MSFT 986 Reputation points
0 answers

.NET Framework Security Updates

Server OS: 2012R2 I have servers installed with .NET Framework 4.5 Features and .NET Framework 4.6.1. I have vulnerabilities flagged against .NET Framework 4.5 Features. When I install the parent KB for a Security & Quality Rollup, it only…

.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,130 questions
Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
975 questions
asked 2021-01-05T08:34:18.927+00:00
Phil 1 Reputation point
commented 2021-01-06T03:34:07.86+00:00
Anna Xiu-MSFT 26,481 Reputation points Microsoft Vendor
2 answers

.NET Framework Security Updates

OS Version: Windows Server 2012R2 Reference: Security and Quality Rollup KB4579979. The parent KB4579979 contains four child KBs for various versions of .NET Framework, as shown below: KB4578953 .NET Framework 3.5 KB4578956 .NET Framework 4.5.2 …

.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,130 questions
asked 2021-01-04T13:24:11.547+00:00
Phil9511 1 Reputation point
answered 2021-01-05T12:55:35.19+00:00
abbodi86 3,866 Reputation points
1 answer One of the answers was accepted by the question author.

What are all the authentication protocols used on top of HttpClient

Hi all; In addition to Basic, Digest, NTLM/Negotiate, & MS Trust, what other protocols are there commonly used to access a resource (both file & OData) over https? And in particular, what are all the security protocols used by MS Dynamics…

.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,130 questions
SharePoint Server Development
SharePoint Server Development
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Development: The process of researching, productizing, and refining new or existing technologies.
1,576 questions
asked 2021-01-04T15:26:35.85+00:00
David Thielen 2,306 Reputation points
commented 2021-01-05T10:30:56.727+00:00
David Thielen 2,306 Reputation points