With Microsoft.NET Stack there are lots of way to create service like ASP.NET Web Service, WCF(Windows Communication Foundation) service and now ASP.NET Web API. The developer often get confused mainly between WCF Service and Web API. So I thought it is a good idea to write a blog post to about differences between ASP.NET Web API and WCF Service.
Difference between ASP.NET Web API and WCF...
Showing posts with label WCF. Show all posts
Showing posts with label WCF. Show all posts
Saturday, December 14, 2013
Friday, May 3, 2013
Server.Map alternative in WCF - HostingEnvironment.MapPath
If you are ASP.NET programmer then you already know about Server.MapPath. It is used to map a physical location on webserver for asp.net. You can find more information about Server.MapPath from the following location.
http://msdn.microsoft.com/en-us/library/ms524632(v=vs.90).aspx
You can still use that in WCF(Windows Communication Foundation) service http bindings. As we know WCF Service...
Wednesday, April 10, 2013
Why sometimes it’s not a good idea to use session variables in class library project.
As we all know web pages are stateless pages and we need to use session variables in web application to maintain some session over page. Some time we divide our application into multiple layers for example business logic layer,database layer etc. This all layers will be a class library projects.
So when you have your applications divided into the multiple layers at that time you might need to use...
Saturday, February 2, 2013
How to create overload methods in WCF service with C#
Before some days I have posted an blog about How to create overloaded web methods in asp.net web service? In this post I am going to explain how we can create overload methods in WCF(Windows Communication Foundation) service with C# language.
So let’s consider same Hello world example which we have used web service overload method. Let’s create two methods HelloWorld one is with name and another...
Friday, October 29, 2010
Difference between Web Service and WCF Service
While taking interviews of .NET developers I often ask this questions. But lots of people don’t know exact difference between this. So, I decided to write a separate blog about this. Here are the few differences. Web services can be hosted in IIS as well as outside of the IIS. While WCF service...
Monday, August 27, 2007
Collection of WCF (Indigo) links and material
One of my blogging frined Nilang Shah has post our WCF links materials on his blog.
It is a very good collection of WCF. You will have almost all things related to here.
here is the link:
http://nilangshah.wordpress.com/2007/07/16/collection-of-wcf-indigo-links-and-materia...