Archiv für die Kategorie ‘.Net’

Articles

Monitoring your WCF Web Apis with AppFabric – Pablo M. Cibraro (aka Cibrax)

In .Net,wcf on März 10, 2011 von murratore

With AppFabric it is possible to monitor normal WCF Services. There are only some changes needed in Web.Config and of course AppFabric must be installed.

Here is a sample:

Monitoring your WCF Web Apis with AppFabric – Pablo M. Cibraro (aka Cibrax).

Ron Jacobs even has build a Visual Studio Project Tempalte for this

http://blogs.msdn.com/b/rjacobs/archive/2011/03/09/appfabric-wcf-service-c.aspx

Articles

WCF Error The underlying connection was closed – Developer Geeks

In .Net,wcf on März 8, 2011 von murratore

Had the problem that in a WCF I have an base class type as an return type. In the service itself I returned a subtype. The service itself works as expected. The client itself has the problem that an error message “The underlying connection was closed. The connection was closed unexpectedly.” comes.

The Error itself is nonsense. But the problem itself does make sense. The Object are serialized and sent over the wire and the client expects a certail serialization structure (of the base type, not the subtype). Due to this the client can not deserialize the incoming packet.

This site helped me wading through the error message.

WCF Error The underlying connection was closed – Developer Geeks.

Articles

Mar ‘11 Team Foundation Server Power Tools are Available – bharry’s WebLog – Site Home – MSDN Blogs

In .Net,TFS on März 4, 2011 von murratore

Mar ‘11 Team Foundation Server Power Tools are Available – bharry’s WebLog – Site Home – MSDN Blogs.

Most important change. TFS Functions available in Windows Explorer.

Articles

Postsharp – Anhand eines Beispiels gut erklärt

In .Net on März 4, 2011 von murratore

An einer Entwicklersitzung wurde Postsharp mal vorgestellt. Ich (MMa) setze es mittlerweile in 2 Projekten produktiv ein und bin damit sehr zufrieden. Die Funktionsweise ist auf den ersten Blick etwas kompliziert (oder wer kann schon mit dem Begriff “aspektorientierte Programmierung” ohne Erklärung was anfangen…).

In diesem Blog wird anhang einer Logging, Exception Handling und Auditing Anfordernis erklärt wie einfach dass man eine bestehende Anwendung damit nachrüsten kann.

http://www.sharpcrafters.com/blog/post/5-Ways-That-Postsharp-Can-SOLIDify-Your-Code-Logging-and-Auditing.aspx

 

Articles

NTFS-Dateisystemtransaktionen mit .NET programmieren | heise Developer

In .Net,Microsoft on Februar 14, 2011 von murratore

Wen mal die Notwendigkeit da ist, dass man richtige Transkationen auf File Ebene einsetzen muss, soll sich mal diesen Artikel anschauen.

http://www.heise.de/developer/artikel/NTFS-Dateisystemtransaktionen-mit-NET-programmieren-1188587.html

Es gibt dafür extra eine Open-Source Library von Microsoft welche die C++ Funktionen wrapped.

http://code.msdn.microsoft.com/txfmanaged

Articles

Interaction issue between System.XML.XSL.XSLCompiledTransform and tag in Internet Explorer

In .Net,xsl on Dezember 27, 2010 von murratore

 

Interesting. If you not specify the Output method to HTML in a XSL Stylesheet and then do a XSL Transformation with .Net, the Script Tags are not rendered correctly. This can – especially with Sharepoint – lead to problems!

viaInteraction issue between System.XML.XSL.XSLCompiledTransform and tag in Internet Explorer.

Articles

concatenation – XSLT concat string, remove last comma – Stack Overflow

In .Net,xsl on Dezember 27, 2010 von murratore Mit Tag(s) versehen:

Could be handy in XSLT design, especially with sharepoint

concatenation – XSLT concat string, remove last comma – Stack Overflow.

Articles

Free Ebook “Effective Windows PowerShell”

In .Net,Powershell on Dezember 23, 2010 von murratore

Buch mit Tips und Tricks zum Umgang mit der Powershell. Eigentlich ist es eine Zusammenstellung von Blogeinträgen.

“Effective Windows PowerShell” free ebook – Scattered Notes – SiteHome – MSDN Blogs.

Articles

XSL Sort on DateTime

In .Net,codesnippet,Sharepoint on Dezember 20, 2010 von murratore

<xsl:template match='callEvent/response/interaction_list'>

   <xsl:apply-templates>
      <xsl:sort select='./interaction/timestamp'
                order='descending'
                data-type='number' />
   </xsl:apply-templates>

</xsl:template>

<!-- timestamp NODE Template -->
<xsl:template match="timestamp">
   <!-- Pull the pieces apart -->
   <xsl:variable name='datetime' select='.' />
   <xsl:variable name='year'  select='substring( $datetime, 0 , 5 )' />
   <xsl:variable name='month' select='substring( $datetime, 6 , 2 )' />
   <xsl:variable name='day'   select='substring( $datetime, 9 , 2 )' />

   <td valign='top'>
      <!-- put the date together in American order -->
      <xsl:value-of select="concat($month, '/', $day, '/', $year )" />
      <!-- Seperate the date and Time -->
      -
      <!-- Display the Time -->
      <xsl:value-of select='substring( $datetime, 12 , 9 )' />
   </td>
</xsl:template>

Source: xsl sort datetime – RE: Q on.

Articles

“Programming Windows Phone 7″ by Charles Petzold

In .Net on November 1, 2010 von murratore

Free Ebook for Programming Windows Phone 7.

“Programming Windows Phone 7″ by Charles Petzold.

Follow

Bekomme jeden neuen Artikel in deinen Posteingang.