-
AZURE VM ROLE Issue : ‘Too many arguments………’
Alas!!! I started working on a Azure VM Role.There are so many hiccups and blockades while setting up the Azure VM Role (Which is still in Beta) I would love to put all my tries and misses here..Let me start with this one Too many arguments for command Add-VMImage expects 0 argument(s) found 2. Found:…
-
Building an Azure v1.4 Package file
I tried to push my ASP.NET website to Azure and faced too many issues as Windows Azure doesn’t support Website. I was not able to build a V1.4 cspkg file for this you need to build the package using command prompt,Create a ServiceDefinition.csdef using the code below
-
Make Agile Work for You in TFS 2010
Courtesy: MSDN Magazine This is the story of one team’s road to Agile using Team Foundation Server (TFS) 2010. In the Agile Manifesto, there are several keywords that highlight how Agile teams should work together. They include valuing individuals (and their interactions) over processes and tools. Teams use these values as one of the reasons…
-
Dynamic and the DLR
Dynamic Dispatch On to the interop features in C# 4.0, starting with what is perhaps the biggest change. C# now supports dynamic late-binding. The language has always been strongly typed, and it continues to be so in version 4.0. Microsoft believes this makes C# easy to use, fast and suitable for all the work .NET…
-
New C# Features in the .NET Framework 4-Covariance and Contravariance
Covariance and Contravariance Covariance and contravariance are best introduced with an example, and the best is in the framework. In System.Collections.Generic, IEnumerable<T> and IEnumerator <T> represent, respectively, an object that’s a sequence of T’s and the enumerator (or iterator) that does the work of iterating the sequence. These interfaces have done a lot of heavy…
-
Difference between Data Encapsulation vs Abstraction
Encapsulation has two faces; data abstraction and information hiding. Data abstraction is a type seen from the outside. Information hiding is a type seen from the inside. Sometime encapsulation is used to mean information hiding only but I think the definition I gave is better because if you encapsulate something you get both an inside…
-
Sharepoint 2010 “Cannot connect to configuration database” issue
Sourabh has installed Sharepoint 2010 in his new (upgraded) machine and I started playing with that . After few days, i felt bored of using http://BanXXXX:portname and planned to rename it using Click SharePoint 2010 Management Shell.At the Windows PowerShell command prompt, type the following command: Rename-SPServer [-Identity] OriginalServerName -Name NewServerName Where: OriginalServerName is the original…
-
Runtime Vs Compile time Errors in C#
The difference between compile time and run time is an example of what pointy-headed theorists call thephase distinction. It is one of the hardest concepts to learn, especially for people without much background in programming languages. To approach this problem, I find it helpful to ask What invariants does the program satisfy? What can go…
-
Covariance and Contravariance FAQ
What are covariance and contravariance? In C#, covariance and contravariance enable implicit reference conversion for array types, delegate types, and generic type arguments.Covariance preserves assignment compatibility and contravariance reverses it. The following code demonstrates the difference between assignment compatibility, covariance, and contravariance. // Assignment compatibility. string str = “test”; // An object of a more…
-
AFICIONADO’s HEAVEN: Design Pattern Interview Questions in .NET | dotnetuncle.com
AFICIONADO’s HEAVEN: Design Pattern Interview Questions in .NET | dotnetuncle.com.
