We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm using the [BasicAspNetCoreApplication] template to get started, but I want to use it in conjunction with [Auto Api] in this template,
I added the following code, but it doesn't seem to take effect
AppModule
public override void ConfigureServices(ServiceConfigurationContext context) { Configure<AbpAspNetCoreMvcOptions>(options => { options.ConventionalControllers.Create(typeof(AppModule).Assembly); }); }
and i add a TestAppService in root path
TestAppService
public class TestAppService : ApplicationService { [HttpGet] public int Get() { return 0; } [HttpPost] public int Post() { return 0; } [HttpPut] public int Put() { return 0; } [HttpDelete] public int Delete() { return 0; } }
Here are my dependence, what else do I need to do?
<ItemGroup> <PackageReference Include="Swashbuckle.AspNetCore" Version="6.6.2" /> <PackageReference Include="Volo.Abp.AspNetCore.Mvc" Version="7.2.2" /> <PackageReference Include="Volo.Abp.Autofac" Version="7.2.2" /> </ItemGroup>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'm using the [BasicAspNetCoreApplication] template to get started, but I want to use it in conjunction with [Auto Api] in this template,
I added the following code, but it doesn't seem to take effect
AppModule
and i add a
TestAppService
in root pathHere are my dependence, what else do I need to do?
The text was updated successfully, but these errors were encountered: