C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Interview   Jobs   Projects   Offshore Development    
Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Revenue Sharing | Talk to Us |



My Profile

Gifts

Active Members
TodayLast 7 Days more...







Public Assembly


Posted Date: 24 Mar 2008      Total Responses: 4

Posted By: siva       Member Level: Bronze     Points: 2


Can you answer for these qustions.
1.If i create a website application from Visual studio 2005, If i want to use that application Dll ,where do i find the DLL.

2.If i create webapplication.If i get DLL, if i want to use that DLL into another application ,how to add existing DLL to the new application. Can i add directly by right click on the solution , andd Add reference or Do i need to place into GAC. Whats the usage of plcing a dll into GAC,why can't we directly use the Dll by add reference.





Responses

Author: UmaMahesh    24 Mar 2008Member Level: SilverRating:     Points: 2
UmaMahesh.Ch

hi
1. U can find DLL files in ur bin folder of ur application folder

2.before adding to this dll file in another application u must place this dll file in GAC(Global Assembly Cache).
The Reason is, if u place this dll in GAC u can use that dll file in any number of other application.

that means
for example
ur going to place one web1.dll(say) which is belongs to WebApplication1,
u must place the web1.dll file whenever u want to use this web1.dll in webapplication2 otherwise no need.

Means the dll file which is in GAC is global for all the applications


i hope this will help u

let me know whether u catch my point or not?


All the best

Regards
UmaMahesh.Ch











Author: Roopesh Babu Valluru    25 Mar 2008Member Level: GoldRating:     Points: 2
1. U can find DLL files in ur bin folder of ur application folder

2. if u want that dll to be iused for thatb particular application then u can copy it into the project directory in which u want to use and then add reference...if u want to use it in many projects then place it in GAC...

All The Best...


Author: Sreenivasulu    25 Mar 2008Member Level: SilverRating:     Points: 2
1.If u create an assembly u can use it for only ur application. U can find that in Bin folder or app folder.

2. If you want to use it for many applications u should put that into GAC.

To put that into GAC , u have to follow some steps.

i. U have to give strong name to ur assembly by using strong name tool
sn -k assembly name
It gives u the key pair and strong name.

ii. Now the assembly with strong name , U have to put that into GAC, to put that into GAc u have to use GAC tool which will add or remove ur assembly into GAC.

GACUtil.exe -i assemblyname

-i - tells that u r installing the assembly into GAC

if it is -u it tells that u r uninstalling ur assembly from GAC

By putting that into GAC, u can use it for different applications.

Good Luck


Author: siva    01 Apr 2008Member Level: BronzeRating:     Points: 2
But iam unable to find the Bin Folder in my webapplication. that was the reason i asked you guyz


Post Reply
You must Sign In to post a response.
Next : plz solve this error
Previous : Fill dropDownlist?
Return to Discussion Forum
Post New Message
Category: .NET

Related Messages



Read TATA Nano reviews.
dotNet Slackers   BizTalk Adaptors    Web Design   Scripts
Are you waiting for engineering entrance result? Watch here for engineering entrance results.
budget conference call

Contact Us    Privacy Policy    Terms Of Use