Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
59 views

I have a problem in ASP.NET Core 5. When I use asp-area for example like this: <form asp-area="Admin" asp-controller="User" asp-action="Register">your text the ...
Ali Sedghi's user avatar
0 votes
1 answer
56 views

Microsoft.AspNetCore.Authorization is used to validate token while is there any attribute that checks httpOnlyCookie present in browser and is valid i.e like it also checks role based authentication. ...
Muhammad Yahya's user avatar
0 votes
1 answer
79 views

I am trying to have a simple modal popup showing news articles. This is on the home page. I show articles, if they are longer than 200 characters I replace the remaining characters with a button that ...
user20408154's user avatar
0 votes
0 answers
222 views

I need the returns from only one controller of my solution to serialize the enums into string (use Newtonsoft StringEnumConverter), I tried all the solutions I could find, none of them works, knowing ...
ophelia's user avatar
  • 13
0 votes
0 answers
213 views

Environment: .NET Core 5 ASP.NET Core 5 MVC + Web API EC2 + stripe I have a web application built with ASP.NET Core 5 MVC, including a Web API project, and other class libraries. The application is ...
Khaled Helwane's user avatar
0 votes
0 answers
124 views

I am new to .NET. I have micro services using .NET Core. This service is used to become a Kafka consumer. In the consumer function there is a function to insert into the SQL Server database. This ...
Firman Alamsyah's user avatar
0 votes
0 answers
114 views

I am developing a web application using .NET 5. I am using Oracle 12 as the database and generating entities with Oracle.EntityFrameworkCore v.5.21. I have a table TableA in the database, and it has a ...
ilhank's user avatar
  • 148
-1 votes
1 answer
245 views

In my ASP.NET Core 5 Web API controller, I have this code: [HttpGet("GetByUID/{uid:int}")] public async Task<ActionResult<PTHeading>> GetPTHeading(int uid) { ...
John D's user avatar
  • 691
0 votes
1 answer
221 views

I am new to React.js and ASP.NET Core 5 and I'm developing using Visual Studio Mac. I'm having this problem where the value being passed from text field to controller is always zero (0) even though I ...
ohayoouuuu's user avatar
0 votes
1 answer
47 views

I'm trying to use ASP.NET Core 5 to create a to do list and I"m trying to incorporate my seed data. This is my model class: using Microsoft.AspNetCore.Components.Forms; using System....
Derz's user avatar
  • 5
0 votes
0 answers
32 views

namespace BloodBank.Controllers { public class AccountController : Controller { private UserManager<Donor> _userManager; private SignInManager<Donor> _signInManager;...
Basel Awadeen's user avatar
0 votes
0 answers
112 views

I have published an ASP.NET Core 5 Web API on Windows Server 2019 with IIS and I can't get access to my generated QRs, out of the server you can access with www.page.com/api/files/QRs.png but I need ...
Henry Rojas Martinez's user avatar
0 votes
1 answer
58 views

we have some sites running Umbraco9, where we have a few templates that are updated by outside developers. We are hooking up to an FTP and downloading their templates (.cshtml), and in backend their ...
Steen's user avatar
  • 2,897
0 votes
1 answer
639 views

I want to convert all URLs to lowercase. For example: https://ABC123.com/ -> https://abc123.com/ https://StackoverFlow.com/ -> https://stackoverflow.com/ Thanks in advance
Ketan Patel's user avatar
1 vote
0 answers
131 views

I am creating an ASP.NET 5 Blazor Server application with MudBlazor. I have a URL https://localhost:44324/OperationsAll?Proj_ID=23407&Tail_Nr=TG6R&Location=N. The query string is used to ...
Tyson Gibby's user avatar
  • 4,969
0 votes
1 answer
714 views

I have an ASP.NET Core 5 Web API. How can I return the results from all my controllers in a Result object, regardless of the return type of controller? Something like this: Result: { "...
Hani Draidi's user avatar
2 votes
1 answer
1k views

I am using Identity Server 4 With Microsoft Blazor application. Authentication process works fine in local. But after deploying changes in azure it was working fine before one week. Suddenly it's ...
Jignesh Patel's user avatar
0 votes
1 answer
251 views

enter image description here enter image description here and add services in startup . but when i make this process on core 5 ,this process is Done .
user19710580's user avatar
1 vote
1 answer
513 views

I need to add [NonAction] or [ApiExplorerSettings(IgnoreApi = true)] attribute on some actions of my ASP.NET Core 5 Web API in startup by external json file, or example list of action names. List<...
Navid Tartak's user avatar
0 votes
1 answer
522 views

ASP.NET Core 5 deserializes json null property (list) as empty list in controller parameter (HttpPost). I did not configure anything in startup. The property is expected to be null instead of empty ...
signum's user avatar
  • 56
0 votes
2 answers
432 views

I am validating using jQuery: $el.rules("add", { remote: { url: `/api/distributors/KeywordExists`, type: "post", data: { id: @Model....
Zvi's user avatar
  • 97
0 votes
1 answer
323 views

I'm using session Id in HTTPsession in ASP.NET Core 5.0: HttpContext.Session.SetString("CompanyID", Convert.ToString(session.CompanyID)); Do I need to encrypt my id or will it get encrypted ...
cr7oo's user avatar
  • 193
1 vote
1 answer
1k views

I am working on a web application using ASP.NET Core 5 Razor Pages. I have created a custom user class named ApplicationUser and added LastPasswordChange (Nullable DateTime) to it. In this application,...
Mehedi Hasan Kajol's user avatar
1 vote
0 answers
65 views

I have been looking for this a few hours and can't seem to get a good result. All my sensitive data is stored in my secrets, but how do I call it on the published server?
Gilmore Moses's user avatar
2 votes
1 answer
1k views

I am working on an ASP.NET Core 5 MVC application, and i'm trying to display a bootstrap modal popup. I used the code below: Index.cshtml: <button type="button" class="btn btn-info&...
user4374239's user avatar

1
2 3 4 5
15