CSharpForFun/.git
10 years agoWeatherInformation WP8: city and country by default.
gu.martinm@gmail.com [Sat, 16 Aug 2014 21:32:51 +0000 (23:32 +0200)]
WeatherInformation WP8: city and country by default.

Default values: City not found/Country not found

10 years agoWeatherInformation WP8: remove useless code.
gu.martinm@gmail.com [Sat, 16 Aug 2014 20:32:51 +0000 (22:32 +0200)]
WeatherInformation WP8: remove useless code.

10 years agoWeatherInformation WP8: GetGeopositionAsync 10 secs cache.
gu.martinm@gmail.com [Sat, 16 Aug 2014 20:31:00 +0000 (22:31 +0200)]
WeatherInformation WP8: GetGeopositionAsync 10 secs cache.

10 years agoWeatherInformation WP8:
gu.martinm@gmail.com [Sat, 16 Aug 2014 20:19:42 +0000 (22:19 +0200)]
WeatherInformation WP8:

Weather pictures plus UTC time instead of local time.

10 years agoWeatherInformation WP8: global data LOCK
gu.martinm@gmail.com [Sat, 16 Aug 2014 07:48:13 +0000 (09:48 +0200)]
WeatherInformation WP8: global data LOCK

Setting/getting global data from different thread. Requires lock
statement.

10 years agoWeatherInformation WP8: remove WasThereRemoteError
gu.martinm@gmail.com [Sat, 16 Aug 2014 07:25:41 +0000 (09:25 +0200)]
WeatherInformation WP8: remove WasThereRemoteError

If there was an error we will have exception, we do not need that
property.

10 years agoRemoteAgents WP8
gu.martinm@gmail.com [Fri, 15 Aug 2014 22:15:24 +0000 (00:15 +0200)]
RemoteAgents WP8

Using ConfigureAwait(true) (it is the default value) just
when I want to update the UI.

10 years agoJSONRPC4NET: ConfigureAwait(fals)
gu.martinm@gmail.com [Fri, 15 Aug 2014 22:12:25 +0000 (00:12 +0200)]
JSONRPC4NET: ConfigureAwait(fals)

APIs should always use ConfigureAwait(false). Upper layers
decide what context to use for returning data (the calling context
or a different one)

10 years agoWeatherInformation WP8
gu.martinm@gmail.com [Fri, 15 Aug 2014 21:25:10 +0000 (23:25 +0200)]
WeatherInformation WP8

Using ConfigureAwait(false) for async methods.
Updates in database.

10 years agoWeatherInformation WP8: database access improvements
gu.martinm@gmail.com [Fri, 15 Aug 2014 10:44:20 +0000 (12:44 +0200)]
WeatherInformation WP8: database access improvements

10 years agoWeatherInformation WP8: many improvements
gu.martinm@gmail.com [Mon, 11 Aug 2014 22:49:59 +0000 (00:49 +0200)]
WeatherInformation WP8: many improvements

10 years agoWeatherInformation WP8: trying to to work with database
gu.martinm@gmail.com [Sun, 10 Aug 2014 23:12:04 +0000 (01:12 +0200)]
WeatherInformation WP8: trying to to work with database

10 years agoWeatherInformation WP8: grid instead of stackpanel
gu.martinm@gmail.com [Sun, 10 Aug 2014 09:08:23 +0000 (11:08 +0200)]
WeatherInformation WP8: grid instead of stackpanel

10 years agoWeatherInformation WP8: map improvements
gu.martinm@gmail.com [Tue, 5 Aug 2014 23:56:48 +0000 (01:56 +0200)]
WeatherInformation WP8: map improvements

(and many doubts/TODOs)

10 years agoWeatherInformation WP8
gu.martinm@gmail.com [Mon, 4 Aug 2014 23:04:06 +0000 (01:04 +0200)]
WeatherInformation WP8

No way of moving temporary file atomically with IsolatedStorageFile

Sucks!!!

10 years agoWeatherInformation WP8: using temporary file
gu.martinm@gmail.com [Mon, 4 Aug 2014 22:12:50 +0000 (00:12 +0200)]
WeatherInformation WP8: using temporary file

Hopefully NTFS rename atomic.

10 years agoWeatherInformation: WP8
gu.martinm@gmail.com [Sun, 3 Aug 2014 22:25:09 +0000 (00:25 +0200)]
WeatherInformation: WP8

HTTP client improvements
Many others (no time...)

10 years agoWindowsPhone 8: WeatherInformation
gu.martinm@gmail.com [Sun, 3 Aug 2014 13:23:35 +0000 (15:23 +0200)]
WindowsPhone 8: WeatherInformation

Improvements

10 years agoWindowsPhone8 WeahterInformation no time for comments
gu.martinm@gmail.com [Thu, 31 Jul 2014 23:00:14 +0000 (01:00 +0200)]
WindowsPhone8 WeahterInformation no time for comments

10 years agoWeatherInformation: no time for comments
gu.martinm@gmail.com [Tue, 29 Jul 2014 22:25:24 +0000 (00:25 +0200)]
WeatherInformation: no time for comments

10 years agoWeatherInformation improvements stored data
gu.martinm@gmail.com [Mon, 28 Jul 2014 23:35:28 +0000 (01:35 +0200)]
WeatherInformation improvements stored data

10 years agoWeatherInformation: SelectedDatePage
gu.martinm@gmail.com [Mon, 28 Jul 2014 00:41:05 +0000 (02:41 +0200)]
WeatherInformation: SelectedDatePage

10 years agoWeatherInformation: current weather
gu.martinm@gmail.com [Sun, 27 Jul 2014 16:40:05 +0000 (18:40 +0200)]
WeatherInformation: current weather

10 years agoWeatherInformation: current weather page
gu.martinm@gmail.com [Mon, 21 Jul 2014 01:13:11 +0000 (03:13 +0200)]
WeatherInformation: current weather page

10 years agoWindowsPhone WeatherInformation
Gustavo Martin [Sun, 13 Jul 2014 07:02:18 +0000 (09:02 +0200)]
WindowsPhone WeatherInformation

10 years agoMerge branch 'master' of https://github.com/gumartinm/CSharpForFun
Gustavo Martin [Sat, 12 Jul 2014 10:06:58 +0000 (12:06 +0200)]
Merge branch 'master' of https://github.com/gumartinm/CSharpForFun

10 years agoWeatherInformation: save App status
Gustavo Martin [Sat, 12 Jul 2014 10:06:16 +0000 (12:06 +0200)]
WeatherInformation: save App status

10 years agoRetrieve available memory from system.
gu.martinm@gmail.com [Wed, 9 Jul 2014 12:58:03 +0000 (14:58 +0200)]
Retrieve available memory from system.

10 years agoMerge branch 'master' of https://github.com/gumartinm/CSharpForFun
gu.martinm@gmail.com [Wed, 9 Jul 2014 05:25:13 +0000 (07:25 +0200)]
Merge branch 'master' of https://github.com/gumartinm/CSharpForFun

10 years agoQuick implementation of free UNIX command
gu.martinm@gmail.com [Wed, 9 Jul 2014 05:24:38 +0000 (07:24 +0200)]
Quick implementation of free UNIX command

10 years agoWeatherInformation:
Gustavo Martin [Tue, 8 Jul 2014 04:58:53 +0000 (06:58 +0200)]
WeatherInformation:

Preserving state (pages and application)

See: http://msdn.microsoft.com/en-us/library/windowsphone/develop/ff967548(v=vs.105).aspx
     http://msdn.microsoft.com/en-us/library/windowsphone/develop/ff967547(v=vs.105).aspx

10 years agoscrollviewer settings page
Gustavo Martin [Sun, 6 Jul 2014 18:18:01 +0000 (20:18 +0200)]
scrollviewer settings page

10 years agoRetrieve city and country from location.
Gustavo Martin [Sun, 6 Jul 2014 16:57:42 +0000 (18:57 +0200)]
Retrieve city and country from location.

10 years agoWindowsPhone WeatherInformation
Gustavo Martin [Sat, 5 Jul 2014 10:14:38 +0000 (12:14 +0200)]
WindowsPhone WeatherInformation

Retrieving remote JSON data

10 years agoMerge branch 'master' of https://github.com/gumartinm/CSharpForFun
Gustavo Martin [Thu, 3 Jul 2014 05:40:03 +0000 (07:40 +0200)]
Merge branch 'master' of https://github.com/gumartinm/CSharpForFun

10 years agoSettingsPage working just with XAML
Gustavo Martin [Thu, 3 Jul 2014 05:38:56 +0000 (07:38 +0200)]
SettingsPage working just with XAML

10 years agousing statement, try-with-resources C# style
gu.martinm@gmail.com [Thu, 3 Jul 2014 05:09:48 +0000 (07:09 +0200)]
using statement, try-with-resources C# style

10 years agoTry-With-Resources C# (using statement thoughts)
gu.martinm@gmail.com [Wed, 2 Jul 2014 11:00:43 +0000 (13:00 +0200)]
Try-With-Resources C# (using statement thoughts)

10 years agousing statement C# (try with resources Java)
gu.martinm@gmail.com [Wed, 2 Jul 2014 07:53:13 +0000 (09:53 +0200)]
using statement C# (try with resources Java)

10 years agoMerge branch 'master' of https://github.com/gumartinm/CSharpForFun
gu.martinm@gmail.com [Mon, 23 Jun 2014 18:45:54 +0000 (20:45 +0200)]
Merge branch 'master' of https://github.com/gumartinm/CSharpForFun

10 years agoEmbedded Mono: test
gu.martinm@gmail.com [Mon, 23 Jun 2014 18:44:56 +0000 (20:44 +0200)]
Embedded Mono: test

10 years agoWeahterInformation WP8:
Gustavo Martin [Sun, 22 Jun 2014 07:05:17 +0000 (09:05 +0200)]
WeahterInformation WP8:

1. Settings page.
2. Default language english.
3. Using MAT (Multilingual App Toolkit)

10 years agoWorking on WP8 WeatherInformation
Gustavo Martin [Wed, 18 Jun 2014 05:01:02 +0000 (07:01 +0200)]
Working on WP8 WeatherInformation

10 years agoWeatherInformation: using Windows Phone toolkit
Gustavo Martin [Tue, 17 Jun 2014 05:04:36 +0000 (07:04 +0200)]
WeatherInformation: using Windows Phone toolkit

10 years agoCollation project for Windows8 and Mono
Gustavo Martin [Mon, 16 Jun 2014 07:29:38 +0000 (09:29 +0200)]
Collation project for Windows8 and Mono

10 years agoCollation: different results between Java and Mono WTF!!!
gu.martinm@gmail.com [Mon, 16 Jun 2014 00:56:48 +0000 (02:56 +0200)]
Collation: different results between Java and Mono WTF!!!

10 years agoTrying to understand collations in C#. So far, doing bad :/
gu.martinm@gmail.com [Mon, 16 Jun 2014 00:23:08 +0000 (02:23 +0200)]
Trying to understand collations in C#. So far, doing bad :/

10 years agoWARNING!!! Deadlocks when using Task.WaitAll and async methods.
gu.martinm@gmail.com [Sun, 15 Jun 2014 17:45:51 +0000 (19:45 +0200)]
WARNING!!! Deadlocks when using Task.WaitAll and async methods.

10 years agoTrying to change the windows console encoding. I give up.
Gustavo Martin [Tue, 10 Jun 2014 04:31:56 +0000 (06:31 +0200)]
Trying to change the windows console encoding. I give up.

10 years agoTrying to use UTF8 in Windows console. I give up.
Gustavo Martin [Tue, 10 Jun 2014 04:27:17 +0000 (06:27 +0200)]
Trying to use UTF8 in Windows console. I give up.

10 years agoProcess launcher: comments and some improvements
gu.martinm@gmail.com [Mon, 9 Jun 2014 18:29:44 +0000 (20:29 +0200)]
Process launcher: comments and some improvements

10 years agoWeatherInformation: settings pages
Gustavo Martin [Mon, 9 Jun 2014 06:24:14 +0000 (08:24 +0200)]
WeatherInformation: settings pages

10 years agoProcess launcher, windows version
Gustavo Martin [Mon, 9 Jun 2014 04:56:40 +0000 (06:56 +0200)]
Process launcher, windows version

10 years agoMerge branch 'master' of https://github.com/gumartinm/CSharpForFun
gu.martinm@gmail.com [Sun, 8 Jun 2014 23:25:17 +0000 (01:25 +0200)]
Merge branch 'master' of https://github.com/gumartinm/CSharpForFun

10 years agoProcess launcher example.
gu.martinm@gmail.com [Sun, 8 Jun 2014 23:24:37 +0000 (01:24 +0200)]
Process launcher example.

10 years agoWeatherInformation, Windows Phone 8 implementation
Gustavo Martin [Thu, 5 Jun 2014 05:28:23 +0000 (07:28 +0200)]
WeatherInformation, Windows Phone 8 implementation

10 years agojsonrpc4net: encoding and check status
Gustavo Martin [Wed, 4 Jun 2014 04:36:06 +0000 (06:36 +0200)]
jsonrpc4net: encoding and check status

1. retrieve received encoding from remote answer
   (and use it for local encoding)
2. check HTTP remote response status
   (using HttpResposeMessage.EnsureSuccessStatusCode)

10 years agoHttpClientsExamples: HttpClient for Windows8
Gustavo Martin [Wed, 4 Jun 2014 04:16:06 +0000 (06:16 +0200)]
HttpClientsExamples: HttpClient for Windows8

10 years agoHttpClientsExamples: no time for comments
gu.martinm@gmail.com [Tue, 3 Jun 2014 19:07:31 +0000 (21:07 +0200)]
HttpClientsExamples: no time for comments

10 years agoHttpClientsExamples: working with HttpClient class
gu.martinm@gmail.com [Tue, 3 Jun 2014 08:04:06 +0000 (10:04 +0200)]
HttpClientsExamples: working with HttpClient class

10 years agoHttpClientsExamples: HttpClient WIP
gu.martinm@gmail.com [Mon, 2 Jun 2014 01:35:16 +0000 (03:35 +0200)]
HttpClientsExamples: HttpClient WIP

10 years agoHttpClientsExamples: HttpClient WIP
gu.martinm@gmail.com [Mon, 2 Jun 2014 01:30:53 +0000 (03:30 +0200)]
HttpClientsExamples: HttpClient WIP

10 years agoHttpClientsExamples: trying to check HTTP code
gu.martinm@gmail.com [Mon, 2 Jun 2014 01:14:07 +0000 (03:14 +0200)]
HttpClientsExamples: trying to check HTTP code

10 years agoHttpClientsExamples: HttpWebRequest
gu.martinm@gmail.com [Sun, 1 Jun 2014 23:07:28 +0000 (01:07 +0200)]
HttpClientsExamples: HttpWebRequest

10 years agoHttpClientsExamples: be careful with exceptions.
gu.martinm@gmail.com [Sun, 1 Jun 2014 23:04:18 +0000 (01:04 +0200)]
HttpClientsExamples: be careful with exceptions.

using statement, hidden exceptions, Dispose methods, reading API of every method and
vexing exceptions.

10 years agoHttpClientsExamples: working on HttpWebRequestExample
gu.martinm@gmail.com [Thu, 29 May 2014 00:43:58 +0000 (02:43 +0200)]
HttpClientsExamples: working on HttpWebRequestExample

10 years agoNo time for comments
gu.martinm@gmail.com [Wed, 28 May 2014 01:51:11 +0000 (03:51 +0200)]
No time for comments

10 years agoWorking on Asynchronous WebClient With Events
gu.martinm@gmail.com [Tue, 27 May 2014 16:01:37 +0000 (18:01 +0200)]
Working on Asynchronous WebClient With Events

10 years agoProjects HttpClientsExamples and Threads: renaming specific files for MonoDevelop...
gu.martinm@gmail.com [Tue, 27 May 2014 08:48:06 +0000 (10:48 +0200)]
Projects HttpClientsExamples and Threads: renaming specific files for MonoDevelop solution.

10 years agoJsonRPC4NET: weird behaviour under WindowsPhone8
Gustavo Martin [Tue, 27 May 2014 05:39:29 +0000 (07:39 +0200)]
JsonRPC4NET: weird behaviour under WindowsPhone8

await HttpClient.PostAsync returns results in the main thread,
it seems as if it is not spawning new thread

10 years agoThreads project: Windows 8 version
Gustavo Martin [Tue, 27 May 2014 04:44:36 +0000 (06:44 +0200)]
Threads project: Windows 8 version

10 years agoHttpClientsExamples: Windows 8 version
Gustavo Martin [Tue, 27 May 2014 04:26:48 +0000 (06:26 +0200)]
HttpClientsExamples: Windows 8 version

10 years ago.NET HTTP client implementations: examples.
gu.martinm@gmail.com [Mon, 26 May 2014 15:12:16 +0000 (17:12 +0200)]
.NET HTTP client implementations: examples.

Trying out the .NET HTTP client implementations that I know (ATM)

10 years agoJsonRPC4NET: TODO, what if HttpContent or HttpResponseMessage is null?
gu.martinm@gmail.com [Mon, 26 May 2014 15:09:39 +0000 (17:09 +0200)]
JsonRPC4NET: TODO, what if HttpContent or HttpResponseMessage is null?

10 years agoJsonRPC4NET: close HttpClient once we have finished using it and not before!!!!
gu.martinm@gmail.com [Mon, 26 May 2014 14:32:52 +0000 (16:32 +0200)]
JsonRPC4NET: close HttpClient once we have finished using it and not before!!!!

10 years agoThreads and C#
gu.martinm@gmail.com [Sun, 25 May 2014 22:40:13 +0000 (00:40 +0200)]
Threads and C#

Chapter 1: ThreadStart and ParameterizedThreadStart

10 years agoThreads and C#
gu.martinm@gmail.com [Fri, 23 May 2014 02:04:48 +0000 (04:04 +0200)]
Threads and C#

http://parallelpatterns.codeplex.com/

Chapter 6: Dynamic Task Parallelism

10 years agoThreads and C#
gu.martinm@gmail.com [Thu, 22 May 2014 18:25:18 +0000 (20:25 +0200)]
Threads and C#

http://parallelpatterns.codeplex.com/

Chapter 4: Parallel Agregation
Chapter 5: Futures

10 years agoMerge branch 'master' of https://github.com/gumartinm/CSharpForFun
Gustavo Martin [Mon, 19 May 2014 05:44:35 +0000 (07:44 +0200)]
Merge branch 'master' of https://github.com/gumartinm/CSharpForFun

10 years agoWindowsPhone: WeatherInformation
Gustavo Martin [Mon, 19 May 2014 05:43:57 +0000 (07:43 +0200)]
WindowsPhone: WeatherInformation

10 years agoThreads and C#
gu.martinm@gmail.com [Sun, 18 May 2014 23:13:46 +0000 (01:13 +0200)]
Threads and C#

http://parallelpatterns.codeplex.com/
Chapter 3 Parallel Tasks

10 years agoThreads and C#
gu.martinm@gmail.com [Sun, 18 May 2014 01:49:11 +0000 (03:49 +0200)]
Threads and C#

http://parallelpatterns.codeplex.com/
Chapter 2: Parallel Loops

10 years agodecimal: never use float/double if decimals are important for you
gu.martinm@gmail.com [Sun, 27 Apr 2014 18:56:18 +0000 (20:56 +0200)]
decimal: never use float/double if decimals are important for you

10 years agoRemove wrong directory
gu.martinm@gmail.com [Fri, 25 Apr 2014 06:43:10 +0000 (08:43 +0200)]
Remove wrong directory

10 years agoMerge branch 'master' of https://github.com/gumartinm/CSharpForFun
gu.martinm@gmail.com [Wed, 23 Apr 2014 07:32:04 +0000 (09:32 +0200)]
Merge branch 'master' of https://github.com/gumartinm/CSharpForFun

10 years agoParsing openweathermap JSON data.
gu.martinm@gmail.com [Wed, 23 Apr 2014 07:31:24 +0000 (09:31 +0200)]
Parsing openweathermap JSON data.

10 years agoC# trying out Collation
gu.martinm@gmail.com [Wed, 26 Mar 2014 19:09:01 +0000 (20:09 +0100)]
C# trying out Collation

10 years agoNo time for comments.
Gustavo Martin [Sun, 9 Mar 2014 19:20:06 +0000 (20:20 +0100)]
No time for comments.

10 years agoNo time for comments.
Gustavo Martin [Sun, 9 Mar 2014 19:08:17 +0000 (20:08 +0100)]
No time for comments.

10 years agoNo time for comments.
gu.martinm@gmail.com [Fri, 7 Mar 2014 23:26:18 +0000 (00:26 +0100)]
No time for comments.

10 years agoJSONRPC4NET: methods with parameters and returning or not values.
gu.martinm@gmail.com [Fri, 7 Mar 2014 02:26:55 +0000 (03:26 +0100)]
JSONRPC4NET: methods with parameters and returning or not values.

10 years agoRename jsonrpc4net.Monodevelop.csproj -> jsonrpc4net.MonoDevelop.csproj
gu.martinm@gmail.com [Wed, 5 Mar 2014 03:42:53 +0000 (04:42 +0100)]
Rename jsonrpc4net.Monodevelop.csproj -> jsonrpc4net.MonoDevelop.csproj

10 years agoRename: jsonrpc4net.Monodevelop.sln -> jsonrpc4net.MonoDevelop.sln
gu.martinm@gmail.com [Wed, 5 Mar 2014 03:38:18 +0000 (04:38 +0100)]
Rename: jsonrpc4net.Monodevelop.sln -> jsonrpc4net.MonoDevelop.sln

10 years agoJSONRPC4NET no time for comments
gu.martinm@gmail.com [Tue, 4 Mar 2014 21:23:49 +0000 (22:23 +0100)]
JSONRPC4NET no time for comments

10 years agoRemoteAgents WP8. Update to new library.
Gustavo Martin [Tue, 4 Mar 2014 07:16:50 +0000 (08:16 +0100)]
RemoteAgents WP8. Update to new library.

10 years agoNLog.config file for RemoteAgents Mono implementation.
gu.martinm@gmail.com [Mon, 3 Mar 2014 23:32:42 +0000 (00:32 +0100)]
NLog.config file for RemoteAgents Mono implementation.

10 years agoThirdParty libraries directory (it should be a git module, WIP)
gu.martinm@gmail.com [Mon, 3 Mar 2014 13:10:17 +0000 (14:10 +0100)]
ThirdParty libraries directory (it should be a git module, WIP)

10 years agoJSONRPC4NET: same project Linux and WP8
gu.martinm@gmail.com [Mon, 3 Mar 2014 13:08:41 +0000 (14:08 +0100)]
JSONRPC4NET: same project Linux and WP8

10 years agojsonrpc4net mono: avoid null return value
gu.martinm@gmail.com [Mon, 3 Mar 2014 00:21:43 +0000 (01:21 +0100)]
jsonrpc4net mono: avoid null return value

10 years agoRemoteAgents Windows Phone .NET trying out remote, log NLog
Gustavo Martin [Sun, 2 Mar 2014 21:31:29 +0000 (22:31 +0100)]
RemoteAgents Windows Phone .NET trying out remote, log NLog

I do not know how to run WCF web services :(