Rujith Anand (w...: profilRujith Anand's SpaceBlogSeznamy Nástroje Nápověda

Blog


04 března

I am online

Finallly I am online, I have created my new blog and website....(the website is under construction) but the blog is up and running...
 
 
Rujith
 
20 října

Diwali gift from Microsoft

 
Diwali gifts from Microsoft,
 
1. The much awaited and wonderful Internet Explorer 7.
2. And official release of MS Ajax(Atlas) beta 1. Read ScottGu's blog about this.
 
Happy diwali to all!!!
 
-Rujith
 
04 srpna

MSN Spaces struggles on launch

According to the official spaces blog, the first 12 hours after the launch were beset by poor performance problems, including issues related to e-mail publishing, statistics pages not working and emoticons from previous Spaces versions not working.

 "We know we disappointed a bunch of you with the issues we had in our rollout last night," wrote "Greg" on the official Spaces blog Tuesday. "We planned long and hard for this release and unfortunately, it was one of those gotchas that only showed up once we were in production."

 Even I had problems, my URL (www.spaces.msn.com/Rujith) is gone, and it not redirecting to the new one too L, publishing thru email is not working  etc.. 

 Hope they will fix these issues ASAP.

 -Rujith

03 srpna

AssemblyVersion Vs AssemblyFileVersion

 

Someone asked me the difference between AssemblyVersion Vs AssemblyFileVersion. Well the difference lies in their name itself. One is the version of the assembly the other is version of the file, wait, am I making it complex? Ok let me explain.

The AssemblyVersion is what other assemblies that reference your namespace will look at. If that number changes, then the referencing assembly blows up. But you as the developer still need to know what version of the assembly is deployed, and for that you use the AssemblyFileVersion attribute. Increment it every time a new version of the assembly is deployed.

 

-Rujith

 

Visual Studio 2005 400 Differences – Some funny video

 

Funny videos showing the 400+ differences in VS 2005, http://www.400plusdifferences.com/ check it out

 Njoy

 -Rujith

13 července

Virtual PC 2004 is now free

For those who don't know, Virtual PC is a software product that allows you to run another operating system (Windows XP, Linux, or even Windows 3.1) "virtually" from inside a single computer. You'll see that PC load in a window and act as if it was a virtual PC (more info here).

 

I am a big fan of VPC, its cool, you don’t have to format your hard drive each and every time you want to try a new OS of software. And especially when you want to try the new Betas.

 

Hope this info helps you!!

 

-Rujith

 

 

 

11 července

IIS cannot start because of Skype using port 80

I don’t use IIS to develop web applications, since I started using Visual Studio 2005(at least in my home PC). So after long time I wanted to use IIS in my home PC to create a sample web application I found my IIS is not WORKING !!!!... I couldn’t start my IIS….

 

Well this was the error I was getting is ‘Unexpected error 0x8ffe2740 occurred.’ What do I understand from this, or how do I find out what the reason for the error. After doing a simple google I found my port 80 is used by some other application, using netstat, I found its been used by Skype.

 

So these are the possible solutions which you might want to use in case you come across similar problem.

 

Solution 1: change the TCP port from 80 to some other port 81 or so. To do this go to Run->type inetmgr -> Right click default website -> Properties -> in web site tab you can see TCP port.  Change the port to use any other free port. This solution is not recommended if you are developer who uses IIS. The reason being, if you are not using default port, you will have to explicitly specify the port for all the local websites. Like http://localhost:81/yourpage.aspx.

 

Solution 2: Pretty simple one, stop Skype or in Skype properties window under connection tab, you can uncheck the check which says Skype will use port 80 as an alternative port. After this, you will have to re start skype. And start your webserver…

 

 

NJoy

Rujith

 

27 června

Starting event viewer from c# code

Starting .msc files from .net application.

 

When writing code, lot of times we have come across situation where we want to start event viewer or any other application which uses management console . The code below shows how to start event viewer from .net application. This can be used to start services.msc or any other similar files.

 

Process traceFileViewerProcess = new Process();

 

string executable = Environment.ExpandEnvironmentVariables(@"%SystemRoot%\system32\eventvwr.msc");

traceFileViewerProcess.StartInfo.FileName = executable;

 

traceFileViewerProcess.StartInfo.Arguments = "/s";

traceFileViewerProcess.Start();

 

-Rujith

 

09 června

Using Differencing Disks to save hard drive space

Found a good article on saving your back hard drive space using Differencing Disk.

 

http://blogs.msdn.com/midatlanticcrm/archive/2006/06/06/Demo_Tip_Using_Differencing_Disks_to_save_hard_drive_space.aspx

 

This demo describes how to create a Differencing Disk using VPC.

 

-Rujith Anand

18 ledna

Migrating from Nunit to VSTS

Converting your pretty good old test cases from Nunit to VS test cases is not as simple as posted in many blogs.
I tried to convert my test cases its really pain guys..
Its not jut renaming the name spaces and setting the alias. The Assert class itself is different. Microsoft Assert class is directly opposite to the Nunit assert classes.
 
For namespace and alias changes the following code is enough.

using Microsoft.VisualStudio.TestTools.UnitTesting;

using

TestFixture = Microsoft.VisualStudio.TestTools.UnitTesting.TestClassAttribute;

using

Test = Microsoft.VisualStudio.TestTools.UnitTesting.TestMethodAttribute;

using

SetUp = Microsoft.VisualStudio.TestTools.UnitTesting.TestInitializeAttribute;

using

TearDown = Microsoft.VisualStudio.TestTools.UnitTesting.TestCleanupAttribute ;

using

TestFixtureSetUp = Microsoft.VisualStudio.TestTools.UnitTesting.ClassInitializeAttribute;

using

TestFixtureTearDown = Microsoft.VisualStudio.TestTools.UnitTesting.ClassCleanupAttribute;
30 listopadu

WCF November CTP Samples

 
I was trying to install WCF Nov CTP (which MS released on NOV 18th :) )..the iso image was very huge.. its around 951MB (OMG).. but finally i successfully installed it, - i should mention it as awesome, as my internet connection is speed is very very slow.
 
The samples was found in Program Files\Microsoft SDKs\Windows\v1.0\Samples instead of normal "Program Files\Microsoft SDKs\WinFX\samples".. and the WCF, WPF etc samples are in a AllSamples.Zip...
 
I think this SDK is not like the previous WinFX releases, it contains the the Vista SDK(core sdk) with some extra stuff, thats y i guess the image is big...
 
good that they released it just after the VS 2005 RTM release.. thats very helpful for me. As i m workin on WCF i was not able to install the VS RTM version as Sept CTP of winfx was not compatible with it..
 
 
29 listopadu

Windows Communication Foundation (WCF) - "Indigo"

Hi, Currently I'm working on Windows Communication Foundation (WCF) formarly codenamed as  "Indigo" -  The new stack of technologies from Microsoft (MSFT) for distributed computing..

It seems this is a wonderful technology, what i like most is the so called 'Unification' of different technologies, now we dont have to learn 4-5 technologies to create a distributed enterprise application.. now we can forget abt .NET remoting, webservices, WSE , COM+, MSMQ APIs, and just have to remember one set of API's..

 

I'll be updating my blog as n when i try more things in WCF, so keep lookin for more in this space..

 

-Rujith