30 April 2015

Models: These are the classes that represent the domain you are interested in. These domain objects often encapsulate data stored in a database as well as code that manipulates the data and enforces domain-specific  c business logic. With ASP.NET MVC, this is most likely a Data Access Layer of some kind, using a tool like Entity Framework or NHibernate combined with custom code containing...

27 February 2015

ICICI Merchant Services provides Online Payment Gateway services. This service is very easy to attachment with our existing website. ICICI provides PHP and ASP.NET based APIs. Here I will explain php based API implementation to our website. Firstly it is required to download KEY from merchant account. Login to website: Then Generate Key from the "SFA" menu, "Key Download". Now Apply "cacert.pem"...

16 February 2015

Hi, today I will demonstrate you how to download / pull image from another website. For this it is required for use below namespace : using System.Net;   using System.IO;  Now for c# part private void DownloadImage(string imageURL, string FolderAndFile_NameToDownload) { HttpWebRequest lxRequest = (HttpWebRequest)WebRequest.Create(imageURL); String lsResponse = string.Empty; using (HttpWebResponse lxResponse = (HttpWebResponse)lxRequest.GetResponse())...

12 February 2015

I have upgraded a class library project in my solution to .NET Framework 4.0. But after the upgrade there was an error as below: Could not load file or assembly 'some_DLL_Name' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded. Description: An unhandled exception occurred during the execution of the current web request....