dun3

Stories kicked by dun3

Active Directory Tip #3 – Get DirectoryEntry Property with range fetch(saftsack.fs.uni-bayreuth.de)

submitted by dun3dun3(360) 2 years ago

Tip #2 already dealt with one of the problems while using multi-value properties.But there is another pitfall that got me once - and usually only happens in production environments and is very hard to debug. I am talking about property range fetch a mechanism introduced to allow the active directory server to use certain optimizations. Unfortunatelly the optimization means a harder to understand API and more work for us programmer. read more...

add a comment |category: |Views: 19

tags: another

.NET continues to DoS attack me, seriously!(saftsack.fs.uni-bayreuth.de)

submitted by dun3dun3(360) 2 years, 9 months ago

Yeah, it does! And I don’t necessarily mean denial of service - that would mean that I couldn’t get any programming done. Nope, far from it - but it sure is denial of sleep attacking me. Come one, I am struggling to keep up with all the new runtimes, features, frameworks and best practices coming out of Redmond. It’s awesome and actually fun; no doubt about it - but sometimes it is excruciating as well. And today I am going to talk about the excruciating experience of seeing another reinvented wheel hobble out of Microsoft. read more...

2 comments |category: |Views: 621

tags: another

A first look at Duck Typing in C# 4.0(saftsack.fs.uni-bayreuth.de)

submitted by sischsisch(90) 3 years, 6 months ago

A complete end-to-end C# 4.0 example with source code using IDynamicObject and MetaObject in order to generate a fully dynamic type using a Dictionary as storage. It also shows how a dynamic type can enter the static typed world and act just like a typed class - dynamically. :) read more...

2 comments |category: |Views: 754

tags: another

WpfSimpleChart - A WPF Chart Control library - released(saftsack.fs.uni-bayreuth.de)

submitted by sischsisch(90) 3 years, 8 months ago

A simple to use WPF Chart library. With demo application. read more...

add a comment |category: |Views: 1033

tags: another

Getting started with custom SharePoint Event Receivers(saftsack.fs.uni-bayreuth.de)

submitted by eXXLeXXL(120) 3 years, 10 months ago

In this post I describe how to create a custom SharePoint Event Receiver using the Visual Studio Extensions for SharePoint Services. read more...

add a comment |category: |Views: 147

tags: another

Battling some of the errors generated by Microsoft Source Analysis for(saftsack.fs.uni-bayreuth.de)

submitted by dun3dun3(360) 4 years ago

Getting rid of errors related to generated files and SA1633 "valid header XML" read more...

add a comment |category: |Views: 51

tags: another

Writing your own rules for Microsoft Source Analysis for C#(saftsack.fs.uni-bayreuth.de)

submitted by dun3dun3(360) 4 years ago

How to look at the baked in rules or how to write your own set of rules for the newly released Microsoft Source Analysis for C#. read more...

add a comment |category: |Views: 331

tags: another

Build visual studio documentation from code comments using Sandcastle(saftsack.fs.uni-bayreuth.de)

submitted by eXXLeXXL(120) 4 years, 2 months ago

This article describes how to build help files using Sandcastle and code comment tags and how to integrate the help files into the visual studio help system. read more...

add a comment |category: |Views: 65

tags: another

SharePoint 2007 Project Template for Timer Jobs in Visual Studio 2005 (saftsack.fs.uni-bayreuth.de)

submitted by agnes_agnes_(290) 4 years, 2 months ago

What are SharePoint Timer Jobs? SharePoint timer jobs are tasks executed on a scheduled basis by the SharePoint Timer service. Nobody wants to do all the steps necessary to create such a job for each new timer job. So in order to make it simpler to start a new timer job project, I created a visual studio template containing all the neccessary stuff you need. read more...

add a comment |category: |Views: 136

tags: another

Howto savely move a file using C# (saftsack.fs.uni-bayreuth.de)

submitted by agnes_agnes_(290) 4 years, 2 months ago

If possible this version uses the special File.Replace on NTFS and gracially falls back on Delete+Move on any other filesystem. Nothing else to comment about here. I am just amazed that this kind of save moving is not supported by the framework itself. Instead the framework's move routine throws an exception if there is an file existing at the target location. Weird. ;) read more...

1 comment |category: |Views: 87

tags: another

Downgrade a VS 2008 .sln or .csproj to VS 2005(saftsack.fs.uni-bayreuth.de)

submitted by agnes_agnes_(290) 4 years, 3 months ago

I just had to convert a Visual Studio 2008 Solution and Project to Visual Studio 2005. It is actually pretty straight forward. At least in my case... read more...

add a comment |category: |Views: 791

tags: another

Creating a transparent Panel in .NET(saftsack.fs.uni-bayreuth.de)

submitted by mister_tmister_t(90) 4 years, 3 months ago

Today I wanted to create a transparent Panel-Control in .NET in order to superimpose it on the WebBrowser Control in order to record click events. The goal was to code a simple macro recorder for websites. Unfortunatelly the .NET framework does not allow (in an easy way) to make a control fully transparent. So it was back to the good ol' winuser.h and the extended window styles. Namely 0x00000020L or as it is better known WS_EX_TRANSPARENT. read more...

add a comment |category: |Views: 647

tags: another

Measure memory consumption of creating object in C#(saftsack.fs.uni-bayreuth.de)

submitted by dun3dun3(360) 4 years, 4 months ago

Measure memory consumption of creating object or executing functions in C# A detailed look at benchmarking the memory footprint and the execution speed of functions. read more...

2 comments |category: |Views: 468

tags: another