Base solution for your next web application

Activities of "blueoceandev"

I have noticed that in app.component.ts the userNotificationHelper.settingModal is being set in ngOnInit(). This can cause the modal to be set to null on occation depending on how far the view has rendered.. Moving the line to ngAfterViewInit() may remove the risk of the modal not being available.

Howdy, We have a data intensive webjob/commandline that we don't want to hook up to the webservices.. We would like to spin up the "application" and call the service in question so all the DI is in place and such. Does anyone have a sample of how to spin up the application.. I tried to piece it out from test and WebHost but there is a lot going on and I am not quite following along.

Thanks
Josh

Just thinking through optimizations for performance.. is the API stateless? does it derive everything it needs to execute a call just from the headers and body of the call (security, data, etc..)... I am thinking so, but want to confirm before I turn off ARR Affinity in Azure Apps

I am starting work on the mobile portion of our solution.. I have the iOS app starting up and authenticating (literally all I have done was point is update the ApiUrlConfig.DefaultHostUrl to point at our Development instance of our API in Azure). However, on android the app fails to load completely, the splash screen comes up, the application stalls, and then it crashs.. I have attached the android device logger, and get the following exception.

Time Device Name Type PID Tag Message 10-12 19:35:23.544 my_device Error 7061 AndroidRuntime android.runtime.JavaProxyThrowable: Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: . Path '', line 0, position 0. at Newtonsoft.Json.JsonTextReader.ParseValue () [0x002b3] in <d32db49e5e3440729da31845c03ddc3a>:0 at Newtonsoft.Json.JsonTextReader.Read () [0x0004c] in <d32db49e5e3440729da31845c03ddc3a>:0 at Newtonsoft.Json.JsonReader.ReadAndMoveToContent () [0x00000] in <d32db49e5e3440729da31845c03ddc3a>:0 at Newtonsoft.Json.JsonReader.ReadForType (Newtonsoft.Json.Serialization.JsonContract contract, System.Boolean hasConverter) [0x0004a] in <d32db49e5e3440729da31845c03ddc3a>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Boolean checkAdditionalContent) [0x000db] in <d32db49e5e3440729da31845c03ddc3a>:0 at Newtonsoft.Json.JsonSerializer.DeserializeInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00054] in <d32db49e5e3440729da31845c03ddc3a>:0 at Newtonsoft.Json.JsonSerializer.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00000] in <d32db49e5e3440729da31845c03ddc3a>:0 at Newtonsoft.Json.JsonSerializer.Deserialize[T] (Newtonsoft.Json.JsonReader reader) [0x00000] in <d32db49e5e3440729da31845c03ddc3a>:0 at Flurl.Http.Configuration.NewtonsoftJsonSerializer.Deserialize[T] (System.IO.Stream stream) [0x00019] in <aff0d88ab8b34cebbe8ed43b0927d65c>:0 at Flurl.Http.FlurlHttpException+<GetResponseJsonAsync>d__81[T].MoveNext () [0x000ef] in <aff0d88ab8b34cebbe8ed43b0927d65c>:0 `

Again, all I have done to the code that is downloaded from the template is update ApiUrlConfig.DefaultHostUrl to point to our dev API instance in azure, and the code works fine on the iOS emulator.

Is there a specific Android SDK I should be building to ( I have tried, P & 8.1)

Thanks Josh

We are noticed in our automated builds that the "npm run publish" step to build the angular front end is very slow.. Its taking upwards of 15 minutes (usually around 5 minutes). When building locally it looks like maybe the source map generation is the issue... But when I try to avoid source map generation (--no-sourcemap) then the build fails with the following.

Are there any known ways to get that build step sped up?

Showing 1 to 5 of 5 entries