"Network Security Access Restrictions in Silverlight 2"-Nerv!

Nur kurz:

To deploy a security policy file on a server for sockets, system administrators need to configure a separate authentication service on port 943 for each IP address that is to provide the policy file definition.

Maah, muss das denn sein?

Quelle: Network Security Access Restrictions in Silverlight 2

 
Programmierung:
verfasst am 01. 03 2009 um 19:55
Kommentare (0)

Argh!

Wenn ihr mal wieder durchdreht, weil ihr über den UrlHelper nicht an eine Url über den Namen einer Route kommt, und die Routen scheinbar auch gar nicht funktionieren… schaut doch einfach mal nach, ob ihr das richtige Routing-Modul verwendet. x_X

<add name="routing" type="Castle.MonoRail.Framework.Routing.RoutingModuleEx, Castle.MonoRail.Framework"/>

Ach,.. die beste Doku zu diesem Modul ist dieser Blogeintrag von Hammett.

 
Programmierung: ,
verfasst am 19. 10 2008 um 14:35
Kommentare (0)

Silverlight 2.0 ist da...

…aber in Opera klappts noch nicht. Gemein!

Silverlight.net - Get started

 
Programmierung:
verfasst am 15. 10 2008 um 17:28
Kommentare (1)

Coding Quiz

Übrigens! Für alle unter euch die gerne programmieren.. auf tutorials.de haben wie ein Coding Quiz laufen!

Aktuell ist Runde 3: BrainScript

Schaut mal rein.. :)

 
Programmierung, Smalltalk: , ,
verfasst am 02. 10 2008 um 21:33
Kommentare (0)

TextFormatter update

9 months ago I presented my TextFormatter Extension. I’ve used it for my posts since then, and I’m very happy with it…

…but one important feature of BlogEngine.net doesn’t work with my textformatter extension so far: trackbacks.

BlogEngine.net searches for a-tags in your posts, and uses them for sending trackbacks. With my extension you have a different markup for your links, so they aren’t recognized.

Now there are 2 approaches to solve this problem:

  1. Change the mechanism used to find links
  2. Add the missing functionality to the extension

The first solution would be the easiest, but has one big problem. The concerned code is located in the core project. So on every update to a newer version of BlogEngine.NET, requires a change in that code. To complex for simple users.

So the second solution is the best one. Most of the needed code is already written by the BlogEngine.NET team, but some of it isn’t reachable from outer code. So some stuff has to be copied, but that’s not so much.

Another update: the extension now uses the extensionmanager. So you don’t have to take a look at the code to change some settings.

Get it here

 
Blog, Programmierung: , ,
verfasst am 04. 08 2008 um 18:39
Kommentare (0)

Just released: mail2blog Extension

Its late.. I need some sleep.. so just a few words:

Have fun with it. :D

Mail2Blog Extension v0.1 - 21. June 2008

As every extension it’s released under the Ms-PL

For usage informations, installation notes and so on, take a look into the readme.txt in the zip file…

Later I will create a page for the extension, where I’ll put those informations too, but now I have to go to bed. :D

Oh.. and.. I have used this extension several times on this blog and it worked without problems, but the released one is a little bit pimped up.. So there could be some bugs, or other crazy things. Please inform me about weird behaviour. :)

Mhm.. and you need a current version of BlogEngine.net (at least with this extensionmanager thing..) and it would be fine when you’re able to do some changes to the code of BlogEngine.net. (Reason is explained in the readme file, and here is some explanation too )

And now.. good night. :)

whoops..I forgot to mention how to write an email to your blog:

Just write a normal email to the configured email address, but some special information in the subject:

[BLOG] *these are tags* #these are categories# ‘i am the author’ “this is the subject of the posting”

The [BLOG] part is needed, but can be configured to some other text. (Called prefix on the configure page) Then you have a tag and a category list. You can specify the author, and the subject. These infos are recognized by the characters surrounding the information. So remember:

* -> surrounds tags
# -> surrounds categories
’ -> surrounds the author name
” -> surrounds the title

None of them are required infos, except the prefix part. ([BLOG] in the example above..)

Update 3. July 2008: Here is the patched core dll to use with the mail2blog extension. It’s the code from the official 1.4 release but with the 2 modifications needed.

 
Blog, Programmierung: ,
verfasst am 21. 06 2008 um 04:10
Kommentare (8)

Grad gefunden - Datejs

Datejs is an open-source JavaScript Date Library.

Comprehensive, yet simple, stealthy and fast. Datejs has passed all trials and is ready to strike. Datejs doesn’t just parse strings, it slices them cleanly in two.

Datejs

 
Programmierung, Software: ,
verfasst am 05. 02 2008 um 12:08
Kommentare (0)

JavaScript ist ja schon fein

So, damit ich auch mal wieder was (sinnvolles) Blogge…

Für gewisse Bereiche hab ich ja schon in den letzten Monaten vermehrt JavaScript eingesetzt, und fands recht cool was man damit feines erstellen kann. Das JavaScript im Browser einiges kann, sollte man ja schon wissen. Vorallem seit eine im Web sehr präsente Firma unmengen an Diensten anbietet, welche alle ohne JavaScript nicht in der Form denkbar wären.

Nungut. Seit ein paar Tagen bastel ich eigentlich nur noch an einer JavaScript-Sache rum. Fazit: Einfach cool damit zu basteln. Um mir einiges zu erleichtern greife ich natürlich auf eine kleine Bibliothek zurück.

Anfangs war es gimme doch mittlerweile arbeite ich mit prototype. Der Grund für den Wechsel ist die Verwendung von MonoRail. Könnte mich aber auch an einem JSGenerator für MonoRail versuchen. hmmm

 
Programmierung: , ,
verfasst am 04. 02 2008 um 21:54
Kommentare (0)

Rotate Left/Right

Tja.. jetzt ist es mir passiert. Shiften reicht mir nicht, ich brauche ein Rotate! In der .net Klassenbibliothek hab ichs nicht gefunden. Also mal fix selber überlegt und umgesetzt.

public static class Utils
{
	/// <summary>
	/// Rotates the given int value right by the specified number of bits.
	/// </summary>
	/// <param name="number">The integer to rotate</param>
	/// <param name="distance">The number of bits to rotate</param>
	/// <returns>Returns the given int rotated right side by the given distance</returns>
	public static int RotateRight(int i, int distance)
	{
		uint num = (uint)i;
		int length = (sizeof(int) * 8);
		distance = distance % length;
		uint add = num << (length - distance);
		num = num >> distance;
		num = num | add;
		return (int)num;
	}

	/// <summary>
	/// Rotates the given int value left by the specified number of bits.
	/// </summary>
	/// <param name="number">The integer to rotate</param>
	/// <param name="distance">The number of bits to rotate</param>
	/// <returns>Returns the given int rotated left side by the given distance</returns>
	public static int RotateLeft(int i, int distance)
	{
		uint num = (uint)i;
		int length = (sizeof(int) * 8);
		distance = distance % length;
		uint add = num >> (length - distance);
		num = num << distance;
		num = num | add;
		return (int)num;
	}
}

Das ganze ist auch auf dotnet-snippets.de zu bewundern, und zu bewerten. :)

 
Programmierung: ,
verfasst am 23. 12 2007 um 21:48
Kommentare (1)

Visual Studio 2005 Standard Performance

Hm.. Seit ein paar Tagen habe ich interessante Probleme mit meiner VisualStudio 2005 Installation.

Sie ist noch ziemlich frisch. Erst Anfang Dezember, oder Ende November, habe ich mein System neu aufgesetzt, und eben auch VS neu installiert.

Vor ein paar Tagen hatte ich nun das Problem, dass die Einstellungsdatei CurrentSettings.vsstudio nicht gefunden wurde, obwohl sie an ihrem Platz liegt. Ein setzen der Einstellung hat dieses Problem gelöst. Allerdings habe ich noch ein weiteres merkwürdiges Verhalten.

Es dauert recht lange bis ein Projekt geladen ist, und Speichervorgänge brauchen auch länger als normal. Viel länger sogar. Für kurze Zeit scheint VS überhaupt nicht zu reagieren.

Bin gespannt ob ich rausfinde woran es liegt, oder ob eine Neuinstallation nur zur Lösung dieses recht nervigen Problems verhilft.

Falls jemand eine Idee hat, bitte sagen. Danke =)

Update (23.12. 16:27)

Hab zuerst Erweiterungen deinstalliert. Half nicht.
Visual Studio übers Setup reparieren lassen. Half nicht.
Neu installiert. Einstellungen zurückgesetzt. Half nicht.
Defragmentiert hab ich in der Nacht schon. Half auch nichts.
Hmmmm…

 
Programmierung:
verfasst am 23. 12 2007 um 00:23
Kommentare (0)