461 questions with Developer technologies | ASP.NET | ASP.NET API tags
My Minimal API app will not launch Swagger; why not?
A while ago I created a new Blazor Web App and put in the Visual Studio solution some projects. One of the projects is a Blazor server-side app with rendermode InterractiveServer. A second project is a Blazor WebAssembly app, where the team I'm on…
Developer technologies | ASP.NET | ASP.NET API
Problem in Parsing JWT token.
I have an API service webapp. The JWT token used for authorization has 13 claims. The main deployed web app parses all the claims correctly. I deployed a test version of this webapp without any changes in the jwt auth module. Now 3 claims are not being…
Developer technologies | ASP.NET | ASP.NET API
I don't understand why my Minimal API doesn't bring up swagger
I have a Blazor Web Application I've been working on (Visual Studio 2022 and .NET 9). This application had 4 VS projects in the solutions, one of them was a Minimal API app. Due to problems I encountered with that configuration, I have decided to migrate…
Developer technologies | ASP.NET | ASP.NET API
Can a Minimal API project include the Microsoft.AspNetCore.App framework?
I've been getting this error for a couple days: There was no runtime pack for Microsoft.AspNetCore.App available for the specified RuntimeIdentifier 'browser-wasm'. I've been trying to figure out where Microsoft.AspNetCore.App is coming into the…
Developer technologies | ASP.NET | ASP.NET API
Issues with OpenIdConnect and MS Identity
Hello! We are encountering an issue while using Microsoft Identity. Our setup looks like this: `services.AddAuthentication() .AddMicrosoftIdentityWebApp(configuration.GetSection(AzureAppOptions.ConfigName)) …
Developer technologies | ASP.NET | ASP.NET API
Custom MDM
Adding custom MDM to Azure AD ,set scope to all for my MDM and none for Intune ,And added discovery URL, terms page 1.Hash upload on Intune ,user assigned 2.During OOBE user screen appear after providing the password ,terms page open by accepting the…
Developer technologies | ASP.NET | ASP.NET API
Delay in handing over requests between the web layer and the app (IIS not able to process less than 500 ms but its taking more time to process) getting 200 code
Hello Microsoft Team, We have an issue with Web layer (one of the web service (.asmx) web request is taking more time it should be less than 500 ms but its taking more than that, how to troubleshoot this issue step by step & how to fix it , help me.…
Developer technologies | ASP.NET | ASP.NET API
ASP.NET Core Web API with Google Cloud
Hello Developer's, I'm builded a .NET Core Web API using .NET 8. And I'm interested to use Google Cloud Operation Suite for Logs Monitoring and Logging Purposes. Is there any references which I can follow and suggestions how to integrate .NET Core with…
Developer technologies | ASP.NET | ASP.NET API
Sending SMS from ASP.NET Web Application Using Twilio API
I am attempting to implement a feature that allows a user to send an SMS to a mobile number from a web application using the Twilio API. The application setup consists of two text boxes: DestnationPhone.Text SmsMessage.Text In this feature, a user will…
Developer technologies | ASP.NET | ASP.NET API
How to fix swagger and openApi version issue
Why am I getting "Unable to render this definition. The provided definition does not specify a valid version field. Supported version fields are swagger: 2.0 and openapi: 3.x.y" when running Swagger in my ASP.NET Core project?
Developer technologies | ASP.NET | ASP.NET API
Enhance logging system with encoded identifier for traceability
Summary This update enhances the internal logging mechanism used across Microsoft 365-based services by embedding a new encoded session identifier. This is part of ongoing improvements for traceability, diagnostics, and supportability. Key Changes …
Developer technologies | ASP.NET | ASP.NET API
Login not possible with AspNetCore Idenity when Enable DataProtection.
I'm configuring my application to make use of AspNetCore.Identity as well Data protection. public static void Main(string[] args) { var builder =…
Developer technologies | ASP.NET | ASP.NET API
Is there a way to generate the schema for the tables directly from the code, instead of having to access Cube's playground to generate it
How can I automatically generate the DataModel for the tables from code instead of having to open Cube.js Playground manually? I am currently using the following code, which works fine for me. However, in order for this to run, I have to open the Cube.js…
Developer technologies | ASP.NET | ASP.NET API
Create an ASPNET MVC 5 Web App with email confirmation and password reset Documentation missing
The following documentation is missing: https://free.blessedness.top/en-us/aspnet/mvc/overview/security/create-an-aspnet-mvc-5-web-app-with-email-confirmation-and-password-reset.md I have acesses this documentation last month but now it is gone. it is…
Developer technologies | ASP.NET | ASP.NET API
How to initialize GridView inside a modal popup using AjaxControlkit
When I click a button, AjaxControlkit launches a nice modal popup, and I have a GridView included which is inside an asp:Panel. Initially, it is empty, so you don't see anything - no header, no borders, no nothing. Is there a way to get the GridView…
Developer technologies | ASP.NET | ASP.NET API
FIX ASP.net controller
public class TodosController : Controller { public AppDbContext DbContext { get; set; } public TodosController() { DbContext = new AppDbContext(); } public IActionResult Index() { TodosIndexViewModel model = new…
Developer technologies | ASP.NET | ASP.NET API
Unexpected identifier in using Export & Import in Javascript Modules
Hi there: It seems a trivial issue but I'm stuck and don't know why: I'm using Import/Export in two my JavaScript files. For simplicity sake ...the "mother"js.file has a function export function ShowAlert(val) { alert(val); } There…
Developer technologies | ASP.NET | ASP.NET API
Graph API /me/messages/{id}/reply returns UnknownError intermittently
We are calling the Microsoft Graph API to reply to an existing message using: POST /v1.0/me/messages/{OldMessage.id}/reply Occasionally, the call fails with the following response: { "error": { "code":…
Developer technologies | ASP.NET | ASP.NET API
Mon visual studio a un problème
Mon visual studio a un problème, je l'ai installé récemment puis j'ai aussi installé tous les package nécessaire (Development web et ASP.NET, Développement Node.js, development .Net Desktop, et développement desktop en C++) je veux créer un application…
Developer technologies | ASP.NET | ASP.NET API
how to produce the return type of API?
I am using .net API and I added swagger and return dynamic object. but in swagger there is nothing. I added the [ProduceResponseType<>(200)] but what is the dynamic type so that I can check what I returned in swagger