Saturday, October 15. 2011
Web Application Security with ... Posted by Christian
in ASP.NET (English) at
14:04
Comment (1) Trackbacks (0) Web Application Security with ASP.NET at DevConnections, Oct 31-Nov 3 in Las Vegas
Once again I'll be speaking at DevConnections this fall. One of my talks will tackle one of my main topics: web application security. I'll cover common (and some uncommon) attacks against web sites, discuss countermeasures and have a close look which safeguards ASP.NET offers, and where developers need to add some security code on their own.
As usual I plan to show a number of code demos, so I thought it would be a nice addition to present a list of important resources for topics I am covering in this session. The list tries to focus only on major sources for each topic, but feel free to use the comments to suggest additional websites. See you in Las Vegas!
Friday, September 30. 2011
Introduction to jQuery Plugin ... Posted by Christian
in ASP.NET (English) at
11:59
Comments (0) Trackbacks (0) Introduction to jQuery Plugin Development at DevConnections, Oct 31-Nov 3 in Las Vegas
Once again I'll be speaking at DevConnections this fall. One of my talks will provide an introduction into jQuery plugin authoring. One of the main features of jQuery is the huge amount of available plugins. Writing such a plugin is not that hard, but there are some common patterns that help you getting started.
I plan on covering a variety of topics, so this posting just gives you a glimpse what's about to come. Be ready to get started with jQuery plugin development in less than a minute! Here we will develop a trivial plugin that provides information about a hyperlink when the user hovers over it with the mouse. We do this by setting the link's title attribute to a text containing the target URL and, if available, the target frame/window. First of all we create a new file, jquery.linkinfo.js. This follows the usual pattern for jQuery plugins. In this file, we include our code. The base structure makes sure that we can access $ from our code, that the code is executed immediately (which in turn defines the method we are writing) and that no global variables remain:Within this block, we define our extensions method. This is done by adding an entry to the $.fn hashtable, like this:Most jQuery methods support chaining, so they need to return a list of the current elements (in form of the usual jQuery "object"). A common approach to ensure this is the following code: We are almost done! Within the each() block, we first access the current element via $(this) - later this will be a link. Then, we set the element's title attribute to text containing of the URL (href attribute) and, if applicable, the target (target attribute). Using this plugin in our code is quite easy: We first load jQuery itself, then the plugin. Finally, a script block accesses all links on the page and executes the linkinfo() method:More on these (and related) topics in Las Vegas - hope to see you there! ![]() ![]() Sunday, September 18. 2011
jQuery for ASP.NET Developers at ... Posted by Christian
in ASP.NET (English) at
17:34
Comments (0) Trackbacks (0) jQuery for ASP.NET Developers at DevConnections, Oct 31-Nov 3 in Las Vegas
Once again I'll be speaking at DevConnections this fall. One of my talks will provide a concise introduction to jQuery for ASP.NET developers. Since Microsoft has embraced jQuery and is shipping it with their Visual Studio templates, a solid understanding of how jQuery works is fundamental for many modern ASP.NET web applications.
I plan on covering a variety of topics, which includes (but is certainly not limited to) the following list.
The following codes sums all up: jQuery is loaded (step 1), and after the DOM is ready (step 2) we access the Label element on the page (step 3). Once the user clicks on it (step 4), we change a CSS property (step 5) and use some other jQuery magic to animate it (step 6).![]() ![]() Hope to see you in Las Vegas! Saturday, July 16. 2011
Google +1 Helper for WebMatrix and Razor Posted by Christian
in ASP.NET (English) at
20:00
Comments (2) Trackbacks (0) Google +1 Helper for WebMatrix and Razor
Early June I released version 0.1.0 of my Google +1 Helper for WebMatrix and Razor. This helper provides easy access to the Google +1 functionality that was released the day before. This page will serve as a documentation placeholder. Have a look at the full post to get more information on the helper; also, feel free to head to the Google +1 Helper NuGet package page and give it a try!
Continue reading "Google +1 Helper for WebMatrix and Razor"
Monday, January 24. 2011Expertenprofil bei itGuide
Wir haben nun ein Profil beim IT-Experten-Portal itGuide, das wir auch als Berater und Dienstleister betreuen:
Hauser & Wenz bei itGuide. Mal sehen, wie viele Rückmeldungen es gibt und wie viele Aufrufe wir bekommen. Itonomy wurde gerade zu itGuide umbenannt und findet sich nun unter neuer Domain: www.itguide.de. Wednesday, December 22. 2010Serendipity 1.5.5 Security Release
The Serendipity project has released version 1.5.5 of their blog system a few hours ago. This is a security release, since there is a 0-day exploit out in the wild that is already used heavily. The security issue allows uploading script code to your server, so in other words: if affected, you are hosed.
If you are using Serendipity you should consider updating as soon as possible. Garvin has more on the issue in the release announcement. Thanks to the Serendipity security team for their prompt actions (as always!), and to Stefan Neufeind for providing logs and insights about how the exploit was used. Wednesday, December 23. 2009
Serendipity Upgrade to v 1.5.x Gotcha Posted by Christian
in PHP at
08:32
Comments (0) Trackback (1) Serendipity Upgrade to v 1.5.x Gotcha
Just a quick note: I just updated Serendipity to version 1.5.1 on one of our servers; yet afterwards I could not log in anymore. Also, Serendipity reported that version 1.5.1 was present, although I did not run the update script from the admin console yet. At first I thought I did something wrong, but a s9y forum posting described a similar issue.
The fix was actually quite simple: for some reason—may it be due to my own fault or due to a bug in the upgrade logic—the SQL upgrade script was not run, but Serendipity still thought it had been upgraded already. The file sql/db_update_1.5-alpha1_1.5-alpha2_mysql.sql contains the required SQL commands (in case you are using MySQL). Just remember to replace {PREFIX} with the table prefix you are using (s9y_ in my case):HTH. Once again, Happy Holidays. Sunday, December 13. 2009PHP Advent 2009: JSON Gotchas
Just a quick note that my JSON Gotchas article has just been published. The editors removed the last sentence, so here it is again: Happy holidays everyone!
Tuesday, November 3. 2009Comments (0) Trackbacks (0) video2brain - Jetzt auch im Abo
Ein Hinweis in eigener Sache: Die Kollegen von video2brain, die unter anderem auch ein paar Videotrainings von uns verlegen, haben heute Mittag angekündigt dass die Trainings nun auch in einem Abonnementsmodell veröffentlicht werden. Kurzform: für einen fixen Betrag hat man ein Jahr lang Zugriff auf alle Videotrainings. Hier die Langform auf Basis der Pressemitteilung:
Die ab sofort erhältlichen Trainingsabonnements bieten ein Jahr lang unbeschränkten Zugang zu allen Originaltrainings von video2brain – in komplettem Umfang und mit vollständiger Funktionalität. Mehrmals im Monat kommen neue Trainings hinzu. So können Abonnenten jederzeit und überall ihr Können bedarfsgerecht weiterentwickeln und aktuell halten – mit wertvollem Wissen zu einem günstigen Komplettpreis. Das Trainingsabonnement gibt es in einer Standardvariante mit reiner Online-Verfügbarkeit für 199 Euro sowie in einer Premiumversion mit zusätzlicher Offline-Nutzbarkeit für 299 Euro. Schüler, Studenten, Lehrkräfte und Bildungseinrichtungen erhalten das Standard-Abonnement für 99 Euro. Sunday, November 1. 2009
Wieviel Sinn machen Unit-Tests? Posted by Christian
in ASP.NET (deutsch) at
09:37
Comments (0) Trackbacks (0) Wieviel Sinn machen Unit-Tests?
Am 13. Oktober 2008 haben Peter Bucher und Golo Roden unter dem Titel "Noch Fragen, Bucher? Ja, Roden!" angekündigt, jeweils zum ersten eines jeden Monats einen Kommentar zu einem vorab gemeinsam gewählten Thema verfassen zu wollen. Heute, am 1. November 2009, ist es nun wieder so weit, und das Thema für diesen Monat lautet:
Wieviel Sinn machen Unit-Tests? [Der Anglizismus ist natürlich arg hässlich. Ich kann es aber auf meine Mitstreiter schieben, die sich diese Formulierung haben einfallen lassen.] Die beiden haben mich netterweise gefragt ob ich dieses Mal wieder als "Gast-Mitstreiter" dabei bin, und so haben wir drei uns unabhängig voneinander im Vorfeld unsere Gedanken gemacht, wie wir diesem Thema gegenüberstehen. Peters und Golos Kommentare finden sich zeitgleich in ihren Blogs, folgend nun meine Meinung zu diesem Thema: Continue reading "Wieviel Sinn machen Unit-Tests?" Saturday, August 1. 2009
C# oder VB: Welche Sprache soll ich ... Posted by Christian
in ASP.NET (deutsch) at
09:37
Comments (0) Trackbacks (2) C# oder VB: Welche Sprache soll ich lernen?
Am 13. Oktober 2008 haben Peter Bucher und Golo Roden unter dem Titel "Noch Fragen, Bucher? Ja, Roden!" angekündigt, jeweils zum ersten eines jeden Monats einen Kommentar zu einem vorab gemeinsam gewählten Thema verfassen zu wollen. Heute, am 1. August 2009, ist es nun wieder so weit, und das Thema für diesen Monat lautet:
C# oder VB: Welche Sprache soll ich lernen? Die beiden haben mich netterweise gefragt ob ich dieses Mal als "Gast-Mitstreiter" dabei bin, und so haben wir drei uns unabhängig voneinander im Vorfeld unsere Gedanken gemacht, wie wir diesem Thema gegenüberstehen. Peters und Golos Kommentare finden sich zeitgleich in ihren Blogs, folgend nun meine Meinung zu diesem Thema: Continue reading "C# oder VB: Welche Sprache soll ich lernen?" Wednesday, April 1. 2009
TechDays: Fixing Ajax Applications Posted by Christian
in ASP.NET (English) at
09:02
Comments (0) Trackbacks (0) TechDays: Fixing Ajax Applications
I just finished my Microsoft TechDays presentation (WEB309: Fixing Ajax Applications). Thanks to everybody who attended! This session will be repeated during the day, so if you missed it you still can tune in.
There was a question at the very end on the history hash ASP.NET writes, but I was too slow to answer it before the session room was closed. The EnableSecureHistoryState property may help in the specific situation and lets you at least toggle between a secure and a human-readable format. Monday, January 12. 2009Installing PHP on Windows 7
Microsoft have released the first public beta for their upcoming Windows 7 operating system. To me it looks surprisingly similar to Vista (which is a good thing and a bad thing
Continue reading "Installing PHP on Windows 7" Friday, January 9. 2009
Windows 7 Beta Available for Download Posted by Christian
in ASP.NET (English) at
18:35
Comments (0) Trackbacks (0) Windows 7 Beta Available for Download
Well, kinda. It's true that you can download the first public beta of Windows 7, but even if you passed the very slow "Server too busy" profile.microsoft.com server, there are still chances that you do not get the desired download afterwards, but this message instead ("next business day" is awesome):
![]() A glimpse at the source code reveals interesting insights: Hmmm ... Are they really using SQL Server or maybe rather Access? Saturday, September 20. 2008Flash Camp - Actionscript 3.0
Eine Ankündigung in eigener Sache: Vom 20. bis 24. Oktober halten Christian und ich einen fünftägigen Intensiv-Workshop zu Flash und ActionScript 3.0 in München. Nähere Infos und eine Buchungsmöglichkeit finden sich bei der entwickler akademie.
|
Calendar
QuicksearchSyndicate This BlogCategoriesFriendly BlogsBlog Administration |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||







