Content
Edge browser showing windows security popup
We have implemented MSAL authorization in our web application but when we are executing visual studio code locally, solution running fine with IE but not with edge browser, its showing windows security credentials popup.


JSON Format WebAPI Entity Framework
Currently the JSON I'm using looks like this: The JSON file is huge so I'm only showing the first few rows in the file so not all data is shown. I'd like to get this JSON structured so I can use in a TreeView menu so I'd like to see get the out put to…


"Güncelle" button not working
ı dont undestand. Delete's working but update(Güncelle) not working. Where's my mistake ?


Displaying Deserialized JSON Data In Razor Page
Hello Everyone, I am using Visual Studio 2022 (x64) Community Version Entity Framework Core 6 C# Razor Pages (Not MVC) I am pulling data from the Google YouTube API, and want to display it on a .cshtml page. Here is a sample of the data: { …


how can add validation 2 drowdownlist
The user comes and selects the city from the first dropdownlist. If the first value is selected from the second dropdownlist, I want it to give an error. I want to add validation but failed. Help me please ? Where is my mistake ? my code ; var…


How can add HTML paragraph alignment
I have a paragraph with too many words in it. I want it to be left and right aligned. Like Microsoft Word (same as ctrl+D). How can I do this? First ; I want like this ; This is (Ctrl+D) Is there a parameter in html that I can do the same way? My code…


When entering a "T" in an asp.net multi-line text box, only one <Shift> key event is caught by the onkeydown event handler of the text box.
In an ASP.NET writable multiline text box, when a "T" is entered, only a <Shift> key keydown event is caught by the text box's onkeydown event handler, and the "T" never shows up. This is running in Microsoft Edge browser. Web…


how to handle exception with customized error message in json format in webapi in c#
how to handle exception with customized error message in json format in webapi in c# also my webapi calling different one drive api like delete file , download file etc and my webapi return type like IActionResult and jsonstring Any body can help


How can add Phone Number Charecter Validation asp.net mvc web
Guys I have question How can Add Phone Number Charecter Validation For example.. User writing 8 charecter but ı want minimum 10 charecter and maximum 20 charekter how can add ? Model index.cshtml


IIS Configurations
I have developed asp.net application. The purpose of the application is to call a rest webservice and receive some information. I have visual studio and IIS running on the same machine. I have installed the certificate that I received from the…
How Do I Return ContentDisposition.FileName -PDF from a Method To be Attached to MailMessage
Please I have a method SendRenewalNotification() that calls another Method PolicyScheduleGenerator() to get PDF that it will attach to a MailMessage. The SendRenewalNotification() is pasted below: private void…


Why my web app gets very slow to respond in azure portal?
Hi, I'm having problems with my domain because sometimes this app becomes very slow to respond, I've to restart it to fix it. it is happening every day. I checked under the "Diagnose and solve problems >> Availability and Performance"…


Implement transaction and rollback for multiple Procedure from .net.core 6 c# ADO.net application
HI All, I am giving Below my API Model structure public int organizationNPI { get; set; } [Required] public string organizationName { get; set; } [Required] public string organizationTIN { get; set; } …


Multitenant JWT Validation
Hi, I'm working on a multi-tenant net core 7 webapi, where each customer has its own database and I want each customer to have its own key to generate the jwt token, instead of having one for all. I thought of having these keys in a database, but…


How format API complex model in c#
Hi All, I want to write one Post API to store data in database. API Structure should be same as below Json format. The requirement is below. There is a organization with multiple branch. I want to collect information like organizations,…


Is it possible to pause and resume a Asp.net REST API Call?
Hi, Is it possible to pause and resume a Asp.net REST API Call? I have a UI where in, there are maximum 5 jobs are listed. There are two options, either I can run each job manually by clicking RUN button (OR) I can click on Run All Job Button…


Consuming web api with JWT authentication console app
I have a console app that I copied from this forum that is supposed to consumes a web api that I wrote. The api works fine with postman and swagger. I set a breakpoint after "var response = await…


How do I generate Nested Json using MSSQL 2019 Datatable.?
Hi I have an issue in nested Json from MSSQL datatable. I am using normal Json (not nested ). It works fine. But nested, I could not do. Pls Advice me thank you Maideen Format should be like below { "Shipment": [ …
Button not working. ASP.NET
Hello, recently I started making a website that can display temperature and humidity of a city. I'm doing this with counterfeit money online. I'm trying to implement a button when pressed that displays the object given from the counterfeit money online…


Microsoft.Bcl package dependency issue
Hi, I recently came to know that Microsoft.BCL NuGet package is deprecated. We have been using this package as a dependency with other NuGet packages in our product. While I was upgrading the installed NuGet packages in our project there I…

