ASP.NET Core is a lean, composable, and cross-platform framework for building web and cloud applications. It is fully open-source on GitHub. ASP.NET Core apps can be run on Windows, Linux, or macOS.
70,358 questions 5
- Bountied 5
- Unanswered
- Frequent
- Score
- Unanswered (my tags)
How to get from database for an "a href="?" " in asp.net [closed]
How can I get value from database. The link doesn't work when I type it as below. Thanks in advance for your help. Razor page Code Sql Data: c# asp.net asp.net-mvc asp.net-core
EmrahYilmaz57
- 1
Adding a default role to a registered user
There's three roles and I want to add a default "user" role whenever there's a registration. I'm using asp.net 6 mvc with identity What I did it's not working. I checked the tables and the ... c# asp.net asp.net-mvc asp.net-core model-view-controller
qwerty
- 1
does startup.cs file require application pool restart or recycle when there is change in startup.cs file
I have one custom middleware which i have to configured like this way if we disable it from backend then that middleware should detach from request pipeline and if i enable then it should i again ... .net api asp.net-core .net-core asp.net-web-api
Amit Ghuge
- 33
Consume an external authenticated api using HttpClient in blazor client
I am trying to consume an external authenticated web api using HttpClient. The external api is part of an orgin for which user is already authenticated and the cookies are present. The call in ... asp.net-core cors blazor dotnet-httpclient blazor-webassembly
Jerry John
- 1
Regex parse query string with ampersand in value
I'm getting query string from 3-rd party service and ampersand in value is not encoded there, so my case is: param1=test¶m2=cpd&cpd¶m3=abc so I need to get it like param1 = test ... c# asp.net .net asp.net-mvc asp.net-core
Alex Kvitchastiy
- 248
Linq result to ViewData and show result in PartialView
Can anyone help me I beginner in programming Asp.Net.Core MVC I have this two methods in HomeController.cs and trying to make a query from database FactoryContext table MoldingOrders and make a view ... c# asp.net-mvc linq asp.net-core
Madbeap
- 79
.NET Core ASHX 404
I've got a file in my wwwroot folder called myfile.ashx, but when I browse to I'm getting a 404 error. My first thought was this is a MIME Type issue. So I tried ... asp.net-core
s15199d
- 6,688
IIS10 Is throwing a 404 Error Code When Asked To Serve .asp/.aspx Pages [closed]
My company needs to add some features to our websites that necessitate ASP.NET features. I have a MVC ASP.NET web application hosted locally on IIS 10 that has these new features. However, all of my ... c# asp.net asp.net-core asp-classic
Benjamin Sears
- 7
Cannot upload large file x>1GB in ASP.NET CORE 6 RAZOR PAGES
i have been looking for a way to upload a large files to my server. My form works for small files x<30MB. This is my form: <div> <div" title="show questions tagged 'c#'" rel="tag">c# asp.net asp.net-core razor-pages
Software_Architect
- 15
Swagger/OpenAPI static file not appearing
I'm trying make the dotnet 6 Weather API example generate the static swagger.json or swagger.yaml. I'm pretty sure i've followed the steps from Microsoft docs but no static files are being generated, ... c# asp.net-core swagger
Sam Jones
- 4,214
.NET model binding not working in POST request with JsonProperty
I have a model like public class DeleteMe { [JsonProperty(PropertyName = "id")] public string LalaId { get; set; } public string Other { get; set; } } I want to be able to send ... c# asp.net-core json.net
Michael Tontchev
- 759
View not returned properly in ASP.NET MVC Core 6
On click of the button, a javascript function is called that captures the snapshot from the camera and sends it to process. On backed, we get the image and do some process and get the data in an ... asp.net asp.net-mvc asp.net-core model-view-controller
Muhammad Usama Alam
- 1
EditorConfig optional suffix for Classes
I want my classes to be in PascalCase, but I also have some DTOs that end with "DTO". (For example "MyClassDTO". Is it possible to add an optional Suffix for DTOs? asp.net-core .net-6.0 editorconfig
Ronnie
- 3
How to use JWT token in Angular
I have an API, using the ASP core as my back end. At the back end, a JWT is generated. I can access the data from the postman using the generated token. But using Angular, I do not understand how to ... angular api asp.net-core jwt
Malshan Hansaka
- 42
C# Round nullable double to nearest nullable integer [duplicate]
I have "somemethod()" with calculate and return null double. I would like to round it to nearest interget number and assign to nullable interger variable //see fund is nullable interger int? ... c# asp.net-core asp.net-core-webapi
itmannz
- 397
153050per page