314 questions with ASP.NET API tags

Sort by: Updated
4 answers

how to compare two dates and show in the link in web api?

i have some question about getting date from previous between create_date and modify_date, i am working on asp.net web api 2 and i want to seach the date between these two dates from sql server, there are many records in database. The result outcome is…

ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
314 questions
asked 2022-08-01T09:10:32.66+00:00
Reborn 1 Reputation point
answered 2022-08-02T08:57:30.017+00:00
satya karki 986 Reputation points MVP
0 answers

Error Handling In Blazor Web Server Application

I am calling a web API endpoint from my Blazor server application. And I intentionally have not started the application (.Net Core 6 Web Api) with the api service. Meaning, there is no service listening on the specified port. And I was wondering what is…

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,480 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
314 questions
asked 2022-07-31T18:51:39.13+00:00
Ronald Rex 1,666 Reputation points
commented 2022-08-01T06:12:19.75+00:00
Zhi Lv - MSFT 32,076 Reputation points Microsoft Vendor
0 answers

How to prevent of Client Privacy Violation in Sensitive Data Exposure Asp.net core with angular 8

How to prevent of Client Privacy Violation in my code below <input type="password" id="txtPassword" name="txtPassword" #txtPassword="ngModel" placeholder="Password"…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,346 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
314 questions
asked 2022-07-29T13:11:03.15+00:00
Sumanth Babu 21 Reputation points
commented 2022-08-01T02:54:29.233+00:00
Zhi Lv - MSFT 32,076 Reputation points Microsoft Vendor
3 answers

Microsoft IIS BUG!!! , HTTP Service Request Queues Performance counter

Microsoft IIS BUG!!! , HTTP Service Request Queues Performance counter Why do I say there are bug,look at the pictures below, RejectedRequests has values from the monitor. Why CurrentQueueSize the queue have no values? HTTP Service Request…

Internet Information Services
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,397 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,582 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
314 questions
asked 2022-01-04T10:29:30.457+00:00
aspx 6 Reputation points
commented 2022-07-24T01:14:39.277+00:00
Zdravko Stojkoski 6 Reputation points
3 answers One of the answers was accepted by the question author.

problem with API

I have the following in my ApiController public IEnumerable<Game> GetAllGames() { Game game = new Game(); List<Game> Games = game.ListGames(); return Games; …

ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
314 questions
asked 2022-07-19T22:42:52.29+00:00
M J 661 Reputation points
commented 2022-07-23T21:03:05.003+00:00
AgaveJoe 27,496 Reputation points
12 answers

About the IIS site request queue length?

OS: Windows Server 2016 Standard IIS: Version 10.0.14393.0 Web Sites: WebIISQueueTest .NetFramework4.5 Asp.net mvc Question 1: By which performance counter does the site's request queue length be monitored? Question 2: The request queue…

Internet Information Services
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,397 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,582 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
314 questions
asked 2021-12-27T08:19:18.123+00:00
aspx 6 Reputation points
commented 2022-07-23T13:01:55.36+00:00
Zdravko Stojkoski 6 Reputation points
1 answer One of the answers was accepted by the question author.

Asp.net Web API - How to get JSON response body if status is 400 Bad Request

Hello Everybody, I have an ASP.NET Web API rest application. I am calling a 3rd party web service as follows; var request = (HttpWebRequest)WebRequest.Create(WebConfigurationManager.AppSettings["PinService"] + url); …

ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
314 questions
asked 2022-07-07T10:40:46.323+00:00
Cenk 986 Reputation points
accepted 2022-07-08T04:56:41.83+00:00
Cenk 986 Reputation points
1 answer One of the answers was accepted by the question author.

How to Add two rows with merged cells in top of the Excel using DocumentFormat.OpenXml

Hi All I have implemented the code to create Excel from data table using DocumentFormat.OpenXml and it was working fine. But I want to add two rows in the excel top with merged cells (Ref Image) which contains the Title of the sheet with some…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,346 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
314 questions
asked 2022-06-14T10:50:11.683+00:00
Elaya Raja 96 Reputation points
commented 2022-07-06T06:07:46.163+00:00
Elaya Raja 96 Reputation points
0 answers

How to populate GridView from an API call?

I am a beginner learning ASP.NET and I am working on a project where I need to create a Web API to get data from an SQL Server and then call that API from a Web Form to populate a gridview table. I've currently gotten the Web API to properly get the…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,397 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
314 questions
asked 2022-07-06T01:01:32.467+00:00
Timothy Shels 1 Reputation point
commented 2022-07-06T04:28:44.447+00:00
Yijing Sun-MSFT 7,071 Reputation points
1 answer

OData $select and $expand not working on XML response?

I have been developing an API with XML and JSON responses integrating OData, but I'm having a problem retrieving XML responses with OData $select and $expand methods, but other methods work fine like $top, $filter and $orderby etc... In JSON response…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,346 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,397 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
314 questions
asked 2022-06-17T23:22:33.317+00:00
Ken Martos 36 Reputation points
commented 2022-06-23T22:17:43.453+00:00
Ken Martos 36 Reputation points
1 answer

Implement Service Mesh in Microservices

Hello Team, The question that I am going to put here , it might be very trivial but facing some issues. Please provide your insight. I am designing an architecture of a system that has 10-15 microservices and I am planning to implement these in…

ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
314 questions
asked 2022-06-21T08:22:02.193+00:00
Manish Kumar Singh3 1 Reputation point
answered 2022-06-21T14:54:10.587+00:00
Bruce (SqlWork.com) 60,386 Reputation points
2 answers One of the answers was accepted by the question author.

TPL Performance slows down above 2 Gb data migration

We have developed an Integration Tool using Task Parallel Library(TPL) PLINQ and are migrating data but its performing slow. We observed that for 2 GB of data the tool performs well but above 2 GB the performance of tool slows down. Below is the…

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,159 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,582 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
314 questions
asked 2022-06-13T10:28:46.773+00:00
bharat choudhary 21 Reputation points
accepted 2022-06-16T09:38:17.57+00:00
bharat choudhary 21 Reputation points
1 answer One of the answers was accepted by the question author.

why asp.net webapi generate a zh-Hans directory in bin directory?

I know this zh-hans means simplified Chinese, but I still don't understand the purpose of generating it

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,397 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
314 questions
asked 2022-05-26T10:08:48.267+00:00
heyangben 81 Reputation points
accepted 2022-06-07T03:55:23.227+00:00
heyangben 81 Reputation points
1 answer One of the answers was accepted by the question author.

WebApi - ApiKey plus JWT

I completed a couple of projects that are implemented in C# .Net 6.0 MVC, and now I'm trying to do my first web API project. This WebApi is implemented in .Net 6.0, with JWT authorization. Everything is working smoothly so far, the token is generated…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,346 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
314 questions
asked 2022-04-24T23:18:04.233+00:00
Maryan 26 Reputation points
accepted 2022-04-25T11:57:39.39+00:00
Maryan 26 Reputation points
1 answer

ASP.NET dynamic chart

Is it possible to create charts dynamically and add them to an ASP.NET web form? I am using the following code but it is not creating any chart. For i As Integer = 0 To ddlProject.Items.Count - 1 ' For all Chart Dim chartAll As Chart =…

ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
314 questions
asked 2022-03-30T08:33:02.143+00:00
Hema Ramachandran 176 Reputation points
answered 2022-03-31T10:19:37.617+00:00
Lan Huang-MSFT 28,821 Reputation points Microsoft Vendor
1 answer

Is there any library in .NET Core for RFID read and write

Hello, I am working on a project which uses RFID smart card to access room, so when user access room his/her details should be read and stored in database, and also can put restriction on card like time and number of access per day. So is there any…

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,582 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
314 questions
.NET Internet of things
.NET Internet of things
.NET: Microsoft Technologies based on the .NET software framework.Internet of things: A concept that aims to extend the benefits of the regular internet, including constant connectivity, remote control ability, and data sharing, to goods in the physical world.
30 questions
asked 2021-02-12T15:34:19.39+00:00
Naseer Naseer 6 Reputation points
commented 2022-03-31T02:28:12.8+00:00
徐凤辉 1 Reputation point
4 answers One of the answers was accepted by the question author.

How can I implement an API Server with MVC

Got the solution

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,397 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,582 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
314 questions
asked 2022-02-02T21:09:53.5+00:00
Miko Kagemori 46 Reputation points
commented 2022-03-03T07:56:00.787+00:00
Miko Kagemori 46 Reputation points
1 answer

Delay in receiving emails using MailJet

I am using MailJet to send emails over SMTP Server. On one environment, I am not facing any issues but on another environment, there is a delay in receiving those emails after some time. What could be the possible issue?. The configurations on both the…

ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
314 questions
asked 2022-02-14T09:35:57.907+00:00
sonal khatri 51 Reputation points
commented 2022-02-15T15:07:55.41+00:00
AgaveJoe 27,496 Reputation points
2 answers

Asp.Net Web API – Bearer Token Authentication Problem with BasicAuthenticationAttribute

Hello, I have an ASP.net Web API that is working with BasicAuthenticationAttribute. I want to add bearer token-based authentication to one of my controllers. I added those NuGet packages: Microsoft.AspNet.WebApi.Owin Microsoft.Owin.Host.SystemWeb …

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,582 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
314 questions
asked 2022-02-05T05:25:10.017+00:00
Cenk 986 Reputation points
commented 2022-02-05T16:20:24.357+00:00
P a u l 10,416 Reputation points
1 answer

How to optimize Web API Code?

How could you optimize that code for faster response? public ActionResult Details(int id) { DTOLibrary.PoliticianDTO politician = null; using(var client = new HttpClient()) { client.BaseAddress…

ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
314 questions
asked 2022-02-03T12:31:02.327+00:00
Wappla 1 Reputation point
answered 2022-02-04T00:03:10.35+00:00
Bruce (SqlWork.com) 60,386 Reputation points