How to fix HTTP Error 500.30 - ASP.NET Core app failed to start
I'm new to Azure and unsure how to start troubleshooting my issue, I've found the portal support to be unhelpful. The support system asks numerous questions about the problem but ultimately provides no solutions or contact with a support representative,…
Azure Adb2c External IDP Authentication Browser Back Button Click redirects to External IDP Again
We have AD B2C Authentication with .NET 8 MVC Web Application. We configured Open Id Provider with Custom Policy in Adb2c. The authentication is working successfully. But the problem is, after the External IDP successful authentication, the provider…
How to fix the exception System.Net.Http.HttpRequestException: The SSL connection could not be established
we have SignalR and SignalR.Client libraries used in our project to establish the connection between the client and the server. The services are .NET applications and the client is a mobile application which is also a .NET application. I am got the…
StackOverflowException after upgrading from .Net 6 to .Net 8
Hi, I have upgraded 5 projects in my solution from .Net 6 to .Net 8 using upgrade assistant in Visual Studio. When I run the solution, StackOverflowException is being thrown and Swagger is not loading. Looks like onchangetokenfired() method is being…
How to remove an unwanted autogenerated field in code-first migration of Asp. Net Core 6
I am working on Asp.Net Core 6.0 MVC. I have customized IdentityUser by inheriting and creating a new class, ApplicationUser. In this class, I have added my custom properties. My ApplicationUser doesn't have a field named EmailAddress1. However, I have…
Update Workload Problem/ NuGet Package unable to be installed.
**I have created 3 Projects: FrontEndProject and it is a Blazor Project and this is the csProj:** <Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly"> …
Error while submitting the registration form
RegistrationForm.cshtml @page @model FaceAdminApp.Pages.Auth.RegistrationFormModel @{ ViewData["Title"] = "RegistrationForm"; } <style> .container { max-width: 600px; margin: 0 auto; padding:…
How to retrieve the any table from SQL DB and display dynamically in one page in asp.net core
Requirements are as below. 1. In single page of asp.net core, need to display any table data dynamically like jtable from jQuery plugin... With generic code with ado.net or web api orAPI or entity framework core
Connecting SQL Server Data to RDLC reports in Blazor .Net Framework
Hello, I am trying to create/integrate RDLC reports in Blazor .NET framework. So far: I have managed to open a RDLC report thanks this Question and Answer:…
How to resolve SignalR Hub connection issue from Client side Javascript code
I have web application developed in .NET 5.0. This web application calls Web APIs to fetch information from SQL DB. Web and API applications are two separate applications hosted in Azure. I want to push some real time data every 2 minutes to all clients…
Can I use global interactivity along with per page interactivity in same project of .net 8 blazor web app ?
I have created a blazor web app application and I want to use global auto render mode along with per page interactivity mode in same project, is it possible ?
Publish Azure Windows app service time charge very high
When trying to publish an application with Microsoft Visual Studio, it gets stuck on the loading page. I have installed Azure deployment and reset my internet connection, which is good. What can I do?
Problem in bitmap to vector image converter
Hi, I want to make an app that converts a bitmap image to SVG format. Below you can see my code: @page "/" @using Microsoft.JSInterop @inject IJSRuntime JsRuntime <h1>Convert Bitmap to Vector</h1> <input type="file"…
What should be the format of the date fields in the loop?
@for (int i = 0; i < Model.TBL_CalismaHayatiList.Count; i++) {<div class="col-md-6"> <div class="input-block mb-6"> …
How to use localized RESX in Blazor WASM?
Hi, all I want is standard "old way" usage of generated static properties of my RESX to localize texts based on CultureInfo and .culture.resx files. I've just figured out, that only difference from .NET Framework is that now in .NET 8 culture…
How to implement Google Authetication in Blazor Web app without Core Identity
I would like to use custom authentication without using out-of-the-box Core Identity in my Blazor Web App with Oauth authentication. I started the app using the template without using individual user account because we have our own registration and login…
ErrorSystem.NullReferenceException: 'Object reference not set to an instance of an object.' Microsoft.AspNetCore.Mvc.Razor.RazorPage<TModel>.Model.get returned null.
Hello all, I really need your help. My Controller : using Hayashi.DataAccess.Data;using Hayashi.Models; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Rendering; using…
SQL Connectivity Issue From Cloud app to on-prem server
hi, I have deployed a .net core MVC app in azure app service as a webapp. I have to connect to a on-prem sql server to retrieve data. I have setup Azure relay/hybrid connection for the same. Also I have installed hybrid connection manager in on-prem…
How to create backend application using Asp.net C# Web API Core
How to create backend application using web api core application followed by standards using desing pattern, Depedency injection and solid principle I am new to web api core how to start following things JWT token authentical and authorization simple…
How to make an int field named UserID as the primary key in AspNetUsers table in Asp.Net Core 6.0 MVC
I am implementing Asp.Net Core Identity on an existing legacy website. I have created the Identity tables using migrations. The legacy database has a table named Users which was used for the logging. I have replaced the Users table with the AspNetUsers…