My productivity apps

As for most of us, time is the most precious and scarce resource we have. I am passionate about organizing my time, but I would say that would not be easy without using some very good apps.

Daily tasks

Organizing daily tasks is a crucial activity towards increasing the productivity during the day. My daily tasks do cover all major activities I should perform during the day. As such, I need something which could give me a way to track the activities, track what’s done and what’s pending, as well as separate tasks based on relativity. My favorite app for this is Wunderlist. It is present in all major mobile platforms, as a Windows app as well as from a good web access. It has features like creating lists of tasks, setting reminders, due dates, sub-tasks, and notes on tasks.

Development tasks

When organizing my development tasks, I do use Trello. It offers to create boards of cards, where in a card you can write a simple description, or a detailed checklist of tasks, set due dates, attach files, comment, and share it with others. You can create mini boards within a board, which could make easy to represent the development stages, and move cards from stage to stage to help agile development.

Time tracking

When we work on projects, it is often required to track how much time we spent on a specific project, or a task, I do use Toggl. It is a very simple tool, which is focused on time tracking. It can help also if you use productivity methodologies such as Pomodoro.

Using these apps, I do manage my day to day activities, and would recommend to anyone.

ASP.NET 4.5 & Security Exception

Lately, while trying to put in live a web application to my GoDaddy hosting account, I started to face some errors which were not present at my local development machine. I was receiving Security Exception with a generic error stating no much information to lead me to the correct cause of the error. Then I remembered that GoDadddy has set its security level to Medium Trust. After solving this problem, I thought it would be good to share this so here is my post regarding ASP.NET 4.5 Security Exception.

In order to simulate the environment, I added the following line to my web config file:

<trust level="Medium" />

Immediately, I started to receive the very same error locally. After trying few possible solutions, removed some libraries I was using, I was still receiving the very same error with slight  changes in the stack trace, but still no help.

==============================================================================

Security Exception

Description: The application attempted to perform an operation not allowed by the security policy.  To grant this application the required permission please contact your system administrator or change the application’s trust level in the configuration file.

Exception Details: System.Security.SecurityException: Request for the permission of type ‘System.Security.Permissions.SecurityPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089’ failed.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

==============================================================================

Then I decided to test my solution in an environment with .NET 4.0 (not 4.5 as in my current development machine), and… voi·là, the application was working like a charm.

So, the first time, I really had problem with a library which was not able to perform under medium trust, however, what really mislead me was the Security Exception thrown by .NET 4.5 under medium trust. After a short research, I discovered that this is an issue to many developers and libraries such as DNN, and some others. I hope Microsoft will soon address this.

So  you who use Visual Studio 2012, if you receive Security Exception under medium trust, please try to run your application in an environment with .NET 4.0 to test if the problem is with the .NET itself.

Hope this helps.