I am using layered archicteture for my product. My presenatation includes the following strcutre
MyApps
Presentation
Web
MyApp.UI.Web
Multilingual
MyApp.UI.Language.Module1
MyApp.UI.Langaugae.Module2
Here All my langauages are in my multilingual solution and need to access from the web. For each module i created each project for easy maintanenace. How can i achive localisation using satelitte assembly? Is it necessary to create strong key ?
I compiled and worked but got error as Not embedded corrrectly or Satellite asembly not loaded fully.
Please give a full guidance for implmenting satellite assemblies in .NET 4.0?
I am using windows 7 and Visual Studio 2010
Regards,
Akhil Raj K R
Please Mark as Answer if it helps u...
I have multiple UI types like displaye above. So each one have each namespace eg: For Web i have MyApp.UI.Web and for windows i have MyApp.UI.Win.AppName. So how can i give common name so that i can use the same satellite assembly for both UI. I need
to name like "MyApp.resource" Is this possible so what are special steps to be taken when creating satellite assemblies?
2. Register in GAC
If i can create common library name, i can register the same in GAC so that all UI can access the assebmly from GAC. For registering in GAC we need versioning etc. I creating satellite assemblies by using al.exe. So how can i add version and needed information
for GAC to the assembly? Can anyone guid for this?
3. Adding More modules to the same library after deployment
Multiple resopurce file usage is nicely explined in the article i specified. So that all module resource files i can embed in to the same assembly. Hence i have only one assembly for one language. But after deployed i have one custom module or something
like that. So how can i embed this resources in to the same deployed assembly. Any tool for this?
Regards,
Akhil Raj K R
Please Mark as Answer if it helps u...
akhilrajau
Participant
1770 Points
544 Posts
Using Satellite Assemblies in 4.0
Oct 17, 2011 05:44 AM|LINK
hi all,
I am using layered archicteture for my product. My presenatation includes the following strcutre
MyApps
Presentation
Web
MyApp.UI.Web
Multilingual
MyApp.UI.Language.Module1
MyApp.UI.Langaugae.Module2
Here All my langauages are in my multilingual solution and need to access from the web. For each module i created each project for easy maintanenace. How can i achive localisation using satelitte assembly? Is it necessary to create strong key ?
I compiled and worked but got error as Not embedded corrrectly or Satellite asembly not loaded fully.
Please give a full guidance for implmenting satellite assemblies in .NET 4.0?
I am using windows 7 and Visual Studio 2010
Akhil Raj K R
Please Mark as Answer if it helps u...
wangping8271...
Member
738 Points
145 Posts
Re: Using Satellite Assemblies in 4.0
Oct 18, 2011 07:38 AM|LINK
refer
http://sharpertutorials.com/creating-and-implementing-satellite-assemblies/
akhilrajau
Participant
1770 Points
544 Posts
Re: Using Satellite Assemblies in 4.0
Oct 18, 2011 12:25 PM|LINK
I finished. I got an excellent article here.
But i have some doubts regarding this.
1. Resource library naming
I have multiple UI types like displaye above. So each one have each namespace eg: For Web i have MyApp.UI.Web and for windows i have MyApp.UI.Win.AppName. So how can i give common name so that i can use the same satellite assembly for both UI. I need to name like "MyApp.resource" Is this possible so what are special steps to be taken when creating satellite assemblies?
2. Register in GAC
If i can create common library name, i can register the same in GAC so that all UI can access the assebmly from GAC. For registering in GAC we need versioning etc. I creating satellite assemblies by using al.exe. So how can i add version and needed information for GAC to the assembly? Can anyone guid for this?
3. Adding More modules to the same library after deployment
Multiple resopurce file usage is nicely explined in the article i specified. So that all module resource files i can embed in to the same assembly. Hence i have only one assembly for one language. But after deployed i have one custom module or something like that. So how can i embed this resources in to the same deployed assembly. Any tool for this?
Akhil Raj K R
Please Mark as Answer if it helps u...