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

Activities of "carlo.benitez"

  • What is your product version? 11.2.1
  • What is your product type (Angular or MVC)? Angular
  • What is product framework type (.net framework or .net core)? .net core

Hi,

I was trying to follow the Power Tools guide in creating a master-details table and keep on encountering an issue where the generated masterDetailChild component does not match the number of arguments for the service proxy.

Error: src/app/main/shipping/routeSchedules/masterDetailChild_Route_routeSchedules.component.ts:108:14 - error TS2554: Expected 6 arguments, but got 5.

108             .getRouteSchedulesToExcel(
                 ~~~~~~~~~~~~~~~~~~~~~~~~~
109                 this.filterText,
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
113                 this.routeId
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
114             )
    ~~~~~~~~~~~~~

  src/shared/service-proxies/service-proxies.ts:10264:216
    10264     getRouteSchedulesToExcel(filter: string | undefined, maxDayOfWeekFilter: number | undefined, minDayOfWeekFilter: number | undefined, accountNumberFilter: string | undefined, routeCodeFilter: string | undefined, routeIdFilter: number | undefined): Observable<FileDto> {
                                                                                                                                                                                                                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    An argument for 'routeIdFilter' was not provided.




× Failed to compile.

Is there a way to add a dropdown in the Rad Tool Entity Generator Interface properties so that the user can select the style of the component to use for the user interface?

Is there a documentation for how the Template files are being used? The developer guide did not explain in detail how to customize or create the template files ("MainTemplate.txt", "PartialTemplates.txt" and "TemplateInfo.txt")

We need to add the EventSourceLogger to our app service. How do we do that in Program.cs file when there is no method AddEventSourceLogger when I tried to call ConfigureLogging? Here is the sample code from Microsoft docs

var webHost = new WebHostBuilder()
        .UseKestrel()
        .UseContentRoot(Directory.GetCurrentDirectory())
        .ConfigureAppConfiguration((hostingContext, config) =>
        {
            var env = hostingContext.HostingEnvironment;
            config.AddJsonFile("appsettings.json", optional: true, reloadOnChange: true)
                  .AddJsonFile($"appsettings.{env.EnvironmentName}.json", 
                      optional: true, reloadOnChange: true);
            config.AddEnvironmentVariables();
        })
        .ConfigureLogging((hostingContext, logging) =>
        {
            // Requires `using Microsoft.Extensions.Logging;`
            logging.AddConfiguration(hostingContext.Configuration.GetSection("Logging"));
            logging.AddConsole();
            logging.AddDebug();
            logging.AddEventSourceLogger();
        })
        .UseStartup<Startup>()
        .Build();

Showing 1 to 4 of 4 entries