May 2007 - Posts

30 May 2007
Microsoft surface
wow ! Read More...
Filed under:
30 May 2007
Cool post on using WCF and NHibernate
Great piece of work which you can read here . Read More...
Filed under:
29 May 2007
Siverlight: loading XAML files
Currently, we're limited in the ways we can open XAML files. Even though there's a File API on the mini-CLR platform that is used by Silverlight alpha, most of its methods are marked as SafeCritical, which means you can't just call them from your code. This isn't really a big issue if... Read More...
Filed under:
29 May 2007
Submiting a form from a silverlight page
If you're using Silverlight 1.1 alpha, you might need to submit a form from your silvelright page's codebehind file. You can do this easily by calling the static method Submit exposed by the HtmlPage class. It's as simple as doing this: HtmlPage.Submit(); There's also an override which... Read More...
Filed under:
28 May 2007
Oleg has relelase Iron XSLT
Looking for some improvement on VS for handling XSLT code? Look no further! Oleg has built a VS plugin that provides better integration with XSLT. And it's free! Go get it here . Read More...
Filed under:
23 May 2007
Adding ellipsis to your Silverlight TextBlocks
Suppose you have a TextBlock and you need to make sure that its content isn't "cropped". In fact, what you'd like is to have "..." automatically appended to the portion of text that is shown to the user. Here's a method that does that: private static string GetStringWithEllipsis... Read More...
Filed under:
22 May 2007
Creating a photo album at flickr
yeah, I've finally did it ...and the stars are my cats! I'll be uploading more pics in a near future :) Read More...
Filed under:
22 May 2007
ASP.NET future bits: the Media server control
I'm just putting this here for the sake of completeness (since I'm trying to run through all the new features added by the future bits). I'm only willing to say that it's based on the new Xaml server (and you know that i'm not happy with the Xaml control, right?)... Read More...
Filed under:
22 May 2007
Calling your WCF web service from an ASP.NET AJAX page
The 3.5 beta version of the .NET platform lets us use JSON as the serialization format used by a web service call. The best of all is that this means that we can now call a web service from an ASP.NET AJAX page. To do this, you need to add some entries to your configuration file (on the server side)... Read More...
Filed under: ,
21 May 2007
ASP.NET future bits: the Xaml server control
In one word: needs improvements! If you use this control, you'll be able to insert a Silverlight control in your page. As you might expect, the server control lets you parameterize several of the properties of the Silverlight control. However, it'll generate an object or embedded tag (depends... Read More...
21 May 2007
Dynamic data pages: exposing your data through RSS feeds
The DynamicRssLink control generates a link that you can put in your page and that is responsible for initiating the automatic generation of an RSS feed that you may consume on your blog reader. By default, the control generates an Hyperlink control. Following the same principles explained here , you... Read More...
Filed under:
21 May 2007
Dynamic data pages: showing different views of your data
As we've seen, by default pages must have the same name as the table from which it gets the data that it presents to the user. And what if you want to supply several views of your data? Or if you don't really want to expose your table? In that case, you must change some of the attributes presented... Read More...
Filed under:
21 May 2007
Dave and how to call JS from C#
Dave has a nice post showing how to call JS methods from C#. As I've also said in the past , it's not really complicated, though I still don't like it very much. Why don't I like it? well, simply because it seems like one can't hook up several methods to handle the event (which really... Read More...
Filed under:
20 May 2007
Sidebar gadget bug list
Jon Abbot has a list with several know bugs (with code that reproduces those problems) here . Very cool resource. Just wish that there was a similar one for silverlight. Read More...
Filed under:
19 May 2007
Creating a new Storyboard dynamically
In the last day, I've found another quirk with the current 1.1 alpha release of Silverlight. Normally, you create an animation with markup code (ie, XAML). However, I wanted to use C# code and wanted to be able to create a new storyboard dynamically. After reading the docs, I thought that I should... Read More...
Filed under:
19 May 2007
Still about Petzold's book
It seems like Jeff's post 's ripples haven't stopped yet. Today, I've read Eric's post on the subject. Even though he's really a smart guy, I think that this time he's wrong. According to his post , Petzold's book will give you a deep understanding of WPF. Well, as I've... Read More...
Filed under:
19 May 2007
Building my first Silverlight sidebar gadget
well, almost, that is. And what a ride it was, letting me get some important info on several aspects related with C# coding and Javascript interop. First, I'd like to thank Bruce Williams for providing the answer for the issue related with running Silverlight on my 64 bits machine : the problem is... Read More...
18 May 2007
Dynamic data pages: listing your tables and views
The DynamicNavigator control does what its name tell you: it'll build you a list that lets you navigate to pages that show your table's data. As you might expect, the control will use an ASP.NET UI control (in this case, a Menu) to list the tables/views presented on your db. It's important... Read More...
Filed under:
17 May 2007
Silverlight 1.1 layout system and controls framework
Dave Relyea has just published a framework with several controls . Go get them! Read More...
Filed under:
17 May 2007
Calling javascript methods from your Silverligh app
Well, sort of. To be able to do this, there are some prerequisites: The Canvas type must be annotated with the ScriptableAttribute; You must expose an event which the js code on the page should handle; You must register your control with the WebApplication object by calling the RegisterScriptableObject... Read More...
Filed under:
More Posts Next page »