Satellite assemblies, DOT NET Programming

Assignment Help:

What are satellite assemblies?

We use resource files to store data according to the localized languages. But when you actually go for the deployment you will not like to also install the "resx" or "txt" files. It is definitely not a good deployment practice to install the data which can be easily modified. In brief somehow we should install this in a binary format so that no end user can modify it. That's why the Microsoft introduced satellite assemblies.

The Satellite assemblies are assemblies which do not contain any source code. They contain only resource files. You can create a satellite assembly by using rsgen.exe and al.exe. They are in the binary DLL format which makes it easier to ship it during deployment. So finally during deployment you do not require to ship the resx files but only the compiled satellite DLL.

789_Satellite assembly.png

Figure: - resgen.exe and al.exe in action

The above diagram above will give you a whole picture of how to generate Satellite assembly. You can see from the above figure we require two exe resgen.exe & al.exe. Whenever you made your resx file or text file you must first convert it into a ".resource" files. This is completed by using the resgen.exe. The command snippet below is for resgen.exe where the LoginScreen.aspx.el.resx is the resx file and output is a Greek.resources file.  It always generates the "LoginScreen.resources" if you do not give the output file name.

resgen LoginScreen.aspx.el.resx Greek.resources

You can also create resx files from the txt file by using resgen.exe below is the code snippet for the same:-

resgen MyLanguage.txt MyLanguage.resx

In the above command snippet we will generate a MyLanguage.resx by using MyLanguag.txt file. You can make a DLL by using resource files and not resx so you must make this conversion. Now once the resource file is created its time make the compiled assembly of the same so that it can be shipped during the deployment. This is carry out by using the assembly linker tool al.exe given by the Microsoft. The command code snippet is below for the same.

al.exe /out:el.dll /c:de /embed:greek.resources


Related Discussions:- Satellite assemblies

Required c# programmer, The program is broke now but explains in text and p...

The program is broke now but explains in text and printscreens the specific things i have to do to implement new bookies new sports and change settings for looking for arbs on two

What is object relational designe, What is Object Relational Designer? ...

What is Object Relational Designer? The 0/R Designer provides a visual design surface to make LINQ to SQL entity classes and associations (relationships) that are based on obje

What is the difference between view state and session state, What Is The Di...

What Is The Difference Between ViewState and SessionState? View State persist the values of controls of certain page in the client (browser) when post back operation done. When

Designing and development of a health vitamin website, Project Description:...

Project Description: The website should be CMS based; coding done only on ASP, MySql databases, .net script, aspx and java use with least of the flash work. We will be sharing j

Strongly typed resource class, Can we get a strongly typed resource class? ...

Can we get a strongly typed resource class? You can now get strongly types classes in the VS.NET intellisense as shown in the figure below. Figure: - Strongly typed re

I need help in calendar integration into site using .net, I need help in Ca...

I need help in Calendar integration into site using .net I'm demanding to create a web-based proof of concept for the following scenario. I'd like to permit a user to select

What is the purpose of dotnet, What is the purpose of DOTNET? Dot Net I...

What is the purpose of DOTNET? Dot Net Is a collection of products like C#, ASp.Net, Vb.Net, XML. The purpose of .Net is that we can simply upgrade and degrade our programs whi

Difference b/w msml and .net framework xml classes, What is the main differ...

What is the main difference b/w MSML and .NET Framework XML classes? The MSXML supports XML DOM and SAX parsers while the .NET framework XML classes support XML DOM and XML rea

Class in dot net, What is a Class in dot Net? The class describes all t...

What is a Class in dot Net? The class describes all the attributes of objects, as well as the methods which implement the behavior of member objects. It is a comprehensive data

Web based program completed with .net, We have a web based program complete...

We have a web based program completed with .NET C# and Microsoft SQL Server. There are some reports requires to be created. Required Skills. - High Proficiency in .NET C#

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd