Friday, September 30, 2005

Modern Software Development: Use Visual Studio 2005 webcast series

Modern Software Development: Use Visual Studio 2005: "Back by popular demand for his third series of webcasts, author and teacher Dr. Joe Hummel dives into the development of smart client applications using Microsoft .NET 2.0 and Visual Studio 2005. Tune in as he focuses on the architecture and design of Smart Client Applications. This series builds upon Dr. Hummel�s two earlier series and each webcast builds upon previously discussed content. Online homework exercises will help reinforce the content. If you wonder whether your graphical user interface should follow the Model-View-Controller design pattern, which N-tier design is best for you, how .NET remoting impacts that design, and more, then register today."

Thursday, September 29, 2005

The Visitor Pattern - I Use Visitor by Uncle Bob

use the Visitor pattern all the time
The Visitor pattern is often maligned as too complex. I disagree. I use the visitor pattern all the time. I find it to be a very nice way to separate things that change for different reasons.

For example, let's say I've got a list of employees and I want to create the following report of hourly employees:

Tuesday, September 27, 2005

XPSMTP: Send mail from SQL Server using SMTP.

XPSMTP
XPSMTP provides a SMTP based SQL Mail solution for sending MIME based email over SMTP, implemented as an Extended Stored Procedure.

It does not require any software to be installed, just a SMTP email server that can handle the outgoing mail request. XPSMTP is using TCP/IP sockets to communicate to port 25. XPSMTP does not spawn additional threads, the xp_smtp_sendmail request is handled on the same thread as it is being called on by SQL Server. Each call to xp_smtp_sendmail establishes a connection to the SMTP server and disconnects when done sending the email. The connection is created using asynchronous communication and aborts based on a timeout value (@timeout which by default is 10000 milliseconds, so 10 seconds).



XPSMTP coverage in SQL Server Magazine June 2003: Sending Mail from SQL Server by Brian Moran

Monday, September 26, 2005

ASP.NET Best Practices

ASP.NET Best Practices

Friday, September 23, 2005

.NET Reference Guide Making Dates

.NET Reference Guide: "Making Dates
Last updated Jun 16, 2005.
As with any other .NET data structure, you have to create an instance of the DateTime value type before you can use it. DateTime has seven different constructors, although three of them are just duplicates of some others with an extra parameter (a Calendar parameter used for globalization). So really there are only four constructors. Those constructors allow you to initialize a DateTime structure"

Date & Time Formats on the Web

Date & Time Formats on the Web

The Code Project - RSS Feed Aggregator and Blogging Smart Client - Smart Client

The Code Project - RSS Feed Aggregator and Blogging Smart Client - Smart Client

Thursday, September 22, 2005

Security guidance documents for ASP.NET 2.0

Security guidance documents for ASP.NET 2.0: "Security guidance documents for ASP.NET 2.0
New documents are available on MSDN to guide you through best security practices in ASP.NET 2.0:
ASP.NET 2.0 Security Guidance Index: http://msdn.microsoft.com/library/en-us/dnpag2/html/ASPNET2SecurityGuidanceIndex.asp?frame=true
ASP.NET 2.0 Security Guidelines: http://msdn.microsoft.com/library/en-us/dnpag2/html/PAGGuidelines0001.asp?frame=true
ASP.NET 2.0 Security Checklist: http://msdn.microsoft.com/library/en-us/dnpag2/html/PAGCK0001.asp?frame=true
ASP.NET 2.0 Security Practices: http://msdn.microsoft.com/library/en-us/dnpag2/html/PAGPractices0001.asp?frame=true
ASP.NET 2.0 Security How Tos: http://msdn.microsoft.com/library/en-us/dnpag2/html/SecurityHowTosIndex.asp?frame=true
posted on Thursday, September 22, 2005 3:35 PM "

PatternShare

HomePage: "The PatternShare community site brings together software patterns from different authors in one place to show relationships between existing patterns and to encourage you to contribute new ones. By combining our efforts, the patterns community can increase pattern usage and better meet the needs of developers and architects who use patterns. "

Ben Reichelt's Weblog : Visual Studio Aggregator

Ben Reichelt's Weblog : Visual Studio Aggregator: "Visual Studio Aggregator
On the front page of VS 2005, there is a window that contains a news feed. This feed is simply an rss feed from Microsoft with news about visual studio in general. If you look in the options of VS, this feed is customizable, which makes VS a really simple news aggregator, for one feed :) Its kind of cool to see your own blog inside of VS though, here's a screenshot of my VS startup window, with my blog as the news feed. And below is a screenshot of the options page where you can customize the feed url:"

Smart Client Applications (Windows Forms) from MSDN

Smart Client Applications (Windows Forms): "This Library SectionEssentials
Customizing the Windows Forms DataGrid
Printing Reports in Windows Forms
TaskVision Solution Overview: Design and Implementation
Developing Custom Windows Controls Using Visual Basic .NET
Column: Wonders of Windows Forms
Code Samples "

VSTS Single-server installation will be supported!!

Omar Villarreal's WebLog: "- Should be available on MSDN for subscribers to download in about 2 days
- Has a go-live license, meaning that you will be able to migrate once the final release is available
- Single-server installation will be supported (Application and Data Tiers may be on the same server)"

How to make Google Maps� using ASP Classic when you don't have the longitude or Latitude

How to make Google Maps� using ASP Classic when you don't have the longitude or Latitude: "How to make Google Maps� using ASP Classic when you don't have the longitude or Latitude "

Tuesday, September 20, 2005

.Net Reference

.Net Reference: ".Net Reference
I have been working on .Net since C# came in Market but never been expose to this following awesome reference page although i get so many error message during my application development. isn't this funny ;)
This section includes user interface reference, language reference, error message, and other reference topics that apply to the integrated development environment (IDE).
Language References
Contains topics on language equivalents"

PDC 2005 Downloads

Downloads: "COM200 Applications and Communications Roadmap: Platform Presents and Futures

COM200_Vernal.ppt

COM202 Windows Communications Foundation ('Indigo'): A Lap around the Windows Communications Foundation

COM202_Gazitt_Demo.zip
COM202_Gazitt.ppt

COM209 IIS 7: A Lap around IIS 7

COM209_Staples.ppt"

Monday, September 19, 2005

devAdvantage : Multi-Threaded Coding Rules for .NET C#

devAdvantage : Multi-Threaded Coding Rules for .NET C#: "C# Threading Best Practices
The threading knowledge pack contains threading rules based on Microsoft�s C# Threading Design Guidelines and other industry best practices. "

devAdvantage : Error Handling Rules for C# - Overview

devAdvantage : Error Handling Rules for C# - Overview: "Best Practices for C# Exception Handling
The C# error handling knowledge pack contains preconfigured rules based on the .NET Error Raising and Handling Guidelines found in Microsoft's C# Design Guidelines for Class Library Developers, .NET Best Practices for Handling Exceptions found in the .NET Framework developers guide as well as other industry best practices. These rules are highly configurable and offer the ability to define your own best practices."

Thursday, September 15, 2005

dScribe: Workspace Home CMS tool for .NET 1.1

dScribe: Workspace Home: "dScribe is a Content Management System build with .Net 1.1. It's useful to maintain the content of Websites. "

Tuesday, September 13, 2005

ASP.NET 1.0 : Multimedia Training

ASP.NET : Multimedia: "ASP.NET 2.0 Training
See how to maximize your business potential with Microsoft solutions. This series of presentations by Jeff Prosise of Wintellect introduces you to many of the new features of ASP.NET 2.0. "

ASP.NET Project "Atlas" Quickstart Tutorial

ASP.NET Project "Atlas" Quickstart Tutorial: "ASP.NET �Atlas� makes it easy to build rich, interactive web-based applications for personalized web experiences
It allows you to create rich web applications that also harness the power of the server and browser. This brings a richer, user experience to web applications without the traditional need to post-back to the server.
ASP.NET 'Atlas' provides a foundation for building rich web applications using a suite of ASP.NET Server Controls, Web Services and JavaScript libraries. These simplify and enhance application creation by providing in-built controls and components that can be used in traditional JavaScript script and event or, through ASP.NET 'Atlas' script. 'Atlas' script allows simple declarative definition of client-side controls, components, behaviors and databinding that are tied to markup elements in the page. "

Inversion of Control with the Plugin Pattern

Jeremy D. Miller -- The Shade Tree Developer : Inversion of Control with the Plugin Pattern: "Inversion of Control with the Plugin Pattern
Inversion of Control (IoC) is an old principle in object oriented programming, but it�s gotten a lot of buzz the last couple of years because of the proliferation of Dependency Injection (DI) tools and articles. Dependency Injection is a significant flavor of the broader Inversion of Control principle, but it�s not the whole enchilada. IoC is an important technique to make your code easier to test with TDD, but the other major benefit is extensibility."

PhotoHandler: Workspace Home

PhotoHandler: Workspace Home: " simple photo album HttpHandler. Drop it in a web directory that contains photos and it just works. For ASP.NET 2.0 beta 2 and later"

Monday, September 12, 2005

WebSphere and .Net Interoperability Using Web Services

Front cover: "WebSphere and .Net Interoperability Using Web Servic"

Web Services Interoperability: Web Services Interoperability Guidance (WSIG) for IBM WebSphere Application Developer 5.1.2

Web Services and Other Distributed Technologies Developer Center: Web Services Interoperability: Web Services Interoperability Guidance (WSIG) for IBM WebSphere Application Developer 5.1.2: "Summary: Predicting whether Web services interoperability between two platforms is going to work is sometimes difficult. Simon Guest shares recommendations for Web services interoperability between the Microsoft .NET Framework 1.1 and IBM WebSphere Application Developer (WSAD) 5.1.2. (19 printed pages) "

Sunday, September 11, 2005

Javascript Libraries

Javascript Libraries: "The following are JavaScript libraries I have created
Style:
Blue (default)SandGreenGreyNo style
This page is too complicated for small screens so most of the content will not render - please use the handheld version.
These scripts are free to download and use, but please see my terms and conditions page for terms and conditions of their use.
Click the script name to view the syntax highlighted source, or click to download, or click the [DEMO] link to view a demonstration, or click for detailed browser support information. You can also search the libraries [NEW]."

Saturday, September 10, 2005

Sql Express Manager June 2005

http://www.microsoft.com/downloads/details.aspx?FamilyID=c7a5cc62-ec54-4299-85fc-ba05c181ed55&DisplayLang=en

Friday, September 09, 2005

Security Guidance for .NET Framework 2.0

Security Guidance for .NET Framework 2.0

ASP.NET Home: Table of Contents: GridView Examples for ASP.NET 2.0

ASP.NET Home: Table of Contents: GridView Examples for ASP.NET 2.0

A simple ASP.NET photo album

A simple ASP.NET photo albumA simple ASP.NET photo album
In June, Dmitry posted a very simple photo album on his blog. I immediately liked it because it's both easy to set-up (just drop the ashx file into your web site's photo directory) and to manage (no need to upload images one by one using a clumsy web upload field, just upload new photos using ftp or the file system). It's also nice to browse. Sure, there are no fancy ratings or comments features, you can't add titles or descriptions, but frankly, I didn't need all these features.

Still, I wanted to change a few things so I went ahead and added the following to Dmitry's handler:

XHTML output
CSS styling
EXIF meta-data reading and displaying
Sorting by date shot
Stacked photos folder icons
Folder names respect casing and special characters
In-handler pseudo-config (just modify the handler's configuration block with any text editor)
Thumbnail caching on disk or in memory

Download the code for the handler here:
http://www.gotdotnet.com/workspaces/workspace.aspx?id=1eceb66c-3bd0-4cdd-87d5-3fa0f4742032

Special thanks should go to Dmitry Robsman and David Ebbo.

Thursday, September 08, 2005

VS2005 Code Snippets

VS2005 Code Snippets: "VS2005 Code Snippets
In VS2005, Code Snippets can be found by right-clicking in your code page and choosing Insert Snippet. Also, all of the snippets have a shortcut. Type the shortcut and then press tab and the code snippet will be automatically inserted. For instance to automatically insert a code snippet for a for each loop type 'foreach' and then press tab.

All of the code snippets can be found here:
VB: C:\Program Files\Microsoft Visual Studio 8\VB\Snippets
C#: C:\Program Files\Microsoft Visual Studio 8\VC#\Snippets

and then you can use the manager to register your own code snippet folder and create your own.

Here's one that I use for inserting a public property"

www.dontclick.it

www.dontclick.it

Backbase - Rich Internet Applications

Backbase - Rich Internet Applications: "AJAX � Rich Internet Applications
Backbase provides Rich Internet Application (RIA) software that radically improves the usability and effectiveness of online applications, and increases developer productivity. With Backbase you can build web applications with a richer and more responsive user interface."

Wednesday, September 07, 2005

Event Lobby (EVENT: 15379)

Event Lobby (EVENT: 15379)

Tuesday, September 06, 2005

ASP.NET Applications without Web Projects

New Page 1: "ASP.NET Applications without Web Projects
Reference prepared by Fritz Onion
The Web Project wizard in Visual Studio .NET is convenient for creating quick ASP.NET applications on your local machine, but in an effort to simplify your life, it also makes many decisions for you that are difficult to change if you need more flexibility. My biggest pet peeve with Web Projects is that you cannot even open a .sln file if the virtual directory mapping in IIS is not set up correctly. I also dislike the way it places .sln and .csproj | .vbproj files in a separate location from the actual source files (I understand that this is necessary to allow application creation directly on a server, but I never deploy that way)."

Monday, September 05, 2005

Support WebCast: Message Queuing Application and Architecture Design

Support WebCast: Message Queuing Application and Architecture Design

Friday, September 02, 2005

Just published: Murach's ASP.NET 2.0 Upgrader's Guide: C# Edition

Just published: Murach's ASP.NET 2.0 Upgrader's Guide: C# Edition