Why MapFallbackToController is not working? asp.net core 3.1.1 + angular
I finished my app and i want to publish it into web. Working on core 3.1.1 + angular2.I created Fallback controller for routes.After i'm refeshing page i got HTTP 401 Unauthorized.I chcecked into my...
View ArticleJavascript and Asp.Net Core 3.1 input check boxes broken
Hello, So I had this working in Asp.net Core 2.2 with Twitter-Bootstrap 3.3.7. I then upgraded to Asp.net Core 3.1 and Twitter-Bootstrap 4.4. Now I am unable to get some of my javascript...
View ArticleHow to uninstall .Net Core
I am trying to uninstall .NET core runtime version 2.1 which is part of Visual Studio 2019 Professional (16.5.4). Here's how it currently looks like:C:\Windows\system32>dotnet --list-sdks3.1.201...
View ArticleError in Update child record EF Core 3.0 The association between entities has...
I'm using EF Core version: 3.0 Database provider: Microsoft.EntityFrameworkCore.SqlServerI have two tables: PROFILO (master) and PROFILOTITOLODISTUDIO (details) this is the model:PROFILO...
View Articlefont-awesome-fonts error in .net core
Microsoft.AspNetCore.Hosting.Internal.WebHost:Information: Request starting HTTP/2.0 GET https://localhost:44368/fonts/fontawesome-webfont.eot?...
View ArticleWhat is the best way for asp.net core to make a cross-platform program?
These days I want to make a cross-platform program in the windows&linux system for using a socket to control a device.With .Net it seems there are two ways: one is asp.net core, the other is...
View ArticleAspNet Core 3.1 : No Manifest exist for the current culture
using System.Collections.Generic; using System.Linq; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Localization; namespace DemoApp {...
View ArticleLooping through ViewData.ModelMetadata.Properties except for null values
I found this thread which I thought was pretty neat - https://forums.asp.net/t/1716207.aspx?ViewData+ModelMetadata+Properties+to+display+all+fields+in+a+model+exclude+null+valuesI wasn't sure about the...
View ArticleCan i host asp.net in this platform.
Hi guys I recently started asp.net core development and now I'm finished and ready to launch my first website but I'm really confused about which hosting plan to buy. I found this hosting plan under my...
View ArticleError when retrieving associated users using a join table and Microsoft Identity
I've facing an error that I am unsure of how to solve. I am trying to retrieve a list of users associated to an organization via a one to many join table. The error being thrown is:Cannot implicitly...
View Article.NET Core Jwt Token always expired when trying to access Authorized area
This is my Startup.csservices.AddAuthentication(x =>{ x.DefaultAuthenticateScheme="bearer"; x.DefaultChallengeScheme="bearer";}).AddJwtBearer("bearer",x =>{ x.RequireHttpsMetadata=false;...
View Articleexisting php and mysql --- asp.net core CRUD required
dear all,i have a php and mysql environment in Godaddy. I would like to create online applications - so that people can fill their form and submit their queries for admission. Maybe second line will be...
View ArticleHelp Needed in xml File reference
Hi,I am working in asp.net core 2.2. i using swagger for documentation and am able to configure and make it work. i am having one issue. i have included the xml comments for the propertied in of my...
View ArticleHelp needed in Passing a method in Typeof()
Hi,I am using swagger for my asp.net core 2.2 documentation and for displaying the response model, i have to use[ProducesResponseType(typeof(ResponseObject), 200)].In my case, i am not directly...
View Article.Net Core : Accessing Controller 1 from Controller 2
Any example to access the HTTP Get async Task method from controller 1 into controller 2 in asp.net core ?
View ArticlePage Routing based on a custom value
Hello:I need to authorize MVC pages based on a combination of custom values that I obtain from the user logged in, for example:A logged in user will see a certain page(s) if they have a code value of...
View ArticleWhy my application does not consume CPU and RAM?
I have a solution in asp.net-core 3.1. When I run stress testing, it consumes no more than 20-30% cpu. I have tried increasing worker processes but still it gives a constant throughput and does not...
View ArticleInclude In UserManager Asp.Net Core
Hi, my Asp.NetUsers table is related with Customer table and other tables (one to one) i want use this code _userManager.GetUsersInRoleAsync("Customer") to get customer users but i want set include to...
View ArticleReusable button - Custom tag helper?
I have this button on about a dozen of my pages:<button type="button" class="btn btn-outline-primary btn-back" onclick="location.href='/Controller/Action'">Button text</button>The text of...
View Article404 Error on Deployment
Hello everyone and thanks for the help in advance. I'm brand new to .Net core and am just trying to get acquainted with basics. I am working on Visual Studio 2019 on Windows 10 Professional...
View Article