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

I am working on ASP.NET Core 2.2. After the user registers for the first time, the user is redirected to their personal page, which requires logging in. This is the script in my login.cshtml: <...
topcool's user avatar
  • 2,740
0 votes
1 answer
144 views

I'm still on Windows 10 but I have all Windows 10 updates installed. I have gone through Settings and Repaired/Modified my MS Edge install to latest version, so all that should be good. My Component ...
Cwinds's user avatar
  • 203
1 vote
0 answers
72 views

I have an ASP.NET Core 2.2 Web API using Swagger. I recently upgraded from Swashbuckle.AspNetCore 4.0 to 6.5. Besides some minor issues I just realized that the new serialization with System.Text.Json ...
phifi's user avatar
  • 3,078
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
0 votes
1 answer
95 views

I work on a Api project in .NET core 2.2 with NHibernate (5.2.5) Table A has nullable foreign key from table B I need to create a criteria to filter Table A, ...
Elvis Sulejmanovski's user avatar
1 vote
1 answer
1k views

I have an application that has been running for 4 years with Microsoft.AspNetCore.Identity and .NET Core 2.2 . I have a modification to make and I have taken out the old file .ZIP. I had done this ...
steffy97's user avatar
0 votes
1 answer
698 views

I am experiencing the following error: NSwagStudio generates a typescript client which is trying to deserializing json when api return type is plain string. I am using .netCore 2.2 and NSwagStudio 13....
Massimo Lavermicocca's user avatar
0 votes
2 answers
1k views

I have a case when the startup process of an ASP.NET Core 2.2 application occurs inside a library. The application calls that library to build and run the host. The setup code in the library adds the ...
MaorB's user avatar
  • 147
0 votes
1 answer
1k views

I have a .NET Core 2.2 / Angular 10 app where I want to implement an Azure AD login. The app already has a simple user/password login using JWT: services.AddAuthentication(options => { ...
Maxim's user avatar
  • 699
0 votes
1 answer
503 views

I am working with ASP.NET Core 2.2 MVC. I try this code in JavaScript: window.history.forward(1); but it did not work. I want to stop back button after logout. Please help me
ahmed assiri's user avatar
0 votes
1 answer
121 views

Area route link with parameter returns `/admin/home/edituser/b36c7c26` instead of `/admin/home/edituser?id=b36c7c26` This in turns scatters my interface, meanwhile am using the standard ASP.NET tag ...
kyenry's user avatar
  • 388
1 vote
1 answer
3k views

In ASP.NET Core 2.2, I'm trying to bind an array of JSON objects to a matching C# object, but it's not binding the members properly. (Spoilers: Test1 works, Test2 doesn't.) In my appsettings.json, I ...
Martin's user avatar
  • 380
0 votes
1 answer
434 views

I have an aspnet core 2.2 application that uses DistributedMemoryCache, and I want to change it to DistributedSQLCache, without recompiling and changing that application (It's already compiled), so I ...
Orca's user avatar
  • 2,045
0 votes
1 answer
511 views

My Application version : netcoreapp2.2 MassTransit packages: <PackageReference Include="MassTransit" Version="7.1.8" /> <PackageReference Include="MassTransit....
KoKo's user avatar
  • 471
1 vote
1 answer
2k views

I am trying to upgrade my ASP.NET Core 2.2 to 3.1 but getting below error. Not Sure how to resolve it. I am getting below error Severity Code Description Project File Line Suppression State ...
user10216769's user avatar
-2 votes
1 answer
2k views

I am writing a middleware in .net core 2.2. I want to get name of Action and Controller name in the middleware. I can not use ControllerContext because it not available at that time. Here is solution ...
शेखर's user avatar
  • 17.6k
0 votes
1 answer
238 views

I'm working on updating a web app from .NET Core 2.2 to .NET 5. Most things are working pretty well, but I'm stuck on the partial views. The website uses a ton of Ajax requests and most return a small ...
sur.la.route's user avatar
0 votes
1 answer
3k views

The configuration looks ok. but i get the error while trying to add Azure AD based authentication. Startup.cs => ConfigureServices public void ConfigureServices(IServiceCollection services) { ...
Tech with Thiru's user avatar
0 votes
0 answers
378 views

Using ASP.NET Core 2.2 with razor pages... I have a razor page1 which includes a table with lots of integer Id-values from a database. I have to open another razor page via JavaScript and pass all the ...
okieh's user avatar
  • 627
0 votes
1 answer
2k views

I am trying to create implementing database per tenant strategy. but I don't understand how I actually will do that.I followed this link https://www.codeproject.com/Articles/848111/Multi-Tenancy-...
user avatar
1 vote
1 answer
4k views

I'm using aspnetboilerplate solution developed with ASP.NET core 2.2 . The backend is deployed on azure and it uses the SQL server provided. Sometimes, when the backend has a lot of requests to handle,...
C1X's user avatar
  • 805
1 vote
0 answers
150 views

When I started development of my current project I had no knowledge or prior experience of web development, ASP.Net (Core), C#, JS and so on. With a lot of reading, excercising and testing I now have ...
RJD's user avatar
  • 390
0 votes
2 answers
3k views

I have a form with some input fields and when you click on Save, I do a check if a field already exist in the database. I have a service method for this. For example in the database the field with ...
user11208424's user avatar
0 votes
1 answer
3k views

I work on project use .net core 2.2 visual studio 2017 Web API I Need to make function download file Give function path of file will be download and download file and return Void . I need to make ...
ahmed barbary's user avatar
-2 votes
1 answer
546 views

I work on ASP.NET Core 2.2 Web API and face an issue: I can't use replace function to change the name property of a selected file that I get when uploaded. When I try like this: string fileName = ...
ahmed barbary's user avatar

1
2 3 4 5
19