donderdag, augustus 31, 2006

 

A few good links for the ones who want to start with SharePoint 2007

zaterdag, augustus 26, 2006

 

Threading in C# : free ebook

Threading in C# An extensive article on multi-threading in C#. This tackles difficult issues such as thread safety, when to use Abort, Wait Handles vs Wait and Pulse, the implications of Apartment Threading in Windows Forms, using Thread Pooling, Synchronization Contexts, Memory Barriers and non-blocking synchronization constructs. Full Contents

Book:
http://www.albahari.com/threading/threading.pdf

ref:

http://www.tisgoud.nl/blog/PermaLink,guid,4b8c6b21-e7d3-49bf-90eb-4283a2b7a752.aspx


 

Web caching in ASP.NET 2.0 (C#)

Web caching technology in ASP.NET and C# is helpful for popular website reducing its server workload and improving access times. This tutorial will show you how to use web caching save data to RAM, and improve data access times therefore.

Read more...

VB version

 

IIS 6.0 and ASP.NET 2.0 Credentials--Part Two

The ASP.NET User Principal (HTTPContext.User) clearly depends upon the Authentication Mechanism that you selected in IIS 6.0 "Authenication Tab" and if you use Integrated Windows Authentication then it is dependant on the IIS impersonation token that get handed off in the extension control block via the ASP.NET 2.0 ISAPI API.
Read more...

 

Build Smarter ASP.NET File Downloading Into Your Web Applications

Chances are good that your users need to download files from your organization's Web site. And since providing a download is as easy as providing a link, you certainly don't need to read an article about the process, right? Well, thanks to so many Web advances, there are many reasons it might not be that easy. Maybe you want the file to be downloaded as a file rather than shown as content in the browser. Maybe you don't yet know the path to the files (or maybe they're not on disk at all), so those simple HTML links aren't possible. Maybe you need to worry about your users losing connectivity during large downloads.
In this article I'll present some solutions to these problems so your users will have a faster, error-free downloading experience. Along the way I'll discuss dynamically generated links, explain how to bypass default file behaviors, and illustrate resumable ASP.NET-driven downloads using HTTP 1.1 features.
Read more...

ref:
http://weblogs.asp.net/pleloup/archive/2006/08/25/Build-Smarter-ASP.NET-File-Downloading-Into-Your-Web-Applications.aspx

 

Great New Atlas Videos Published (All Free)

Joe Stagner has been busy at work publishing more Atlas videos on the www.asp.net website (click here for the full video listing).

by Scott Guthrie

http://weblogs.asp.net/scottgu/archive/2006/08/25/Great-New-Atlas-Videos-Published-_2800_All-Free_2900_.aspx

 

An easy to use URL file downloader class for .NET

With resume functionality. come's in handy on my on the side 'snack' podcast player project

http://www.codeproject.com/useritems/filedownloader.asp

vrijdag, augustus 25, 2006

 

Microsoft webcast and media content

Podcasts are listed below by product or topic, and each category has its own RSS feed

http://www.microsoft.com/events/podcasts/default.mspx

ref: newsletter


woensdag, augustus 23, 2006

 

Fun Iterating PagedCollections With Generics and Iterators

How do you iterate through a large collection of data without loading the entire collection into memory?
nice article:
http://haacked.com/archive/2006/08/14/FunIteratingPagedCollectionsWithGenericsAndIterators.aspx

dinsdag, augustus 22, 2006

 

An Atlas TabStrip control based on the Accordion control

maandag, augustus 21, 2006

 

Subversion clients...

No tool is an island, Subversion™ needs to integrate with the other tools you use on a day to day basis. For example, Subversion does not have its own graphical user interface, it is completely driven from the command line. Many developers like this but others prefer a GUI or a direct integration with their favorite IDE.

http://weblogs.asp.net/lhunt/archive/2006/08/21/Subversion-clients_2E002E002E00_.aspx

http://www.collab.net/products/subversion/tools.html

 

UrlRewritingNet.UrlRewrite

UrlRewritingNet.UrlRewrite is an Open Source Component which allows you certainly to rewrite URLs with ASP.NET 2.0.

http://www.urlrewriting.net/en/Default.aspx

 

Developing Time-Oriented Database Applications in SQL (free e-book)

Mach'es wie die Sonnenuhr
Z¨ahl' die heiteren Stunden nur

Do like the sundial:Count only the bright hours?
German proverb

Dowload
http://www.cs.arizona.edu/people/rts/tdbbook.pdf

 

C# Open Source

Well categorized.

pers ref:
http://csharp-source.net/

zondag, augustus 20, 2006

 

AnkhSVN 1.0 release candidate available

Currently we use http://www.visualsvn.com/ to integrate SVN into VS2005, this works fairly well (after a vew initial problems). Now I found that there is also an OS integration available. Did not test it yet, but looks okay (and saves you 18 dollar ;-) )

http://arildf.spaces.live.com/Blog/cns!E99F8B43533149B0!160.entry
http://ankhsvn.tigris.org/servlets/ProjectDocumentList?folderID=7315
ref:
http://www.hanselman.com/blog/AnkhSVNUsingSubversionWithinVisualStudio.aspx

edit:
also found for svn
http://www.pumacode.org/projects/svndotnet/wiki

 

Visual Studio Macros -- Expand All / Collapse All Project Nodes

Working on a large solution with a bunch of projects, it gets annoying to close ever single tree all the time, so I looked for a quick fix.

Here you are, collapse all macro:
http://blogs.imason.com/chris.chapman/archive/2005/10/04/1813.aspx

 

Loading Web Parts into a catalog at run time

Working on a large news portal I was searching for a way to add webparts to the catalog at runtime. Well here an article describring the solution. This actually works very good, based on reflection, a must try!

ASP.NET 2.0 introduces the Web Part framework outside of the SharePoint environment. This allows developers to build applications that are configurable by the user at run time. The CatalogPart class is used to provide a list of Web Parts to users at run time. Out of the box, ASP.NET 2.0 does not provide a catalog that is populated at run time. This Support Voice column will discuss how to create a custom catalog for this purpose.

Read more...

You can download the northwind sample db here (original for sql2000, but works fine in 2005):
Northwind sample db

 

AJAX Meets ASP.NET 2.0 Membership Management For IIS

Microsoft ASP.NET 2.0 Member/Role Management with IIS, Part 3: AJAX Enhancements with Microsoft’s Atlas

Without actually running the web application, the only visual change the user can see in the AJAX enhanced version of this application is that there is no search button above the user list. This is because with AJAX, as the user types in the search criteria, the list of users is automatically restricted to the search criteria defined by users that begin with what is typed. Notice in the screen shot below, ch is entered into the username textbox and just the usernames beginning with ch automatically appear.

http://peterkellner.net/2006/03/02/hello-world
Third Article Published on MSDN! ASP.NET 2.0, Membership Meets Atlas
http://peterkellner.net/

donderdag, augustus 17, 2006

 

throw; vs. throw ex; Here's the difference!

Okay, so it's been more than a couple days since I last posted. . .and my good friend infinity88 reminded me that the blogosphere is waiting for an answer. So, as promised here's the answer to the notorious throw; vs throw ex; question:The difference is that throw; preserves the original stack trace and throw ex; truncates the stack trace below the method in which the throw ex; call is located.

Read more...


ref:
http://weblogs.asp.net/infinitiesloop/archive/2006/08/17/The-difference-between-_2600_quot_3B00_throw_3B002600_quot_3B00_-and-_2600_quot_3B00_throw-ex_3B002600_quot_3B00_.aspx

 

Writing your custom sitemap provider

Two articles on writing custom provider for the sitemap tree

http://geekswithblogs.net/casualjim/articles/52749.aspx
http://msdn.microsoft.com/msdnmag/issues/05/06/WickedCode/

 

Understanding implicit operator overloading in C#

Nice aticle about overloading operators in C#

Everyone knows that in dotnet byte, char, int, long etc are value data type and string is a reference data type. Even though being a reference type string behaves much like a value type. In other word, It can directly accepts values and doesn't require new to create an instance. For example...

Read more...

 

The Visual Studio 2005 IDE may corrupt the deployment files for a Web Setup Project and for a Setup Project

Building setups frequently these days, I ran into problems with the setup project. At a certain you will get problems with updating references. Trying to refresh will get you an error. This is a known issue as you can see on the linked page. I found a simple solution. Mesh up .vdproj file in notepad, save, VS will now ask you to reload project and will fail. after that, change the file to its original state. Reload the project with right click in VS, and there you go. Its wacky but it works

 

Adding - removing add-ins

A quick note for the people following the OvernightPowerAdd-In suite developments. Installing, uninstalling and installing new versions can give some trouble. when uninstalling the add-in, some references in VS2005 are still ghosting around. A quick fix for this problem is to make sure VS does uninstall the old dll. You can do this by closing VS, go to your addin dir and change the ref file by changing its dll path to something nonexcisting. Start VS and confirm the removal, now you can uninstall the old versioin (after renaming the add-in ref name to original name). After that install new version. Having trouble with this procedure, or you know a simpler way, pls send me an email fh_kroo{no-spam}ndijk@yahoo.com

maandag, augustus 14, 2006

 

Validating XML Files Against XSD Schemas in .NET 1.x and 2.0

Validating XML files is a common task in software development for developers. There are three ways to validate XML files: XSD Schema, DTD and Relax NG. In .NET XSD Schema is the preferred way to validate XML files. In this article I will dicuss both approaches and will give code samples to implement them both.
read more:
http://aspalliance.com/941

 

Microsoft Shared Source sites

Microsoft Shared Source Home Page
http://www.microsoft.com/resources/sharedsource
CodePlex
http://www/CodePlex.com
CodePlex is Microsoft's community development Web site. You can use CodePlex to create new projects to share with your fellow developers around the world, join others who have already started their own projects, or use the applications on this site and provide feedback.
GotDotNet.com
http://www.gotdotnet.com/Default.aspx
.NET Framework community website.
Port25
http://port25.technet.com/ Shared Source and Permissive License Projects
Shared Source Common Language Infrastructure
http://www.microsoft.com/downloads/details.aspx?FamilyId=8C09FD61-3F26-4555-AE17-3121B4F51D4D&displaylang=en
The Shared Source CLI is a compressed archive of the source code to a working implementation of the ECMA CLI and the ECMA C# language specification. This implementation builds and runs on Windows XP.
IronPython
http://www.codeplex.com/Wiki/View.aspx?ProjectName=IronPython
IronPython is the code name of the new implementation of the Python programming language running on .NET. It supports an interactive console with fully dynamic compilation. It is well integrated with the rest of the .NET Framework and makes all .NET libraries easily available to Python programmers, while maintaining full compatibility with the Python language.
Atlas Control Toolkit
http://www.codeplex.com/Wiki/View.aspx?ProjectName=AtlasControlToolkit
Built upon the ASP.NET "Atlas" Framework, the Toolkit aims to be the biggest and best collection of web-client components available.
WiX
http://wix.sourceforge.net/
The Windows Installer XML (WiX) is a toolset that builds Windows installation packages from XML source code. The toolset supports a command line environment that developers may integrate into their build processes to build MSI and MSM setup packages.

pers. addition...
Also handy dandy:
http://www.codeproject.com/
http://sourceforge.net/index.php

Read more:
http://blogs.msdn.com/kaevans/archive/2006/08/14/699593.aspx

 

Ruby & Rails programming in Visual Studio 2005

I hear a lot of Ruby the past vew months, still havent had my feed wet, but this looks kinda cool. Didnt try anything of it yet.
http://www.sapphiresteel.com/
Free eBook - The Little Book of Ruby

 

XNA Game Studio Express (august 30th 2006)

Allready saw some XNA stuff on the devdays2006, dont know how mature its gonna be, but I guess its fun to play with at the end of the month.

From the site:
Check out the latest news on the new XNA Framework and XNA Game Studio Express. XNA Game Studio Express is a set of tools based on Visual C# Express 2005 that allow students and hobbyists to build games that target both Windows and Xbox 360. The XNA Framework is a set of managed libraries, based on the .NET 2.0 Framework, tuned for game development.
read more:
http://msdn.microsoft.com/directx/XNA/

zondag, augustus 13, 2006

 

Free Sandcastle Visual studio 2005 Add-In msi installer

This weeks planned new features on the Sandcastle add-in are complete and uploaded. I also made installing easy by creating msi install.

- Easy 2 use Sandcastle documentation
- Classdiagram renamer/exporter
- Solution stats
- file types and there count
- Lines of code
- Statistics log and graphical view of it
- FTP upload HTML doc



Download intallation files:
http://www.codeplex.com/Wiki/View.aspx?ProjectName=SandcastleAddIn

Please leave feedback on the blog, codeplex or in my email, dont hold your self!!!

kick it on DotNetKicks.com





 

Phalanger - The PHP Language Compiler for the .NET Framework

on codeplex:
We are in the process of releasing Beta 2 of Phalanger v2.0 - The PHP Language Compiler for the .NET Framework. We've made many improvements and fixed a number of bugs since Beta 1. The major feature of Beta 2 is the possibility to integrate Phalanger with Visual Studio 2005. The integration package will be available very soon!
Meanwhile, two new documents describing Phalanger and its internals are available

http://www.codeplex.com/Wiki/View.aspx?ProjectName=Phalanger

zaterdag, augustus 12, 2006

 

pretty cewl: A flexible charting library for .NET

ZedGraph is a class library, Windows Forms UserControl, and ASP web-accessible control for creating 2D line, bar, and pie graphs of arbitrary datasets. The classes provide a high degree of flexibility - almost every aspect of the graph can be user-modified. At the same time, usage of the classes is kept simple by providing default values for all of the graph attributes. The classes include code for choosing appropriate scale ranges and step sizes based on the range of data values being plotted.


http://www.codeproject.com/csharp/zedgraph.asp?df=100&forumid=26087&exp=0&select=1605903#xx1605903xx
http://zedgraph.org

vrijdag, augustus 11, 2006

 

Exception handling in C# and ASP .Net

Exception handling is an in built mechanism in .NET framework to detect and handle run time errors. Exceptions are defined as anomalies that occur during the execution of a program. The .NET framework provides a rich set of standard exceptions that are used during exceptions handling. Exception handling is one of the major feature provide by .NET. There might be various reason to handle exception, this can be caused due to improper user inputs, improper design logic or system errors. In this scenario if application do not provide a mechanism to handle these anomalies then there might be cases the application may crash. .NET run time environment provide a default mechanism, which terminates the program execution.

Read more...
Read on msdn...

 

Notes on .NET 3.0 (WinFX) Tour Video

Notes on .NET 3.0 (WinFX) Tour Video
MSDN Showtime has a show related to .NET 3.0, the show is called .NET 3.0 (WinFX) Tour and was recorded in Rotterdam (Netherlands). The show covers Windows Presentation Foundation (WPF), Windows Communication Foundation (WCF), InfoCard and Windows Workflow Foundation (WF). There are two shows with a total of almost 2 hours of info.
Direct:
ref:

 

Nant: information about automating your build process using NAnt

 

Some free webcontrols

Button
A Button that supports a Confirmation message before submitting a form.
Image
An Image that allows you to set the MouseOverImageUrl property.
ImageButton
An ImageButton that supports a Confirmation message before submitting a form and a MouseOverImageUrl.
ImageCheckBox
A CheckBox that renders itself as an image either checked or unchecked. It also supports MouseOverImageUrl for both states.
MyObjectDataSource
An ObjectDataSource that supports build in sorting and filtering of returned objects.
CompareValidator
A CompareValidator that supports displaying error messages as an image.
RequiredFieldValidator
A RequiredFieldValidator that supports displaying error messages as an image.
PageParameter
A parameter that can be used in DataSource controls parameter collections such as SelectParameters. It allows you to get parameters from properties of a page.
TemplateControlParameter
A parameter that can be used in DataSource controls parameter collections such as SelectParameters. It allows you to get parameters from properties of a nearest TemplateControl.
http://vaultofthoughts.net/ASPNETControlsPack.aspx

donderdag, augustus 10, 2006

 

Regulazy 1.01 is available for download

pretty handy-dandy:
In the program directory you'll find *.rules files. You can edit them or add your own .rules files with specific names such as "date.rules" or whatever you like. Regulazy reads all rule files in its directory and shows them dynamically when they apply to the selected text in the work pane.
You can find out how to create your own rules (which is very simple - a line of text for each rule) in "How to edit rules.txt" file located in the program directory.

Blog:
http://weblogs.asp.net/rosherove/archive/2006/08/10/Regulazy-1.01-is-available-for-download.aspx
Direct:
http://tools.osherove.com/Regulazy/tabid/182/Default.aspx

 

VolumeMeter (Managed DirectX)

Totally not in the line of projects im working on now, but when that "rainy sunday" (isnt that a weird translation from Dutch?) comes I would like to start some kind of videojockey project (old hobby) The codeproject looks cewl.

This project is a live volume meter control for monitoring audio levels from a sound card. It is written entirely in C#, and uses Microsoft's Managed DirectX (June release). You can drag-and-drop the control into any Windows Forms application. You may select the input, and tweak the appearance of the animation through various parameters.
http://www.codeproject.com/cs/media/volumemeter.asp

 

Free

.Net hosting
Free .net host, maybe for testing? I didnt test it yet, but if you ar in need..
http://www.freewebdot.com/


If you want to build custom controls with C# but you don't know where to start, or you are intimidated by the huge amount of information that needs to be absorbed, then this book is for you. This friendly tutorial is based on numerous examples with real-world applicability, and includes a case study featuring the development of a fully functional PieChart control.Showing you how to use the free Visual C# 2005 Express Edition environment to develop your controls, GDI+ Custom Controls with Visual C# 2005 will teach you how to create professional, reusable custom controls for your desktop applications in no time.
http://www.packtpub.com/files/1604_CustomControls_SampleChapter.pdf

ref: gotdotnet

UML Visual Paradigm Suite 2.3
http://www.visual-paradigm.com/download/download.jsp?product=sdevs&edition=ce

 

aren't you annoyed by the lack of propper functions in VS2005 Codesnippets?

Well I'm! A solution to this is going to be in my opensource add-in suite on codeplex

refs that can help:
shortkeys
quick open

project:
http://www.codeplex.com/Wiki/View.aspx?ProjectName=SandcastleAddIn

 

"I've decided that the only explanation is that computers are like dogs and can sense your fear."

Sounds familiar? :-) :
This happens most days. Somebody will have some sort of issue with their computer and will come bleating to me that it doesn't work. I've learnt now that the first step is adopt an attitude of healthy scepticism and to require a demo of the problem. I go over to their desk and they start to show me. And lo and behold, it works... perfectly. It happens so often that I've been forced to come up with a theory for why this is. I do believe the afflicted users seeking my help. I'm sure it was misbehaving before but why does it suddenly seem to start working the moment I am standing ominously peering at it?

read more...

 

Atlas control toolkit goes Codeplex

woensdag, augustus 09, 2006

 

Codeplex - Team explorer

When you are going to work on codeplex projects, Team explorer is needed:

Team explorer

Projects added by me:
Visual Studio 2005 Add-In Suite (with sandcastle)
GoogleDotMaps, .Net wrapper framework for googlemaps

dinsdag, augustus 08, 2006

 

What's new in System.Xml 2.0?

a freshen up article by Aaron Skonnard

System.Xml 2.0 Design Goals

Improving System.Xml performance was a driving force behind many of the changes in System.Xml 2.0. The team invested significant resources and were quite successful. Compared to their .NET Framework 1.1 predecessors, the new XmlTextReader and XmlTextWriter classes are now twice as fast as before, the XSLT performance is three to four times as fast, and XML Schema validation is faster by about 20 to 25 percent.

To achieve most of these performance improvements some significant redesign and targeted optimizations were required. For example, it took some serious reworking to make the .NET XSLT implementation just as fast as its unmanaged predecessor, MSXML 4.0. Now in System.Xml 2.0, the XSLT implementation builds Microsoft intermediate language (MSIL) directly, which is then JIT compiled by the .NET runtime and executed as machine code. The resulting performance is very similar to that of MSXML 4.0 in most cases.

Taking advantage of these performance benefits requires proper use of the new and improved System.Xml library, which I'll discuss in the sections that follow. In addition to performance, the other design goals included enhanced usability, compatibility, and standards. Towards the end of the System.Xml 2.0 development cycle, it became apparent that the System.Xml team really cared about making their offering the most practical and usable solution on the market today. This required some tough choices regarding the feature set, but in the end the library's usability speaks for itself.

read more...

 

ProductivityToolsVideo 1 to 4

 

many 2 many

If you are developing an object oriented .NET application that has to talk to a database, you'll inevitably map objects to a relational model. And, most likely you'll face situations where many-to-many relationships exist in your database. This article describes how you can handle many-to-many relationships in O/R mapping.

Read more..

 

Inside C#: Chapter 4: Methods - Summary

What is the difference between ref and out parameters?
The significant difference between the ref keyword and the out keyword is that the out keyword doesn’t require the calling code to initialize the passed arguments first.
A more subtle difference between ref and out is that out parameters must be modified in the called method, whereas ref parameters can be but don’t have to be modified

read more:

Inside C#: Chapter 2: The .NET type system - Summary
Inside C#: Chapter 3: Defining Classes - Summary
Inside C#: Chapter 4: Methods - Summary

I wonder where part 1 is??

 

Sandcastle free Visual Studio 2005 add-in part 4



New version released:

-Multi file bug fixed
-Copyright footer fixed
-Index detection and HTML doc collection
-Setting file path stored in registry
-Addin menu changed
-More action data displayed

Video

download rar
download zip

kick it on DotNetKicks.com




1) Add-In xmlsettings file, needed once (guid included later on)

2) Newly added menu items, first select the path to the xml file and select save

3) Select sancastle menu item and press flag to start solution search for dlls

#) Press export to create CHM files and (if set to true in setting) the HTML files

#) After creating HTML help, the search for the index page will create new HTML index

4) CHM

5) HTML Help (in next release the HTML can be automatically uploaded by FTP, got that allready working but not throughly tested)

maandag, augustus 07, 2006

 

GoogleDotMaps

Just started a Codeplex project on GoogleDotMaps. Goal of the project is to create an easy to use googlemaps wrapper framework

Anyone who wanna join the team, let me know at fh_kro[no Spam]ondijk@yahoo.com

http://www.codeplex.com/Wiki/View.aspx?ProjectName=GoogleDotMaps

 

Service Description Language meets Service Factory

 

C# 3.0 is Not Part of .NET 3.0

.NET 3.0 will be released with Vista. It will not contain C# 3.0, but will ship with C# 2.0.

The major features of .NET 3.0 are: Windows Presentation Foundation (WPF), Windows Communication Foundation (WCF), Windows Workflow Foundation (WF), and Windows CardSpace (WCS, formerly “InfoCard”).

Visual C# 3.0 will be released as a part of the next Visual Studio release.

C# 3.0 will include features like:

Implicitly typed local variables using var keyword, e.g. var i = 5; would be equivalent to int i = 5; and var numbers = new int [] {1, 2, 3}; is equivalent to int[] numbers = new int [] {1, 2, 3};
Extension methods – static methods that can be invoked using instance method syntax (VB.NET developers have enjoyed having this feature for some time now, albeit with a compile time warning)
So called “lambda expressions” -- anonymous methods, which allow code blocks to be written “in-line” where delegate values are expected
Type inference – attempt to deduce argument type when one is not specified during a call to a generic method
Object initializers -- property setting during object construction, e.g.
Point p = new Point{X=0, Y=1};

LINQ (language integrated query) .. not happy with that!, linq = great
Etc.
For complete feature list and examples, please visit http://download.microsoft.com/download/5/8/6/5868081c-68aa-40de-9a45-a3803d8134b8/CSharp_3.0_Specification.doc

ref
http://blogs.msdn.com/irenak/archive/2006/08/07/690888.aspx

 

Sandcastle part 3




Edit, new version: http://dotnetpret.blogspot.com/2006/08/sandcastle-add-in-part-4.html

At the moment I'm writing a more mature version of the sandcastle add-in. All the different functionality will be separated. There will be a release uncomming week. I also have a codeplex project pending. So keep an eye on the blog!

This weeks features:
- Easy 2 use Sandcastle documentation
- Classdiagram renamer/exporter
- Solution stats
- file types and there count
- Lines of code
- FTP upload HTML doc

Uncomming features:
-Classrelation fix in classdiagrams
-Actionlist (split up for each developer)
-UI-sketsher
-Better website publisher



previous post (with known issues):
http://dotnetpret.blogspot.com/2006/08/sandcastle-continued-documentation.html
Video:
http://www.overnight.nl/download/sandcastleaddin.html

New design:

zondag, augustus 06, 2006

 

add-in custom image@#

Dont know if its me, but custom addin images seem to b pain in the *$$. Done everything by the book, but no image showing up#@$. I'll stick to the faceid's http://skp.mvps.org/faceid.htm for now. (change the default 54 to the number of your choice)

Command command = commands.AddNamedCommand2(_addInInstance, "OvernightPowerAddIns", "OvernightPowerAddIns", "Executes the command for OvernightPowerAddIns", true,[your number], ref contextGUIDS, (int)vsCommandStatus.vsCommandStatusSupported+(int)vsCommandStatus.vsCommandStatusEnabled, (int)vsCommandStyle.vsCommandStylePictAndText, vsCommandControlType.vsCommandControlTypeButton);

 

Sandcastle - under the hood

zaterdag, augustus 05, 2006

 

Custom VS2005 Add-In icons

Adding custom icons to your add-ins isnt as easy as it should be, here two 'how to' links:
http://west-wind.com/weblog/posts/3862.aspx
http://msdn2.microsoft.com/en-us/library/ms228771.aspx

vrijdag, augustus 04, 2006

 

Ultimate List of Free Windows Software from Microsoft

 

Building add-in msi

Article:

A Custom Action for Deploying Visual Studio 2005 Add-in:
Having developed a Visual Studio 2005 add-in recently, I found that when it comes to deploying the add-in, there is no setup project automatically created any more. As described in the following excerpt from MSDN online, Visual Studio 2005 now relies on the .addin file for add-in deployment.

http://thecodeproject.com/useritems/AddinCustomAction.asp

 

Sandcastle continued - Documentation Visual Studio 2005 Add-In




Edit, new version:
http://dotnetpret.blogspot.com/2006/08/sandcastle-add-in-part-4.html


After I found the SandCastle project via the site of Scott Hanselman, I had the idea to make a nice add-in based on it, well here it is, it is a pretty alpha, but common handy anyway.

You can document all the dll's in ur solution at once. Also classdiagram exporter.

If you have any trouble getting things to get working, let me know.

Config files also included in the project. Dont forget to add the test file in ur addin folder.


flash video (there is a delay in the middle section, dont zap away):
http://www.overnight.nl/download/sandcastleaddin.html

Demo video:
http://www.overnight.nl/download/documentationdemolabeld.avi

Sourcecode:
http://www.overnight.nl/download/SandCastleAndClassDiagramExtension.rar

maybe something to put on codeplex.com?? Also come back later for more mature versions, maybe ill develop more features uncomming weekend.

cheers!

Frank
questions: fh_kro{no-spam}ondijk@yahoo.com or post a comment :-)

older post:
http://dotnetpret.blogspot.com/2006/08/next-ndoc-sandcastle-july-2006-ctp.html

Scott Hanselman:
http://www.hanselman.com/blog/SandcastleMicrosoftCTPOfAHelpCHMFileGeneratorOnTheTailsOfTheDeathOfNDoc.aspx

Dont forget to set XML output on building ur lib:




















Edit:

known issues:

1)You need a solution file to find dlls.

2)the published version doesnt replace the helpfilename:

adding this snippet will do the trick:

this.SettingFile.GetElementsByTagName("HelpFileName").Item(0).InnerText = sFile.Substring(sFile.LastIndexOf("\\") + 1).Replace(".dll", "");

to:

private void btnExportHelp_Click(object sender, EventArgs e)
{
string sFile = "";
GenerateHelp myHelp;
for (int i = 0; i < sfile =" this.gridLibraries[1," innertext =" sFile.Substring(0," innertext =" sFile.Substring(0," innertext =" sFile.Substring(sFile.LastIndexOf(" innertext =" sFile.Substring(sFile.LastIndexOf(" myhelp =" new" value =" 0;">

At the moment im 'baking' a better version with different functions split up, so, keep an eye on the blog for further releases (expected this week)!


donderdag, augustus 03, 2006

 

C# datediff

 

active x project

This article describes how to start an activeX project. The source link is dead, but article is good enough for first babysteps.

http://web6.codeproject.com/com/CompleteActiveX.asp?df=100&forumid=318045&exp=0&select=1593059

http://www.download.com/ActiveX-Control-Pad/3000-2406_4-861343.html

http://www.codeproject.com/com/CompleteActiveX.asp

 

Avoiding ActiveX Activation in IE

As a result of the Eolas patent, Microsoft has changed the way that Internet Explorer loads ActiveX controls. All interactive controls which are embedded directly within a page must now be activated before they can be used.
An article on MSDN[^] provides instructions on a workaround for this change. The work-around involves creating an external script file for every control instance, which may not be practical in a dynamic site.
Terrence Sheflin, of Dundas Software, recently posted an article[^] and a control which attempts to make the workaround more reusable. However, the control has several problems:
http://www.codeproject.com/aspnet/AutoActivateControl.asp

http://www.ediy.co.nz/click-to-activate-and-use-this-control-fix-for-internet-explorer-xidc20771.html

 

Sending files in chunks with MTOM Web Services and .NET 2.0

In trying to keep up to speed with .NET 2.0, I decided to do a .NET 2.0 version of my CodeProject article "DIME Buffered Upload" which used the DIME standard to transfer binary data over web services. The DIME approach was reasonably efficient but the code is quite complex and I was keen to explore what .NET 2.0 has to offer. In this article, I use version 3.0 of the WSE (Web Service Enhancements) which is available for .NET 2.0 as an add-in, to provide a simpler and faster method of sending binary data in small chunks over HTTP web services.

by Tim_Mackey's

 

Web Services Enhancements (WSE) 3.0

 

power toys 4 Visual Studio 2005

woensdag, augustus 02, 2006

 

the next NDoc? Sandcastle - July 2006 CTP




Documentation Compilers For Managed Class LibrariesEnabling managed class library developers throughout the world to easily create accurate, informative documentation with a common look and feel.

http://blogs.msdn.com/sandcastle/

http://www.microsoft.com/downloads/details.aspx?FamilyId=E82EA71D-DA89-42EE-A715-696E3A4873B2&displaylang=en

http://www.hanselman.com/blog/SandcastleMicrosoftCTPOfAHelpCHMFileGeneratorOnTheTailsOfTheDeathOfNDoc.aspx

Extra freeware tool, initially not needed
http://www.gridinsoft.com/downloads/chm.zip

 

How to: Perform Custom Authentication Using SOAP Headers

The following custom solution is built using ASP.NET to provide an authentication mechanism using SOAP headers. The solution involves a custom Extending ASP.NET Processing with HTTP Modules on the Web server that executes the following steps:
The HTTP Module parses HTTP messages to check whether they are SOAP messages.
If the HTTP Module detects a SOAP message, it reads the SOAP headers.
If the SOAP message has the SOAP header with authentication credentials, HTTP Module raises a custom global.asax event.

ref
http://msdn2.microsoft.com/en-us/library/9z52by6a.aspx

 

Free agile dev book

This version is licensed for your personal viewing only. You are also allowed to redistribute it as long as this license is retained. It is NOT licensed for printing or for commercial use. If you'd like to print it, please order the hard copy from us at http://www.agileskills.org.
Download the whole book (about 2MB)
this mirror.

ref:
http://elronvel.blogspot.com/

dinsdag, augustus 01, 2006

 

WebReplay2

Web Replay 2 is an automated software testing tool for Web applications. It helps in detecting bugs and regressions in web applications by replaying scenarios to test the application. Using Web Replay 2, you can automatically navigate to a web page, fill in form fields, click on the Submit (OK) button, and then continue to another web page. To use Web Replay 2, build a JavaScript Scenario File (see below), type the name of the file in the edit box and click on the Replay button.
Background

 

Power Collections for .NET

Power Collections for .NET Welcome to Power Collections Power, A Community Project to Develop the Best Public License Collection Classes for .NET. This library was produced by Wintellect and is offered AS IS. People interested in the library should read the enclosed End user license agreement.Power Collections extends the Base Class Library with an algorithms class and a series of new containers. This has been created by you, the developer community. We ask for your input on the specification, design and code and invite you to submit your own.Review the current Power Collections Specification and submit your own source and binaries to info@wintellect.com You can download try out the latest version by downloading the source and binaries. You can also browse the Power Collections Documentation for more information on how to use the PowerCollections.

http://www.wintellect.com/MemberOnly/PowerCollections.aspx (need 2 login = free)

 

urlrewriting.net

I have posted a vew posts before about urlrewriting, but here a nice regex solution.

http://www.urlrewriting.net/en/Config.aspx

ref:
http://davidhayden.com/blog/dave/archive/2006/01/19/2740.aspx

 

www.sliver.com, nice list