4,140 questions with ASP.NET Core tags

Sort by: Updated
1 answer

which vs of visual studio supports .net core 3.1 vs

which vs of visual studio supports .net core 3.1 vs

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,140 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
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
935 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.
959 questions
.NET F#
.NET F#
.NET: Microsoft Technologies based on the .NET software framework.F#: A strongly typed, multi-paradigm programming language developed by the F# Software Foundation, Microsoft, and open contributors.
89 questions
asked 2022-06-23T10:53:58.12+00:00
Harshali Choudhary 1 Reputation point
answered 2022-06-23T13:05:50.097+00:00
Bruce (SqlWork.com) 55,041 Reputation points
1 answer

Use Multiple Type in Generic T C#

i have this interface base repo with genric type T public interface IRepositoryBase<T> where T : class { void Add(T obj); } and this interfaces heritance from the IRepositoryBase public interface IClass1Repository :…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,140 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,204 questions
asked 2022-06-22T19:36:58.513+00:00
TAII EL MEHDI 21 Reputation points
answered 2022-06-23T01:54:26.537+00:00
Bruce (SqlWork.com) 55,041 Reputation points
0 answers

A process serving application pool 'xxxx' failed to respond to a ping. The process id was '26636'. Event ID 5010

I am facing this error from sometime. Our application hosts multiple application pools in IIS, but this issue happens only with one/single app pool. All the app pool settings are same across the application pools. Moreover this failed to respond to a…

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,140 questions
asked 2021-07-20T17:05:11.303+00:00
chandan vysyaraju 21 Reputation points
commented 2022-06-22T16:56:16.76+00:00
Hitesh Sachdeva 1 Reputation point
0 answers

Web Config use

I have a typical requirement. We have several WCF services using NetHttpBinding. We are developing a new Core Web API for a new project. We plan to use the existing WCF DLLs in new web API that. one of the DLLs is data layer that uses connection…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,346 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,140 questions
asked 2022-06-21T20:37:31.4+00:00
Balu Raju 76 Reputation points
commented 2022-06-22T16:20:14.21+00:00
Bruce (SqlWork.com) 55,041 Reputation points
1 answer

SQL Server 2017 connection problems with Asp.Net core runtime 6.0.x

We have an application running on Asp.Net Core 3.1.x runtime. Recently the application is moved to Asp.Net Core 6.0.x runtime. After the upgrade, we are facing issue while connecting to SQL Server 2017 database when application is running from…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,140 questions
asked 2022-06-21T12:30:57.993+00:00
Rohit Bhise 1 Reputation point
commented 2022-06-22T13:49:37.2+00:00
Michael Taylor 47,716 Reputation points
2 answers One of the answers was accepted by the question author.

How return the format of the size file in datatable

Hi, In the class FilePath I've a class public class FilePath { //.. public Int64 Size { get; set; } //.. } This class is based to the View [dbo].[FilePath] in Sql The datatable is returned via…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,140 questions
asked 2022-06-21T20:08:47.223+00:00
sblb 1,166 Reputation points
commented 2022-06-22T07:27:18.453+00:00
sblb 1,166 Reputation points
1 answer One of the answers was accepted by the question author.

bootstrap modal form validation with slect2

I am using partialview in modal form. In this form there is a select2 option list which working fine. But when press submit button, required fields as per model are not validating i.e. not showing error. I have used lots option from internet, but…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,140 questions
asked 2022-06-20T06:00:18.16+00:00
anil kumar 46 Reputation points
commented 2022-06-22T05:20:21.083+00:00
anil kumar 46 Reputation points
1 answer

How to set up server variables for URL Rewrite through Appcmd for site

Hi, I am currently trying to create the rewrite URL for my site using Appcmd.exe. I have managed to create the rules, conditions, patterns as like below. system("C:\WINDOWS\system32\inetsrv\appcmd.exe set config ""Check""…

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,140 questions
asked 2022-06-21T14:29:47.407+00:00
Jagadeesh Mohan 1 Reputation point
answered 2022-06-22T01:47:09.537+00:00
Bruce Zhang-MSFT 3,736 Reputation points
1 answer

How can I run javascript codes, css files and javascript files into wkhtmltopdf in asp.net core api project?

I use the Chart.js library to draw charts, but I use the wkhtmltopdf library to convert pdf. But my javascrip codes and css codes are not working. How can I make it work?

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,140 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,246 questions
asked 2022-06-17T14:40:58.073+00:00
levent koman 1 Reputation point
answered 2022-06-21T19:41:48.813+00:00
Bruce (SqlWork.com) 55,041 Reputation points
1 answer

<span asp-validation-for can not trigger if html is appended.

If I use jquery.html(""); append html <input type="text" asp-for="MyValue" /> <span asp-validation-for="MyValue" ></span> it can not validate for it.

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,140 questions
asked 2022-06-21T10:05:44.497+00:00
mc 3,641 Reputation points
answered 2022-06-21T18:38:12.243+00:00
Othusitse Seth Dylan Phefo 1 Reputation point
2 answers One of the answers was accepted by the question author.

Convert DateTimeOffset to Date format in aspnet core

Hi, In the class FilePath I've a class public class FilePath { [DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:yyyy/MM/dd}")] public DateTimeOffset Created { get; set; } } This…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,140 questions
asked 2022-06-20T19:28:58.027+00:00
sblb 1,166 Reputation points
accepted 2022-06-21T16:34:45.057+00:00
sblb 1,166 Reputation points
1 answer

Dependency Conflicts after Upgradation

I've upgraded my Webform application from 4.8 .NET Framework to .NET Core 6.0. Now the main issue is that my system is not reading the .dll which were used in the older version, for e.g System.Web is unavailable in the newer version. Is there any…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,140 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,246 questions
asked 2022-06-21T07:00:31.06+00:00
Saad 1 Reputation point
answered 2022-06-21T14:30:36.26+00:00
Bruce (SqlWork.com) 55,041 Reputation points
1 answer

How do I connect my .net core mvc application to Elasticsearch and display query result to my view?

I would like to know how I could connect to elasticsearch with .net core mvc (.net 6) utilizing entityframework core, and then get the data to display on my view. NUGET NEST (7.17.2) is installed. I have a BuildingViewModel: public class…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,140 questions
asked 2022-06-10T03:09:40.957+00:00
Charlene 1 Reputation point
commented 2022-06-21T05:36:16.767+00:00
Charlene 1 Reputation point
5 answers

DataAnnotations and Regular Expression not working with encoded characters

[RegularExpression(@"^(\s)|(<.*?>)|(mailto:|http:|https:|ftp:|ftps:|<|\/\/)", ErrorMessageResourceType = typeof(Std), ErrorMessageResourceName = "Validation_WrongFormat")] [Display(Name = "lbl_Comment",…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,140 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,204 questions
asked 2022-06-20T19:50:23.34+00:00
Nicolas Liebel 121 Reputation points
commented 2022-06-21T04:57:09.647+00:00
Nicolas Liebel 121 Reputation points
1 answer One of the answers was accepted by the question author.

System.InvalidCastException: Unable to cast object of type 'System.Int64' to type 'System.Int32'.

HI, I received this message : System.InvalidCastException: Unable to cast object of type 'System.Int64' to type 'System.Int32'. In my class I've put : public class FilePath { ... public int Size { get; set; } …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,140 questions
asked 2022-06-20T19:12:07.3+00:00
sblb 1,166 Reputation points
commented 2022-06-20T19:32:10.35+00:00
sblb 1,166 Reputation points
7 answers One of the answers was accepted by the question author.

ASPNET CORE 5 - code statut 505 in jquery datatable ?

Hi, I am following up on the post how-i-can-do-raw-query-in-jquery-datatable-to-acce.html Thanks to @AgaveJoe I was able to set up access to the file table. This access allowed me to fill jequery datatable to work server side. In the table…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,140 questions
asked 2022-06-16T20:22:28.717+00:00
sblb 1,166 Reputation points
commented 2022-06-20T18:51:08.547+00:00
AgaveJoe 26,186 Reputation points
0 answers

how i can impliment the generate token class in asp.net mvc?

It means when i can create and generate the token for the forget password method and they always show that this method is not accessible in this context how i can get rid of this error?.

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,140 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,204 questions
asked 2022-06-17T08:31:58.913+00:00
Rajan 21 Reputation points
commented 2022-06-20T03:19:41.977+00:00
Zhi Lv - MSFT 32,006 Reputation points Microsoft Vendor
1 answer

Why my API is returning JSON format on Header "accept: application/xml"?

I'm building an API with OData integration returning response JSON and XML format, but why is my API returning JSON format instead of XML format on the header accept: application/xml This is my Program.cs with Odata and XML formatter. using…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,140 questions
asked 2022-06-03T18:25:42.557+00:00
Ken Martos 36 Reputation points
commented 2022-06-17T21:57:22.527+00:00
Ken Martos 36 Reputation points
1 answer One of the answers was accepted by the question author.

Choosing between desktop and web (intranet) for an internal application

We're developing a document management application for internal users. Users are spread out over 25 offices, each office will have 10-15 users. Users will be required to scan documents (20+ at times), generate and print barcode for each page and print a…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,821 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,667 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,140 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,246 questions
asked 2022-06-16T14:13:25.75+00:00
DotNetDeveloper 21 Reputation points
accepted 2022-06-17T17:46:33.22+00:00
DotNetDeveloper 21 Reputation points
0 answers

Bearer token authentication is not permitted for non TLS protected endpoints (MS Graph) C#

Hello, I am having trouble pulling a user’s photo from MS Graph. In my app, I have configured ASP.net Core Identity to use Microsoft as an external login / registration choice. Locally, it pulls the picture fine, which leads me to believe it has…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,140 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,521 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,389 questions
asked 2022-06-13T18:14:50.637+00:00
Mike860 1 Reputation point
commented 2022-06-17T12:26:34.057+00:00