How to configure WCF Service on Window 7 (IIS6)

Thursday, September 06, 2012

How to configure WCF Service on Window 7 (IIS6)


Open up the command prompt in Administrator mode, and run the following command;

c:\…>"%windir%\Microsoft.NET\Framework\v3.0\Windows Communication Foundation\ServiceModelReg.exe" -r

This will map the svc file type to aspnet_isapi.dll  and will make IIS recognize WCF services and startup the ServiceHost for you. In other words; the svcMIME type will be registered with IIS. The parameters on the end is;

-r: Re-registers this version of WCF and updates scriptmaps at the IIS metabase root and for all scriptmaps under the root. Existing scriptmaps are upgraded to this version regardless of the original versions.

(copied from the official docs on the “ServiceModel Registration Tool”)



If you’ll be running integration tests against your services and the test will do WCF self hosting (instead of IIS), you also need to authorize the urls that your self-hosting service will be using;

c:\…>netsh http add urlacl url=http://+:[port]/ user="[windows user name]"

As for the ServiceModelReg command, this one will also need administrator privileges on your command prompt. Replace the [windows user name] with the account you’ll be running the test under. Usually this will be the account you’re logged in with, e.g. “domain\user”. The [port] parameter will be the port number you’ve configured on your WCF endpoint (typically 8000 for testing).



And just to be sure; restart the IIS after you’ve run these commands;

Posted by trishantverma 0 comments  

Google Crome OS ready for market

Thursday, December 09, 2010

With Chrome OS, we have the development of a viable third choice for the desktop,".


With these words by CEO Eric Schmidt, Google foray into the Operating system market which would provide the user a third option after window and Linux. Thought it is a Linux based OS but its presence will mark a history in the computer OS world as it will provide a altogether different way to web apps are used and consumed. The word from the VP, product management - Sundar Pichai clearly points out this, "Chrome OS is nothing but the Web." 

Those using Chrome OS will have to rely on Web applications in place of familiar favorites like Microsoft Office. To ensure an adequate supply of Web apps, Google launched its Chrome Web Store, an online app store that aims to do for Web apps what Apple's iTunes has done for music and iOS apps: build a viable market by providing a mechanism for discovery and monetization. 



Chrome OS won't be ready for a stable release until mid-2011. That's when Google's Chrome OS hardware partners Acer and Samsung are expected to ship their Chrome OS netbooks.


Chrome OS is at the Release Candidate stage. You can download the free Chrome OS Live CD below

 http://getchrome.eu/download.php

Posted by trishantverma 0 comments  

How google or any other search engine works

Monday, January 18, 2010

Today every body when want to know about anything whether it is related to film, health, recipe or any other thing on internet. The best way to search for the desired information people uses google, yahoo, bing etc to search the vast expanding world of internet.

Do you ever tried to know how these search engines find the information about the website, pages on the internet so fast?

Search engines uses a specially build softwares called spiders which always crawl from one website to other website on the internet looking for the new information ( website, pages in a website, documents etc) and store it in a search engine database which further uses another software to index all the information, website and documents collected by the spiders.

Now when a user perform a search by entering any keyword, search engine looks for the relative information in the database and provide you a list of website, link to documents etc.

Posted by trishantverma 0 comments