IIS 7.5

Using IIS Express 7.5 with Visual Studio 2010 (without SP1)

March 1, 2011 .NET, .NET Framework, All, ASP.NET, ASP.NET MVC, C#.NET, Frameworks, General, IIS, IIS 7.5, Microsoft, VB.NET, VisualStudio, VS2010 No comments

This is an interesting blog I came across while doing some research on using IIS 7.5 Express with out the Integration or Tooling support that would require Visual Studio 2010 Sp1 Beta. Since VS2010 Sp1 is in beta stage, it would not be a wise choice taking this in to real time project, because as usual BETA’s are not complete production quality.

So I across nice blog by Siva M (Blog code name : Blue Blip), which helped me in understanding the insight of IIS Express running from command line.

Read through

Siva’s Blog on Using IIS Express 7.5 with Visual Studio 2010 (without SP1)

ScottGu blog post: VS 2010 SP1 (Beta) and IIS Express

IIS Express 7.5 is downloadable here. (published Jan 2011)

Integration with VS2010 is provided through the Visual Studio 2010 Service Pack 1 Beta

This is an interesting Weblog and you all might want to explore the new possibilities of IIS 7.5 Express.

I explored a lot and I will share my finding on another later session. So enjoy your time reading the blog..

Generating WCF/WebService proxy class using SvcUtil.exe

February 22, 2011 .NET, .NET Framework, All, ASP.NET, ASP.NET MVC, C#.NET, Frameworks, General, IIS, IIS 7.5, Microsoft, VB.NET, VisualStudio, VS2010, WCF, Web Services 12 comments


This article  prepared based on my recent explorations on creating generic WCF/WebService proxy class using SvcUtil.exe tool which is part of .NET Framework Runtime. SvcUtil.exe helps me in creating a single Proxy Stub class for my WCF/web service, which can be directly reused in any project when necessary, without the need to Add Web Reference or Add Service Reference through the Visual Studio 2010 solution explorer.

ServiceModel Metadata Utility Tool (Svcutil.exe)

The ServiceModel Metadata Utility tool is used to generate service model code from metadata documents and metadata documents from service model code. The ServiceModel Metadata Utility Tool can be found at the Windows SDK installation location, specifically, C:Program FilesMicrosoft SDKsWindowsv6.0Bin.

Svcutil.exe generates the client based on the WSDL or policy file received from the service.

Usage Syntax :

svcutil /t:code http://<service_url>/out:<file_name>.cs /config:<file_name>.config

Options Reference :

Option Description
/config:<configFile> Specifies the filename for the generated configuration file.Default: output.config
/language:<language> Specifies the programming language to use for code generation. You should provide either a language name registered in the Machine.config file, or the fully-qualified name of a class that inherits from CodeDomProvider.Values: c#, cs, csharp, vb, visualbasic, c++, cpp

Default: csharp

Short form: /l

/mergeConfig Merges the generated configuration into an existing file, instead of overwriting the existing file.
/messageContract Generates Message Contract types.Short Form: /mc
/namespace:<string,string> Specifies a mapping from a WSDL or XML Schema targetNamespace to a CLR namespace. Using ‘*’ for the targetNamespace maps all targetNamespaces without an explicit mapping to that CLR namespace.To make sure that the message contract name does not collide with operation name, you should either qualify the type reference with ::, or make sure the names are unique.

Default: Derived from the target namespace of the schema document for Data Contracts. The default namespace is used for all other generated types.

Short Form: /n

/out:<file> Specifies the file name for the generated code.Default: Derived from the WSDL definition name, WSDL service name or target namespace of one of the schemas.

Short form: /o

/serializable Generates classes marked with the Serializable Attribute.Short Form: /s
/targetClientVersion Specify which version of .NET Framework the application is targetting. Valid values are Version30 and Version35. The default value is Version30.Short Form: /tcv

Version30: Use /tcv:Version30 if you are generating code for clients that use .NET Framework 3.0.

Version35: Use /tcv:Version35 if you are generating code for clients that use .NET Framework 3.5.

/reference:<file path> References types in the specified assembly. When generating clients, use this option to specify assemblies that might contain types that represent the metadata being imported.Short Form: /r

more on the usage refer to http://msdn.microsoft.com/en-us/library/aa347733.aspx

A Simple Example:

I have an ASP.NET Web Service hosted on one of my domains.

I wanted to created Proxy Stub class from my WSDL url. So I used the following command in “Visual Studio Command Prompt”

svcutil /out:P:BookSearchSvcRefStub.cs http://dotnetcook.com/BookSearch.asmx?WSDL /config:P:BookSearch.config

And the command Generated the  files…

P:BookSearchSvcRefStub.cs -> C#  Code of Proxy Stub class

P:BookSearch.config -> Service Model configuration settings are saved to BookSearch.config

I just included the BookSearchSvcRefStub.cs in my project and made necessary changes to the namespace to meet with the name space of my class library or project. Copied the necessary *.config entries to my solution. Voila!! my code is ready to work.


When you add a Web Reference or Service Reference to a Visual Studio project by right clicking on the solution explorer on Visual Studio, Visual Studio internally input the above svcutil.exe command to generate Proxy class and emits  output to your Visual Studio project itself and configuration entries will be updated to your project App.config or Web.config.

But in some certain scenarios we do not want to depend on Visual Studio to add Service Reference, to make sure we will not include any unnecessary entries created by Visual Studio. This will make sure we do not alter the Service proxy code accidently, just like sometimes we do using “Update Service References”, which updates the proxy class contents to latest version downloaded from the Service Uri and we might breaking existing code base.  Also if we made any customization to the Proxy class and all the changes will be over written when Service Reference are updated. To avoid such incidents it’s better we generate Proxy Stub classes and reuse it where ever necessary.

There are more interesting commands you can use it with SvcUtil.exe to generate metadata or proxy code from a Web/WCF Service URL in C# or VB.NET.

Refer to http://msdn.microsoft.com/en-us/library/aa347733.aspx for more details.

Hope this helps.

Internet Information Services (IIS) 7.5 Express FINAL

January 13, 2011 .NET, .NET Framework, All, ASP.NET, ASP.NET MVC, C#.NET, Frameworks, General, IIS, IIS 7.5, Microsoft, RIA Services, Silverlight, VB.NET, VisualStudio, VS2010 No comments

Microsoft has released the FINAL version of it’s so called lighter version of IIS 7.5 called as “IIS 7.5 Express”. Which makes developers to utilize the features of IIS 7.5 in WindowsXP and above Operating system environments. Great work Microsoft!!!! Right on time..

IIS 7.5 Express enhances your ability to develop and test web applications on Windows by combining the power of IIS 7.5 with the convenience of a lightweight web server like the ASP.NET Development Server (also known as Cassini). IIS 7.5 Express is included withMicrosoft WebMatrix, an integrated suite of tools designed to make developing web applications on Windows simple and seamless. IIS 7.5 Express can also be used with Visual Studio 2010 as a powerful alternative to Cassini. The benefits of using IIS 7.5 Express include:

  • The same web server that runs on your production server is now available on your development computer.
  • Most tasks can be done without the need for administrative privileges.
  • IIS 7.5 Express runs on Windows XP and all later versions of Windows.
  • Many users can work independently on the same computer.

This package installs only IIS 7.5 Express. For an integrated development experience, also install Microsoft WebMatrix or Visual Studio 2010.

Download: IIS 7.5 Express Final

Courtesy: Microsoft Download Center


Released: ASP.NET MVC 3 RTM

January 13, 2011 .NET, .NET Framework, All, ASP.NET, ASP.NET MVC, C#.NET, Frameworks, General, IIS, IIS 7.5, Microsoft, VB.NET, VisualStudio, VS2010 1 comment

Microsoft has released the final version of ASP.NET MVC 3 RTM (Release-To-Manufacture) on 01/12/2011.

ASP.NET MVC 3 is a framework for developing highly testable and maintainable Web applications by leveraging the Model-View-Controller (MVC) pattern. The framework encourages developers to maintain a clear separation of concerns among the responsibilities of the application – the UI logic using the view, user-input handling using the controller, and the domain logic using the model. ASP.NET MVC applications are easily testable using techniques such as test-driven development (TDD).

The installation package includes templates and tools for Visual Studio 2010 to increase productivity when writing ASP.NET MVC applications. For example, the Add View dialog box takes advantage of customizable code generation (T4) templates to generate a view based on a model object. The default project template allows the developer to automatically hook up a unit-test project that is associated with the ASP.NET MVC application.

Because the ASP.NET MVC framework is built on ASP.NET 4, developers can take advantage of existing ASP.NET features like authentication and authorization, profile settings, localization, and so on.

Download ASP.NET MVC 3 RTM

Special thanks to Microsoft Download Center for the Info.

[Recent Releases] Microsoft Visual Studio 2010 Service Pack 1 Beta, Microsoft .NET Framework 4 KB2162169 – BETA, Visual Studio Team Foundation Server 2010 SP1 Beta

December 19, 2010 .NET, .NET Framework, All, ASP.NET, ASP.NET MVC, C#.NET, Frameworks, General, IIS, IIS 7.5, Microsoft, VB.NET, VisualStudio, VS2010 No comments

This is a quick listing on some of the software updates and released happened from Microsoft in this recent weeks. So that you all can keep updated.

Windows Azure Platform Training KitDecember Update

Windows Azure Platform Training Kit includes a comprehensive set of technical content to help you learn how to use Windows Azure, SQL Azure, and the Windows Azure AppFabric services.


ASP.NET MVC 3 provides a Model-View-Controller (MVC) framework on top of the ASP.NET 4 runtime.

Windows Azure Tools and SDK 1.3

Windows Azure Tools for Microsoft Visual Studio, which includes the Windows Azure SDK, extends Visual Studio 2010 to enable the creation, configuration, building, debugging, running, packaging and deployment of scalable web applications and services on Windows Azure.

Microsoft Visual Studio 2010 Service Pack 1 Beta

This web installer downloads and installs Visual Studio 2010 Service Pack 1 Beta. An internet connection is required during installation. See the ‘Additional Information’ section below for alternative (ISO) download options. Please Note: This installer is for all editions of Visual Studio 2010 (Express, Professional, Premium, Ultimate).

Visual Studio Team Foundation Server 2010 SP1 Beta

Microsoft Visual Studio Team Foundation Server 2010 is the collaboration platform at the core of Microsoft’s ALM solution that helps teams to be more agile, collaborate more effectively, and deliver better quality software faster. Project artifacts are stored in a data warehouse and rich reports provide historical trending, full traceability and real-time visibility into project status.

Microsoft .NET Framework 4 KB2162169 – BETA

Update to .NET Framework 4.

Windows Server AppFabric

Windows Server AppFabric is a set of integrated technologies that make it easier to build, scale and manage Web and composite applications that run on IIS.

SQL Server 2005 SP4 RTM

Download Service Pack 4 for Microsoft SQL Server 2005 and view release notes.

Entity Framework CTP 5

This CTP is a preview of the Code First Programming Model and Productivity Improvements for Entity Framework 4 (included in .NET Framework 4).

UC “14” Developer Training Kit

This training kit provides deep technical training on all aspects of the Lync Server 2010 and Exchange Server 2010 SDKs to give developers the skills they need to be productive developing communications driven business processes.


Windows Identity Foundation SDK

Windows Phone 7 Developer Guide – Code Samples

This sample illustrates the steps towards building an application for the Windows Phone 7 interacting with backend services hosted in Windows Azure.

Visual Studio 2010 F# 2.0 Runtime SP1

This download installs the F# Runtime 2.0 SP1, which includes the runtime components needed to run programs built with the F# programming language.

Visual Basic for Windows Phone Developer Tools – RTW

This release enables Visual Basic developers to create Silverlight applications for Windows Phone 7 using the final version of the Windows Phone Developer Tools.

Courtesy : Microsoft

Silverlight 5 is Announced

December 5, 2010 .NET, .NET Framework, All, C#.NET, General, IIS, IIS 7.5, Microsoft, RIA Services, Silverlight, VB.NET, VisualStudio, VS2010 1 comment

On 02nd Dec 2010, Silverlight Firestarter event Microsoft has announced the upcoming version of Silverlight called as “Silverlight 5″. The event has some live demos of the capabilities of Silverlight 5.

Lending some of the contents from ScottGu’s Blog. Scott Guthrie(@ScottGu) is a VP with Microsoft product development like Silverlight and Visual Studio.

Quoting to ScottGu

Silverlight 5 adds significant new features and capabilities, and enables developers to create premium media experiences and deliver rich applications across browsers, desktops and devices. In my keynote this morning we demonstrated a number of them, and highlighted both the developer productivity Silverlight 5 provides and the great new user experiences it enables.  You can watch my keynote here.

A Silverlight 5 beta will be available in the first half of next year, and the final release will ship in the second half of 2011.
Premium Media Experiences

We are seeing great adoption of Silverlight for premium media solutions. In the last few months we’ve seen companies like Canal+, TV2, and Maximum TV launch both live and on-demand Silverlight solutions.

Silverlight 5 will enable media experiences to go even further by adding:

  • Hardware video decode: Silverlight 5 now supports GPU accelerated video decode, which significantly reduces CPU load for HD video.  Using Silverlight 5, even low powered Netbooks will be able to play back 1080p HD content
  • Trickplay: Silverlight 5 now enables variable speed playback of media content on the client with automatic audio pitch correction. This is great for training videos where you want to speed up the trainer while still understanding what he’s saying
  • Improved power awareness will prevent screensavers from kicking in while you’re watching movies while allowing the computer to sleep when video is not playing.
  • Remote-control support is now built-into Silverlight 5 – allowing users to control media playback with remote control devices.

Application Development

Silverlight provides a rich application development environment that enables you to build great web delivered applications.

Silverlight 5 delivers significant improvements for application development including:

  • Databinding and MVVM: Silverlight 5 delivers significant data-binding improvements that improve developer productivity and provide better Silverlight/WPF feature convergence.  Developers can now debug data-binding expressions, set breakpoints on bindings, and more easily determine errors.  Implicit DataTemplates now allow templates to be created across an application to support a particular type by default.  Ancestor RelativeSource bindings makes it easier for a DataTemplate to bind to a property on a container control. Binding in style setters allows bindings to be used within styles to reference other properties.  And a new DataContextChanged event is being introduced to make handling changes easier. Markup extensions are also now support and allow code to be run at XAML parse time for both properties and event handlers, enabling cutting-edge MVVM support.
  • WCF and RIA Services: Silverlight 5 now includes WS-Trust support.  WCF RIA Services improvements include complex type support, better MVVM support, and improved customization of code generation.  Silverlight 5’s networking stack also now supports low-latency network scenarios that enable more responsive application scenarios.
  • Text and Printing: Silverlight 5 delivers improved text clarity that enables crisper and cleaner text rendering, multi-column text flow and linked text containers, character and leading support, and full OpenType font support.  Silverlight 5 also includes a new Postscript Vector Printing API that provides programmatic control over what you print, and enables printing richer reports and documents.  Pivot functionality – which enables developers to build amazing information visualization experiences – will also be provided built-into the Silverlight 5 SDK.
  • Graphics: Silverlight 5 includes immediate mode graphics support that enables developers to take full advantage of the GPU (graphics processing unit) and enables accelerated 3-D graphics support.  This new support facilitates much richer data visualization scenarios (make sure to watch the keynote to see some really eye-popping ones).
  • Out of Browser: Silverlight 5 builds on the out-of-browser capabilities we introduced with Silverlight 5.  Out of browser applications can now create and manage child windows.  Trusted out of browser applications can now also use P/Invoke capabilities to call unmanaged libraries and Win32 APIs.  Enhanced group policy support enables enterprises to both lock down and open up security sandbox capabilities of Silverlight 5 applications.
  • Testing Tools: We are adding automated UI testing support for Silverlight applications with Visual Studio 2010.  This makes it easy to test Silverlight applications, and automate the functionality of them.
  • Performance: Silverlight 5 support faster application startup, and provides 64-bit browser support.  Silverlight 5 also integrates with the new Hardware Acceleration capabilities of IE9, and enables hardware acceleration in windowsless mode.

This quote is taken from ScottGu’s Blog Article about the announcement & if you would like to know more about the Silverlight please visit Silverlight Futures Website