OData / lab

This repository is for exploring new ideas and developing early prototypes of various OData stacks.
Other
48 stars 59 forks source link

Connected Service - Compiled proxy very large #44

Open uffelauesen opened 7 years ago

uffelauesen commented 7 years ago

If you have a large model you end up with a very large compiled assembly. This is primarily due to the inclusion of a static string with the emdx in string format. In our scenario (we have around 400 different types) we end up with an assembly ~20MB in size. Simply removing the string version of the model and instead load it runtime reduces our proxy assembly to a more reasonable size of ~2MB.

It would be nice to have an option to exclude the static model and instead inject code for loading it runtime.