Forums/getfile/589039' alt='Sharepoint Foundation 2013 Download For Windows 7' title='Sharepoint Foundation 2013 Download For Windows 7' />Debugging Share. Point 2. Windows Azure Service Bus. In this post, I will talk about how you can debug remote events within a Share. Point 2. 01. 3 App. Especially with the Autohosted App Model I made a post about that a while ago. Let me first start with a small and really easy to understand app that I will use to highlight the topic of this post. The App. Its quite an easy app where you can Add a contact. Get a contact. The App has some logic in the Web project to manage the button Add Contact and Get Contacts, and a List in the Share. Point project. You will find the sources at the bottom of this post. When running this App, you will see something like As you can see, the Full. Name contains the text Not set. Thats correct, I only provided my first and last name. But I want my full name to be managed by a remote service. And thats where this post is all about. Finally What I want is a remote event receiver that will be triggered when a new contact has been added. Add one to the Share. Point project. Right Click and select Add New Remote Event Receiver. Call it Contact List. You need to select the type of event on which the event receiver needs to do something. Select An item was added. You will now see a new folder in the Web Project called Services and a new service called Contact. Patent Pilot Program Judges Paneling. List. svc. When you open it, you should see 2 methods. The one we need is called Process. One. Way. Event. Property bags can be created, edited and deleted at all of these level. Property bag keys are case sensitive How to use property bag SharePointYou can add the following code. Client. Context client. Context Token. Helper. Create. Remote. Event. Receiver. Client. Contextproperties. Version comparison chart for all the features for an on premise install of SharePoint 2013 SharePoint Foundation Standard Edition Enterprise Edition. Context null. Name properties. Item. Event. Properties. After. PropertiesFirst. Name. To. String. Name properties. Item. Event. Properties. After. PropertiesLast. Name. Phonetic. To. String. List lst. Contacts client. Context. Web. Lists. Get. By. Titleproperties. Item. Event. Properties. List. Title. List. Item item. Contact lst. Contacts. Get. Item. Black Ops 2 Mod Menu Xbox 360 Download No Survey there. By. Idproperties. Item. Event. Properties. List. Item. Id. item. ContactFull. Name String. Format0 1, first. Name, last. Name. Contact. Update. Context. Execute. Query. usingClient. Context client. ContextToken. Helper. Create. Remote. Event. Receiver. Client. Contextproperties   ifclient. Contextnull          stringfirst. Nameproperties. Item. Event. Properties. After. PropertiesFirst. Name. To. String       stringlast. Nameproperties. Item. Event. Properties. After. PropertiesLast. Name. Phonetic. To. String       List lst. Contactsclient. Context. Web. Lists. Get. By. Titleproperties. Item. Event. Properties. List. Title       List. Item item. Contactlst. Contacts. Get. Item. By. Idproperties. Item. Event. Properties. List. Item. Id       item. ContactFull. NameString. Format0 1,first. Name,last. Name       item. Contact. Update       client. Context. Execute. Query   What it actually will do is get the Client. Context and get my first and last name that I submitted. It will than perform a string merge and add it to the Full. Name of the List. Item. Nothing fancy. So, why dont we just hit F5 and check it out You will soon find out that it will not work, the service is not being called. You can try to add a breakpoint, and you will see that it will be ignored. But why Problem. The problem is quite easy to understand. What will happen when you press F5 is a Publish of your App to Share. Point online, and once you Trust the App will eventually loop back to your Local IIS  as you can see in the URL of the screenshot at the beginning of this post. It looks like So our Web project is running locally, meaning that our web service is also running locally. So in our case, when we hit the button Add Contact, it will try to call our Remote Event Receiver. So from a  SPApp. Web which is Share. Point Online context, it will not be able to contact Localhost. It looks like Solution Windows Azure Service Bus. In the final RTM version of Office Developer Tools for Visual Studio 2. Enable Remote Event Debugging, making use of the Windows Azure Service Bus. Now first of all, whats that Azure Service busLet me take the description from MSDN The Windows Azure Service Bus provides a hosted, secure, and widely available infrastructure for widespread communication, large scale event distribution, naming, and service publishing. The Service Bus provides connectivity options for Windows Communication Foundation WCF and other service endpoints including REST endpoints that would otherwise be difficult or impossible to reach. Endpoints can be located behind network address translation NAT boundaries, or bound to frequently changing, dynamically assigned IP addresses, or both. In other words, the Windows Azure Service Bus allows you to expose our local WCF service to the outside world. And thats exactly what we need All you have to do is get yourself a Service Bus instance and enable this feature in the Share. Point App project properties. You can get a Windows Azure Service Bus  instance using the Windows Azure Management Portal. On the left side, click on Service Bus and click on the Add sign on the bottom of the page. Add a name, and finish the wizard. When your service has been created, all you have to do is click on the Access Key button and copy the connection string. Next, right click on your Share. Point App project in Visual Studio and select Share. Point. There you can Enable Remote Event Debugging Now you can add a breakpoint in your service code and press F5. There you go And if you look at the App itself, you will see that the Full. Name has a value Mission accomplishedYou can download the sources here. Have fun Oh, and just a small note, did you know that you can actually see which services are availableactive on you Windows Azure Service BusJust browse to the URL of your service bus, and you should see. Acoustic Echo Cancellation Software Windows more.