Developers blog, .NET, C#, VB.NET, ATLAS, AJAX, WWF, ORM, LINQ, ARCHITECTURE and more by Frank Kroondijk |
|
ProfileFrank KroondijkSoftware developerSoftware architectBlog profile
Links
Archives
200 feeds |
woensdag, maart 22, 2006code samples new in 2.0
Code Sample for Discover What’s New in ASP.NET 2.0 Web Services (ASMX)
http://blogs.interknowlogy.com/adamcalderon/archive/2006/03/20/977.aspx Sample code for Discover the Advanced Features of ASP.NET 2.0 Web Services (ASMX) http://blogs.interknowlogy.com/adamcalderon/archive/2006/03/20/978.aspx Buncha ClickOnce SamplesBuncha WebServices Samplesdinsdag, maart 21, 2006Video: Exploring Windows Presentation Foundation #1ASP.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, 2006there 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, 2006Writing 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, 2006Architecture Journalpretty good tech blog and a lot of nice reference sheets
Lots of good bookmarks and blogs..
http://braveideas.blogspot.com/ sheets: javascript: http://www.ilovejackdaniels.com/article/javascript-cheat-sheet/ http://www.ilovejackdaniels.com/javascript_cheat_sheet.pdf CSS: http://www.ilovejackdaniels.com/article/css-cheat-sheet/ http://www.ilovejackdaniels.com/css_cheat_sheet.pdf HTML Characters http://www.ilovejackdaniels.com/article/html-character-entities-cheat-sheet/ http://www.ilovejackdaniels.com/characters_cheat_sheet.pdf Mysql http://www.ilovejackdaniels.com/article/mysql-cheat-sheet/ http://www.ilovejackdaniels.com/mysql_cheat_sheet.pdf Ruby on rails http://www.ilovejackdaniels.com/ruby-on-rails/ruby-on-rails-cheat-sheet/ http://www.ilovejackdaniels.com/ruby_on_rails_cheat_sheet.png ASP - VBscript http://www.ilovejackdaniels.com/cheat-sheets/asp-vbscript-cheat-sheet/ http://www.ilovejackdaniels.com/asp_cheat_sheet.png Mod rewrite http://www.ilovejackdaniels.com/cheat-sheets/mod_rewrite-cheat-sheet/ http://www.ilovejackdaniels.com/mod_rewrite_cheat_sheet.pdf PHP http://www.ilovejackdaniels.com/php/php-cheat-sheet/ http://www.ilovejackdaniels.com/php_cheat_sheet.pdf Colors http://www.ilovejackdaniels.com/resources/colour-chart/ http://www.ilovejackdaniels.com/colourchart.png vrijdag, maart 17, 2006Roland Weigelt's G h o s t D o c + 10 must haves
code documentation tool
http://www.roland-weigelt.de/ghostdoc/ 10 must have addins 4 VS2005 http://msdn.microsoft.com/msdnmag/issues/05/12/VisualStudioAddins/default.aspx testdriven.net http://www.testdriven.net/Default.aspx?tabid=27 Sample code used in presentation Scott Guthrie (ATLAS, devdays 2006, Amsterdam)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, 2006C# 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, 2006SSW 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, 2006Free UML Tools for .NET Developers - DotNet2Uml - uml2svg - Generate UML Diagrams from AssembliesSample 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, 20062 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, 2006easy 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, 2006Internet Explorer configureren voor meer dan twee download-sessieshow to videosvrijdag, maart 03, 2006In Page Progress with Cancel Examplecool 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 |