Questions tagged [aot]

In Microsoft Dynamics AX, application objects are defined in the Application Object Tree (AOT) and are instantiated at runtime. The AOT also contains application resources, references, and documentation. This section describes the AOT and its contents, how to use the AOT to define application objects, and how to import and export definitions of application objects.

In Microsoft Dynamics AX, application objects are defined in the Application Object Tree (AOT) and are instantiated at runtime. The AOT also contains application resources, references, and documentation. This section describes the AOT and its contents, how to use the AOT to define application objects, and how to import and export definitions of application objects.

More information on MSDN:

http://msdn.microsoft.com/en-us/library/gg840931.aspx

349 questions
6
votes
2 answers

Angular 5 - Main bundle file is too large on the development server

We are developing an application using Angular 5. After running the ng build --prod --aot and deployed the dist folder to the dev server the main bundle produced 2.2MB on initial load. It's already small compared to 8MB vendor bundle size (when…
Eugene
  • 67
  • 1
  • 2
6
votes
1 answer

Angular 5 and Webpack -- Do I REALLY need it?

I can't figure it out. I use the Angular-CLI to generate my project. when I use ng serve, it defently works great, also the ng build --prod. Why do I need to eject or change the webpack file? is the DEFAULT webpack configuration is enough for…
noririco
  • 765
  • 6
  • 15
6
votes
4 answers

Angular 2 Set APP_BASE_HREF with a value from a Promise / Observable

I try to set the APP_BASE_HREF in the "CoreModule" with a value from a async rest call. I can't see how this is done, because the provide method needs to return a string. for example: @NgModule({ imports: [ ... HttpModule ], …
Kevin Clerc
  • 141
  • 1
  • 2
  • 8
6
votes
0 answers

Angular 4 + AOT compilation with Lazy Load modules + Shared Module

I tried to use AOT compilation in my project, I have 7 modules that are lazy loaded. AOT compilation seems to work (my app is faster), but the size of my app is 1 Mo bigger than without AOT compilation. When I use bundle analyzer plugin to see what…
6
votes
2 answers

AOT Can't resolve all parameters for [...]

First of all, I must say that my app works fine when "using" JIT. I can even bundle in prod (no AOT, just JIT) and it works fine. But when I try to compile it (AOT) using ngc I am getting an error, which says: Can't resolve all parameters for…
Alvaro Contreras
  • 313
  • 3
  • 13
6
votes
1 answer

System.ExecutionEngineException: Attempting to JIT compile method only in Debug Mode on device (MonoTouch)

I have the following method: ApiResponse PostMultipart(string uploadUrl, NameValueCollection formParamters, params UploadFile[] uploadFiles); UploadFile is just a Poco: public class UploadFile { public string FilePath { get; set; } …
asp_net
  • 3,567
  • 3
  • 31
  • 58
5
votes
2 answers

Detecting JITs at compile time in MonoTouch

I'm working on a build system for a fairly large MonoTouch application which is using a lot of cross-platform components. As a result, we often run into a situation where one of those cross-platform components does something that cannot be aot…
David Merriman
  • 6,056
  • 1
  • 18
  • 18
5
votes
2 answers

Error:JIT compilation failed for injectable class PlatformLocation {} while doing AngularJS to Angular 13 migration

Doing migration for application form angularjs to angular v13 right now i'm trying to dual boot the application. and getting the following error in browser console: Uncaught Error: The injectable 'PlatformLocation' needs to be compiled using the JIT…
mandav
  • 51
  • 4
5
votes
3 answers

window.location.origin is null in Angular module

I have an app, and a library, two separate repos. My app consumes my library, and my library contains a service which performs a http request. My app deploys to several environments and I use Angular's environment.ts file to define where the…
ldusoswa
  • 51
  • 3
5
votes
1 answer

Create an Ahead-of-Time (AOT) compiled library to be consumed by Angular applications

I have an Angular 5 library that I expose as a package for other apps to consume from their node_modules. Currently, the app is Just-in-Time(JIT) compiled using rollup and gulp and exported as a package. So developer applications use my package in…
nashcheez
  • 5,067
  • 1
  • 27
  • 53
5
votes
1 answer

Error while using @angular compiler in Angular 5 and AOT-Build

i am using the Angular Compiler to compile components in runtime. This Code works fine, but if I want to use AOT-Prerendering the Component wont work, because Angular does not load the Compiler in AOT-Build. I've read about some Workarounds that…
dindunuffin
  • 123
  • 12
5
votes
2 answers

Maximum call stack size exceeded for build with Angular CLI

I have a large project which was till now running on webpack and all was working well with angular@4.3.3. Today I planned to shift the same to ng-cli to exploit features like universal. Everything is working well and good except when i try to build…
Sumit Agarwal
  • 4,091
  • 8
  • 33
  • 49
5
votes
1 answer

Do short instructions have better performance?

Do I really need to care where it's possible to emit .s instructions? Or will it only affect the size but the real performance will be the same? The generated dll is going to be used also on AOT platforms. Will the resulting AOT-ed dll be the same…
Vlad
  • 3,001
  • 1
  • 22
  • 52
5
votes
1 answer

Is there a way to run with --aot-only on the iOS Simulator with Xamarin.iOS?

When I test my app directly on the device, it crashes because I'm attempting to JIT-compile a method. I know why these crashes occur, I'm just trying to make them appear when I'm testing on the simulator instead. It's much easier than deploying to a…
Louis Boux
  • 1,228
  • 1
  • 12
  • 26
5
votes
0 answers

Is it really a limitation to use interfaces such as IList.someMethod in AOT code?

In the mono project documentation this limitation is outlined: Limitation: Generic Interface Instantiation The following class of interface dispatch is not supported in FullAOT mode: interface IFoo { ... void SomeMethod (); } Since Mono…
Chris Hill
  • 1,914
  • 1
  • 16
  • 24
1 2
3
23 24