(this one is for 2003 server
http://www.singingeels.com/Articles/Duplex_WCF_Services_Hosted_in_IIS_Using_NetTcp.aspx
)

Below content from unknown source:

step 1

make sure the window services related to was  is running 24/7. Please ensure that svc - integrated handler is working properly in IIS 7.0.  This step is very important. Make sure the IIS 7.0 is working perfectly. You should also have administrative prevliages on you machine.

step 2

In the adminstravtive command  make sure the website is enable to accept the net.tcp protocol or the UI interface in the IIS 7.0 will help  you  to do it. The command is given below. This command should be at the adminstrative command in window server 2008. This process is one time activity.

%windir%\system32\inetsrv\appcmd.exe set site "Default Web Site" -+bindings.[protocol='net.tcp',bindingInformation='8000:*']

step 3

After your web application is created , mapping to your phsyical directory in your machine. You must enable the web application to accept net.tcp protocol.  The sample dos command is given below and this command should be run in the administrative command in window server 2008

%windir%\system32\inetsrv\appcmd.exe set app "Default Web Site/ Application Name” /enabledProtocols:http;net.tcp

step 4

In the Microsoft.NET Framework 3.0, enable the Window Communication Foundation Non-HTTP activation.  Kindly ensure that the two features like Window communication foundation HTTP Activation, XPS Viewer in Microsoft.NET Framework 3.0 should also be enabled.

  • From the Start menu, choose Control Panel.
  • Select Programs and Features.
  • Click Turn Windows Components on or Off.
  • Expand the Microsoft .NET Framework 3.0 node and check the Windows Communication Foundation Non-HTTP Activation feature


step 5

In the Window Features , enable all the features of window process activation service. The features to be enabled are .Net environment, Configuration API ,Process Model.

  • From the Start menu, choose Control Panel.
  • Select Programs and Features.
  • Click Turn Windows Components on or Off.
  • Expand Window Process Activation Process Activation.


step 6

The Turn User Account Control should be turned off , in the case if you are trying to host  WAS service in a new machine. If the user account is turned on then it is not possible to host the WCF Service in IIS 7.0.

  • Click start
  • Go to Setting and click the control panel
  • Select the User Control
  • Click on the Turn User Account Control on or off


step 7

In the Internet Information Service , enable the features which are given below. the IIS Metabase and IIS 6 configuration compatibility which comes under web management tools.

From the Start menu, choose Control Panel.
Select Programs and Features.
Click Turn Windows Components on or Off.
Expand Internet Information Service.

step 8

Microsoft Front Page Server Exemptions Extensions

If Microsoft Front Page Server Exemptions extension is not installed in the machine,
Install using the following URL
       http://www.iis.net/downloads/default.aspx?tabid=34&g=6&i=1577

step  9 -  ServiceModel Registration Tool (ServiceModelReg.exe)

For information on ServiceModelReg , visit the url which is given below. It is very important

http://msdn.microsoft.com/en-us/library/ms732012.aspx


Sample application for WAS Hosting you can you use from the URL which are given below

http://msdn.microsoft.com/en-us/library/ms752218.aspx


 
Categories: WCF

My Vault Demo slids for in our company IT managers

Vault1.ppt (64 KB)
Why change? Why Vault?

VSS Does not offer cheap branching, so we hesitate to create branches. Also does not support ActionScript type filenames which forced us to use Subversion for FLEX development. Now we straddle using two Version Control systems.
Vault combines the best of VSS and Subversion and adds some enhancements of its own.
Surveyed about 20 Version Control systems. Several are cheaper(free), Several are more powerful (AccuRev, Team Concert). Vault has by far the lowest learning curve, has the essential features and is priced competitively.





 
Categories: Agile | ProjectManagement

September 22, 2010
@ 09:55 AM
Author: Carlos J. Quintero (Microsoft MVP) Applies to: Microsoft Visual Studio .NET 2002
Date: June 2008   Microsoft Visual Studio .NET 2003
Updated: March 2009   Microsoft Visual Studio 2005
      Microsoft Visual Studio 2008

Introduction

This article provides a list of known project type Guids.

More Information

Every Visual Studio project has a project type (Windows project, Smart Device project, Web Site project, etc.) and in some cases more than one type (subtypes or flavors).

Every project type is identified by a unique Guid, so every project has one or more project type Guids.

Project type Guids are stored generally in the project file:

<PropertyGroup>
   <ProjectTypeGuids>{A860303F-1F3F-4691-B57E-529FC101A107};{F184B08F-C81C-45F6-A57F-5ABD9991F28F}</ProjectTypeGuids>
...
</PropertyGroup>

But for some special projects (such as some database projects) and projects lacking a file (such as Web Site projects), the project type is stored also in the solution file:

Microsoft Visual Studio Solution File, Format Version 10.00
# Visual Studio 2008
Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "SqlServerProject1", "SqlServerProject1.vbproj", "{BE5F0BE0-93CD-4FCE-A853-9096A442DF1B}"
EndProject
...

Note: Do not confuse the project type Guid with the project guid that identifies a project within a solution.

The main project type of a project is returned by the automation model through the EnvDTE.Project.Kind property, which is a string containing the Guid that identifies the project type. To get all the project type Guids of a project you have to read the project or solution file, or use the IVsAggregatableProject interface as described in the article HOWTO: Get the project flavor (subtype) of a Visual Studio project from an add-in.

The project type Guids are stored in the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\<version>\Projects where <version> is:

  • 7.0 for Visual Studio .NET 2002
  • 7.1 for Visual Studio .NET 2003
  • 8.0 for Visual Studio 2005
  • 9.0 for Visual Studio 2008

However, not all the Guids stored in that registry key are actual project types. Some of them are used only to provide project templates (for C# and VB.NET projects) and others have other purposes. The following table lists known project type Guids.

Note: The Guids are provided all uppercase because the case in the registry doesn't always match the case in the project file.

Project Type Description Project Type Guid
Windows (C#) {FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
Windows (VB.NET) {F184B08F-C81C-45F6-A57F-5ABD9991F28F}
Windows (Visual C++) {8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}
Web Application {349C5851-65DF-11DA-9384-00065B846F21}
Web Site {E24C65DC-7377-472B-9ABA-BC803B73C61A}
Distributed System {F135691A-BF7E-435D-8960-F99683D2D49C}
Windows Communication Foundation (WCF) {3D9AD99F-2412-4246-B90B-4EAA41C64699}
Windows Presentation Foundation (WPF) {60DC8134-EBA5-43B8-BCC9-BB4BC16C2548}
Visual Database Tools {C252FEB5-A946-4202-B1D4-9916A0590387}
Database {A9ACE9BB-CECE-4E62-9AA4-C7E7C5BD2124}
Database (other project types) {4F174C21-8C12-11D0-8340-0000F80270F8}
Test {3AC096D0-A1C2-E12C-1390-A8335801FDAB}
Legacy (2003) Smart Device (C#) {20D4826A-C6FA-45DB-90F4-C717570B9F32}
Legacy (2003) Smart Device (VB.NET) {CB4CE8C6-1BDB-4DC7-A4D3-65A1999772F8}
Smart Device (C#) {4D628B5B-2FBC-4AA6-8C16-197242AEB884}
Smart Device (VB.NET) {68B1623D-7FB9-47D8-8664-7ECEA3297D4F}
Workflow (C#) {14822709-B5A1-4724-98CA-57A101D1B079}
Workflow (VB.NET) {D59BE175-2ED0-4C54-BE3D-CDAA9F3214C8}
Deployment Merge Module {06A35CCD-C46D-44D5-987B-CF40FF872267}
Deployment Cab {3EA9E505-35AC-4774-B492-AD1749C4943A}
Deployment Setup {978C614F-708E-4E1A-B201-565925725DBA}
Deployment Smart Device Cab {AB322303-2255-48EF-A496-5904EB18DA55}
Visual Studio Tools for Applications (VSTA) {A860303F-1F3F-4691-B57E-529FC101A107}
Visual Studio Tools for Office (VSTO) {BAA0C2D2-18E2-41B9-852F-F413020CAA33}
SharePoint Workflow {F8810EC1-6754-47FC-A15F-DFABD2E3FA90}
XNA (Windows) {6D335F3A-9D43-41b4-9D22-F6F17C4BE596}
XNA (XBox) {2DF5C3F4-5A5F-47a9-8E94-23B4456F55E2}
XNA (Zune) {D399B71A-8929-442a-A9AC-8BEC78BB2433}
SharePoint (VB.NET) {EC05E597-79D4-47f3-ADA0-324C4F7C7484}
SharePoint (C#) {593B0543-81F6-4436-BA1E-4747859CAAE2}
Silverlight {A1591282-1198-4647-A2B1-27E5FF5F6F3B}


 
Categories: VS 2005 | VS 2008

I want to help our company to improve the application development life cycle. we likely will to chose Vault\Fortress as our Revision Control tool.
Below is my design of Application Development\QA\Build flow.
I will discuss with my boss base on this diagram.


 
Categories: Agile | ProjectManagement

After installed and tested Vault/Fortress. I think Vault has many features very useful for our team:

  1. Vault can import the data from database of VSS, and you can compare the update histories between VSS and Vault  
  2. Cheap branching, very fast and height efficiency. Atomic check in support. All the files you check in same time regard as one unit, if one of them commit failed then all the files will be rollback.
  3. You can shelve you unfinished change, and you can un-shelve it any where.
  4. Client User GUI is supper friendly and straightforward. Much easier to use than VSS or any other revision tools.

It has Integrated GUI with VS and Eclipse. In Visual Studio, only need 3 steps you can switch the opened solution from control of VSS to Vault.

 

  1. Supper easy to merge, it has similar functions like Beyond Compare, but integrated in its GUI. The tools of compare  branches and folders is also very useful when we do branch merge.
  2. It use SqlServer database as its backend, so it is easy to management.

It has Programming API, we can do some integration work ourselves if need.

7         Fortress is a Project Management and Bug tracking system. It integrated with VauLt, when you check in, you can easily broswer the project/bug items you are working on, and associate the “Bug_Id” with the checkin. All description in project/Bug item can be load to check in comments with out “Copy\paste”. You can force all check in must need a bug_Id.

8         Higher Security, you can set different privilege for projects/branches with different developers and groups.

 

There are more features I didn’t list.

More information available at http://www.sourcegear.com/products.html


 
Categories: Agile | ProjectManagement | VS 2005 | VS 2008

http://weblogs.asp.net/adilakhter/archive/2008/05/04/more-on-unit-testing-testcontext.aspx

What is TestContext?

TestContext is a abstract class of Microsoft.VisualStudio.TestTools.UnitTesting namespace that provides various information about the current test run. Purposes that has been served by TestContext Class -

1.  To store information and provide information to the unit tests during Unit Test Run.

2.  Provide a mechanism to measure performance of your code being tested by the Unit Test.

3.  In Testing the web service it stores the additional information, like server's URL.

4.  In Asp.Net unit tests, it get holds of the Page object.

5.  For Data Driven Unit Tests , it provides access to the data rows.



 
Categories: Agile | C# | UnitTest | VS 2008

To retrieve the version number from the assembly in your code, you use can do this:

String strVersion = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString(); 

To retrieve the version number from the assembly that is calling your assembly, you can use this:

String strVersion = System.Reflection.Assembly.GetCallingAssembly().GetName().Version.ToString()


 
Categories: C#

May 29, 2010
@ 10:55 PM
http://dvlp.synaptic.ca/twiki/bin/view/Synaptic/NHibernateVersusiBatis
  Criteria Weighting NHibernate iBatis
F1 I don't have any control of my database design/schema 4 2 5
F2 I am driven by the relational data model because I am working with a legacy database 5 3 5
F3 My database schema will not be changing due to an already implemented data structure 3 4 5
F4 My primary keys are composite natural keys which are complex 4 1 5
F5 I am very comfortable writing SQL 4 1 5
F6 I want a tool to generate the CRUD for me 3 5 1
F7 I do not require complex queries that join more than one table 4 5 1
F8 I need a good user community 1 5 1
F9 I have deadlines that are in the distant future 1 5 1
F10 I want a free tool 2 5 5
Score 90 119

iBatis right now is MyBatis, (http://www.mybatis.org/) moved to google code

http://code.google.com/p/mybatisnet/



 
Categories: nHibernate

May 28, 2010
@ 10:21 PM

Google Font API Test!

It make the page different

it is easy to use.


 
Categories: WebDesign