Authentication - Layout and Context - Location / Multiple
How should I handle Layout and Context in a Tutorial Authentication project? When Scaffolding Identity in the Authentication Tutorial, what is the best location for both the Layout and Context files? Tutorial: Introduction to Identity on ASP.NET…
Form submissions not being received from my website on an Edge browser - Sitecore
Hi, When I submit a form fill on my website (Sitecore platform), this usually triggers an email to my Outlook or email client however when I have been doing this on Edge they're not being received. Any ideas on where to start? Assume this would be a dev…
Authentication - Context and Layout Location Best Practices / Targeting Context
Two Questions: 1. I want to resolve the error below 2. I mirrored the Views.Shared._Layout.cshtml and Data....Context.cs hierarchy within the Areas.Identity folder (see: Solution Explorer below) ...the thought being to keep Authentication concerns…
How to diagnose, troubleshoot AppPool hangs with MVC ASP.NET 4.7 on IIS 10
I have a webapplication using MVC ASP.NET 4.7 on IIS10 (Windows Server 2019). The webapplication is reading data from an Oracle database using Oracle ManagedDataAccess dll and displaying it in a javascript chart library. This webapplication is…
Does ASP.NET Core and .NET Framework ASP.NET Web application such as MVC5 and Web Forms use the same HTML controls and Server-side code
May I please ask if the ASP.NET Core and .NET Framework ASP.NET Web application such as MVC5 and Web Forms use the same server-side code and same client-side controls? If no please may I know in details what differs; if there is an article that best…
UpdatePanel (ASP), I lose inserted objects when I insert new objects dynamically
I'm trying to insert one object (Panel) after another inside an UpdatePanel type object (by means of a button), this with the aim of forming an array that looks horizontal visually when the user inserts it inside the UpdatePanel. The problem I have is…
Migration - Targeting Different Context Files (Areas.Data...)
Errors: PM> add-migration CreateIdentitySchema Build started... Build succeeded. More than one DbContext was found. Specify which one to use. Use the '-Context' parameter for PowerShell commands and the '--context' parameter for dotnet…
Authentication - Scaffolding Identity - The type or namespace name 'Areas' does not exist in the namespace
Creating a basic tutorial project using authorization. The following error messages... GitHub:…
Authentication - Configuring Identity Services
I'm having difficulty creating my first successful authentication tutorial project and trying to run down possible sources of problems in the steps. In the Introduction to Identity on ASP,NET Core tutorial... Configure Identity services... If you…
Chose between .net 4.8.1 and .net core 6.0 . is the support life cycle an important factor to consider
I want to start developing a long-life ERP system to a customer. now on paper I would chose to develop it using .NET core 6.0 with SQL Server. But one of the main drawbacks which the customer did not agree on, is the short support life cycle for .NET…
How to fix builder.Configuration in asp.net 7
Hello. As you can see, I am passing the builder.Configuration as an argument to my ConfigureIdentityServices and AddInfrastructureServices functions. When I run the program the jwtKey variable is null and when I access the IConfigurationSection of the…
What is the process for upgrading my current VB-based, webforms projects to .NET 8?
I'm 60 years old and have used Visual Studio for many years. Currently, I develop apps that are deployed to Azure. As my needs do not require very complex platforms, I use Visual Basic in .NET 4.8. What is the process for upgrading my current VB-based,…
Authentication Tutorial Project - Scaffold Register, Login, LogOut, and RegisterConfirmation
Error at seventh step (below) PM> Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore -Version 6.0.11 Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore : The term 'Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore' is not recognized as the…
Actually I am not professional in using microsoft expression web 4 , I am using it on windows 11 , the problem is when I try to connect an ASPX connection but there is a pop up problem message says that the web.config page got errors so what should I do ?
the error massege is : ( Connection information could not be stored in the web application configuration file (web.config) due to errors in the file . Fix the errors and try again )
Confused about Microsoft "signed in user" and IIS app pool identify
I have a ASP.NET MVC hosted on premise that uses Windows Authentication. It also utilizes a service account for its app pool identity that has heightened privileges for various tasks such as database accesses. In this app, I would like to utilizes…
Can converted DIV to Image be downloaded as PDF
Is it possible to convert div container to Image and at the same time download the converted image div as PDF? I tried to apply an idea from the code I have which converts HTML elements (including Image) to PDF, but it did not work. I believe there are…
How do I make user authentication timeout last longer
Hello forum, Please there is something I need to understand regarding authentication timeout in the Web Config. I am using Session with authentication. Each time I login in my local machine, within a short duration, I get logged out. At first, the…
Relocating Database from default to within project folder
Moving the database location from the default to within the project folder (wwwroot/Data) Copy database files from default... C:\Users\UserName\ContosoUniversity.Data.mdf C:\Users\UserName\ContosoUniversity.Data.ldf To... …
Displaying Embedded Video in a View
How do you display embeded video as video (not the embed links as text pictured below)? GitHub: https://github.com/DeanEverhart/ContosoUniverstiyEmbed Environment: Net Core 6, Visual Studio Community 2022 (64 bit), WIndows 11 ** View** @model…
The JSON value could not be converted to System.Collections.Generic.List`
Hi, My JSON is not converting to a list. JsonException: The JSON value could not be converted to System.Collections.Generic.List`1[Amiibo.Models.NintendoAmiibos]. Path: $ | LineNumber: 0 | BytePositionInLine: 1. My code: using var client = new…