ASP.NET Web API

Asp.Net Web API is a framework for building HTTP services that can be consumed by a broad range of clients including web browsers, mobile phones and tablets. Actually Web API is not a part of Asp.net MVC Framework, however it is very similar to Asp.Net MVC Framework, It...
Continue reading

Difference between WCF and Web API

Difference between WCF and Web API WCF Web API WCF ships with .NET Framework only Web API ships with .NET framework as well as open source WCF Supports RESTful services but in limited manner Web API is very ideal to build RESTful services WCF use attribute based programming...
Continue reading

Bind DropDownList in Asp.MVC using ViewData object

In our previous article we have seen how to bind ViewBag object to dropdown list, In this article we will see how to bind ViewData data to dropdown. Remember we can set any kind of data to ViewData like from database, from enum, from range, fixed value etc....
Continue reading

How to install and configure NopCommerce application?

How to install and configure NopCommerce shopping cart application. First you need to go to http://www.nopcommerce.com website. On the home page you can find a link to “Download for Free”, see the below Figure 1 for the reference. Figure 1 Now click on the download for free button...
Continue reading

How to integrate SagePay payment form using Asp.Net MVC

SagePay
Introduction In Europe Sage Pay is independent payment service provider. It is one of the most trusted payment brands in Europe. Sage Pay makes payments safe and secure. Payment security and fraud prevention are two of their top priorities. Sagepay provides various integration option for your e-commerce website....
Continue reading

C# interview question answers

Q-1: Which of the following statement is true? a. try block must be followed by catch and finally block both. b. try block must be followed by catch or finally block or both. c. try block cannot include another try block. d. All of the above. Correct Answer:...
Continue reading

XmlDocument class

In the previous article we have seen how to write an XML file using XmlWriter class, in this article we will see how to write an XML file using XmlDocument class. Both are writing the XML file only, however when we want to update an existing XML file...
Continue reading

Writing XML with the XmlWriter class

In previous article we have see about writing and reading text document, but now it’s time to start dealing with XML file. Anyhow XML is just a plain text, we can simply start writing an XML tags to the file and save it with .xml file extension. But...
Continue reading

About Coding Sharp

Coding sharp is a blog where you can find the authors personal experience, tutorials, examples, code samples, resources related to C#, Asp.Net, Linq, Ajax, MVC, Entity Framework, SQL Server, jQuery, Visual Studio.

Pages