Mittwoch, 21. Oktober 2009

Vorsicht - Attention

Vorsicht zu dem Beitrag zuvor. Wenn man dann Werte ausliest aus dem HiddenField, sollte man bzgl. SQL injection oder codegefährdeten Elementen die Werte validieren. Denn im Grunde wäre es ein sehr leichtes, Werte abzuändern und damit Schaden zu verursachen. Ist eine gute Methode, aber mit Vorsicht zu geniessen, wie alles was mit JavaScript zu tun hat.

Attention to the post before. When reading out values from the HiddenField, you should be aware of sql injection or code harming elements. That means validate the values read out. Basically it would be very easy to manipulate the values and harm your application. The described method is a good one, but take care, like you always should, when working with javascript.

Dienstag, 13. Oktober 2009

Javascript & .NET

Dieser Post ist nur ein kleiner Tipp, für alle, die sich mit Javascript Cookies schwer tun und gerne Javascript mit .Net Technologie verbinden. I hatte die Aufgabe in einer Applikation im Front-End viel Javascript zu verwenden und es anschliessend im Back-End zu verarbeiten und das über mehrere Postbacks. Meine Lösung war, Werte des Javascripts in einem .Net hidden-field zu speichern, dann über .Net auszulesen und weiterzuverarbeiten, sei es in einer Session, bzw. Datenbank. Somit erreicht man viel clientseitige Funktionalität ohne .Net Postbacks, mit .Net Vorzügen bei einem Postback.

This post is just a little hint for all people, who find javascript cookie handling hard to do and would like to combine it with .Net technology. My job was to include into the front-end a lot of javascript and then working with it in the back-end through multiple post-backs. My solution was, to store the javascript values in a .Net hidden-field and then to read it out through the .Net technology to proceed in storing in a database or session. The pro of this way is, that you have a lot of client-side functionality without .Net post-backs, with the advantage of .Net when performing a post-back.

Umbraco certified


Nachdem ich jetzt 3 Jahre mit Umbraco arbeite und schon den Level 2 Kurs besuchte, habe ich die Zertifizierung gemacht und darf mich ab nun "Umbraco Certified Professional" nennen. Zertifizierung beinhaltete Level 1 und 2.
After working with Umbraco for 3 years and participating in the level 2 course, I decided to do the certification and can call myself now an "Umbraco Certified Professional". My certification was level 1 and 2.