Loading ...

TrustedBlogs

Who is online?  0 guests and 0 members
home  »  blogs  »  Raghav Khunger: September 2011

Communifire Blogs

Raghav Khunger :September 2011 postings

Raghav Khunger

GitHub Extensions Visual Studio: Commit not showing the new files added

9/25/2011 by Raghav Khunger · 0 · 1676

While working with GitHub extensions commit command in VisualStudio, I noticed it was not showing the new files which I added to my solution. This may be some bug of GitExtensions but I was able to resolve this by using the Git's "Git - Pending Changes" command. Instead of using git commit command I went for Git- Pending Changes option. To do the same right click the solution and click G...

Raghav Khunger

Good reasons/excuses NOT to use version/source control

9/23/2011 by Raghav Khunger · 0 · 531

Version control is a tool to manage the changes to documents, programs, and other information stored as computer files. It allow us to track what changes we did, revert the changes, do modifications and much more. Many people still have excuses for not using version control, I have listed some of them which I have encountered them saying: I'm the only developer in my company, I don't nee...

Raghav Khunger

GitHub Visual Studio: Apply Shortcut Keys

9/22/2011 by Raghav Khunger · 0 · 696

I find it handy using shortcut keys for various commands instead of command buttons while using VisualStudio. Today, while working with GIT in Visual Studio, I decided to apply shortcut keys to various commands (Commit, Pull etc.). Below are the steps which I used to do so: Step 1: Go to Tools >> Options Step 2: In Enviornment select keyboard option. Step 3: In Show commands contai...

Raghav Khunger

C# Regex: Extract the text between square brackets, without returning the brackets themselves.

9/19/2011 by Raghav Khunger · 0 · 1868

In this blog I will show you how to extract the text between square brackets, without returning the brackets themselves. I will use REGEX class of in order to do so. Let's assume we have a string "Are you ready for regex [test text] magic?" and we want to extract "test text" from it ie. the text which lies in between the square brackets. Below is the sample code for it: using System.Text...

Raghav Khunger

How to detect IIS version in C#

9/19/2011 by Raghav Khunger · 0 · 696

In this blog I will show how to detect the IIS version using C#. We are going to make use of RegistryKey class which is the encapsulation for registry. Below is the sample code to detect the IIS version: using System; using Microsoft.Win32; namespace Sample { public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { Version version = GetI...

Page 1 of 1 (5 items)

Product Spotlight

ASP.NET Hosting Spotlight

Join CodeAsp.Net for FREE Today!

It's fast, easy and free! Submit articles, get your own blog, ask questions & give answers in the forums, and become a better developer, faster.

enter your email address:

 

Quick Vote

What kind of email newsletter would you prefer to receive from CodeAsp.Net?