Const vs. Readonly Keywords in C#

In this article, we will talk about two most commonly used keywords “const” and “readonly” and the difference between them. Let`s get started.

Read more

How To Create A NuGet Package

In this article, we will talk about how to create a NuGet package. Before getting started, let`s first talk about what is NuGet?

What is NuGet?

NuGet is free and open-source package manager for the Microsoft Development Platform. It is distributed as visual studio extension. NuGet client tools provide ability to produce and consume packages. As of writing of this article, version of NuGet is 2.8.5. We will create a class library project containing some extension methods for string and then will publish these extension methods as a nuget package. Let`s get started.

Read more

How to Create Custom External Helper Methods in ASP.NET MVC

In this article, we will talk about how to create and use external helper methods in an ASP.NET MVC application. In my post, How to Create Custom Inline Helper Methods in ASP.NET MVC  we talked about what are helper methods and how to create and use inline helper methods in MVC application. (Note: if you have not read the post regarding custom inline helper in MVC application, i will recommend reading it first as it is related to this post). Before getting started with how to create custom external helper methods, let`s just discuss about external helper method and when should we use it.

Read more

How To Install WordPress Locally Using WAMP

In this article, we will talk about how to install WordPress on local machine using WAMP server. Before getting started with installation, let`s get a brief idea about what is WordPress.

What is WordPress?

WordPress is free, open-source Content Management System (CMS) based on PHP and MySQL. It is one of the most popular online publishing platforms currently powering more than 20% of the web. This blog is also based on WordPress software. It`s nice to have local installation of WordPress, so that we can try new theme, plugins and play with it. Now let`s get started with installation.

Read more

How to Create Custom Inline Helper Methods in ASP.NET MVC

In this article, we will talk about what are helper methods, how to create and use helper methods in an ASP.NET Mvc application.

What are Helper methods?

Helpers are package of few lines of code or a markup which can be reused throughout an MVC application. There are two types of helper methods, Inline helper methods and External helper methods. In this article, we will talk about Inline helper methods.

Read more