Call Anirudha on Skype


JavaScript Function .prototype

Download: Fast, Fun, Awesome

I have write a little post here about how to use Visual studio 2013 to old project made in MVC 2 and 3 (VS13 doesn’t support MVC3,2 initially).

As chrome Firefox now have sync feature to get sync everything they like to have for future. This will help user to get the settings back in their hands by login.

This post will be fixed soon.

CNET Is one of the worst service ever. Today when I installed the software through it because that software is not available anywhere. I installed it.


After the installer open I run it there is no option that tell me that it install it anything on my PC. Maybe this design very cheaply to enter a spyware in someone’s computer.


It’s install 2 spyware. First it’s download the EXE (which is correct as it should) then I close it. This is not closed. He still downloading the 2 spyware in my PC.


Then suddenly my Chrome crash. I amazed because I rarely got any crash. I never doing any experiments so what happen. Now After restart the chrome I restart the chrome. I am 100% sure something going wrong in my PC. I check the extensions in Chrome, Now It’s have a extension that I never have installed in my chrome.


Suddenly another crash happen. Because 2nd crash I disabled that extension now I got another extension in my Chrome. I really don’t want these 2 extension without any reason. Now I disable it too. I finally check my Task manager and delete that exe (which cnet used to install something on my PC).


Remember that CNET installing the CRAP spyware in your PC for Freeware which is freely available to user.


The same thing also happen with my one of project. A site on internet make installer of my repository and distribute it on their own site. after run that kind of  setup it’s install the spyware.

Beware of site like this. CNET and many other install the spyware and that’s how they work.


Thanks for read my post Smile

I write about Mac theme earlier Mac theme for Firefox on my blog. The problem is it is not updated from a long time. Today 2.0.1 version come. for people who want to try it can installed it from

Thanks for read my post Smile

Recently I am trying to open a MVC 3 project which is made at time of VWD 2010. When I opened this I see this kind of project doesn’t work anymore in my VS. I got a problem that project is unable to migrate. On same time I open it in webmatrix 3 as site and it’s work fine.

So how to fix it.

Make a new project somewhere else with same name. now copy the csproj and sln file to the project folder which contain your real project. Remember that VS 13 doesn’t made the project for MVC3. You can make MVC4 project. This will changed nothing in configuration of our MVC3 project. our MVC 3 project will be remaining based on MVC3 .net 4.

I have 2 sln file in my project which I generate now in VS 2013. Which one I need to copy ?

Copy the sln file which is inside the project folder. Where your sibling folder is Models, Controllers. Copy the sln,.csproj file from the folder which contain the Models, Controllers folder.

Now compiling will not work. Actually your csproj record the footprint of files that is included or not included (if you compile the project after exclude some classed then compiled dll will not have excluded class, it’s even doesn’t generate exception if your exclude class have some code issues).

For fix it. Select everything in your solution explorer except the references. Now you need to exclude everything. Include all thing again and see it’s working now. Note in this trick you changed nothing in your Visual studio project but it’s make our project worked again.

Happy coding,

Thanks for  read my post Smile

In Visual studio 2013 MVC 3 has been dropped. If you VS doesn’t take your MVC 3 application and show you unsupported project then close the project and create the project with same namespace and copy that .sln and .csproj file into your one which you have.Now run the project and exclude all file and include once again. Because csproj store which file has been excluded and which one included it doesn’t store the file from the new configuration because we have copied the sln file which is not our. we copy it from another blank project.

this sln ,csproj trick able to open you the project within 2013.

When I able to run my project I got a new kind of error that Invalid term ‘:’. I correctly check the code and it doesn’t show me anything. After a lot of check I finally migrate it to MVC 4. After doing upgradation to MVC 4 my code working fine. If you have problem with your Razor code then upgrade your project to MVC 4 and it will work fine for you Smile

If you have links for any Blog post or article that hlepful for MVC 3 problem fix you can comment it here.

In ASP.NET MVC We use Views and it’s help us to return a web-page back to browser. After Execution the Views we still have control on our response until Response.End() has called from ASP.NET itself.

In we use ViewBag and ViewData to pass the data. TempData is also can be used which is based on session and stay alive until second view has been returned.

For divining the complexity We use Partials to divide the whole page into many partials. For example.

Using this way your partial have also data passed from their own PartialViewResult in Controller itself. You can call them something like this


Using given way we doesn’t need to care about passing viewdata to every partial. Remember that If controller is inherited from another class which have some ActionFilter attribute then they will also called in this implementation.

If your current action have data for the partial which you don’t want to retrieve again from database then you can also call it by pass then to partial directly from current View. For example look at this code.

@Html.Partial("~/Views/Home/Partial1.cshtml", new ViewDataDictionary { { "test", "test" } })

I pass the string “Test” in other case you call also pass the viewdata. for example ViewData.test .


Another way to divide the complexity is make a new custom class which contain all these information as property. For example

In this post I shown you 2 way to use partials to divide complexity.

Thanks for read my post Smile

If you trying to logged-in in and it didn’t work for you then try this trick.

1. Reset your password through Reset password link no matter If you using Google/Facebook openId.

When you have reset your password then you can simply logged-in with password and same email that you are using when you use openId.