Add Appointment to exchange programatically without EWS - c#

Evening all,
I have been doing some work for a client which involves adding appointments into a Google calendar, today I have been told that they are not going to be using Google any more and will be using the calendar available through exchange, They are using an off site instance of exchange hosted by a third party, as best as I can tell at the moment they do not have EWS enabled (I am awaiting confirmation on this).
So I am weighing up my options at the moment, if the third party comes back and says that EWS is not available I need some other way of getting the appointments into exchange.
Right, some background about the app:
C# ASP.NET WebForms site (.net 4.5) hosted on a dedicated server.
Any suggestions that you may have would be great!
Thanks in advance!

Related

Import and connect Outlook Calendar in C# winform

I want to create a winforms application that should show the calendar of an Outlook user and allow me to modify it (create events,..).
My end goal will be that I have all Outlook calendars of my colleagues (5) in a simple GUI.
I haven't found much documentation about this so I was wondering: is this even possible?
Are there API's or other documentation that could help me commence?
It is possible using Exchange Web Services if on-premise hosting or Microsoft Graph with hosting in the cloud.
on-prem: https://learn.microsoft.com/en-us/exchange/client-developer/exchange-web-services/start-using-web-services-in-exchange
graph / REST API: https://learn.microsoft.com/en-us/outlook/

lync meeting url to be created using ucma and send via EWS

I am using EWS to create and send outlook meetings.
But now i need to create a lync meeting and simply send the url to participants using EWS, so they can join in the same lync audio call. Sending mails via EWS part is done, but I am unable to generate the lync meeting url throuhg EWS but i can generate normal meeting. Some suggested UCMA and UCWA, but i have not found any supporting C# code that elaborate the process. I have found only theories even on microsoft site that also ambigious. If anyone know how to achieve this in C# server side, Thanks for the answer in advance.
This is definitely possible using UCMA, I'm not sure about UCWA though.
For your requirement, you could probably wrap a WCF service around your UCMA application(C#), that talks to a Lync server to create ad-hoc conferences and return the meeting URL. The UCMA application can be hosted on a separate application server added to the Lync topology as an application endpoint.
I suggest reading Tom's blog or this book, to get a better idea of UCMA's capabilities

Using MVC 5 web page to get data from outlook server?

I've had a look around and can't seem to find what I'm looking for (unless I have and didn't realise...)
I have been tasked with creating a basic CRM web based app so that it can be used on any device.
I am using MVC 5 to do this using SQL server to store all the required tables.
What I need to do know is be able to sync with an outlook exchange server so that the user can log in and their list of contacts/scheduled tasks are taken from the outlook information as well as be able to create/edit/delete etc the contacts + scheduled tasks and be able to post them back to the outlook server. ie without having to open a local Microsoft Outlook application.
Is this possible and if so does anyone know where I may be able to find a good enough source to help me learn this further.
thanks...
Tewr's comment is right on the spot as this is a scenario suited for EWS (Exchange Web Services).
If you're using MVC 5 to develop this application, it may be the most helpful to use EWS Managed API to access the Exchange server as it allows you to all of it in C#.
Managed API - http://msdn.microsoft.com/en-us/library/office/jj220499(v=exchg.80).aspx
Working with contacts - http://msdn.microsoft.com/en-us/library/office/ee693004(v=exchg.80).aspx

Dynamically Pull Data from Dynamics CRM Online

I'm a PHP Developer that recently got introduced to Dynamics CRM Online as I am building an application that needs to pull Customer details directly from a Dynamics CRM Online account to populate a Customer selection list.
I've gone through a number of options including:
http://mscrmtools.blogspot.com/2012/08/php-to-crm-online-easy-way-to-do.html
But I was unable to authenticate at all. According to the blogger, Tanguy, MS has since changed and the solution he posted is no longer valid. I am unable to locate a new solution for connect.
I've even tried the Dynamics SDK (http://www.microsoft.com/en-us/download/details.aspx?id=24004) but I've never done C# coding so I'm at a lost and it seems the samples weren't even compiling anyway. At the same time, I'm not sure this tool was even meant for pulling data from Dynamics CRM Online or the user hosted version.
If there's anyone who can help, it would be greatly appreciated as I've been trying to figure this out for days and trying various options only to continually hit dead end after dead end.
Thanks so much in advance.
My suggestion in this situation is always to create a C# Web Service that will act as a bridge between CRM and your php code.
The Web Service use .NET so can easily pull the data from CRM, and because is a Web Service you can consume it by any platform (with SOAP or REST is your decision)
I have been working through a CRM Online - PHP connector for the last few months. I have no server to host C# code so i've been restricted to connecting to CRM using PHP.
I have managed to get Office 365 and Windows Live authentication working (in the near future all Windows Live users will be migrated to Office 365). I have been starting to document my process here.
http://crmtroubleshoot.blogspot.com.au/2013/07/dynamics-crm-2011-php-and-soap-using.html
After spending a fair bit of time on this connection I find myself agreeing with Guido Preite. If you are in a position to host a C# Web Service somewhere then this is probably worthwhile.

Is It Possible To Launch A Lync Session And Invite Tech And External User From A C# Web App?

I'm tasked with writing a web app that will connect an internal employee and an external client while logging Case details. Our company recently switched over to Lync, so I'm a bit lost on the API for doing this.
Ideally, this would be a web app (C# & ASP.NET) so that the customer support department doesn't have to install something to every workstation. It would also mimic the behavior found in this article for sending an email to allow external users to connect.
Is UCMA required for this? We have a generic Lync account that could be used by a service to facilitate these requests if that would be more appropriate. I can also force the issue for using a desktop app if need be.
I'm just having a hell of a time finding the right API calls to make this happen on MSDN so any links to docs or tutorials would be a huge help.
Some research that doesn't quite point out what needs to be done:
UCMA: Chat with users not in AD
How do I Invite a user by email to a Lync 2010 chat session using the API?
you should take a look at this sample located at :%Program Files%Microsoft UCMA 3.0\SDK\Core\Sample Applications\Reference\ContactCenter
You'll find more details here : http://msdn.microsoft.com/en-us/library/hh285604.aspx
Hope that helped.
You should also take a look at UCWA - Microsoft's Unified Communications Web API.
Unified Communications Web API
It's a great platform for adding Lync functionality into your Web application, has an Online Demo with full source code as well.

Categories

Resources