Browse by Tags
All Tags »
CSharp (RSS)
Gerade noch überlegte ich, wie man denn programmatisch eine gesignte Assembly in die GAC bekommen könnte, ohne MSI-Bauen und gacutil'n. Warum? - Naja, zum Einen, da ich für ein Projekt an einem echten Single-File/XCopy Deploy arbeite und zum Anderen,
Read More...
Nett und umsonst: http://www.wilcob.com/Wilco/Pastecode.aspx
Read More...
Jeder von uns war wohl schonmal an einem solchen Punkt . Manche sind noch heute da ;) - Mal im Ernst: gerade das erste Syndrom kenne ich persönlich nur zu gut. Und die Lösung liegt ja auch auf der Hand, aber der Schritt von A nach B ist das
Read More...
Also, wenn man mich gefragt hätte, ich hätte das auch nicht gewusst. Vermuten hätte man das ja können. http://mattgollob.blogspot.com/2006/08/throw-vs-th... Kurzform: bei throw; bleibt der momentane Stack Trace erhalten, was ja u.a. beim Debuggen nicht
Read More...
Nach nur drei Jahren Wartezeit stellt Microsoft jetzt das Service Pack 1 für Visual Studio .NET 2003 zu Verfügung. Eine Liste mit Fixes kann man hier finden. Auf die hier bin ich besonders gespannt: FIX: The IntelliSense feature for a Visual C# .NET project
Read More...
Ca. schon 1.000x nachgeschlagen und _immer_ wieder im entscheidenden Moment vergessen: byte [] encData = encoding.GetBytes( stringData ); und string stringData = encoding.GetString( encData ); Wobei encoding z.B. Encoding.ASCII ist...
Read More...
And then it got a bit more serious as Don Box said: "I'm much more interested in functional languages than dynamic languages. The brevity of having the compiler do more of the work is a good thing." Regarding the object-relational mapping issue, Hejlsberg
Read More...
http://www.pinvoke.net/ PINVOKE.NET attempts to address the difficulty of calling Win32 or other unmanaged APIs in managed code (languages such as C# and VB .NET). Manually defining and using PInvoke signatures (also known as Declare statements in VB)
Read More...
^(?<GUID>\{?[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}\}?)(?:\((?<version>\d+)\))?(?:\((?<type>\w+)\))?(?:.jpg)?$ hat ca. 1-2h gedauert, je nachdem, ob ich meine Recherche gestern Abend mitzähle oder nicht. Ist wohl auch
Read More...
Auch was für uns dabei! http://blogs.msdn.com/brada/articles/361363.aspx
Read More...
A dev at Microsoft working on a large managed code base just suggested this guideline… Our perf team buys it as well.. is should only be used when it's only necessary to test the type of some object. If you're going to use the object if the is condition
Read More...
http://www.microsoft.com/downloads/details.aspx?FamilyID=22914587-B4AD-4EAE-87CF-B14AE6A939B0&displaylang=en ILMerge is a utility that can be used to merge multiple .NET assemblies into a single assembly. ILMerge takes a set of input assemblies and
Read More...
http://www.aisto.com/roeder/dotnet/ Reflector!
Read More...
Freund Tibor hat herausgefunden, dass man doch eine EXE direkt über HTTP starten kann UND dabei Parameter übergeben kann :) http://weblogs.asp.net/whaggard/archive/2003/05/05/6538.aspx
Read More...
My 8-10 minutes of fame was on the HttpListener class that is available in the .Net V2 framework. It is basically a managed wrapper around the HTTP.SYS kernel mode networking component that is used by IIS6 to provide HTTP Web serving features. I demonstrated
Read More...