Learn AngularJS: Hour 2

In hour 1 of this series we learnt to get started with AngularJS. In this hour we will see Angular Templates and how AngularJS app can be embraced into a pattern. Let us start with writing a simple web application with static template. In below application we are printing name of the authors in HTMLContinueContinue reading “Learn AngularJS: Hour 2”

Learn AngularJS : Hour 1

Who is not talking about Angular.JS? Undoubtedly it is most powerful framework (Not Library) to create Single Page Applications (SPA). In this Learn AngularJS series, I will focus on basics of Angular. This series will help you in getting started with AngularJS. In first hour we will write first AngularJS Apps and understand bootstrapping ofContinueContinue reading “Learn AngularJS : Hour 1”

Fault Contract’1 was unhandled by user code: Solved

For a training purpose I was trying a basic demo on fault contract in WCF and to be surprised I Got below error while throwing FaultException. It’s not that 1st time I was working on Fault Contract but this error was irritating. After some investigation I found there was some issue in visual studio 2013ContinueContinue reading “Fault Contract’1 was unhandled by user code: Solved”

Publish WCF Service in Local IIS on Visual Studio 2013

Long back I wrote a blog post Step by Step hosting WCF Service in IIS 7.5 . In this post I used Visual Studio 2012 as I remember. Today I was trying to host WCF in local IIS in Visual Studio 2013 and found it is surprisingly easy to host WCF Service in IIS 2013ContinueContinue reading “Publish WCF Service in Local IIS on Visual Studio 2013”

Solved Access-Control-Allow-Origin Error in WCF REST Service

  Recently I was working on a JSON based WCF REST Service. It was a simple service performing CRUD operation. When I tried to consume service from a web based client, got following errors in browser console. Error message was, No Access-Control-Allow-Origin header is present on the required resource. Since service was running on differentContinueContinue reading “Solved Access-Control-Allow-Origin Error in WCF REST Service”

Dealing Multiple EndPoints of a WCF Service

If you know EndPoints well, you know WCF well. Configuring EndPoints are vital for any WCF design. You can configure EndPoints either via code or in web.config file. I have seen many times, developers are confused with EndPoints. I have come across following common question about EndPoints Can we have multiple EndPoints? Can be exposeContinueContinue reading “Dealing Multiple EndPoints of a WCF Service”

All about Instance Management in WCF

When I started learning WCF, First thing I learnt was “Service is just like another class”. Okay so if WCF is a class which instance of class will handle request from client? Confusing? May be! In this post let us explore WCF Instance Management. In WCF, Instance Management is a technique to decide which serviceContinueContinue reading “All about Instance Management in WCF”

Return type of One-way or Simplex WCF Service

WCF is one of the most asked topics in interviews. Recently one of my reader sent me a mail. He asked, “What is error in following code?” His code snippet was as below, In one sentence, problem with above code is in return type of Operation Contract. IsOneWay property of Operation Contract is set toContinueContinue reading “Return type of One-way or Simplex WCF Service”

Day #2: Learn ASP.NET MVC 5- Adding View

Day #1: Learn ASP.NET MVC 5- Adding Controller On Day1 we learnt about Adding Controller. Today we will learn to add View in MVC project. Let us start with understanding with is View? View is part of MVC that renders user interface. View contains markup that gets render with ViewEngines. ViewEngines generates View in ASP.NETContinueContinue reading “Day #2: Learn ASP.NET MVC 5- Adding View”

Day #1: Learn ASP.NET MVC 5- Adding Controller

  After long time, I am back to web development. At current web development paradigm, ASP.NET MVC framework is one of the most popular and heavily used web development framework. Seeing popularity and usefulness of ASP.NET MVC, I have decided to write easy to go blog series on this. In this blog post series, eachContinueContinue reading “Day #1: Learn ASP.NET MVC 5- Adding Controller”