Skip to main content

Posts

Showing posts from May, 2015

Regular Expression To Strip/Remove Html Tags From String in ASP.Net C#.Net VB.Net

In this tutorial i am going to explain about how to strip/remove html tags from the string using regular expression in asp.net and C#.Net or It is achieved by using the System.Text.RegularExpressions namespace.

Sort Dictionary Based On Value In Asp.Net And C#.Net | Convert Dictionary into KeyValuePair or KeyValuePair into Dictionary.

In this tutorial i am going to explain about how to sort dictionary object based on value in asp.net and C#.Net or convert unsorted dictionary to sorted dictionary object in C#.Net and VB.Net or Convert Dictionary into KeyValuePair or KeyValuePair into Dictionary.

Get All Coutries From System.Globalization Namespace | List All Countries In DropDownList

In this tutorial i am going to explain about how to get all coutries in the world from System.Globalization namespace or get all countries in asp.net and C#.Net or get all countries and bind it to the dropdownlist in asp.net .

ASP.Net Web Api Model Validation Using Validation Filters

In this tutorial i am going to explain about how to validate Model properties in asp.net mvc web api. It can be achieved by using the attributes from the System.ComponentModel.DataAnnotations namespace to set validation rules for properties on your model.

Convert String To Upper,Lower & Title(Proper) Case in ASP.Net C#.Net & VB.Net Using TextInfo Class

In this tutorial i am going to explain about how to Convert String To Upper,Lower & Title(Proper) Case Using TextInfo Class in System.Globalization Namespace in ASP.Net, C#.Net  and  VB.Net . Using the ToLower(),ToUpper() and ToTitleCase() static methods in the TextInfo class can be used to achieve this.

Build Products Comparision Table/Grid in ASP.Net C#.Net and VB.Net

In this tutorial i am going to explain about how to Build Products Comparision Table/Grid in ASP.Net,C#.Net and VB.Net. In this tutorial i did it using nested for loops.

How To Create Help Pages(Documents) For Asp.Net Web API

In this tutorial i am going to explain about how to create help pages to asp.net web api using Microsoft.AspNet.WebApi.HelpPage  package. Here i will explain how to add the help page for existing Web API as well as the new Web API Project that has to be created.

How to Add Store Custom Objects in Configuration File(web.config & app.config) in ASP.Net & C#.Net

In this tutorial i am going to explain about how to add Custom objects in configuration file(web.config) and access it in the pages. Custom objects can be created by creating the class that inherit From ConfigurationSection (It is available under namespace System.Configuration ).

How to create simple mathmatical captcha in ASP.Net C#.Net and VB.Net

In this tutorial i am going to explain about how to create simple mathmatical captcha in asp.net c#.net and vb.net. The basic idea is generating two numbers using random function and storing the addition of that two numbers in the session and also converting the numbers into image using the available libraries. On the target page where the captcha is implemented we will have the textbox to get the input from the user and check the textbox value is equal to the session value. It it is equal then we consider the user is a human else it is a robot. In my previous article i have explained about Visual Studio Keyboard Shortcuts , How To get data from WEB API , How To Create Your First WEB API Project , Check Container Exists In Azure Blob , Convert Datatable To Json Data Array , How To Show Tooltip On Mouse Hover In Gridview and many articles in C#.Net , VB.Net , Grid View , Javascript , jQuery , SQL Server and many other topics. Here to explain the process i have created an empt