Comments (7)
Please provider a small project to reproduce this.
from abp.
Please provider a small project to reproduce this.
@realLiangshiwei EcommerceSeckills.zip
"RemoteServices": {
"productservice": {
"BaseUrl": "https://localhost:44385"
}
}
context.Services.AddHttpClientProxy<IProductService>("productservice");
from abp.
First:
context.Services.AddHttpClientProxy<IProductService>("productservice");
The application uses productservice
as the service name, but you have not configured it for the controller. The default service name is app
and default
.
Second:
You changed the the default json PropertyNamingPolicy
.
You need to change the JsonSerializerOptions
of the ApiDescriptionFinder
as well.
public override void OnApplicationInitialization(ApplicationInitializationContext context)
{
.....
ApiDescriptionFinder.DeserializeOptions.PropertyNamingPolicy = null;
}
from abp.
@realLiangshiwei I'm sorry, I tried what you said, but it doesn't work. Can you upload the modified success code zip pack? Thanks
from abp.
Thanks, I made a mistake, it works now! 👍
from abp.
@realLiangshiwei Can you help to solve this questions? Thanks.
https://flowus.cn/cethink/share/397dd530-2e8e-4699-8df6-71429e6b38c8
EcommerceSeckills.zip
from abp.
I think this is your usage problem, you should check it first.
I'm closing this,because this original question has been solved
from abp.
Related Issues (20)
- Angular - Action buttons are missing. HOT 1
- I want to use new blazor webapp for my new project. Please give me guide line on that HOT 11
- Angular not catching error returned from UserFriendlyException HOT 1
- Blazorise DataGrid actions dropdown overflow issue HOT 6
- Make `DynamicFileProvider` support `web farm`.
- Property injection not work HOT 7
- Unable to find package leptonxlite leptonxlitetheme with 3.2.0-rc.1 HOT 8
- I want to use new blazor webapp for my new project. Please give me guide line on that HOT 3
- IApplicationConfigurationContributor is not auto discovered as documented unless explicitly added to in ConfigureService HOT 1
- Cannot create Blazor WebApp Project in suite (8.2.0-rc.1) HOT 2
- After upgrading to 8 (OpenIdDict 5) currentuser is null HOT 2
- document AbpEntityChangeOptions and add aditional PublishNavigationEntityUpdatedEventWhenNavigationChanges HOT 1
- missing local update events when PublishEntityUpdatedEventWhenNavigationChanges is disabled HOT 11
- AddApiExplorer Extension Method cannot be used in ABP 8.1
- [8.2.0-rc.2] Lepton.Global errors trying to run Suite HOT 3
- Angular project does not compile with typescript > 5.4.0
- Add CorrelationId to Logger property for LogContext
- Volo.Abp.FluentValidation Package seems to not be working HOT 3
- Blazor webapp language switch error HOT 2
- Update angular packages version to `17.3.0`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from abp.