Inside of WebApi Project under override Initialize
public override void Initialize()
{
IocManager.RegisterAssemblyByConvention(Assembly.GetExecutingAssembly());
//Automatically creates Web API controllers for all application services of the application
DynamicApiControllerBuilder
.ForAll<IApplicationService>(typeof(ZeroApplicationModule).Assembly, "app")
.Build();
Configuration.Modules.AbpWebApi().HttpConfiguration.Filters.Add(new HostAuthenticationFilter("Bearer"));
//convert Enums to Strings (instead of Integer) globally
Newtonsoft.Json.JsonConvert.DefaultSettings = (() =>
{
var settings = new Newtonsoft.Json.JsonSerializerSettings();
settings.Converters.Add(new Newtonsoft.Json.Converters.StringEnumConverter { CamelCaseText = true });
return settings;
});
ConfigureSwaggerUi(); //Remove this line to disable swagger UI.
}
<cite>hikalkan: </cite> Hi,
I answered this question before here: #1073
Yes he is right, but I made some thing, Which might helpfull for you. [https://goo.gl/Wa8Oyt])
I have a solution, Which is working for me. [https://goo.gl/Wa8Oyt])
That worked, but my modularizatation concept was compermised.
If am not mistaken, I need to download the bootstrap and angular plugin and save it to lib, and then update "ScriptPath.cs" and "AppBundleConfig.cs" accordingly... and then use the directive right......?
If you have any step by step doc it would b great.
GitHub links are showing 404 error