We are looking to hire 2 Senior C# / ASP.Net Developer to develop and maintain our client Web based applications.

We are looking to hire 2 Senior C# / ASP.Net Developer to develop and maintain our client Web based applications.

  • 3+ years software development experience
  • Should be a self-learner
  • Extensive programming
  • Experience with NopCommerce
  • Experience with C#, ASP.NET MVC
  • Web development experience
  • HTML (experience with HTML5 specific features
  • JavaScript experience : AngularJS, jQuery
  • Frameworks such as AngularJS, ReactJS, Ember, Backbone, Knockout – Experience with using CSS (experience using LessCSS or SASS a plus)
  • Experience with source control concepts, particularly distributed vs centralized version control and branching and merging
  • Experience using TFS (preferred) or any of (Git, SVN, Mercurial, Bazaar)
  • Nice to haveGithub account w/ code that can be perused
  • Any contribution to an open source project in Github, Sourceforge, BitBucket, Google Code
  • Link to their online portfolio and/or www- Deep understanding of how the web works- Caching (HTTP, reverse proxies, etc)- Load balancing-DevOps experience
Configure Asp.net website to send E-mails using SMTP server/Gmail account

Configure Asp.net website to send E-mails using SMTP server/Gmail account

Hi 🙂
we all are developing websites for ourself, college projects and clients and every website requires the ability to send e-mails on certain events like when a user wishes to contact you for more details on your work or is interested in your services.

It was bit dissicult to send e-mails in Classic ASP and asp.net 1.1 but since the release of Asp.net 2.0 framework sending e-mails is very easy and faster.

Requirements for sending E-mail’s

  • A website (yes, the one you are developing or modifying)
  • A SMTP Server to send your mails out.
  • Username, password to authenticate yourself to SMTP server

public static void SendMail(string MailTo, string MailFrom, string Subject, String MailBody)
System.Net.Mail.MailMessage objMailMessage = new System.Net.Mail.MailMessage(
MailFrom, MailTo);
objMailMessage.Subject = Subject;
objMailMessage.IsBodyHtml = true;
objMailMessage.ReplyTo =new MailAddress("username@domain.com");
objMailMessage.Body = MailBody;
SmtpClient objsmtp = new SmtpClient();
objsmtp.EnableSsl = true; // this statement is required in case you are planning to use Gmail account/Google apps account

Next You need to use following function to send email to user or yourself. You just need to paas proper arguments and it will take care of rest.

After that place following code in your website’s web.config file.

<smtp from=”username@gmail.com”>
<network host=”smtp.gmail.com” port=”587″ password=”email-password” userName=”username@gmail.com” />

Default port for SMTP server is 25.
For Gmail/Google Apps accounts it is 587.
If above port numbers does not work for you, please ask you e-mail provider about the port number in use.


I hope you find this post useful.
Thank you for reading.

Error: Missing Dependency: perl (Convert :: ASN1) is needed by package samba- 3.0.33- 3.29. el5_6.2. i386 (updates)

Error: Missing Dependency: perl (Convert :: ASN1) is needed by package samba- 3.0.33- 3.29. el5_6.2. i386 (updates)

Error: Missing Dependency: perl(Convert::ASN1) is needed by package samba-3.0.33-3.29.el5_6.2.i386 (updates)
You could try using –skip-broken to work around the problem
You could try running: package-cleanup –problems
package-cleanup –dupes
rpm -Va –nofiles –nodigest
The program package-cleanup is found in the yum-utils package.

I have been working on a Centos server and getting the same error when trying to install Samba server. I tried searching many online forums and help documents but could not find the package to install to remove dependency errors.

At last after searching for about 5 hours and trying various packages and commands i found the right package to be installed.

So, here are the two commands which can help you save lots of time.

wget http://packages.sw.be/perl-Convert-ASN1/perl-Convert-ASN1-0.22-1.el5.rfx.noarch.rpm

rpm -Uvh perl-Convert-ASN1-0.22-1.el5.rfx.noarch.rpm

So, just try the above commands and you can remove the dependency.

Thanks for visiting. Hope you like the posts.



Get current page/post id in wordpress

Get current page/post id in wordpress

If you are customizing wordpress theme then many times you need to get current page id to show/hide some code or change basic functionality in wordpress. If you need the numeric id of the current page, you can get using following function in your wordpress theme file:

$currentid = get_the_ID();

After you have got the page id in $currentid you can easily use it in your php code like:

<?php if($currentid!=”4″)
//do Something

Apply same css style to multiple IDs controls

Apply same css style to multiple IDs controls

How to apply Multiple IDs # on one css?

You can easily apply multiple id’s to a single css style using following format:

#id1, #id2, #ID3 {
Asp.net url rewrite rule to redirect http to https

Asp.net url rewrite rule to redirect http to https

<rule name=”HTTP to HTTPS redirect” stopProcessing=”true”>

<match url=”(.*)” />
<add input=”{HTTPS}” pattern=”off” ignoreCase=”true” />
<action type=”Redirect” redirectType=”Found” url=”https://{HTTP_HOST}/{R:1}” />



I was adding a new SSL certificate to one of the client’s website and now we wanted only https accessible and redirect user if he/she tries to access http://website.com

So, i thought of available options and from all of those he best is to add a rewrite rule and it will take care of redirection and we even don’t have to update the site navigation and other links. :)

Change login page design for Vtiger 6

Change login page design for Vtiger 6

Vtiger is a great Open Source app for companies of all size.
you can install it’s open source version locally and customize based on your needs.
It can be installed in under 5 minutes and you can start using right away.
Vtiger 6 has got new dashboard color themes and layout design.
But, the default login page on vtiger 6 looks really bad and contains a lot of ads for add-ons and social follow links. If you clean up the login page it looks a lot more professional in design.

Please note: Always take backup of all files before making any changes so you can easily revert back if anyting gets broken.

Step 1:- Search for the correct file to modify.
In earlier versions(vtiger 5.2, Vtiger 5.4) template files were placed under
but now they have updated folder structure and in new version of Vtiger 6 the files are located under

Step 2:- Change logo.
In new version of Vtiger logo for login page is used from following path. You can simply remove old logo file and upload new logo image and rename it to be “logo.png”
Login page Logo path:-

Step 3:- Remove slider on left side of login page on Vtiger
Open Login.tpl in your favourite text-editor.
Remove following div along with other contents inside it.

<div class="carousal-container">
<div><h2> Get more out of Vtiger </h2></div>
<ul class="bxslider">
<div id="slide01" class="slide">
<img class="pull-left" src="{vimage_path('android_text.png')}">
<img class="pull-right" src="{vimage_path('android.png')}"/>
<div id="slide02" class="slide">
<img class="pull-left" src="{vimage_path('iphone_text.png')}"/>
<img class="pull-right" src="{vimage_path('iphone.png')}"/>
<div id="slide03" class="slide">
<img class="pull-left" src="{vimage_path('ipad_text.png')}"/>
<img class="pull-right" src="{vimage_path('ipad.png')}"/>
<div id="slide04" class="slide">
<img class="pull-left" src="{vimage_path('exchange_conn_text.png')}"/>
<img class="pull-right" src="{vimage_path('exchange_conn.png')}"/>
<div id="slide05" class="slide">
<img class="pull-left" src="{vimage_path('outlook_text.png')}"/>
<img class="pull-right" src="{vimage_path('outlook.png')}"/>

Step 4:- Change/remove social links at bottom.
You can either completely remove or just change the social links to your own links.
Change following code for it.

<div class="pull-right footer-icons">
<small>{vtranslate('LBL_CONNECT_WITH_US', $MODULE)}&nbsp;</small>
<a href="https://www.facebook.com/vtiger"><img src="layouts/vlayout/skins/images/facebook.png"></a>
&nbsp;<a href="https://twitter.com/vtigercrm"><img src="layouts/vlayout/skins/images/twitter.png"></a>
&nbsp;<a href="#"><img src="layouts/vlayout/skins/images/linkedin.png"></a>
&nbsp;<a href="http://www.youtube.com/user/vtigercrm"><img src="layouts/vlayout/skins/images/youtube.png"></a>

Step 5:- Change text links in header and footer of Vtiger login page.
You can change the links or remove them completely.
Mofidy following code for this step.
In Header

<div class="helpLinks">
<a href="https://www.vtiger.com">Vtiger Website</a> |
<a href="https://wiki.vtiger.com/vtiger6/">Vtiger Wiki</a> |
<a href="https://www.vtiger.com/crm/videos/">Vtiger videos </a> |
<a href="https://discussions.vtiger.com/">Vtiger Forums</a>

Change links in footer

<div class="footer-content">
<small>&#169 2004-{date('Y')}&nbsp;
<a href="https://www.vtiger.com"> vtiger.com</a> |
<a href="javascript:mypopup();">Read License</a> |
<a href="https://www.vtiger.com/products/crm/privacy_policy.html">Privacy Policy</a> </small>

See attached screenshots for before and after login pages.