Gautam Jain's Blog
software, productivity & more
software, productivity & more
Mar 2nd
Follow the below steps to add Razor support to existing ASP.Net MVC 3 project
Thanks
Mar 2nd
I received this error when opening an edmx file in my ASP.Net MVC 3 project. Spent several hours to figure out. Another related problem I had was that the “ADO.Net Entity Data Model” project template did not appear when adding new item to the project. Spent several hours finding a solution & finally found it here: http://stackoverflow.com/questions/5696436/no-entity-data-model-edmx-template-with-visual-studio-2010-sp1-ado-net-entit
Installing “ADO.NET Entity Framework Tools” from Visual Studio 2010 media solved both the problems mentioned above.
Thanks
Jan 13th
Git is a free & open source, distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
Here is a fantastic guide for beginners: http://rogerdudler.github.com/git-guide/
Thanks.
Aug 21st
From year 2005 to 2008, I worked whole day only on a laptop. That was a big mistake. I was not aware that laptops are very bad for your neck, shoulders & arms. More over, they drastically reduce your productivity compared to a desktop (especially a big monitor).
Don’t underestimate the productivity boost that you would get by using a large monitor with a regular keyboard & a mouse. It doesn’t matter if you don’t have a desktop. Just buy, no, I would say ‘Invest’ in an external monitor, keyboard & a mouse and connect them to your laptop. There you go! You can then work for longer hours, get more work done & you will get rid of future neck-aches, shoulder-aches etc.
Don’t hesitate to do this shift immediately. I have recently seen several companies supplying laptops to their employees instead of desktop. The employees spend whole day on small laptop screens & anti-ergnonomic laptop’s keyboard. If you want your employees to get more work done, then get an external monitor for everyone. Seriously!
Thanks
Aug 14th
Hello! Conceptworld Corporation will soon be featuring Notezilla on Bits du Jour, a ‘deal-of-the-day’ website that offers fantastic, one-time discounts on a variety of great products. Bits du Jour will be offering Notezilla on Wednesday 17th August, 2011 at dramatically reduced price of $17.95. The normal purchase price for Notezilla is $29.95!
Also Notezilla Portable will be available for $29.95 instead of $49.95 on the same day.
Click here to visit the Notezilla discount page.
If you have any friends or family members who might be interested in Notezilla please let them know about this sale. It will only be available on Bits du Jour for a single day only. Just tell them to visit http://www.bitsdujour.com on Wednesday 17th August, 2011 to get Notezilla for $17.95. If you visit http://www.bitsdujour.com right now you can click the ‘I want this’ button and you’ll be sure not to miss the deal!
Aug 11th
Hello all,
As I am new to .Net Framework & ASP.Net MVC, I was looking in to various articles that would give clear step by step instructions as to how to add localization to ASP.Net MVC Projects. Especially, localization of string resources.
Here is a fantastic article on Localization in ASP.Net MVC projects.
Thanks to the author.
Jul 25th
Hello! Conceptworld Corporation will soon be featuring RecentX on Bits du Jour, a ‘deal-of-the-day’ website that offers fantastic, one-time discounts on a variety of great products. Bits du Jour will be offering RecentX on Tuesday 26th July, 2011 at dramatically reduced price of $17.95. The normal purchase price for RecentX is $29.95!
Click here to visit the RecentX discount page.
If you have any friends or family members who might be interested in RecentX please let them know about this sale. The deal will only be available on Bits du Jour for a single day only. Just tell them to visit http://www.bitsdujour.com on Tuesday 26th July 2011 to get RecentX for $17.95. If you visit http://www.bitsdujour.com right now you can click the ‘I want this’ button and you’ll be sure not to miss the deal!
Jun 13th
Thought someone might require this conversion.
CharformatToLogfont(CHARFORMAT & cf, LOGFONT & lf, COLORREF & cr)
{
lf.lfCharSet = cf.bCharSet;
lf.lfClipPrecision = CLIP_DEFAULT_PRECIS;
lf.lfEscapement = 0;
lf.lfOrientation = 0;
lf.lfOutPrecision = OUT_DEFAULT_PRECIS;
lf.lfQuality = DEFAULT_QUALITY;
lf.lfPitchAndFamily = DEFAULT_PITCH;
if ( (cf.dwEffects & CFE_BOLD) == CFE_BOLD)
{
lf.lfWeight = FW_BOLD;
}
CDC dc;
dc.CreateDC(_T("DISPLAY"),NULL,NULL,NULL);
lf.lfHeight = -MulDiv(cf.yHeight/20, dc.GetDeviceCaps(LOGPIXELSY), 72);
dc.DeleteDC();
lf.lfUnderline = ( (cf.dwEffects & CFE_UNDERLINE) == CFE_UNDERLINE);
lf.lfStrikeOut = ( (cf.dwEffects & CFE_STRIKEOUT) == CFE_STRIKEOUT);
lf.lfItalic = ( (cf.dwEffects & CFE_ITALIC) == CFE_ITALIC);
lf.lfWidth = 0;
_tcscpy_s(lf.lfFaceName, LF_FACESIZE, cf.szFaceName);
//save color separately because LOGFONT does not accept color
cr = cf.crTextColor;
}
Jun 13th
Thought someone might require this conversion.
LogfontToCharformat(LOGFONT & lf, COLORREF & cr, CHARFORMAT & cf)
{
cf.cbSize = sizeof(CHARFORMAT);
cf.dwMask = CFM_COLOR | CFM_FACE | CFM_SIZE | CFM_CHARSET
| CFM_BOLD | CFM_ITALIC | CFM_UNDERLINE | CFM_STRIKEOUT | CFM_OFFSET;
cf.dwEffects = 0;
if (lf.lfWeight >= FW_BOLD)
{
cf.dwEffects |= CFE_BOLD;
}
if (lf.lfUnderline)
{
cf.dwEffects |= CFE_UNDERLINE;
}
if (lf.lfItalic)
{
cf.dwEffects |= CFE_ITALIC;
}
if (lf.lfStrikeOut)
{
cf.dwEffects |= CFE_STRIKEOUT;
}
//temporary create DC
CDC dc;
dc.CreateDC(_T("DISPLAY"),NULL,NULL,NULL);
cf.yHeight = 20*long( 0.5 + fabs(double(72*lf.lfHeight)/dc.GetDeviceCaps(LOGPIXELSY)));
dc.DeleteDC();
cf.yOffset = 0;
cf.crTextColor = cr;
cf.bCharSet = lf.lfCharSet;
cf.bPitchAndFamily = lf.lfPitchAndFamily;
_tcscpy_s(cf.szFaceName, LF_FACESIZE, lf.lfFaceName);
}
Apr 27th
I had very little trust on download sites. Mainly because they just pull in product information from PAD files without adding any special value for the downloaders & the vendors. Download.com is the #1 amongst download sites but they can do lot better.
To our surprise FindMySoft.com is different. It writes exclusive reviews about a software product.
They recently awarded 5 star to Quick Notes Plus and also wrote a review comparing our premium sticky notes software Notezilla.
Thanks.