7,947 questions with ASP.NET-related tags

Sort by: Updated
2 answers

How to get Access token and refresh token from in-built Asp.Net Identity Authentication (Internal memory)

Hi, I am using Microsoft.EntityFrameworkCore (Version 8.0.6) + Microsoft.AspNetCore.Identity.EntityFrameworkCore(Version 8.0.6) + Npgsql.EntityFrameworkCore.PostgreSQL (Version 8). I want to get refresh token which it is automatically generated by…

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.
420 questions
asked 2025-05-02T07:09:26.4366667+00:00
Lavanya Chakkaravel 20 Reputation points
answered 2025-05-03T02:05:21.9+00:00
SurferOnWww 4,391 Reputation points
2 answers One of the answers was accepted by the question author.

how to implement JWT token using .net core 8 web api

I am new to jwt token generation and as well as .NET core 8 web Api, so now i am building nurse recruitment portal backend implementation from scratch so below I have written code for jwt token generation and i want to check its correct way of implement…

ASP.NET Core Training
ASP.NET Core Training
ASP.NET Core: A set of technologies in the .NET Framework for building web applications and XML web services.Training: Instruction to develop new skills.
62 questions
asked 2025-04-13T09:28:07.3866667+00:00
coder rock 436 Reputation points
accepted 2025-05-02T13:54:46.2833333+00:00
coder rock 436 Reputation points
5 answers

How to fix Add-Migration problem?

Hi, I am trying to add another entity to the database in my e-commerce solution which includes client and admin projects using Blazor WASM and Server, Asp.Net Core API, and data access projects. However, I am getting an error message as shown below: How…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
779 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,815 questions
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,672 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.
11,431 questions
asked 2024-06-24T17:33:35.47+00:00
Cenk 1,031 Reputation points
answered 2025-05-02T12:02:09.08+00:00
Miyari 003 0 Reputation points
0 answers

Application Insights not being updated after releasing new version of .NET Framework app service

I released a new version of .NET Framework Web API to an Azure app service and the telemetry reported to Application Insights on Azure has drastically reduced. The app appears to be running fine but a lot of the requests previously being logged are no…

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.
420 questions
asked 2025-05-02T09:50:15.79+00:00
Tom 1 Reputation point
1 answer One of the answers was accepted by the question author.

How to add configuration to auto save access token and refresh token in AspnetUserToken table

Hi, I am using Microsoft.EntityFrameworkCore (Version 8.0.6) + Microsoft.AspNetCore.Identity.EntityFrameworkCore(Version 8.0.6) + Npgsql.EntityFrameworkCore.PostgreSQL (Version 8). I want to save the auto generated token from Identity Authentication into…

ASP.NET Core Training
ASP.NET Core Training
ASP.NET Core: A set of technologies in the .NET Framework for building web applications and XML web services.Training: Instruction to develop new skills.
62 questions
asked 2025-04-29T10:35:22.7966667+00:00
Lavanya Chakkaravel 20 Reputation points
edited the question 2025-05-02T07:12:11.3733333+00:00
Lavanya Chakkaravel 20 Reputation points
0 answers

error in asp.net

i configoring ny project of asp.net and code vb.net i got this errror Error in project-level import 'app.config' at 'app' : 'app' is not accessible in this context because it is 'Friend'. i dont have in my project a file named app.config how can i…

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.
420 questions
asked 2025-05-01T15:15:58.0966667+00:00
Simon 446 Reputation points
commented 2025-05-01T17:56:48.5033333+00:00
AgaveJoe 30,036 Reputation points
3 answers One of the answers was accepted by the question author.

Is MVC a design pattern or an architectural pattern?

I have confused with the conflict between design pattern and an architectural pattern. I find MVC, MVVM, etc.. under architectural pattern but MVC is described as The Model-View-Controller (MVC) is an architectural pattern which separates an…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,598 questions
asked 2022-05-02T12:57:49.767+00:00
Mahi 41 Reputation points
commented 2025-05-01T10:28:57.5666667+00:00
Nicola Sergio 40 Reputation points
2 answers

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…

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.
420 questions
asked 2025-04-29T04:55:15.8233333+00:00
Jose Daniel Navarro Brito 61 Reputation points
commented 2025-05-01T00:39:40.3133333+00:00
SurferOnWww 4,391 Reputation points
1 answer One of the answers was accepted by the question author.

The Asp.Net Training Module: "Create a web UI with ASP.NET Core" is not finished.

This module was obviously never finished. I don't know if the person who was writing it left the company or what, but it is not complete. You can compare the course instructions with the "solution" branch that user CamSoper pushed to the Azure…

ASP.NET Core Training
ASP.NET Core Training
ASP.NET Core: A set of technologies in the .NET Framework for building web applications and XML web services.Training: Instruction to develop new skills.
62 questions
asked 2025-04-28T18:56:51.5366667+00:00
Will Varner 20 Reputation points
commented 2025-04-30T16:09:02.8366667+00:00
Bruce (SqlWork.com) 75,051 Reputation points
1 answer

unpkg provider cannot resolve any library

I was trying to install microsoft signalr to my project but unpkg cannot resolve it, I looked around a bit more and found out that unpkg cannot resolve any libraries. I have sent the solution to other friends to check and they can install just fine, what…

ASP.NET Core Training
ASP.NET Core Training
ASP.NET Core: A set of technologies in the .NET Framework for building web applications and XML web services.Training: Instruction to develop new skills.
62 questions
asked 2025-04-23T11:24:04.3033333+00:00
m n 0 Reputation points
edited a comment 2025-04-30T13:38:51.0033333+00:00
m n 0 Reputation points
7 answers

Server Error in '/' Application Web.config

HI I need this problem solution. If anybody have this solution then pls reply to it. Runtime Error Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,598 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,230 questions
asked 2022-08-04T18:02:00.54+00:00
Imtiaz Sami 16 Reputation points
answered 2025-04-30T02:32:32.01+00:00
Aditya 0 Reputation points
1 answer

Save token in Database

Hi, I am using Microsoft.EntityFrameworkCore (Version 8.0.6) + Microsoft.AspNetCore.Identity.EntityFrameworkCore(Version 8.0.6) + Npgsql.EntityFrameworkCore.PostgreSQL (Version 8). By using these packages, Is Identity Frmaework have any…

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.
420 questions
asked 2025-04-29T10:39:14.5766667+00:00
Lavanya Chakkaravel 20 Reputation points
edited an answer 2025-04-29T19:36:36.5933333+00:00
Bruce (SqlWork.com) 75,051 Reputation points
1 answer

ASP.NET session has expired or could not be found (unable to find the solution) - SSRS Report

unable to find out the solution we have tried 2 things but there was no ouput: We have tried to extend the session time out to 30mins Tried to scale up the Azure speed when this error occurs Attached Screenshot for reference, kindly assist for the…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,598 questions
SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
3,042 questions
asked 2024-12-18T14:24:39.5466667+00:00
Puneet Dasari 20 Reputation points
commented 2025-04-29T14:18:29.8566667+00:00
Puneet Dasari 20 Reputation points
2 answers

net472 to net8.0 migration

Hi Team, I am trying to migrate my project with n-tier architecture from .net framework 4.7.2 to .NET 8.0. We are using Entity Framework 6.5.1 and Microsoft.EntityFramework.SqlServer 6.5.1 in shared library [projects, How can i migrate them, tried net472…

ASP.NET Core Training
ASP.NET Core Training
ASP.NET Core: A set of technologies in the .NET Framework for building web applications and XML web services.Training: Instruction to develop new skills.
62 questions
asked 2025-04-23T17:04:03.97+00:00
Sowmya Golla 0 Reputation points Microsoft Employee
commented 2025-04-29T08:41:26.8533333+00:00
Pradeep M 8,185 Reputation points Microsoft External Staff
1 answer One of the answers was accepted by the question author.

Hide IIS version when user gets error HTTP Error 404.0 - Not Found and view source file from webbrowser

When user load the page with wrong url or type wrong path to the file in url then user get error with below message in web browser. " HTTP Error 404.0 - Not Found The resource you are looking for has been removed, had its name changed, or is…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,598 questions
asked 2025-01-29T07:46:31.4966667+00:00
Mehul Donga 20 Reputation points
accepted 2025-04-29T08:17:37.3966667+00:00
Mehul Donga 20 Reputation points
2 answers

Web push notifications with Azure Notification Hubs

Hello Everyone, I am new to Azure and i want more information from you about my problem. Now what i want to do is set a web push (browser push) notification from Azure notification hub and i want to integrate it to my backend that is in .net core. I…

Azure Notification Hubs
Azure Notification Hubs
An Azure service that is used to send push notifications to all major platforms from the cloud or on-premises environments.
366 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,815 questions
asked 2024-07-03T09:52:15.5533333+00:00
Darli Varfi 10 Reputation points
commented 2025-04-29T04:31:02.0466667+00:00
LengHuang Ho 0 Reputation points
3 answers One of the answers was accepted by the question author.

My ASP.NET MVC Forms Send Null

My ASP.NET Core (or MVC .NET Framework) form is showing unexpected behavior: the data I enter in the fields does not reach my controller correctly, resulting in null properties in my model. I have already checked the 'Network' tab of the browser, and in…

ASP.NET Core Training
ASP.NET Core Training
ASP.NET Core: A set of technologies in the .NET Framework for building web applications and XML web services.Training: Instruction to develop new skills.
62 questions
asked 2025-04-28T03:43:20.6133333+00:00
MrBarszcz 20 Reputation points
commented 2025-04-28T20:16:13.1233333+00:00
MrBarszcz 20 Reputation points
1 answer

FIX ASP.net controller

public class TodosController : Controller { public AppDbContext DbContext { get; set; } public TodosController() { DbContext = new AppDbContext(); } public IActionResult Index() { TodosIndexViewModel model = new…

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.
420 questions
asked 2025-04-28T19:03:11.79+00:00
Max 0 Reputation points
answered 2025-04-28T19:27:16.56+00:00
Samir ⚽⚽⚽ 0 Reputation points
3 answers

anti-forgery tokens implementation in asp.net web api

Can any one help me with anti-forgery tokens implementation in asp.net web api and AngularJS. how do we maintain the forgery key in web api to validate the key for every request. Please provide the full example.

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,598 questions
asked 2024-07-19T13:35:25.67+00:00
Bala Subrahmanya Gopal Jataprolu 0 Reputation points
commented 2025-04-26T23:50:46.1633333+00:00
SurferOnWww 4,391 Reputation points
2 answers

how-to-forcefully-set-ies-compatibility-mode-off-from-the-server-side

Hi, I have an application that opens in Edge wih IE mode due to organization policy. From that application we open Blazor application in new tab/window. Due to redirection it also opens in Edge with IE mode and Blazor does'nt wor in IE mode. Please help…

Microsoft Edge
Microsoft Edge
A Microsoft cross-platform web browser that provides privacy, learning, and accessibility tools.
2,552 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,815 questions
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,672 questions
asked 2023-12-22T16:15:39.6833333+00:00
Arti Shukla 0 Reputation points
edited a comment 2025-04-25T16:55:56.3566667+00:00
Rob Ainscough 31 Reputation points