4,134 questions with ASP.NET Core tags

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

Gett customerid from token in backend Webapi

Goal: How to get customerid from token when you are located at backend webapi. Background: Today, you get your token from backend and it will be sent to frontend. The token alreadly contain the customerid. In order to use customerid as a filtration…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,134 questions
asked 2022-03-23T21:19:47.357+00:00
JJ TT 141 Reputation points
commented 2022-03-27T14:03:17.127+00:00
JJ TT 141 Reputation points
2 answers One of the answers was accepted by the question author.

Deploy an ASP.NET Core-Web-API (.NET 5, Visual Studio 2019) to IIS

Dear all, I'm trying desperately to deploy an ASP.NET Core-Web-API (.NET 5) to IIS. I use Visual Studio 2019. To test server setup (ASP.NET Core Hosting Bundle 5.0.15) I created an ASP.NET Core-Web-App and deployed it via file system, it works. …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,134 questions
asked 2022-03-26T09:15:17.397+00:00
Matthias Schuppe 21 Reputation points
answered 2022-03-27T08:17:05.01+00:00
Matthias Schuppe 21 Reputation points
1 answer

Converting Openssl signing to .NET 6

ASP. NET 6 MVC application invokes openssl for signing using openssl rsautl -sign -in rasi.bin -inkey riktest.key -out allkiri.bin How to convert this to .NET 6 so that invoking openssl is not required? riktest.key is text file containing …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,134 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,117 questions
asked 2022-03-19T14:34:29.29+00:00
Andrus 121 Reputation points
answered 2022-03-26T05:57:09.727+00:00
Cristian SPIRIDON 4,471 Reputation points
1 answer One of the answers was accepted by the question author.

ASP.Net Core API Error ( Multiple constructors accepting all given argument types have been found)

Hi Y'all, If someone could please help me with the below issues? I built a Web API using ASP.Net Core (from Microsoft Tutorial). When calling the API, I got this error below: The error can be read here: …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,134 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,243 questions
asked 2022-03-25T21:17:18.027+00:00
Huynh, Phuong Thao 81 Reputation points
accepted 2022-03-25T21:55:17.187+00:00
Huynh, Phuong Thao 81 Reputation points
3 answers

What phisical architecture for asp.net core microservices application

Hi! We have an asp.net core microservices architecture deployed on single Windows Server/IIS web server and we are using Ocelot as API Gateway. We should soon make our application available to 400 users at the same time, so we're assuming it's best…

Internet Information Services
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,134 questions
asked 2022-03-25T09:56:38.357+00:00
Gianlorenzo De Bartolomei 1 Reputation point
answered 2022-03-25T18:26:05.56+00:00
Bruce (SqlWork.com) 54,866 Reputation points
2 answers

.NET Core 2.1 Keeps Coming Back After Uninstall

We have a development VM with some apps installed such as Visual Studio 2019 and SQL Server Management Studio 18.6. Our weekly security scans are showing that .NET Core 2.1.30 is installed, which is at end of life and should be removed. I manually…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
694 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,134 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,077 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,117 questions
asked 2022-03-21T20:13:34.773+00:00
Baum, Eric 1 Reputation point
answered 2022-03-25T17:51:56.517+00:00
Bruce (SqlWork.com) 54,866 Reputation points
1 answer One of the answers was accepted by the question author.

Processing when startup fails(Asp.net Grpc Service)

<Problem> 1 Create a project with the C # Asp.net grpc service template. 2 Modify Program.cs as follows. Register the function in app.Lifetime.ApplicationStarted.Register for the process you want to execute after starting the server. …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,134 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,243 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,197 questions
asked 2022-03-24T07:26:39.683+00:00
Hiromu Matsubara (松原 拡) 21 Reputation points
commented 2022-03-25T08:18:44.313+00:00
Hiromu Matsubara (松原 拡) 21 Reputation points
1 answer

Referal Links and Points system

Hello Good day every one I have a website that students enter and book a lecturer using there accounts, i want to add a feature that make the students able to send a referral links to another students and when that new student (student B) book at…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,134 questions
asked 2022-03-08T20:37:18.627+00:00
ammar Asaad 1 Reputation point
commented 2022-03-25T02:39:36.67+00:00
Brando Zhang-MSFT 2,796 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

C# Lambda - short spelling

Hello, How can I write the below code shorter, how to optimize? Maybe without function name GetDeviceWhiteParameterSet(); Directly. ? means can be null, right? [XmlAttribute("length")] public double? Length { get; set; } private double…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,134 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,243 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,197 questions
asked 2022-03-24T09:01:31.947+00:00
Markus Freitag 3,786 Reputation points
accepted 2022-03-24T12:09:39.33+00:00
Markus Freitag 3,786 Reputation points
1 answer One of the answers was accepted by the question author.

WCF Error: Could not find default endpoint element that references contract 'IvSecurityAuthenticationPermissionService'

Using VS 2019 and .net 4.8 and WPF, I’m setting up a new solution which was a copy of an existing solution that’s been working great for 7 years. We have frameworks with a lot of stuff including security, and WCF support so it’s easiest to copy a…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,344 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,134 questions
asked 2021-02-10T08:28:18.857+00:00
moondaddy 911 Reputation points
commented 2022-03-24T08:45:45.89+00:00
Willem Gons 1 Reputation point
1 answer

Can we configure a gRPC server to share a port with a Kestrel-hosted ASP.NET Core 6 website?

I'm looking at gRPC as a potential replacement for WCF. (Side note: I'm saddened to witness the demise of WCF.) A nice feature of WCF was that it could be integrated with a website project and could share a port with the website. But a quick glance…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,344 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,134 questions
asked 2022-03-24T00:29:44.467+00:00
Jeff Bowman 101 Reputation points
answered 2022-03-24T02:28:53.01+00:00
Jeff Bowman 101 Reputation points
2 answers One of the answers was accepted by the question author.

Using EF: Need help to insert DateTime value into Date ( Database )

Hi, This is my table, Models: SFATender using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.ComponentModel.DataAnnotations; using…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
694 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,134 questions
asked 2022-03-22T22:09:04.053+00:00
Jerry Lipan 916 Reputation points
accepted 2022-03-23T10:48:52.94+00:00
Jerry Lipan 916 Reputation points
2 answers

how to add digital signature in pdf using asp net c# without mvc. I want full code as I am new to asp.net

Hello, I want to upload pdf file. After uploading file, I want to sign that pdf file using my Digital Certificate which is in Pen Drive format attached to my Computer.

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,134 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,243 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,197 questions
asked 2022-01-12T06:54:45.393+00:00
Tarang Rohit 1 Reputation point
answered 2022-03-23T02:07:34.797+00:00
Mickey7877-7284 1 Reputation point
2 answers

About team development

There are two developers to develop a web app. One uses visual studio,creating asp.net core project. The other uses java language in IDEA. Can these two developers cooperate to develop the same web application? What should they do?

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,134 questions
asked 2022-03-22T03:25:43.86+00:00
李畋岷 76 Reputation points
commented 2022-03-23T01:14:22.413+00:00
李畋岷 76 Reputation points
2 answers One of the answers was accepted by the question author.

Conditional remote validation in Razor Pages

Hi @Zhi Lv - MSFT , I have to validate a field based on another fields input. If Field A is not empty, then Field B should be filled out. Currently this form is inside a tab, so when i do the javascript validation it is navigating to the first tab…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,134 questions
asked 2022-03-15T02:51:22.363+00:00
Blooming Developer 276 Reputation points
accepted 2022-03-23T01:04:05.04+00:00
Blooming Developer 276 Reputation points
2 answers

Calling the controller from the TS file within a project created using 'ASP.NET Core with Angular project template'

Hi All, I have a question and could anyone please help me with? I create an application using 'the ASP.NET Core with Angular project template' provided on Microsoft site. https://learn.microsoft.com/en-us/aspnet/core/client-side/spa/angular I would…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,134 questions
asked 2022-03-17T19:03:42.523+00:00
Huynh, Phuong Thao 81 Reputation points
answered 2022-03-22T22:26:28.247+00:00
Huynh, Phuong Thao 81 Reputation points
1 answer

asp.net 6 React User.Identity.Name

We are migrating to React .net 6 from 5. Our apps are internal and we use windows authentication. No issue with this in previous versions getting user.identity.name in a controller with react. I understand the dev environment is working differently. I…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,134 questions
asked 2022-03-22T15:18:00.25+00:00
Kerns, John 1 Reputation point
answered 2022-03-22T20:33:28.823+00:00
Bruce (SqlWork.com) 54,866 Reputation points
1 answer

net core 3.1 deploy iis https HTTP Error 502.3 - Bad Gateway A connection with the server could not be established

I am deploying an api in .net core 3.1 in a vpn in windows server 2019 with iis. When making the http request, only the api works correctly. when I add the https address it fails for both http or https error 502 - Web server…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
694 questions
Internet Information Services
Azure VPN Gateway
Azure VPN Gateway
An Azure service that enables the connection of on-premises networks to Azure through site-to-site virtual private networks.
1,368 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,134 questions
asked 2022-03-19T00:55:24.237+00:00
Fredy Hernandez Orozco 1 Reputation point
commented 2022-03-22T09:59:44.393+00:00
Sam Wu-MSFT 7,036 Reputation points Microsoft Vendor
1 answer

Login details Code Error

Sir, I have studied and tried to put login page but it shows code error please tell me the correction sir It shows error: System.InvalidOperationException: 'The connection is already and also code error private void button14_Click(object sender,…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,134 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,243 questions
Azure Database for MySQL
Azure Database for MySQL
An Azure managed MySQL database service for app development and deployment.
710 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,197 questions
asked 2022-03-22T02:35:57.187+00:00
Mohamed Rafi N 106 Reputation points
commented 2022-03-22T09:43:24.017+00:00
Mohamed Rafi N 106 Reputation points
1 answer

CS2015 ~\6.0.201\Sdks\Microsoft.NET.Sdk.Web\analyzers\cs\Microsoft.AspNetCore.Analyzers.dll is a binary file instead of a text file

When i try to compile my asp.net core 5.0 application i am getting this error -Error CS2015 'C:\Program Files\dotnet\sdk\6.0.201\Sdks\Microsoft.NET.Sdk.Web\analyzers\cs\Microsoft.AspNetCore.Analyzers.dll' is a binary file instead of a text…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,134 questions
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
35,815 questions
asked 2022-03-18T07:57:26.777+00:00
Minas Kyriakou 1 Reputation point
commented 2022-03-22T07:30:59.873+00:00
Tianyu Sun-MSFT 27,106 Reputation points Microsoft Vendor