Saturday, October 15. 2011
Web Application Security with ... Posted by Christian in ASP.NET (English) at 14:04
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
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
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
Within this block, we define our extensions method. This is done by adding an entry to the
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
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
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
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
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
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"
Wednesday, April 1. 2009
TechDays: Fixing Ajax Applications Posted by Christian in ASP.NET (English) at 09:02
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
Friday, January 9. 2009
Windows 7 Beta Available for Download Posted by Christian in ASP.NET (English) at 18:35
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?
Monday, August 11. 2008
Visual Studio 2008 Service Pack 1 ... Posted by Christian in ASP.NET (English) at 19:12
Just a quick note that Service Pack 1 for Visual Studio 2008 (and for TFS, too) has been released for MSDN subscribers. Enjoy!
Update: The Service Pack is now also available on Microsoft downloads:
Another important note for Silverlight 2 Beta 2 users: In order to be able to use the Silverlicht 2 Beta 2 Tools for Visual Studio 2008, you need to upgrade them after the SP1 installation if a previous Silverlight tools version is already installed. Microsoft released a new version yesterday.
Thursday, July 17. 2008
Silverlight 2 Beta 2 Update Posted by Christian in ASP.NET (English) at 10:55
It's been a few week since Silverlight 2 beta 2 has been released. Yesterday, Microsoft released a critical update for Silverlight 2 beta 2 which is also distributed via Microsoft Update. The update promises to improve Firefox 3 compatibility, and also mentions streaming and stability. However the most interesting aspect is that the auto-update component has been worked on. The release notes do not state exactly what that means, but I think I know what it is: After installing the update, AutoUpdate can actually be enabled; the original version of Silverlight 2 beta 2 had this option greyed out. This suggests that new versions should be expected in the forseeable future
Saturday, June 7. 2008
Silverlight 2 Beta 2 Released Posted by Christian in ASP.NET (English) at 10:15
Just a quick note that Silverlight 2 Beta 2 has been released. It includes a commercial go-live license, if you are brave enough and forget what happened to Atlas' go-live license Microsoft published the Beta 2 runtime and VS 2008 tools downloads, including a new Blend 2 preview release. There is also a list of breaking changes between beta 1 and beta 2. As you would expect, news on Essential Silverlight 2 Up-to-Date will follow shortly.
Thursday, May 15. 2008
First Moonlight Release (Source Code ... Posted by Christian in ASP.NET (English) at 13:20
Just a quick note that the Mono project has unveiled their first (source code only) release of Moonlight, their Silverlight clone. More in the announcement.
Wednesday, March 12. 2008
Two Silverlight 2 for Mac OS X Gotchas Posted by Christian in ASP.NET (English) at 09:30
Two things I recently found out. They may be old news, but hopefully they are useful for some people anyway:
Monday, March 10. 2008
Essential Silverlight 2 Beta 1 Downloads Posted by Christian in ASP.NET (English) at 15:36
[Note: Repost of this entry on InsideRIA.com]
At MIX08 in Las Vegas, Microsoft announced and released a couple of new products, including Beta 1 of Silverlight (and O'Reilly announced and released Essential Silverlight 2 Up-to-Date). Silverlight, however, comes in several downloads, and it is a bit difficult to keep track of all of them, so we'll have a look at what you can and what you should download.
From a developer's point of view, you will want to use Visual Studio 2008 to create Silverlight content. Visual Studio 2008 is not free (the free Express Editions do not suffice here), so there is no download link, however if you have an MSDN subscription you have access to the IDE at http://msdn.microsoft.com/subscriptions/. Then, the best option is to install the Microsoft Silverlight Tools Beta 1 for Visual Studio 2008 package. It integrates into Visual Studio 2008 and installes the following software, most of which would also be available in a separate package:
After installation, you will have a new Start menu entry for the SDK, Visual Studio 2008 will provide project and web site templates for Silverlights, and your installed web browsers (currently Internet Explorer and Firefox are supported) will be able to display Silverlight content.
A bit hidden, but nevertheless very useful, is a CHM (Compiled HTML Help) file with loads of documentation. It is about 40MB in size, so you will find a wealth of information there. So download the Microsoft Silverlight 2 Software Development Kit Beta 1 Documentation and place the CHM file inside the ZIP archive to a place where it is easily accessibly for you.
Finally, if you are curious how Microsoft implemented the various controls that come with Silverlight, have a look at the source code and unit tests available for them.
If you are designer, you might be interested in the visual tools provided for Silverlight. You may already know Microsoft Expression Blend, the tool to create WPF (Windows Presentation Foundation) applications. A beta version of Expression Blend 2 allows to create Silverlight 1 content. An upcoming version of Blend will also support Silverlight 2. If you want to have a sneak peak of that, have a look at the Microsoft Expression Blend 2.5 March 2008 Preview. There, you will find two project templates related to Silverlight: one for version 1, and one for version 2.
Thursday, March 6. 2008
Announcing Essential Silverlight 2 ... Posted by Christian in ASP.NET (English) at 09:54
Yesterday at MIX '08, Microsoft announced a couple of new products, including Internet Explorer 8 Beta 1, Silverlight 2 Beta 1, Expression Blend 2 Beta, and Expression Blend 2.5 March 2008 Preview.
Shorly before that, O'Reilly hosted a VIP meeting and announced Essential Silverlight 2 Up-to-Date. Here's the official blurb:
Design rich Internet applications (RIAs) for the Web using Silverlight 2, the latest version of Microsoft's hot new runtime application -- without waiting for the official release. With this unique new book, you not only get a concise, easy-to-understand introduction to Silverlight 2, but thorough coverage of the CTPs, betas, and RTM releases as they become available. Once you buy the book, you'll receive printed pages on all the revisions to Silverlight that you can insert right into the book's unique binder format.
In other words: Although Silverlight 2 might drastically change prior to its final release, the book will stay up-to-date. The edition published (and available) at MIX covers the current Beta 1 release and will be updated soon. We plan to release updates whenever a new interim release comes up. Once Silverlight 2 goes final, we update the book one more time. Then, it will also be available as a regular paperback book.
I am very excited to be part of this project. Getting the book done by MIX was an extreme challenge, and would not have been possible without the support of the O'Reilly staff (especially Laurel Ruma and John Osborn), and supportive people inside Microsoft (especially Scott Guthrie, Brian Goldfarb, and Chung Webster). Also thanks to Arrabiata Solutions's beta customers that were brave enough to invest in a pre-release technology.
So if you are at MIX, come by the O'Reilly booth and have a look at the book; if is of course also available via the O'Reilly store and also at traditional booksellers.
Monday, February 18. 2008
Pimpin' the Market Share Posted by Christian in ASP.NET (English) at 09:41
Seems that Silverlight got its own category on Microsoft Update. Currently, the Silverlight runtime is listed as an optional update. Interesting ...
click for a larger image
Friday, January 18. 2008
Silverlight Source Will Be Released Posted by Christian in ASP.NET (English) at 19:28
Everybody noticed that Scott Guthrie announced the availability of the .NET Framework Library source code, but almost unnoticed went this comment:
Yes - we'll be releasing the source and enabling debugging for the Silverlight libraries as well once they ship.
However I think Scott only means the Silverlight libraries used to build and compile Silverlight 2.0 applications, not the browser plugin.