woensdag, maart 22, 2006

 

code samples new in 2.0

 

Buncha ClickOnce Samples

 

Buncha WebServices Samples

dinsdag, maart 21, 2006

 

Video: Exploring Windows Presentation Foundation #1

 

ASP.NET and Workflows

A workflow built on Windows Workflow Foundation is a component that requires an ad hoc runtime environment to function. The workflow runtime environment is represented by the WorkflowRuntime class. To host a workflow library, you create and configure an instance of the WorkflowRuntime class to operate on a particular workflow type. For performance reasons, you normally create the runtime environment only once in the application lifetime and make it serve all incoming requests. In a Windows Forms application, you initialize the workflow runtime in the form's constructor and destroy it with the form when the application shuts down. So how does this work if you're using ASP.NET?
Once you have a workflow component up and running, calling it from within a Web app or Windows Forms shouldn't be an issue. As far as Windows Workflow Foundation-based workflows are concerned, ASP.NET developers have only a few small issues to face that are mostly related to the nature of Web applications.

read more..
http://msdn.microsoft.com/msdnmag/issues/06/04/CuttingEdge/default.aspx

maandag, maart 20, 2006

 

there it is, ATLAS CTP release!

 

formatdate in sql 2000

I had the situation that I needed to return a date in the right format from my recordset directly (old skool), in the olddays with mssaccess this wasnt a problem. With MSSQL its not that easy. I solved the problem with this nice function

http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=474&lngWId=5

dbo.FormatDate(GETDATE(), ‘MM/DD/YY HH:NN TT’)

And the result …

03/20/2006 07:15 PM

zondag, maart 19, 2006

 

Writing n-Tier Applications using Windows Forms

There are many examples of ASP.NET applications on the web today, from the Start Kits at http://www.asp.net to the various community efforts like DotNetNuke. The hole that seems to exist is an example of a well designed and architected Windows Forms application. The Tracker application is a Windows Forms reference application that starts to fill that hole. The main purpose of this application is to demonstrate best practices for using Microsoft .NET technologies, such as the Application Blocks for .NET and WS-Security, along with a clean and exciting user interface which can also be Tablet PC enabled. While I was writing the Tracker application, I also wrote a 10 chapter 110 page e-Book that goes into details over the how and why the application was written. The purpose for this article is to give you a high-level overview of the Tracker application, and the information you need to get it running on your machine so you can dig into the code yourself.

read more:

http://windowsforms.net/articles/writingntierapps.aspx?&tabindex=9

 

Achieving And Recognizing Testable Software Designs – Part I

nice article...

Here’s my current definition of a testable system:

“For each logical part of the system, a unit test can be written relatively easily and quickly that satisfies all the following PC-COF rules at the same time:

Partial runs are possible
Consistent results on every test run
Configuration is unneeded before run
Order of tests does not matter
Fast run time”

http://weblogs.asp.net/rosherove/articles/Design4Tesatbility1.aspx

TestDriven Map:
http://idp.shmarya.net/?p=65

j-unit in 4 minutes:
http://www.instrumentalservices.com/media/articles/java/junit4/JUnit4.pdf

zaterdag, maart 18, 2006

 

Architecture Journal

http://architecturejournal.net/2006/issue6/

You can also subscribe to a paper version...

 

pretty good tech blog and a lot of nice reference sheets

vrijdag, maart 17, 2006

 

Roland Weigelt's G h o s t D o c + 10 must haves

 

Sample code used in presentation Scott Guthrie (ATLAS, devdays 2006, Amsterdam)

Here the blog & download

http://weblogs.asp.net/scottgu/archive/2006/03/12/440068.aspx

 

Presentations devdays 2006 RAI

Already gathered some presentations from the speakers by mail, but here they all are.. Unfortunaly not the sample codes. Sheets are in English so don't mind the "Netherlands" in the url.

http://www.microsoft.com/netherlands/msdn/devdays/overzichtsessies.aspx

I wrote a report (6 pages) with a quick walkthrough of the sessions I followed, if you would like to receive it, mail me (Dutch article!).

Also see previous post

woensdag, maart 15, 2006

 

C# GetObject and CreateObject

When interoperating with COM applicaitons, sometimes you need to get the running instance of the application object of the app. In VB you would be doing this by using the GetObject method.

http://msmvps.com/blogs/pauldomag/archive/2006/03/15/86417.aspx

 

A Look into Transactions in ADO.NET 2.0

In this article, we will look into how to manage transactions against SQL Server in ADO.NET 2.0.

http://aspalliance.com/789

 

Custom Paging in ASP.NET 2.0 with SQL Server 2005

A common pattern in web development is providing paged access to data. Rather than displaying the entire contents of a report or database table to an end user, developers often show only a subset of records per web page, with controls for moving from page to page. With ASP.NET 1.x, the DataGrid made paging incredibly simple - just set the AllowPaging property to True and add a few lines of code in the PageIndexChanged event handler and you were done! ASP.NET 2.0's GridView makes the process even simpler - just check the Enable Paging option from the GridView's smart tag - no code needed.

The alternative to default paging is custom paging...

read on..
http://aspnet.4guysfromrolla.com/articles/031506-1.aspx

 

Visual Studio 2005 Web Deployment Projects (Beta V2 Preview)

Visual Studio 2005 Web Deployment Projects provide additional functionality for building and deploying Web site applications that you create in ASP.NET 2.0 and Visual Studio 2005. This add-in includes a new tool to merge the assemblies created during ASP.NET 2.0 precompilation, and provides a comprehensive UI within Visual Studio 2005 for managing build configurations, merging, and using pre-build and post-build tasks with MSBuild.

http://msdn.microsoft.com/asp.net/reference/infrastructure/wdp/default.aspx
http://download.microsoft.com/download/2/f/1/2f12a7b2-9ca1-4e42-90e2-61d69030cc26/WebDeploymentSetup.msi

dinsdag, maart 14, 2006

 

SSW Rules to Better Code

pretty cool and complete list to write better code:

http://www.ssw.com.au/ssw/Standards/Rules/RulestoBetterCode.aspx

you might check out the interview with Cogan on dotnetrocks as well..

zaterdag, maart 11, 2006

 

Free UML Tools for .NET Developers - DotNet2Uml - uml2svg - Generate UML Diagrams from Assemblies

nice reverse engineering tools

http://davidhayden.com/blog/dave/archive/2006/03/11/2882.aspx

 

Sample Code Generator 1.4.2.1

http://www.microsoft.com/downloads/details.aspx?FamilyID=89e6b1e5-f66c-4a4d-933b-46222bb01eb0&DisplayLang=en

Download this tool to generate sample C# & VB classes from an XSD schema.

 

Atlas webcast

RSS fly-by, webcast about Atlas..

hate these streams, just want 2 download tha thing, anyone knows a good ripper?


http://wm.microsoft.com/ms/uifx/ATLAS_Technology%20Preview_2-27-06.wmv
http://blogs.msdn.com/jhawk/archive/2006/03/07/545827.aspx

great developer tool
http://www.nikhilk.net/Project.WebDevHelper.aspx

 

DevDays 2006, great

attendentie: about 2498 male and 2 female developers

Great presentations.

Best:
Do's & Dont's Webservices (Bas van Atteveldt)
Atlas (Scot Suthrie)
Practical Enterprice Soa
C# 3.0 & Linq

Worst:
Test early while you develop, old and just a commercial talk.. waste of my lunch time
Dotnetnuke, only cms walkthrough..

Conclusion:

Atlas is almost there, and is great, go live licens within next 30 days.
SOA based architecture is the way to go
All 3 linq flavours are great but can take a while for us developers to get our hands on.
WWF is also great, but same problem as Linq.

maandag, maart 06, 2006

 

2 nights of sleep! devdays2006

looking forward 2 it.. :-)

 

system.configuration class

Im developing a custom web publish tool. After fiddeling with the XML classes, i ran into system.configuration.configuration. Should ease up a lot but so far no luck. AppSettings are there, but empty after reading the file :-(.. ill let you know when i have figured it out ...

http://msdn2.microsoft.com/en-us/library(d=IDE)/system.configuration.configuration.aspx

 

Tyred of these strange config xml format warnings in vs 2005

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=202801&SiteID=1

add the xsd file as mentioned and its solved...

zondag, maart 05, 2006

 

easy to use straight forward ftp stuff

http://www.csharphelp.com/archives/archive9.html

works like a charm..

nothing fancy but easy to add to your project..

zaterdag, maart 04, 2006

 

Internet Explorer configureren voor meer dan twee download-sessies

http://support.microsoft.com/?kbid=282402

new laptop, old annoying limits...

just reference..

 

how to videos

vrijdag, maart 03, 2006

 

In Page Progress with Cancel Example

 

cool imagemap project

once in a while it happens, you spend hrs developing a custom problem, then a month later there you go, similar project in your rss reader..

http://www.codeproject.com/useritems/ImageMap2.asp
ref:
http://www.dotnetslackers.com/ASP_NET/re-23049_ImageMap_NET_2_0.aspx