One of the first thing you have to do when you are creating a git repository is to create a .gitignore file that tells git to ignore the files specified in the .gitignore file. Since Visual Studio produces all kinds of files it could take a while if you tried to create a .gitignore file from scratch. Well there's a website that will generate a .gitignore file for you. It's called gitignore.io all you have to do is type in the IDE in this case it's VisualStudio without any spaces and the website will generate a .gitignore file for you automatically.
Tuesday, June 30, 2015
Friday, June 26, 2015
Hadoop Part 1: Install Hortonworks HDP Sandbox
In this blog I am going to show you how to install the Hortonworks Hadoop virtual machine on your local machine using Oracle's VirtualBox. It is free so it's the best way to learn Hadoop if you are just starting out.
Step-by-Step Instructions:
1. Type in the url http://hortonworks.com/products/sandbox-instructions , you will be taken to the Hortonworks sandbox download page.
2. What you want to do is download the latest stable release. Choose the virtual machine version that is for VirtualBox at the time of this writing the file should say VirtualBox(HDP 2.2.4 - 5.4 GB). It's going to take a while.
Step-by-Step Instructions:
1. Type in the url http://hortonworks.com/products/sandbox-instructions , you will be taken to the Hortonworks sandbox download page.
2. What you want to do is download the latest stable release. Choose the virtual machine version that is for VirtualBox at the time of this writing the file should say VirtualBox(HDP 2.2.4 - 5.4 GB). It's going to take a while.
Monday, June 8, 2015
End-to-End ASP.NET MVC 5 : Using Conditional Comments to Support Older Versions Of IE
Older versions of IE have problems supporting the newer JavaScript libraries and HTML5 tags. In the previous blog we've created responsive layout in ASP.NET MVC. In this blog we are going to use conditional comments to support older versions of Internet Explorer (IE). Since IE 9 seems to be the cutoff point we will use it in our conditional comment base condition to decide whether we want to do something different to support IE. We will be working with the MvcApp project.
Step-By-Step Instructions:
1. Open the MvcApp application
2. Open the _Layout.cshtml
3. Inside the <head> tag
Step-By-Step Instructions:
1. Open the MvcApp application
2. Open the _Layout.cshtml
3. Inside the <head> tag
<!--[if lt IE 9]> <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script> <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script> <![endif]-->
Thursday, June 4, 2015
End-to-End ASP.NET MVC: Create A Responsive Layout With Bootstrap
In our previous blog we created a simple _Layout.cshtml file that does not have any markup just to make things simple. In this blog we will use Bootstrap to make the layout look more professional and responsive, so that it can be viewed in any screen size. The previous layout looks like screenshot below.