c# 4.0 - Has anyone successfully connected C# to Office 365 Exchange Online to create Public Calendar Appointments? -
our company trying decide if going office 365 , "exchange online" makes sense.
i need figure out if can relatively modify our winforms applications created in c# 4.0 .net framework use "exchange online" create , delete calendar appointment on calendars in public folders , send email. see online, impersonating user , allowing them modify/add/delete public calendars can prove tricky.
i found few articles instantiate powershell within c#: run powershell-script c# application hoping more recent solution , wondering if has cleared hurdle using https://github.com/officedev/o365-windows-start (but use either windows server or windows 7 (not 8.1 required github version).
if has sent email , created/deleted appointments on calendars in public folders using office 365, please let me know how involved was. our current calendar , email creation classes straightforward. want modify them use office 365's "exchange online" (online exchange server)
is there anyway can test without having access "exchange online"?
i assume when state public calendars, mean calendar in public folder. if so, you'll need use ews , ews managed api. link take information accessing public folders. applicable office 365.
without knowing more scenario, i'd suggest get started here create simple ews client. work fine winform. then, go here , bind top of public folder hierarchy.
change folder rootfolder = folder.bind(service, wellknownfoldername.inbox, propset);
to folder rootfolder = folder.bind(service, wellknownfoldername.publicfoldersroot, propset);
you can search folder hierarchy. can use folder.findfolders.
here's information working calendar.
here's information working email.
i hope helps.
Comments
Post a Comment