navigation

Latest posts on tagged on "CSharp"

How to check Email Id already exists validation in Asp.net MVC c#?

| | Category: asp.net MVC

In this video tutorial I will show you how to check Email Id already exists in Asp.net MVC.

How to generate machinekey for web.config?

| | Category: asp.net MVC

In this tutorial I will show you how to generate machinekey for web.config file using windows powershell.

How to set background for text using Graphics.DrawRectangle in c#?

| | Category: c# .net

In this tutorial I will show you how to set background for text using Graphics.DrawRectangle in c#.

How to split string by \n c#?

| | Category: c# .net

In this tutorial I will show you how to split string on "\n" to new line in c#.

How to decode HTML character code in c#?

| | Category: .Net

In this tutorial I will show you how to decode HTML characters in c#. Here, my string values contains HTML characters. But I need to convert to normal plain text.

How to save the xml file to a particular location?

| | Category: c# .net

In this tutorial I will show you how to save XML file to particular location. Here I m using System.IO.File.WriteAllText method to write xml.

If input has hyphen then replace space c#?

| | Category: c# .net

I want to replace hyphen with space in asp.net c#. Here I used replace method from c# library.

How to remove all Meta keyword tags? -Jpeg Metadata Adapter

| | Category: c# .net

I am using jpeg metadata utility in c#. I want to remove the old keyword tags and add new tags. When I used metaAdapter.Metadata.Keywords.Add(“”) it overwrites with existing keywords.

System.Net.Http.Formatting, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' which has a higher version than referenced assembly 'System.Net.Http.Formatting' with identity 'System.Net.Http.Formatting, Version=4.0.0.0

| | Category: c# .net

I got this following error I removed the old version of System.Net.Http.Formatting version 4.0.0.0 and referenced Version=5.2.3.0. This reference resolved by problem.

the relative virtual path is not allowed here

| | Category: API

When I try to display the html file HostingEnvironment.MapPath I got the error. "An exception of type 'System.ArgumentException' occurred in System.Web.dll but was not handled in user code".

Page 1 of 23