Blue Ink
Blue InkHomeBlue Ink SolutionsArticlesBlue Ink Net CommunityBlue Ink Demo ApplicationAbout Automated Architecture
My Profile
login/register
0

Combining BlueInk Code with existing projects

View General Forum | Post Response | New Topic

Author Message
yashmi
May 8 2006
1:34 PM
I need tobe able to combine blue ink project with the web services project I developed. What is the best practice for doing that?
Lee Richardson
(Admin)

May 8 2006
2:06 PM
Yashmi,

There should be no issues if you simply add your existing project to the Blue Ink generated Visual Studio Solution (.sln). Optionally you may also add all Blue Ink generated projects (.proj files) to your own .sln. Either way.

If you want to call into Blue Ink generated code you may then add a reference to the business components project if you choose to handle security in your own project, or add a reference to the service interface if you want a single location for verifying security. I'd opt for the latter option myself.

Implementing a good security scheme with web services can be challanging, especially when combining it with the declarative security approach that Blue Ink takes. If security is a big concern let me know and I may be able to direct you to some additional resources.
yashmi
May 9 2006
6:56 AM
Lee, Thanks for your response. Sorry, I should have been more specific. The problem I am trying to avoid is "dll hell". I know using the same web reference files might create registry problems. Is there a way around it?
Lee Richardson
(Admin)

May 9 2006
8:21 AM
Yashmi,

I haven't had problems with DLL hell since I moved to .Net. Occasionally I find Visual Studio holds open a reference to a dll and I can't delete it, but closing Visual Studio immediately fixes the problem.

If you have two web projects (a Blue Ink generated one and a web service one) and both reference the middle tier, then each have their own set of DLL's in their respective bin directories. I have used this technique and it works without problem.

If you wanted to have both projects use the same DLL's then you could move them to the Global Assembly Cache (GAC). This increases complexity because you need to digitally sign the assemblies and deal with deploying to the GAC. I haven't done much work in this regard, but I really don't think it should be necessary for a web project.

View General Forum | Post Response | New Topic






ARTICLES

What is Rapid Application Development?


QUESTIONS?

Call us toll free:
(877) 756-3595

Or Visit Forums

    

Copyright © 2017 Automated Architecture, Inc. All rights reserved.