Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "jawadsharif"

tried to enable HTTP attribute routing in API module configuration but after that I get exception at application start. please check attached image.

public override void Initialize() { IocManager.RegisterAssemblyByConvention(Assembly.GetExecutingAssembly());

        //Automatically creates Web API controllers for all application services of the application
        DynamicApiControllerBuilder
            .ForAll<IApplicationService>(typeof(SpeedApplicationModule).Assembly, "app")
            .Build();

        <span style="color:#FF0000">Configuration.Modules.AbpWebApi().HttpConfiguration.MapHttpAttributeRoutes();</span>
        Configuration.Modules.AbpWebApi().HttpConfiguration.Filters.Add(new HostAuthenticationFilter("Bearer"));

        ConfigureSwaggerUi(); //Remove this line to disable swagger UI.
    }

i was encountering an issue with bolerplate authentication it was throwing null refference exception in HeaderVieewModel.cs line no 28 in method GetShownLoginName() then i found out that it was due to the same port number of different abp projects and i had user logged in to some other app i tried to change the port of the web project and issue resolved

Do you plan future support for angular js

Showing 1 to 3 of 3 entries