4,573 questions with ASP.NET Core tags

Sort by: Updated
1 answer One of the answers was accepted by the question author.

Restrict access to Web API using Blazor WASM

I'm working on a project for a financial application and after a lot of thought decided to create a web API (using JWT) and, initially, a Blazor frontend. Eventually we will add mobile apps. So my first idea was to use Blazor WASM. Then thinking about…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,573 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,584 questions
asked 2021-02-07T19:58:16.4+00:00
Oliverio Díaz Abood 21 Reputation points
accepted 2021-02-09T01:57:08.147+00:00
Oliverio Díaz Abood 21 Reputation points
1 answer

How to dispose variables in Custom Http Client Handler?

Team, I have made an api in .net core 3.1 and created a custom HTTP Client Handler to manage dynamic certificates per http call but unable to understand the procedure to write and execute dispose pattern. Startup.cs--> …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,573 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,962 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,163 questions
asked 2021-02-04T20:18:25.677+00:00
Tanul 1,281 Reputation points
commented 2021-02-08T14:42:02.847+00:00
Tanul 1,281 Reputation points
1 answer

Get-IISCentralCertProvider : Object reference not set to an instance of an object.

Powershel help says this should work but i get the following error import-module WebAdministration Get-IISCentralCertProvider Get-IISCentralCertProvider : Object reference not set to an instance of an object. At line:1 char:1 …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,573 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,537 questions
asked 2021-02-07T02:42:09.38+00:00
vTech 6 Reputation points
answered 2021-02-08T03:14:39.577+00:00
Sam Wu-MSFT 7,526 Reputation points Microsoft Vendor
6 answers

access website hosted in IIS on windows 10 from any pc

Hello ... i have created my website using asp net web app (.Net framework) it is my first one i wanna deploying it locally and give the access from another pc in different place (not on same network to use it ) but i don not understand a lot in this part…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,573 questions
asked 2021-02-04T17:11:53.873+00:00
NALB 71 Reputation points
commented 2021-02-07T08:37:57.353+00:00
Bruce Zhang-MSFT 3,751 Reputation points
1 answer

Sending ajax post to mcv action

Hello I am developing an Asp.net Core Mvc application in which I need to send , as usual, some data from an ajax call to an MVC action. The ajax code is as follows : **function ShowHideAttivita(model, idriga) { var dati =model; var idcommessa =…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,573 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,494 questions
asked 2021-02-01T11:41:25.737+00:00
Leo Del Ciello 1 Reputation point
commented 2021-02-07T08:07:33.587+00:00
Fei Han - MSFT 306 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Asp.net core 3.1 ajax response Forbidden 403

My Asp.net core 3.1 Application working fine in Gen3 VPS Windows server 2012 r2 IIS V8.5. I have purchase Gen4 VPS Windows server 2016 IIS V10 and same application moved in this server. whenever I call ajax, response are always "forbidden 403".…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,573 questions
Windows Server 2016
Windows Server 2016
A Microsoft server operating system that supports enterprise-level management updated to data storage.
2,512 questions
asked 2021-02-06T05:53:49.26+00:00
Aravind Kumar B 21 Reputation points
commented 2021-02-07T05:41:00.747+00:00
Aravind Kumar B 21 Reputation points
1 answer

Changing Form Fields / Model Design

Hello and sorry to bother you, I just have a question that has been on my mind for quite some time. In my mind I would like to develop a form to take ads, classified ads to be clear, so the basic model should include something like: public class Ad{ …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,573 questions
asked 2021-02-04T23:43:30.877+00:00
Guillermo Perez 26 Reputation points
commented 2021-02-07T01:29:18.707+00:00
Yitzhak Khabinsky 25,866 Reputation points
1 answer One of the answers was accepted by the question author.

Do we need dependency injection in MVC, how does it help?

Hi, What is the advantage of using dependency injection. I have to work on a project using constructor dependency injection. The service interface is passed to controller constructor. Even the service has constructor. How does this work? I…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,573 questions
asked 2021-02-05T06:55:42.107+00:00
murtaza gandhi 81 Reputation points
accepted 2021-02-06T11:51:51.517+00:00
murtaza gandhi 81 Reputation points
0 answers

Custom Identity Storage Provider

Building my own custom storage provider for identity core. Could someone please tell me the necessary storages to implement? So far, I have implemented UserStore methods. Is it necessary to also implement RoleStore in order to use SignInManager?…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,573 questions
asked 2021-02-04T11:46:19.197+00:00
Manjunath MR 1 Reputation point
commented 2021-02-06T00:45:52.757+00:00
Yinqiu Yao-MSFT 236 Reputation points
1 answer

deploy asp.net on IIS Locally

hello i have a question regarding deploying asp net website on IIS locally ... in my website i have connection to my database where GridView1.DataSource = SqlDataSource1; but it keeps give me this error ... Cannot open database "Test"…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,573 questions
asked 2021-02-03T22:28:31.8+00:00
Nada Botros 1 Reputation point
answered 2021-02-04T02:30:35.237+00:00
Bruce Zhang-MSFT 3,751 Reputation points
0 answers

ASP.NET Core 5 with IdentityServer4: in loop after the login

I have my new project with ASP.NET Core 5 and ASP.NET Core Identity. I want to add AddOpenIdConnect with IdentityServer4. I have other projects already in place that they are working fine and up and running. Then, I copied the code and paste in my new…

Microsoft Identity Manager
Microsoft Identity Manager
A family of Microsoft products that manage a user's digital identity using identity synchronization, certificate management, and user provisioning.
700 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,573 questions
asked 2021-02-03T09:16:21.25+00:00
Enrico Rossini 196 Reputation points
3 answers One of the answers was accepted by the question author.

How can I execute a batch/exe/ps1 files on client from the server?

I have a web appllication made using ASP.net. I have a function to start the process from my web app. System.Diagnostics.Process process = new System.Diagnostics.Process(); process.StartInfo.FileName = Server.MapPath("~/ScriptFiles/" +…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,573 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,133 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,537 questions
asked 2021-02-01T00:24:43.617+00:00
Anand Anilkumar Nair 21 Reputation points
commented 2021-02-02T14:22:46.087+00:00
Anand Anilkumar Nair 21 Reputation points
0 answers

Error in Converting Text to Speech for Chinese Language using MS Speech SDK 11

Hi, We have a web service developed using .Net Framework 4.0 and hosted in IIS v10.0.17763.1 on the Windows Server 2019 Version 1809 (OS Build 17763.1697). In this project, I wanted to convert Chinese language text to audio speech using…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,573 questions
asked 2021-01-21T08:37:25.78+00:00
Sylvester John Peter 1 Reputation point
commented 2021-02-02T01:58:50.97+00:00
Sam Wu-MSFT 7,526 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Sample code Asp.Net Core Datatables Jquery pagination MVVM Services

Hi, I would like a template sample code to get started, with Asp.Net Core CRUD operations with search pagination , master detail pages. Dependency Injection CODE FIRST ENTITY Framework Datatables Jquery I have a solution developed on…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
743 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,573 questions
asked 2021-01-29T07:41:29.96+00:00
murtaza gandhi 81 Reputation points
accepted 2021-02-01T07:43:39.617+00:00
murtaza gandhi 81 Reputation points
0 answers

win2016, php dns query fails unless first run as admin

Hi all, setting up a new 2016 server. I have an old php 5.4.10 install that was copied from a 2008 server. I also have a clean install of php 7.4.9. Both of them were failing on doing a simple dns query (dns_get_record) when called as a webpage thru…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,573 questions
asked 2021-01-24T18:55:23.91+00:00
merk 1 Reputation point
commented 2021-02-01T03:40:32.667+00:00
merk 1 Reputation point
0 answers

Creating a server in Windows server 2019 for Mobile Digital Video recorders

Dear Sir/Madam, I have asked a similar question sometime ago, and I realised, that I have not provided all the necessary details. Which I apologise for We have Windows Server 2019 on an Amazon Web Service instance (Can change to another Windows…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,573 questions
asked 2021-01-31T20:12:44.397+00:00
Michael Benk 21 Reputation points
7 answers One of the answers was accepted by the question author.

What is "localhost:44313"

I have an ASP.NET project working with IIS on Azure. In Web.config I have <add key="Url" value="https://localhost:44313" /> and there is a call in the C# code WebRequest request = WebRequest.Create(sURL); where sURL =…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,573 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,962 questions
asked 2021-01-26T09:13:57.213+00:00
John Papaioannou 21 Reputation points
accepted 2021-01-29T08:36:54.53+00:00
John Papaioannou 21 Reputation points
1 answer

Redis stack trace does not appear in Kubernetes Pod Log! Why not?

I have an ASP.NET core 3 web app I'm trying to debug in an Azure Kubernetes pod. I could look at the kubernetes pod log and see my System.Console.WriteLine statements inside of my ConfigureServices functions and everything looked great -- including my…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,573 questions
Azure Cache for Redis
Azure Cache for Redis
An Azure service that provides access to a secure, dedicated Redis cache, managed by Microsoft.
253 questions
Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
2,127 questions
asked 2020-12-17T20:50:41.157+00:00
Siegfried Heintze 1,886 Reputation points
commented 2021-01-28T18:32:47.243+00:00
Siegfried Heintze 1,886 Reputation points
0 answers

Runnin SSRS Report from Razor Page

I have created a Razor Page containing a form which will be filled by user & then user will try to generate report from SSRS. I have two questions: How can I pass the parameters to SSRS report? How can I save generated report (in Excel) in…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,573 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.
2,928 questions
asked 2021-01-27T08:39:29.15+00:00
Addy2021 1 Reputation point
commented 2021-01-28T07:22:12.42+00:00
Addy2021 1 Reputation point
2 answers

Can .Net Core MVC application be deployed on Windows Server 2008

Hi, There is .Net Core MVC Application and wanted to deploy that to Windows Server 2008. Can I know if that's possible? If its not possible what are all the alternatives. Thanks, Ramya

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,573 questions
asked 2021-01-26T16:21:50.887+00:00
Ramya Gollapudi 1 Reputation point
commented 2021-01-28T06:05:10.527+00:00
Sam Wu-MSFT 7,526 Reputation points Microsoft Vendor