Microsoft.Data.SqlClient.SqlException (0x80131904): The connection is broken...
Hello,I hope I'm in the right forum ;), if not please kindly just move the post.I'm currently developing an .net core 3.1.2 console app running in a Linux docker container under Azure.It uses a S0 DB...
View Articleconcurrency of a jwt across micro services
HiI have mutliple miscroservices, all using a jwt to authenticate, my only problem is if the users information changes there is nothing in any of the microservices to validate this.What are my options...
View ArticleRun time error after config SignInManager in Startup.cs
Hello ,I tried to implement Login system by using Microsoft Identity.i got run time error and i am not able to find what kind error please help me.I am using Asp.Net core 3.1 and...
View Articlechanging asp.net files to asp.net core mvc files
Hi,I have a magazine on the web that was using asp.net web files. I am changing to asp.net core mvc files. The magazine is JavaScript files. I changed the default aspx files to html and cs files in...
View ArticleJWT Invalid Signature on Linux Container .Net Core 2.2
have been working on implementing JWT bearer based authentication. I am trying to fetch public keys from Auth server JWKS URL and load it to JsonWebKeySet. Here is my ConfigureServices class code:...
View Articleset selected value in select list of cshtml using ViewBag
@model StudentAttendance.Models.Semester<h4>Edit Semester Details </h4><div class="row"><form asp-action="Edit" class="form-horizontal"><div class="col-md-6"> <div...
View ArticleReject a jwt token if the user is disabled in the database
I use jwt token in my asp.net core app and I have two issues. First, I wan to check each time the token is validated and see if the user is still active in database. I know there is OnMessageReceived...
View ArticleHow to create localized routes and language selector
Hi all,There are 3 things I would like to do :Create localized routes likes : www.mywebsite.com/fr/controller/action/ hiding culture in URL if default culture (EN)...
View Articlewhy my program takes 100% of my RAM on stress testing (72 GB)
I have a solution based on .net core 2.0 and it reaches 100% RAM (72 GB) in an hour on stress testing. I need to know if there is a any work around to force garbage collector without changing the code?...
View ArticleDynamically Bind Input Values from TextBox
I'm trying to figure out the best approach for dynamically binding values to inputs based on the value entered into another input. Scenario is I have a view with three textbox inputs (Email, First...
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 Articleinstal .NET Core runtim on ubuntu. Unable to locate package...
I just can’t install the program even from the source
View Articlewhat do you use for testing?
HiJust curious what would u recommend for testing xUnit, NUnit,MSTest? and what to use for mocking?
View ArticleHow to make File Upload a required field
I have a file upload input where I want to make it a required field in my view. How do I do that. I assume you can't do it as an attribute in the view model?View:<div class="form-group...
View Articlecan i use gdrc in Azure Functions?
all my micro services are using azure functions,can i still use gdrc to communicate between them?
View ArticleDropzone doesnt pass files
Hi,been on this for hours... I'm trying to Upload multiple pictures with dropzone. My Upload Action in controller gets called when dragging in a picture, but doesn't have any files in...
View Articledelete based on inner join in EF core
Attendance { int Id; string Subjcode; string date; string usn; } Student { int Id; string usn; string Name; }no parent-child relationship between the two. I want to remove records from Attendance...
View ArticleHow to fetch list of endpoint in .net core 3.1 like wcf
Hi Team,How to fetch a list of endpoint in .net core 3.1 like WCFany suggestion and help will be highly appreciated on how to proceed further on this.
View ArticleHow to implement clientsection in asp.net core
How to implement clientsection in asp.net core i am migrating asp.net project to .net core 3.1 but wcf is not supported here and clientsection code is breakingbelowvar appConfig =...
View Articleerror trying to use EF core code first
I am trying to use entity framework core code first, with an external sql server database hosted on AWS RDS. My aim is for EF to create my model database/tables automatically the first time I use...
View Article