Hi,
First of all, you don't need to create an extended of each class. This is a feature to allow customization when code is generated with Suite. See more: https://abp.io/docs/latest/suite/customizing-the-generated-code
Secondly, you don't need to create a controller, ABP creates the controller for you from ApplicationService. But you can still create it if you want to, of course. See more: https://abp.io/docs/latest/framework/api-development/auto-controllers
In your case, there should be a structure like the one below:
ILearnworldsApiService:
public interface ILearnworldsApiService : IApplicationService { Task<LookupDto<LearnwroldsActivitiesDto>> GetActivitiesBySchoolAsync(Guid tenantId); }
LearnworldsApiService:
public class LearnworldsApiService : MyAppService, ILearnworldsApiService { private readonly IMyRepository _myRepository; private readonly MyLearnManager _myLearnManager; public AuthorAppService( IMyRepository myRepository, MyLearnManager myLearnManager) { _myRepository = myRepository; _myLearnManager = myLearnManager; } public async Task<LookupDto<LearnwroldsActivitiesDto>> GetActivitiesBySchoolAsync(Guid tenantId) { // .... } }
LearnworldsApiController:
You don't need it, but if you want to create it, you can create it similar to this one here: https://github.com/abpframework/abp/blob/dev/modules/identity/src/Volo.Abp.Identity.HttpApi/Volo/Abp/Identity/IdentityUserController.cs
Thank you for the response, I appreciate it,
So question though, I need to use the APIService and bind it to another Controller/action, which will populate a dropdown, I initially also tried injecting the service yet still got the dependency injection exception. Also the manager class, do I need that? I have not created a LearnworldsApiManager class though
Hi @leeneshk
Is this issue still present?
Hello @liangshiwei
The issue has been resolved, we have not experienced issues thereafter, however, Is there some sort of SLA that we can get from abp.io that safe guards both parties from any downtime or any issues down the line?
The reason why I am asking this, is that we have a set SLA with our clients that stipulates a certain timeframe for a major issue to be resolved, and let's say that if we needed to get a hotfix out when the downtime occurred, we would've been in breach of our SLA in any case.
How sure are we that there would not be any issues like this in the future? Also I remember around a month ago, abp.io had the Cloudfare attack which affected the domains and sub-domains, how can we resolve that?
So I need to provide some proof of an SLA to my security council regarding this, would you guys be able to provide me with some documentation in the form of an SLA or something?
I have also asked this on my initial query: https://abp.io/support/questions/8610/Issue-with-nugetabpio
Thank you.
Great to hear that! Sorry for the temporary inconvenience and thanks for your understanding. Regards.
Hello EngincanV,
I hope you are doing well, I would like to ask, in terms of this very same issue,
Is there some sort of SLA that we can get from abp.io that safe guards both parties from any downtime or any issues down the line?
The reason why I am asking this, is that we have a set SLA with our clients that stipulates a certain timeframe for a major issue to be resolved, and let's say that if we needed to get a hotfix out when the downtime occurred, we would've been in breach of our SLA in any case.
How sure are we that there would not be any issues like this in the future? Also I remember around a month ago, abp.io has the Cloudfare attack which affected the domains and sub-domains, how can we resolve that?
So I need to provide some proof of an SLA to my security council regarding this, would you guys be able to provide me with some documentation in the form of an SLA or something?
Thank you
Thank you @EngincanV, we have a successful build on our side
Thank you, I am busy building our pipeline again, I will let you guys know shortly
Hello everyone,
I hope that we can get a speedy resolution on this issue, clearly its an issue on your side abp.io because we had successful builds the entire time without any issues.
We have deployments that need to be executed and this is causing a delay within our sprints.
Please see the urgency in this issue.
Hi, we are currently working on that, I'll update you soon.
Hello @EngincanV
Thank you very much, I appreciate that
Hello everyone,
I hope that we can get a speedy resolution on this issue, clearly its an issue on your side abp.io because we had successful builds the entire time without any issues.
We have deployments that need to be executed and this is causing a delay within our sprints.
Please see the urgency in this issue.
The Azure pipeline uses the NuGet.config file provided in our project, which only includes api.nuget.org and nuget.abp.io. This issue starts to occur after midday. On my local development machine, when I try to list nuget.abp.io packages, the IDE asks for a username and password.
@abodur, the same happened on our side, it randomly occurred, and we cannot be the only people experiencing this issue though, there must be more, because the 403 Forbidden error only occurs on the @Volo packages
I have a longer list but just adding one here for context:
C:\a\1\s\xxx\src\xxx.HttpApi\xxx.HttpApi.csproj : error NU1301: Failed to retrieve information about 'Volo.Abp.TextTemplating.Scriban' from remote source 'https://nuget.abp.io/***/v3/package/volo.abp.texttemplating.scriban/index.json'. [C:\a\1\s\xxx\xxx.sln]
So I am seeing three sources.