Welcome to NeoGeo New Media GmbH Sign in | Join | Help

Marc Hoeppner

Omnia mea mecum porto

Januar 2006 - Posts

F$&§(/)king string to byte[] und zurück...
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...
How to speed up HTTP requests on Internet...
To comply with current Internet standards, Internet Explorer limits the number of simultaneous downloads to two downloads, plus one queued download. This configuration is a function of the browser. However, as connection speeds increase, and the number Read More...
Increasing network browsing speed
Does your computer slow down when you browse your local area network and connect to other computers that are sharing data? One of the most common causes of this slowdown is a feature of Windows Explorer that looks for scheduled tasks on remote computers. Read More...
DBCC CHECKDB
dbcc checkdb ('neogeoin1_serv') checkt eine DB wenn fehler auftreten kann man mit folgenden commands reparieren: dbcc checkdb ('neogeoin1_serv',repair_ fast ) dbcc checkdb ('neogeoin1_serv',repair_ rebuild ) dbcc checkdb ('neogeoin1_serv',repair_allow_data_loss) Read More...
Move/Change files in SQL Server
der SQL Server kann mehrere dateien zur verwaltung der daten einer datenbank verwenden. es scheint so zu sein, dass mehrere files pro datenbank gerade bei RAID systemen oder auch normalen systemen mit mehreren platten, die performance teilweise drastisch Read More...
The Vietnam that is O/R
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...
Cool, cool, cool, cool!
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...
SourceSafe Admin
http://www.kbalertz.com/kb_150648.aspx SUMMARY It is sometimes necessary to undo the checkout of a file or files because the user who originally checked out the file is unavailable, either being out sick, having left the company, or for some other reason. Read More...
Regex
^(?<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...
MS Internal Coding Style
Auch was für uns dabei! http://blogs.msdn.com/brada/articles/361363.aspx Read More...
IS or AS
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...
ILMerge
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...
Wer's noch nicht kennt: ein "must-have"
http://www.aisto.com/roeder/dotnet/ Reflector! Read More...
.NET App Scalability and Performance
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag/html/scalenet.asp This guide provides end-to-end guidance for managing performance and scalability throughout your application life cycle to reduce risk and lower total cost of ownership. Read More...
Cache.Add und Cache.Insert
Noch so'n geiles Teil: Cache.Add und Cache.Insert. Wo ist der Unterschied?? - Add wirft eine Exception, wenn der Key schon im Cache ist - Insert macht das nicht, sondern überschreibt den alten Wert, falls vorhanden Und warum wird das bei der IntelliSense Read More...
Esoterik ^ 3
Falls ihr euch mal wundert, warum ihr keine SessionState oder das User Objekt innerhalb eines HttpHandlers bekommt, 'einfach' IRequiresSessionState implementieren. das interface hat keine funktionen, sondern ist nur ein 'zeichen' für ASP.NET, die SessionState Read More...
Tips for reducing bandwidth
Da klebe ich momentan auch gerade dran... ist alles andere als selbsterklärend... SetLastModifiedFromFileDependencies() ist doch schonmal ein toller Name... in den Google Groups findet man 1 (!) - in worten EINEN eintrag... das ist selten ein gutes zeichen... Read More...
Cache Busting
Gute Idee :) http://weblogs.asp.net/scottgu/archive/2004/11/20/267181.aspx http://public.yahoo.com/%7Eradwin/talks/http-caching-apachecon2004.htm Read More...
And on, and on, and on, and on...
noch eine bemerkung zur vorherigen nachricht: die SessionState wird nur bei ASPX oder ASXC (etc.) Dateien eingespiegelt, nicht aber bei GIF, CSS, JPG, etc. D.h. selbst wenn ich in einem module auf dem AcquireRequestState oder auch PreRequestHandlerExecute Read More...
EXE über HTTP mit Parametern
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...
Connection Strings
Das Ding hatte ich auch schon wieder fast vergessen. Schöne Sache!! http://www.connectionstrings.com/ Read More...
My hero!
neben Steve McConnell ist das _the man_, speziell was coding styles etc. betrifft. manchmal denkt man ja, man sei ein wenig "spinnert" und dann trifft man jemanden, der auch noch begründen kann, warum :) http://www.joelonsoftware.com/articles/Wrong.htm Read More...
Oh boy...
immerhin, ein taxi, eine kreuzung und eine laterne sind noch da :) Read More...
Write a HTTP Server in 50 lines!
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...
To connect to the console session of a server
Open Command Prompt. Type: mstsc /v: server /console Notes: To open command prompt, Click Start , point to Programs or All Programs , point to Accessories , and then click Command Prompt . You can also connect to the console session of a server by specifying Read More...
O/R Mapper
http://blogs.msdn.com/aconrad/archive/2005/03/16/396999.aspx Andrew war beim ObjectSpaces Team, zuviel zu seinem Hintergrund. Das Beschriebene ist in der Tat das Kernproblem von O/R Mapping für mich. An der Oberfläche ist die Idee großartig: ich muss Read More...
Out-of-band Postbacks
Aus einem alten internen Wiki-Post aus der Zeit weit vor Atlas und auch weit for AJAX.NET... OutOfBand Summary Out-of-band Postbacks sind JavaScript basierte Postbacks, die im Hintergrund stattfinden Übersicht Out-of-band Postbacks sind die Lösung Read More...
How to kill a process
How to kill a process that wouldn't die through the TaskList dialog 1. Locate the process ID (make the "PID" column visible in the task list 2. open a command prompt 3. type "ntsd -p [PID]" without the quotes 4. You've just entered a low level debugger Read More...
Yeah! - Disable IE's Macromedia Flash plugin ads, with no error/download messages.
Install the Flash plugin Close IE Run regedit Go to HKEY_CLASSES_ROOT\CLSID\{D27CDB6E-AE6D-11cf-96B8-444553540000}\MiscStatus\1 Change the value from 131432 (or whatever) to 1024 This disables ALL Flash, and stops it from prompting you to download it. Read More...
Guru of the day
:) Read More...
Sniglets!
Sniglets are those words that aren't really words, but should probably be added to the dictionary. Steve Buchanan showed these to us in a team meeting the other day, and I thought that I would share: • blamestorming - sitting around in a group, discussing Read More...
Offline Viewing for WebCasts
http://msdn.microsoft.com/SQL/WebcastDownloadInstructions.aspx Downloading Webcasts for Off-line Viewing Requirements: 1. IE6 SP1 2. NetTransport 1.90. NetTransport is shareware, downloadable from www.xi-soft.com . Instructions: 1. Go to the Program guide Read More...