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

Website programming , Question 1 A small Canadian law firm specializin...

Question 1 A small Canadian law firm specializing in immigration law has what it considers a successful website. One of the most popular features of the website is its newslet

Develop nesting software with unit costing, Develop Nesting software with u...

Develop Nesting software with unit costing for gasket manufacturing Project Description: Our current gasket costing software is old and antiquated and has limited use interna

Advantages of sql 2000 over sql 7.0, What are advantages of SQL 2000 over S...

What are advantages of SQL 2000 over SQl 7.0? 1)User-Defined Functions: The User-Defined Functions (UDFs) -- one or moreTransact-SQL statements may be used to encapsulate the

Explain different types of xml application programming, Explain different t...

Explain different types of XML Application Programming Interface (API). The following are two main parts of XML parsers: Tree-based API - Compiles an XML document into a tre

I need very easy project in metatrader, I need very easy project in metatra...

I need very easy project in metatrader Project Description: I have 3 indicators.... ADX, emas crossover and macd crossover! They are all signals, arrows! But i would like to

How to avoid deadlock in threading?, Avoid deadlock in threading The be...

Avoid deadlock in threading The best  and careful planning may avoid deadlocks.There are so many ways Microsoft has provided by which you can decrease deadlocks for example Int

Write an application in c# or c++, Project Description: We are seeking s...

Project Description: We are seeking someone who can write a program in C# or C++. The idea is to prepare the program using a Cross Platform environment like Mono or Qt which

How do we connect to sql server ?, How do we connect to SQL SERVER, which n...

How do we connect to SQL SERVER, which namespace do we use ? The code is shown below, after that i will  give the explanation for it. For this sample we will also require a SQL

What is dbms, What is DBMS? It is a collection of programs that enables...

What is DBMS? It is a collection of programs that enables user to make and maintain a database. In other words it is general-purpose software that gives the users with the proc

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