4,166 questions with ASP.NET Core tags

Sort by: Updated
1 answer

restful api entity framework with repository pattern

hello there i wanna study about to create RESTful api services using .net core and entity framework core by Repository design pattern OR any other design pattern, could you please share some links with step by step guide.

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,166 questions
asked 2022-04-29T06:25:53.913+00:00
Jey 1 Reputation point
commented 2022-05-03T02:14:52.26+00:00
Junjie Zhu - MSFT 14,751 Reputation points Microsoft Vendor
3 answers

Reset (Back to full list) in ASP.Net MVC

Hy Friends, I'm newbie in ASP.Net MVC I need some help with search and reset (fill back list) in ASP.Net MVC This is my index. cshtml, when I click search, it works normally as what I want but when I push button Reset, it should will…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,166 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,254 questions
asked 2022-04-30T06:23:56.533+00:00
Steve henry 1 Reputation point
answered 2022-05-02T03:34:58.26+00:00
Yijing Sun-MSFT 7,066 Reputation points
1 answer

Why can't the entity be created?

# Datenbank * tools -> options -> uncheck prevent saving changes that require ... * table id -> properties -> identity spec -> yes * Realtionships # Backend ## ASP Framework Web API * ASP .NET Web Application (.NET…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,166 questions
asked 2022-05-01T21:01:19.21+00:00
entitycrafter 1 Reputation point
commented 2022-05-02T01:35:29.127+00:00
Zhi Lv - MSFT 32,011 Reputation points Microsoft Vendor
0 answers

ASP.NET Core 6 Server authorization - Having trouble with authorization

Hi, I have an ASP.NET Core 6 application that serves as both a server and a client (aggregates data from various machines and serves data to a client). It needs Windows authentication for certain functionality so I have set that up. It also uses…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,166 questions
asked 2022-04-18T21:11:41.673+00:00
Dennis Tabako 36 Reputation points
commented 2022-04-29T01:32:04.207+00:00
Zhi Lv - MSFT 32,011 Reputation points Microsoft Vendor
1 answer

Net Core 2.2 Web App - Cookie of browser too large on specific server

I have a web application running on .Net Core 2.2 and so far it has been deployed on various servers on IIS screenshot of web.config (https://i.stack.imgur.com/9nVUr.png) The cookies created on all the servers so far are around 2.7kb screenshot of…

Internet Information Services
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,166 questions
asked 2022-04-27T05:52:12.513+00:00
Kyriakos Petrou 1 Reputation point
answered 2022-04-28T21:07:55.18+00:00
Bruce (SqlWork.com) 56,026 Reputation points
0 answers

Verify Passwords with BCrypt.net

Hi all, I'm having difficulties using the BCrypt-Offical NuGet package. On my registration form the code I have to hash passwords is: string Emailadres = txtEmail.Text; string hashedPassword =…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,166 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,248 questions
asked 2022-04-28T14:17:08.09+00:00
MaartenMM 1 Reputation point
commented 2022-04-28T14:41:46.787+00:00
Viorel 112.1K Reputation points
2 answers

Customizing the Tag Helper element.

I am following below Microsoft link to change the Tag Helper element font. https://learn.microsoft.com/en-us/aspnet/core/mvc/views/tag-helpers/intro?view=aspnetcore-6.0 I am using ImageTagHelper: <img src="~/images/image1.jpg"…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,166 questions
asked 2022-04-27T11:28:13.427+00:00
ASR 671 Reputation points
commented 2022-04-28T07:49:55.95+00:00
Zhi Lv - MSFT 32,011 Reputation points Microsoft Vendor
0 answers

NullReferenceException from Exchange.WebServices.Managed.Net5

Triggering mail from ASP.net Core MVC application, using Exchange.WebServices.Managed.Net5(https://www.nuget.org/packages/Exchange.WebServices.Managed.Net5/2.2.0).Intermittently getting the System.NullReferenceException: Object reference not set to an…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,166 questions
Exchange Server Development
Exchange Server Development
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Development: The process of researching, productizing, and refining new or existing technologies.
508 questions
asked 2022-04-27T06:16:14.253+00:00
Aditi.Rachna 21 Reputation points
commented 2022-04-28T01:32:38.537+00:00
Zhi Lv - MSFT 32,011 Reputation points Microsoft Vendor
2 answers

Building Offline capabilites inside .NET web application

We are building a project management web application using those main technologies:- ASP.NET core MVC SQL Server + Entity framework HTML,CSS & Bootstrap now the application mainly allows to create project >> create tasks under the…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,166 questions
asked 2022-04-27T17:59:24.307+00:00
john john 941 Reputation points
answered 2022-04-27T20:29:42.107+00:00
Bruce (SqlWork.com) 56,026 Reputation points
2 answers

Post JSON Object RestSharp v107

I have to post this json data (data is generated in javascript and must be post to the enpoint from backend): JSON.stringify(dataRest) is:…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,166 questions
asked 2022-04-25T11:08:08.187+00:00
Federico Luna salazar 21 Reputation points
answered 2022-04-27T04:42:16.01+00:00
SurferOnWww 1,911 Reputation points
3 answers

SingalR Angular Error 404

I am trying to install SignalR on Angular. I have achived this before with ReactJs Looking at several Forum topics and articles I cant really get it to work: Error Code that i get: Utils.js:149 [2022-04-24T03:47:55.451Z] Error: Failed to start…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,166 questions
asked 2022-04-24T04:09:57.907+00:00
osyris 236 Reputation points
answered 2022-04-27T01:29:36.31+00:00
Zhi Lv - MSFT 32,011 Reputation points Microsoft Vendor
2 answers

Process.start() in Asp.net core app : Failed to create an ipc port, Access denied :(

Hello everybody, I wrote a little web api using ASP.net core, running on IIS. In this API i have to launch an EXE, wait for execution, then push an answer to the client who invoke my API. After a few use of this API, my process.start() fail and i…

Internet Information Services
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,166 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,248 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,570 questions
asked 2022-04-25T14:39:01.05+00:00
Nicoco 1 Reputation point
answered 2022-04-26T16:02:00.763+00:00
MotoX80 31,571 Reputation points
0 answers

JSonConverter Write Method writing to Utf8JsonWriter object terminates application

I am creating a pass through application, which receives a json object, does some processing and passes the data to a remote system, my issue is: devenv.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,166 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,248 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,119 questions
asked 2022-04-20T18:59:03.38+00:00
Martin Marchant 1 Reputation point
commented 2022-04-26T06:48:57.223+00:00
Brando Zhang-MSFT 2,956 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

WebApi - ApiKey plus JWT

I completed a couple of projects that are implemented in C# .Net 6.0 MVC, and now I'm trying to do my first web API project. This WebApi is implemented in .Net 6.0, with JWT authorization. Everything is working smoothly so far, the token is generated…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,166 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
297 questions
asked 2022-04-24T23:18:04.233+00:00
Maryan 21 Reputation points
accepted 2022-04-25T11:57:39.39+00:00
Maryan 21 Reputation points
1 answer One of the answers was accepted by the question author.

Redsys InSite mode with independent elements

I am doing a development with ASP.Net Core (Razor pages) and I am in the last step of the integration of the redsys gateway with the InSite mode with integration of independent elements; working in the test environment. In the InSite integration guide,…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,166 questions
asked 2022-04-23T17:41:43.733+00:00
Federico Luna salazar 21 Reputation points
commented 2022-04-25T08:48:37.197+00:00
Federico Luna salazar 21 Reputation points
3 answers

Making APIs available publicly

I have a .NET6 Blazor wasm application https://invoicis.com. The app was built using standard Blazor wasm template with individual accounts authentication and hosted options turned on. The Client application uses http calls to get and send data to the…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,166 questions
asked 2022-04-21T17:25:48.52+00:00
Amjad Khan 21 Reputation points
answered 2022-04-22T18:02:23.567+00:00
near 1 Reputation point
2 answers One of the answers was accepted by the question author.

How do I Remove Specific Character from a Field in a C# List?

I got a C# List that it's the result of a LINQ query. I had no issues removing zero records like this. myList.RemoveAll(x => x.Amount ==0); How do I remove character "TH" from a column in myList? Data example: "48…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,375 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,166 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,254 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,248 questions
asked 2022-04-21T20:50:06.537+00:00
lesponce 176 Reputation points
commented 2022-04-22T13:27:29.11+00:00
lesponce 176 Reputation points
0 answers

Knockout JS and Razor - How to assign data to Razor variables?

I am working with a multi layer web application that uses various web technologies. It interacts with a WebAPI to get the data via Knockout JS. I will try to narrow the scope of my question to this: I have a span tag <span…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,166 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,254 questions
asked 2022-04-21T12:41:04.943+00:00
Ali Aziz 1 Reputation point
commented 2022-04-22T07:31:37.077+00:00
Zhi Lv - MSFT 32,011 Reputation points Microsoft Vendor
3 answers One of the answers was accepted by the question author.

Need help in LINQ: Contains clause

Hi. This is my table I've successfully getting all data using below var _SFAProject = _context2.SFAProject.ToList(); Now I want to filter using Contains. Let say, I've have ClientsId variable parameter as following, ('8', '6', '1',…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,166 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,248 questions
asked 2022-04-19T09:13:23.683+00:00
Jerry Lipan 916 Reputation points
accepted 2022-04-22T01:28:43.123+00:00
Jerry Lipan 916 Reputation points
5 answers

How to redirect to /Home from server side after logged in?

How to redirect to /Home from server side after logged in? startup.cs app.UseMvc(routes => { routes.MapRoute( name: "default", template:…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,166 questions
asked 2022-04-11T02:41:42.607+00:00
Dondon510 221 Reputation points
commented 2022-04-21T20:48:13.96+00:00
Bruce (SqlWork.com) 56,026 Reputation points