2009-02-25

Alen Ziver Malhasoglu's New Microsoft Commerce Server Blog

A Collection of Well-Known Software Failures

A Collection of Well-Known Software Failures
http://www.cse.lehigh.edu/~gtan/bug/softwarebug.html

Ariane 5 Explosion

Software testing
http://en.wikipedia.org/wiki/Software_testing

2009-02-24

Alen Ziver Malhasoglu's New Microsoft Commerce Server Blog

sp calling sp

How to Share Data Between Stored Procedures

2009-02-23

Alen Ziver Malhasoglu's New Microsoft Commerce Server Blog

ASP.NET engine automatically finds your CSS!!!

This is sometimes harmful if your are rewriting urls...
http://www.aspcode.net/Master-pages-themes-and-url-rewriting.aspx


2009-02-20

Alen Ziver Malhasoglu's New Microsoft Commerce Server Blog

Heap vs Stack

Nice articles on Stack & Heap
=> C# Heap(ing) Vs Stack(ing) in .NET: Part I By Matthew Cochran January 14, 2006
=> Stack vs. Heap
=> what is heap?

2009-02-19

Alen Ziver Malhasoglu's New Microsoft Commerce Server Blog

Build Server feature of TFS

Team Foundation Server
"Team Build is a build server included with Team Foundation Server that can be installed on almost any machine that can support Visual Studio. Machines configured with Team Build can be used by developers to do a complete build of the most recent versions of the software contained in source control. Records of every build, whether it succeeds or fails, are kept so that developers and build administrators can keep track of the progress of the project."
http://en.wikipedia.org/wiki/Team_Foundation_Server

TFS Build Server blog entries of Neno Loje
http://msmvps.com/blogs/vstsblog/archive/tags/Team+Build+Server/default.aspx

patterns & practices Team System Videos (MSDN)
http://msdn2.microsoft.com/en-us/library/bb671361.aspx

2009-02-16

Alen Ziver Malhasoglu's New Microsoft Commerce Server Blog

Changing Table Schema

SELECT 'ALTER SCHEMA zam TRANSFER ' + SCHEMA_NAME(schema_id) + '.' + name
FROM sys.tables
WHERE schema_id = SCHEMA_ID('dbo')
AND [name] not like N'%_InventorySkus'
AND [name] not like N'%_CatalogProducts'
AND [name] not like N'%_CatalogDeletedProducts'
AND [name] not like N'%_CatalogRelationships'
AND [name] not like N'%_CatalogHierarchy'
AND [name] not like N'%_Catalog'
AND [name] not like N'%_CatalogDependentCatalogs'

Also check out following link ..::.. Changing Basket Limits
http://msdn.microsoft.com/en-us/library/ms960085.aspx

-- For instance, in order to transfer dbo.[All_tr-TR] to zam.[All_tr-TR]
ALTER SCHEMA zam TRANSFER dbo.[All_tr-TR]

2009-02-13

Alen Ziver Malhasoglu's New Microsoft Commerce Server Blog

Gadgets

DisableLoopbackCheck
http://support.microsoft.com/kb/896861

SecureString - System.Security.SecureString Class - Encrypting Strings in Memory in .NET 2.0 Framework
http://davidhayden.com/blog/dave/archive/2006/03/04/2873.aspx

What ASP.NET Programmers Should Know About Application Domains and Application Pools

What ASP.NET Programmers Should Know About Application Domains
http://www.odetocode.com/articles/305.aspx

Application vs. AppDomain
http://weblogs.asp.net/owscott/archive/2007/09/02/application-vs-appdomain.aspx

What is the diff. b/w Application Domain & Application Pool in .NET?
http://in.answers.yahoo.com/question/index?qid=20071223011529AARcKYI

Thoughts on ApplicationPool recycling and application availability
http://blogs.msdn.com/david.wang/archive/2006/01/26/Thoughts-on-Application-Pool-Recycling-and-Application-Availability.aspx

HOWTO: Basics of II6 troubleshooting
http://blogs.msdn.com/david.wang/archive/2005/12/31/HOWTO_Basics_of_IIS6_Troubleshooting.aspx

Troubleshooting process
http://weblogs.asp.net/steveschofield/archive/2006/07/08/Troubleshooting-process.aspx#comments

Rico Mariani's Performance Tidbits - When to call GC.Collect()
http://blogs.msdn.com/ricom/archive/2004/11/29/271829.aspx

ASP.NET AJAX Extension for .NET Framework 3.5 may be used with VS.NET 2005 Projects

Quote from Using .NET 3.5 and Visual Studio 2005:
The problem is that by tying the release of .NET 3.5 to Visual Studio 2008, the impression is given that, unless you are ready to upgrade to the new version of the IDE, there is no point thinking about upgrading to the new version of the framework. This is simply not the case. The .NET framework does not have any built-in dependency on Visual Studio, let alone a specific version of Visual Studio. More to the point, Microsoft has long since split the versioning of the framework from the versioning of the run-time environment. .NET 3.5 continues to exploit version 2.0 of the CLR. Visual Studio 2005 is perfectly happy to compile your code against .NET 3.5 assemblies. They are just assemblies. Even more compelling is the realisation that most of the assemblies in .NET 3.5 are identical to those in .NET 3.0 (same version number). There are some new assemblies with new features. .NET 3.5 is just .NET 3.0 with extra stuff.

Why is this important? Well, not everyone is ready to upgrade to Visual Studio 2008. Apart from the expense this involves, consider the dilemma of BizTalk Server developers. Currently, there are no Visual Studio 2008 bindings for BizTalk Server (i.e., you can't create BizTalk Server project types in the new IDE). This, we are assured, will be addressed at some point, but that could be months away. For the time being, BizTalk developers are stuck with Visual Studio 2005 :-( Hence, some people are currently discounting the possibility of using .Net 3.5 because they believe, quite incorrectly, that it requires an upgrade to Visual Studio 2008.

There are issues, of course. As well as the absence of compiler support for LinQ, Visual Studio 2005 does not have access to various new project and file templates and tools that support the new version of the framework. Developers may need to do more coding in Visual Studio 2005 than would be necessary in Visual Studio 2008. This is often a small price to pay, however, in order to access the improvements in 3.5. As an example, consider the new integration between WF and WCF, provided in the new System.WorkflowServices assembly. The integration is provided via the new WorkflowServiceHost class and a couple of new activities. Visual Studio 2008 has new template support for building workflow services, and comes with a very useful new WCF test harness. However, exploiting this new functionality in Visual Studio 2005 is trivial. Create a WF workflow library, add a reference to System.WorkflowServices and add the new activities to your tool box. Finally, use the WCF Service template to add a service class to your project and you are just about in the same position as you would be in Visual Studio 2008 if you used the new Workflow Service project template. You'll need to write a couple of lines of code to use WorkflowServiceHost to host your service, of course. Off you go, and enjoy .NET 3.5.


Quote fromWill .net 2.0 and 3.5 run side by side?:
3.5 is an extension if 2.0. There is no 3.5 without 2.0. Its actually a different dll (Core.dll). This isn't like the move from 1.1 to 2.0; if your older sites don't reference the new dll, then those sites do not get altered whatsoever.



ASP.NET AJAX Extension for .NET Framework 3.5 is integrated into .NET Framework 3.5

2009-02-12

Alen Ziver Malhasoglu's New Microsoft Commerce Server Blog

Adding Image Management to your Commerce Site

Adding Image Management to your Commerce Site Part (IV)
http://blogs.msdn.com/maxakbar/archive/2006/11/28/adding-image-management-to-your-commerce-site-part-iv.aspx
Adding Image Management to your Commerce Site Part (V)
http://blogs.msdn.com/maxakbar/archive/2006/12/16/adding-image-management-to-your-commerce-site-part-v.aspx

2009-02-11

Alen Ziver Malhasoglu's New Microsoft Commerce Server Blog

Swimming in the CSS pool

#Basket_Open2
{ /*1*/ position: absolute; float: left; width: 200px; z-index: 1000; display: none;
/*2*/ /* background: url('') repeat-y; */
}

Above css entry (marked as /*2*/) causes the css to be loaded again when the page is being rendered. Browser redownloads the whole css file because of the url('') expression. BEWARE forgeting such things in your css.

2009-02-10

Alen Ziver Malhasoglu's New Microsoft Commerce Server Blog

Ten Must-Have Tools For Developers

From MSDN Magazine: Ten Must-Have Tools Every Developer Should Download Now
http://msdn.microsoft.com/en-us/magazine/cc300497.aspx

Cannot use <% ... %> in head tag

from Nitin's Tech Blog:
http://knitinr.blogspot.com/2009/01/httpexception-controls-collection.html

Articles about SQL Server Notification Services

Using SQL Server Notification Services, By Peter A. Bromberg, Ph.D.
http://www.eggheadcafe.com/articles/20021122.asp

2009-02-09

Alen Ziver Malhasoglu's New Microsoft Commerce Server Blog

Unable to start debugging on the web server. An authentication error occured while communicating with the web server

Quote From: http://provenit.blogspot.com/2008/02/unable-to-start-debugging-on-web-server.html
1. In the "Internet Options" control panel, go to the Security tab. Add "http://localhost" to your list of "Trusted Sites"
2. Again, for "Trusted Sites", clilck the "Custom Level..." button. Change the value of User Authentication to "Automatic login with current username and password".
3. In the new IIS manager, ensure that the web application directory is both:
a. in the "Classic .NET AppPool".
b. has "Windows Authentication" enabled in the Authentication section.

Commerce Server 2007 Capacity Planning Tool

Check this wizard which will help you decide on your Commerce Server 2007 production environment configuration.
http://www.microsoft.com/commerceserver/techinfo/planning/capacity.mspx
You may also have a look at the following pages:
http://msdn.microsoft.com/en-us/library/ms915607.aspx
http://www.diraction.ch/shopdocs/files/Commerce%20Server%202007%20Product%20Overview.pdf

2009-02-06

Alen Ziver Malhasoglu's New Microsoft Commerce Server Blog

use ApplicationName property in ConStr and ease your Traces

Use ApplicationName of the connection string and ease your sql profiler traces, this will provide the application's name which is executing the query. i.e:
connectionString=Data Source=MyServer;Initial Catalog=MyDatabase;Persist Security Info=True;User ID=MyUserName;Password=MyPassword;Application Name=My Application
Take Advantage of Application Name
SqlConnectionStringBuilder.ApplicationName Property

2009-02-05

Alen Ziver Malhasoglu's New Microsoft Commerce Server Blog

VaryByCustom Caching By User

VaryByCustom Caching By User
http://aspadvice.com/blogs/ssmith/archive/2007/10/29/VaryByCustom-Caching-By-User.aspx
http://msdn.microsoft.com/en-us/library/system.web.ui.partialcachingattribute.varybycustom.aspx

Softsteel Solutions ASP.NET's Cache Bonus
http://www.softsteel.co.uk/tutorials/AspNetCaching/index.html

ASP.NET Caching related counters forum thread
http://forums.asp.net/t/1250796.aspx


Understanding SQL Server 2005 Notification Services with ASP.NET 2.0
http://aspalliance.com/1541_Understanding_SQL_Server_2005_Notification_Services_with_ASPNET_20

Implement Custom Cache Dependencies in ASP.NET 1.x
http://msdn.microsoft.com/en-us/magazine/cc163955.aspx

ASP.NET 2.0 Caching Features
http://www.15seconds.com/Issue/040518.htm

Patterns & Practices: Performance Testing Guidance
http://www.codeplex.com/PerfTesting
Patterns & Practices: Performance Testing Guidance ..::.. Video Index
http://www.codeplex.com/PerfTesting/Wiki/View.aspx?title=Video%20Index&referringTitle=Home

ASP.NET 2.0 Caching by: webmaster
http://www.csharpfriends.com/Articles/getArticle.aspx?articleID=446

web.config cache configuration
<configSections>
<sectionGroup name="caching" type="System.Web.Configuration.SystemWebCachingSectionGroup, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<section name="cache" type="System.Web.Configuration.CacheSection, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="outputCache" type="System.Web.Configuration.OutputCacheSection, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="outputCacheSettings" type="System.Web.Configuration.OutputCacheSettingsSection, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="sqlCacheDependency" type="System.Web.Configuration.SqlCacheDependencySection, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</sectionGroup>
</configSections>

<caching>
<cache>
<outputCache enableOutputCache="false" enableFragmentCache="false" sendCacheControlHeader="false" omitVaryStar="false" />
</cache>
</caching>

PCF file open problem on 64 bit Win2003

* PCF file open, broken pipe error is solved. Thus PipelineEditor association issue fixed
C:\Program Files (x86)\Microsoft Commerce Server 2007\pipeeditor.exe_IfYouExecuteThisOn64EnvironmentYouSeeYourPipelinesHaveBrokenPipes_Use64EditionIsteadOfThisOne

2009-02-04

Alen Ziver Malhasoglu's New Microsoft Commerce Server Blog

Forcing Garbage Collection

C# Tip: Forcing Garbage Collection in .NET
How can I force garbage collection?
Best Practice for Forcing Garbage Collection in C#

Use ToolkitScriptManager instead of ScriptManager

Shawn Burke's Blog: Updated Toolkit Release Now Available
http://blogs.msdn.com/sburke/archive/2007/06/07/updated-toolkit-release-now-available.aspx

Other neat stuff
http://www.asp.net/AJAX/AjaxControlToolkit/Samples/Walkthrough/OtherNeatStuff.aspx

News about new AJAX
http://blogs.infragistics.com/blogs/tony_lombardo/archive/2008/07/28/script-combining-what-s-the-big-deal.aspx

AjaxControlToolkit-Framework3.5SP1.zip
http://www.codeplex.com/AjaxControlToolkit/Release/ProjectReleases.aspx?ReleaseId=16488#ReleaseFiles

Installing AJAX Toolkit for Visual Studio .NET 2005
http://www.programminghelp.com/web-development/ajax/installing-ajax-toolkit-for-visual-studio-net-2005/

Script combining made easy [Overview of the AJAX Control Toolkit's ToolkitScriptManager]
http://blogs.msdn.com/delay/archive/2007/06/11/script-combining-made-easy-overview-of-the-ajax-control-toolkit-s-toolkitscriptmanager.aspx

Batch JavaScript Libraries for Increased Performance
http://stevesmithblog.com/blog/batch-javascript-libraries-for-increased-performance/

Combining, Compressing, Minifying ASP.Net ScriptResource and HTML Markups
http://www.codeproject.com/KB/aspnet/AspNetOptimizer.aspx

Using the ASP.NET AJAX Client Library without a ScriptManager
http://blogs.infragistics.com/blogs/jess_chadwick/archive/2008/07/11/using-the-asp-net-ajax-client-library-without-a-scriptmanager.aspx

.NET 3.5 SP1 Doesn’t Provide Composite Script Registration from an IScriptControl (out-of-the-box)
http://seejoelprogram.wordpress.com/2008/08/19/net-35-sp1-doesnt-provide-composite-script-registration-from-an-iscriptcontrol-out-of-the-box/
webCast on ScriptCombining
http://download.microsoft.com/download/9/e/6/9e610c44-aa73-4769-9536-a4834d723a48/WinVideo-ScriptCombining.wmv

While using Toolscriptmanager:
The encoding information is missing in the response content of .js files
http://www.codeplex.com/AjaxControlToolkit/WorkItem/View.aspx?WorkItemId=12327