互软研发团队

Talk is cheap. Show me the code.

使用协同办公开发方式开发的应用,部署在联合办公基础服务下的升级解决方案。

引言

使用协同办公开发的方式,即(使用Nuget来获取DLL、再利用快速开发工具生成代码),部署在基础服务是联合办公的产品(即统一授权,缓存,单点登录,开发框架使用的是联合办公发布的版本)下,会出现其它的一些基础服务没有,如字典、统一授权、获取当前用户的接口无法使用。

针对此情况,本文旨在解决通过协同办公开发的应用可以部署在联合办公的环境中。

解决方案

安装联合办公环境中没有的核心服务

1、BUAEx服务站点
     ���站点是新的接口服务总线实现的版本必须的服务。用户、字典、权限、应用权限都是通过此服务站点实现的。
     将此站点部署在和BUA的服务部署在一起,将此服务中的Web.config的数据库链接更改为统一授权的数据库链接,如下图:
     

    然后在你应用中的Web.Config中,System.serviceModel->Client节点下,将你的服务地址更改为你的地址:

  这样配置后,就可以正常使用用户、字典、权限、角色等和统一授权相关的接口了。

2、Blob服务站点
     此服务站点是用于附件接口必须使用的服务站点,如果需要调用附件接口,则必须部署此服务站点。同样将此服务站点部署在SOA站点下,将web.config中的数据库链接更改为联合办公门户的数据库链接,如下图:
    

此服务的配置上述一样。
3、在你的Web站点中关于错误日志输出

在appsetting配置LogErrorEnabled的值为false



所有的站点文件请见附件!

BUAEx.zip (677.1KB)

Comments (10) -

  • taruhan bola online

    5/12/2016 7:32:23 AM |

    Hey I know this is off topic but I was wondering if you knew of any widgets I could add to my blog that automatically tweet my newest twitter updates. I've been looking for a plug-in like this for quite some time and was hoping maybe you would have some experience with something like this. Please let me know if you run into anything. I truly enjoy reading your blog and I look forward to your new updates.

  • L’Amour Skin Cream Review

    8/5/2016 12:21:40 PM |

    At this time it seems like Drupal is the best blogging platform out there right now. (from what I've read) Is that what you're using on your blog?  Check out my weblog ...  L’Amour Skin Cream Review - lamourfacecream.com/lamour-skin-cream-review/

  • Cellogica

    8/6/2016 9:38:28 AM |

    After exploring a number of the blog posts on your website, I truly like your technique of blogging. I bookmarked it to my bookmark site list and will be checking back in the near future. Please visit my web site too and let me know what you think.  my page ...  Cellogica - cellogicaskinserum.com/.../

  • Erect On Demand

    8/6/2016 9:47:00 AM |

    I think this is among the most significant information for me. And i'm glad reading your article. But should remark  Erect On Demand - erectondemand.org.uk/erect-on-demand-reviews/  some general things, The site style is great, the articles is really excellent : D. Good job, cheers

  • Virility EX

    8/6/2016 10:51:54 AM |

    I do not even know the way I ended up right here, but I thought this post was once great. I don't understand who you're but definitely you're going to a famous blogger in the event you are not already. Cheers!  my web-site;  Virility EX - http://virility-ex.co.uk/virility-ex-benefits/

  • puretestoxplode.Org

    8/6/2016 8:41:25 PM |

    It's great that you are getting thoughts from this piece of writing as well as from our dialogue made at this place.  My site - Pure Testo Xplode,  puretestoxplode.Org - puretestoxplode.org/.../ ,

  • Ruben

    8/8/2016 3:20:17 AM |

    What i don't realize is if truth be told how you're no longer really much more smartly-liked than you may be now. You are so intelligent. You realize thus significantly in relation to this topic, produced me in my opinion consider it from a lot of various angles. Its like men and women don't seem to be interested until it's something 8 Easy Ways To Reduce Signs Of Aging ( Ruben - hydroplenage.org.uk/.../ ) accomplish with Girl gaga! Your personal stuffs outstanding. All the time deal with it up!

  • Hydro Restore Cream

    8/8/2016 7:16:54 AM |

    It is not my first time to visit this web page, i am browsing this website dailly and get nice data from here everyday.  Here is my homepage ::  Hydro Restore Cream - hydro-restore.com/maximize-effects-hydro-restore/

  • Active Ingredients In Hydro Muscle Max

    8/8/2016 7:18:59 AM |

    Hi there everyone, it's my first go to see at this site, and article is truly fruitful  Active Ingredients In Hydro Muscle Max - hydromusclemax.org.uk/.../  favor of me, keep up posting such articles.

Comments are closed