Bra_Apps

Apps mobiles

Our mobiles Apps which was buid on various platforms (Windows Phone and Windows 8, iOS and Android).

See Apps »

BratchedLogoWordpress250x100

Code Source

Technical articles,
source code and feedback on our developments.

See code »

BratchedLogoWordpress250x100

News

News
and information about our activities.

See news »


When profiling a web application I have noticed constant delays of about 200ms on some HTTP calls it was making to an external API. Both the web application and the API were on the same network segment and thus network latency was out of the question. Besides the target API has previously been subject to jMeter load tests and proven to handle 1500req/s. What was even more peculiar in this situation was that only the POST requests were exhibiting this delay. GET requests were pretty fast as expected.

It turned out that those delays were caused by the [...]

Sat, May 17, 2014
Source: dev.bratched.com – en Category: DEV
The Portable Class Library (PCL)

The portable Class library (PCL) will allow us to share a large part of the code across projects.

It is possible for a few years to share the PCL code between projects (Sliverlight and WPF, Windows Phone, Windows 8,…).
More projects are different, the more shared classes decreases.

It is important to see that this Library can be used for projects compatible with the selected options.

Note also the visual studio Express editions do not create a PCL, but instead accepts their use in a project.

This Library may use a library which would not have at least the same options [...]

Sat, May 24, 2014
Source: dev.bratched.com – en Category: DEV

I continue to explore different techniques of displaying images in Windows Phone and this time I will show some possible implementations of fetching them from the web using the HTTP protocol.

Classic implementation:

public static void GethttpImage1(string urlImage, Action action) { var request = (HttpWebRequest)WebRequest.Create(urlImage); request.BeginGetResponse(result => { using (var sr = request.EndGetResponse(result)) { Deployment.Current.Dispatcher.BeginInvoke(() => { var image [...]
Sat, Jun 28, 2014
Source: dev.bratched.com – en Category: DEV