.net - Techniques for integrating an ASP.NET intranet app with the Outlook calendar -


i can ignore braying of users no longer. want task scheduling system , @ point have deliver. thinking of making own (can't hard), users have 2 side-by-side task managements systems since use outlook same thing.

in terms of outlook calendar / task integration, 2 possible approaches occurred me:

1) use javascript , automation

i seem remember it's possible automation in javascript.

pros:

  • i've done automation before.

cons:

  • automation horrible!
  • some persistence (outlook entities) responsibility of client-side code, , rest responsibility of server-side code. feels horrible.
  • possible security concerns /
    blocking dept.

2) use .net api interact exchange server directly

the intranet uses single-sign on, should make security issues easier.

pros:

  • all persistence code server-side.

cons:

  • i don't know such api exists.

as ever, stand on shoulders of giants. can has trodden path before give me guidance?

we did same kind of integration our intranet application using exchange web services managed api. 1 way of going second option. have never tried same using javascript, no idea on that.

with regards query comment 1: need single ad user whom using impersonate , work on other users account. please refer example below:

lets have active dir account named fabrikam\myappname password fabi$gre@t2010

void createfolder(string targetuseremail) {     string appname = "myappname";     string apppassword = "fabi$gre@t2010";     string emaildomain = "fabrikam";     string appemail = string.format("{0}@{1}.com", appname, emaildomain);      exchangeservice service = new exchangeservice();     service.credentials = new networkcredential(appname, apppassword, emaildomain);     service.autodiscoverurl(appemail);      service.impersonateduserid = new impersonateduserid(connectingidtype.smtpaddress, targetuseremail);      folder newfolder = new folder(service);     newfolder.displayname = "testfolder1";      newfolder.save(wellknownfoldername.inbox); } 

do check article configuring exchange impersonation make impersonation working.

hope helps.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -