Tuesday, November 29, 2005

GotCodeSnippets.NET: THE online source for Visual Studio code snippets

GotCodeSnippets.NET: THE online source for Visual Studio code snippets

ASP.NET Developer Center: Provider Toolkit

ASP.NET Developer Center: Provider Toolkit

Configuring ASP.NET 2.0 Application Services to use SQL Server 2000 or SQL Server 2005

Configuring ASP.NET 2.0 Application Services to use SQL Server 2000 or SQL Server 2005

Microsoft TechNet: SQL Server 2005

Microsoft TechNet: SQL Server 2005

mssqlserver.com: Achieving High Availability Part 1

mssqlserver.com: Achieving High Availability Part 1

SQL Server 2005 - Management Utilities

SQL Server 2005 - Management Utilities

Enjoy Every Sandwich : SQL Server Express failed to generate user instance

Enjoy Every Sandwich :: "SQL Server - Otherwise (RSS)
Think of it as a default constraint
A fix for that annonying per-user instance problem with SQLExpress
Thanks to fellow DevelopMentor 'Brain' Kevin Jones (RSS) for pointing this one out.
These problems left me stranded for days, then today, on another machine, I hit a different set of problems I kept getting the following 'Failed to generate user instance of SQL Server due to a failure in starting the process for the user instance. The connection will be closed.' and if I set 'User Instance' to false the following 'An attempt to attach an auto-named database for file C:\[app_path]\ASPNetDB.mdf failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share.'
..
If you don't want to follow the link, the short answer is that SQLExpress creates a directory per user in 'c:\Documents and Settings\[user]\Local Settings\Application Data\Microsoft\Microsoft SQL Server Data\SQLEXPRESS' that it uses to store information. Deleting this directory has fixed both of my problems. "

ASPFAQ : SQL Server 2005

ASPFAQ : SQL Server 2005: "Number of articles: 29
Last update: 2005-10-29
What version of SQL Server 2005 do I have?
What should I know about Express Manager (XM)?
Where do I post issues and questions about SQL Server 2005?
What happened to IntelliSense?
Can I download Books Online separately?
Why does SQL Server 2005 break SQL Server 2000 tools?
How do I view the code for system objects?"

Monday, November 28, 2005

SQL 2005 - advanced querying Richard Campbell Blogs Too

Richard Campbell Blogs Too: "I'm hanging out in the United Kingdom in Reading, just outside of London, attending the VBUG Conference.
Carl and Mark Miller are here as well.
Yesterday I did my famous advanced querying session, I've attached my demo files here for the folks who wanted them.
AdvQuerying_Setup.sql (3.48 KB)
AdvQuerying.sql (23.52 KB)
I'm also including my error handling queries, since I had enough time to quickly show off how SQL Server 2005 can actually handle an error: in this example, I handle a deadlock inside a stored procedure.
Error Handling Main.sql (1.48 KB)
Error Handling Second.sql (.26 KB)"

Adding Google Suggest to ASP.NET application

Adding Google Suggest to ASP.NET application

PageMethods, well-defined URLs for your ASP.NET sites by metaSapiens

PageMethods, well-defined URLs for your ASP.NET sites by metaSapiens: "PageMethods provides a solution for the limitations of the standard way of handling pages, URLs and parameters.
The usual way to proceed is not structured. With PageMethods, the code of your pages is simpler, cleaner and more reliable"

Sunday, November 27, 2005

Google Logo Maker : Search Engine Maker - Googlefor.com - Search Maker

Google Logo Maker : Search Engine Maker - Googlefor.com - Search Maker

MSDN TV: Web Service Enhancements (WSE) 3.0 and Secure Web Services

MSDN TV: Web Service Enhancements (WSE) 3.0 and Secure Web Services

Wrapping up ASP.NET Providers and remote setups

Wrapping up ASP.NET Providers and remote setups: "Like Rogers' comment, you need to run them in a particular order. However if you run the command with a filename you'll get them all in one single SQL script so run it like this:
aspnet_regsql -sqlexportonly MyProvider.SQL -A all"

TechEd 2005 HOL

TechEd 2005 HOL: "TechEd 2005 Hands-On Lab Manuals
HOL001 - Visual Studio Team Architect Edition
ARC01: Using the Distributed System Designers to visually design and validate service-oriented systems in Visual Studio 2005
Download Hands-On Lab Manual (Download Size: 364KB)
HOL002 - Visual Studio Team Architect Edition
ARC02: Using the Application Designer to design Your Web Service Architecture in Microsoft Visual Studio 2005
Download Hands-On Lab Manual (Download Size: 291KB)
HOL003 - ARC03: Using the Logical Datacenter Designer for Configuration and Deployment in Visual Studio 2005
Download Hands-On Lab Manual (Download Size: 271KB)"

Download details: Application Verifier

Download details: Application Verifier: "Application Verifier is a runtime verification tool for unmanaged code that assists in quickly finding subtle programming errors that can be extremely difficult to identify with normal application testing. "

Thursday, November 24, 2005

Using the System.Net.WebClient Asynchronously

Using the System.Net.WebClient Asynchronously

This will help you understand C# Constructor Overloads and Inheritance

This will help you understand C# Constructor Overloads and Inheritance

Wednesday, November 23, 2005

ASP.NET QuickStart Tutorial

ASP.NET QuickStart Tutorial: "Welcome to the ASP.NET 2.0 QuickStart Tutorial"

SQL 2005 Service Manager

SQL 2005 Service Manager

Tuesday, November 22, 2005

Artima Chapters Library - Books

Artima Chapters Library - Books

.NET Deployment Options

.NET Deployment Options

Using ROW_NUMBER() to paginate your data with SQL Server 2005 and asp.net c# - The Code Project - C# Database

Using ROW_NUMBER() to paginate your data with SQL Server 2005 and asp.net c# - The Code Project - C# Database

Asynchronous Web Service Options in .NET V2

The #1 online source for .NET/XML and Web Service Topics: "Asynchronous Web Service Options in .NET V2
Description As more and more Web Services are made available additional flexibility is needed when calling them. Applications that call Web Services may need to do so in an asynchronous (parallel) manner especially when calling multiple services or services that may take a longer amount of time to complete.
The code found in this sample demonstrates how to make synchronous and asynchronous calls to Web Services using features in .NET version 2.0. The included code demonstrates the following types of asynchronous calls:
Callbacks
WaitHandles
Polling
Asynchronous Events
Asynchronous ASP.NET Pages "

Monday, November 21, 2005

ASP.NET 1.1 Insider Solutions Great 1.1 samples and solutions

ASP.NET 1.1 Insider Solutions

Sunday, November 20, 2005

Configuring ASP.NET 2.0 Application Services to Use SQL Server 2000 or SQL Server 2005

Configuring ASP.NET 2.0 Application Services to Use SQL Server 2000 or SQL Server 2005

ASP.NET 2.0 and the Provider Model, without SQL Express

ASP.NET 2.0 and the Provider Model, without SQL Express

Data Access and Storage Developer Center: New DataSet Features in ADO.NET 2.0

Data Access and Storage Developer Center: New DataSet Features in ADO.NET 2.0

Data Access and Storage Developer Center: New DataSet Features in Visual Studio 2005

Data Access and Storage Developer Center: New DataSet Features in Visual Studio 2005

Saturday, November 19, 2005

System.Transactions: Implement Your Own Resource Manager

System.Transactions: Implement Your Own Resource Manager

Sahil Malik [MVP C#] : SQL Server 2005: A neat T-SQL trick - Batching

Sahil Malik [MVP C#] : SQL Server 2005: A neat T-SQL trick: "DECLARE @rowcount int
DECLARE @count int
SET @rowcount = 10
WHILE (@rowcount = 10)
BEGIN
BEGIN TRANSACTION
Update top (10) veryBigTable set a = b, updated=1 where updated=0 and c = d
Set @rowcount = @@rowcount
COMMIT
END"

Encrypt Connection Strings AppSettings and Web.Config in ASP.NET 2.0 - Security Best Practices

Encrypt Connection Strings AppSettings and Web.Config in ASP.NET 2.0 - Security Best Practices

Thursday, November 17, 2005

.NET Heaven - Essential Resources for .NET, Visual C#.NET, VB.NET, ASP.NET, Visual Studio .NET

.NET Heaven - Essential Resources for .NET, Visual C#.NET, VB.NET, ASP.NET, Visual Studio .NET: "C# Corner v2.0 Launched Nov 14, 2005
BOOTHWYN, PA. Nov 15, 2005. Mindcracker announced launch of C# Corner version 2.0. This new 2.0 version of C# Corner is redesigned and rewritten using C# and ASP.NET and adds many new features to the site.


Visual Studio 2005 Section Launched Nov 14, 2005
We have recently launched a new section dedicated to Visual Studio IDE features, code snippet, and articles. Check it out here. "

Active Directory and Microsoft .NET

Active Directory and Microsoft .NET

.NET TREATS & TRICKS :: TOOLS

.NET TREATS & TRICKS :: TOOLS

Script Repository: Active Directory User Accounts

Script Repository: Active Directory User Accounts

.NET TREATS & TRICKS :: ACTIVE DIRECTORY AND .NET

.NET TREATS & TRICKS :: ACTIVE DIRECTORY AND .NET

Ajax.NET Professional and Client Callbacks

Ajax.NET Professional and Client Callbacks

Wednesday, November 16, 2005

edevil?s weblog ? Javascript libraries roundup

edevil?s weblog ? Javascript libraries roundup

Tuesday, November 15, 2005

Visual Basic 6.0 Resource Center: Diagnose This

a process wrapper

Using the Process class from VB6
Like most of the classes in the .NET Framework, the Process class is not directly available to a VB6 application. Instead, you can expose the functionality of this class by creating a simple wrapper in VB.NET.

The code for the wrapper is as follows:

Listing 2. VB.NET Wrapper Class




Visual Basic 6.0 Resource Center: Diagnose This

Caching Method Results in ASP.NET 2.0 using Delegates

Caching Method Results in ASP.NET 2.0 using Delegates

ASP.NET 2.0 Security Practices at a Glance

ASP.NET 2.0 Security Practices at a Glance

MSDN .NET Framework Developer Center: Runtime Breaking Changes

MSDN .NET Framework Developer Center: Runtime Breaking Changes

Monday, November 14, 2005

Cheat Sheet Roundup - Over 30 Cheatsheets for developers

Cheat Sheet Roundup - Over 30 Cheatsheets for developers

Demystifying SAML

Demystifying SAML

ASP.NET Developer Center: Provider Toolkit

ASP.NET Developer Center: Provider Toolkit

CommerceStarterKit.org - Home of the PayPal-enabled Commerce Starter Kit

CommerceStarterKit.org - Home of the PayPal-enabled Commerce Starter Kit

ASP.NET 2.0: URL Mapping with RegEx Support

ASP.NET 2.0: URL Mapping with RegEx Support

Certification FAQ | Certification Discussions

Certification FAQ | Certification Discussions

Sunday, November 13, 2005

Tips for Nested Master Pages and VS 2005 Design-Time

Tips for Nested Master Pages and VS 2005 Design-Time

Saturday, November 12, 2005

Aaron Stebner's WebLog : What to do if I get package load failures in the final release of VS 2005?

Aaron Stebner's WebLog : What to do if I get package load failures in the final release of VS 2005?

Oracle9i Database List of Books (Release 2 (9.2))

Oracle9i Database List of Books (Release 2 (9.2))

Visual Studio 2005 Web Deployment Projects (Beta Preview)

Visual Studio 2005 Web Deployment Projects (Beta Preview)

Visual Studio 2005 - ASP.NET Forums

Visual Studio 2005 - ASP.NET Forums

Got Directory Services? New Ways to Manage Active Directory using the .NET Framework 2.0 -- MSDN Magazine, December 2005

Got Directory Services? New Ways to Manage Active Directory using the .NET Framework 2.0 -- MSDN Magazine, December 2005

GotDotNet User Sample: PINVOKE.NET Add-In for Visual Studio (v1.0)

GotDotNet User Sample: PINVOKE.NET Add-In for Visual Studio (v1.0)

World Wide Region Select Page

World Wide Region Select Page

Friday, November 11, 2005

AutoComplete AJAX Control with Ajax.NET Professional

AutoComplete AJAX Control with Ajax.NET Professional

Thursday, November 10, 2005

Creating a better BackgroundWorker: CancelImmediately and other goodies

Creating a better BackgroundWorker: CancelImmediately and other goodies

Uninstall a VSI File

Uninstall a VSI File: "Uninstall a VSI File
If you want to uninstall a VSI file for Visual Studio .NET 2005, its kinda hard to figure out what is going on. I didn't find anyway any way in the Control Panel applet. I couldn't find it in the Visual Studio Directory. It was driving me up the wall. Well, it appears the files are stored in the 'My Documents\Visual Studio 2005\Templates\Project Templates' directory. Delete the file and its uninstalled. Life is better. "

AJAX problems for newbies

AJAX problems for newbies: "AJAX problems for newbies
I have some items I learned about AJAX (or Ajax.NET Professional) developer newbies:
You cannot access the controls or HTML elements on your web site if you are using DOM/DHTML on the client-side to modify data. Without a postback you will not get the changed parts of the page. An example: if you have a placeholder control you can set the visibility style to hidden on the client. If you want to have the same value for the visibility value on the server you have to post it back, with AJAX or a full postback.
You should not do too many AJAX requests. One reason is that you can only have two connections at the same time (with one process, i.e. with one running iexplore.exe). If you want to initialize a lot of controls on window onload event you should pack it in one method. If you have some initializing data use the JSON serializer to write this data as a JavaScript to the page instead of invoking a AJAX request later.
The Session and Cache collections are available through the System.Web.HttpContext.Current static value. You can also implement the preferred way with implementing the IContextInitializer interface. This will be needed for future developments.
AJAX should not be used to get MBs of data back to the client. Also, you should have a look at the viewstate, some developers showed me pages that are filling DataSets from a database during Page_Load and again, if they are using AJAX. Decide what you want to use and load within AJAX or the common ASP.NET Page.
posted on Thursday, November 10, 2005 12:06 AM "

Wednesday, November 09, 2005

ASP.NET Development Center: Step-By-Step Guide to Converting Web Projects from Visual Studio .NET 2002/2003 to Visual Studio 2005

ASP.NET Development Center: Step-By-Step Guide to Converting Web Projects from Visual Studio .NET 2002/2003 to Visual Studio 2005

Monday, November 07, 2005

Kent Sharkey : Learn VWD and ASP.NET 2.0 with Interactive Simulations

Kent Sharkey : Learn VWD and ASP.NET 2.0 with Interactive Simulations

Saturday, November 05, 2005

: Visual Studio 2005 Product Line Overview

: Visual Studio 2005 Product Line Overview

: Visual Studio 2005 Product Line Overview

: Visual Studio 2005 Product Line Overview

Thursday, November 03, 2005

Plunging into .NET Development - Weblog Pieter Gheysens: Personalization [Web Parts] in ASP.NET 2.0

Plunging into .NET Development - Weblog Pieter Gheysens: Personalization [Web Parts] in ASP.NET 2.0

Configuring ASP.NET 2.0 Application Services to use SQL Server 2000 or SQL Server 2005

Configuring ASP.NET 2.0 Application Services to use SQL Server 2000 or SQL Server 2005

Welcome to the MSDN Library

Welcome to the MSDN Library

A low-level Look at the ASP.NET Architecture

A low-level Look at the ASP.NET Architecture

Wednesday, November 02, 2005

.NET Framework Developer Center: Generics FAQ: Fundamentals

.NET Framework Developer Center: Generics FAQ: Fundamentals

Tuesday, November 01, 2005

Commonly Used .NET Coding Patterns in CodeDom - The Code Project - C# Programming

Commonly Used .NET Coding Patterns in CodeDom - The Code Project - C# Programming

IBM Websphere Community Edition / Oracle 10g Express Edition (FREE)

IBM Websphere Community Edition / Oracle 10g Express Edition (FREE)

Does Visual Studio Rot the Mind?

Does Visual Studio Rot the Mind?: "Does Visual Studio Rot the Mind?
Ruminations on the Psychology and Aesthetics of Coding
By Charles Petzold
A Talk Delivered at the NYC .NET Developer�s Group,
October 20, 2005 "