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

Satellite assemblies, What are satellite assemblies? We use resource fi...

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 i

MySQL, deploying a mysql vb offline desktop application in new system that ...

deploying a mysql vb offline desktop application in new system that doesnot have any server or database created

Gantt & pert charts.., help me to prepare the above charts for my online v...

help me to prepare the above charts for my online vegetable selling project

Encripter-decripter application, Encripter-Decripter application Project...

Encripter-Decripter application Project Description: I want an application which can encrypt - decrypt text, images, and music files as well as videos. Skills required are

Event bubbling, What is event bubbling? The Server controls such as  D...

What is event bubbling? The Server controls such as  DataList, Datagrid,  Repeater can have another child controls inside them. For example the DataGrid can have combo box ins

What are the different types of literals, What are the different types of l...

What are the different types of literals? A literal is a textual representation of an exacting value of a type. The dissimilar types of literals in Visual Basic are: Boo

Explain differences between datagrid and repeater, Differences between Data...

Differences between Datagrid, Datalist and Repeater?   1. Datagrid has paging whereas Datalist doesnt. 2. Datalist has a property called repeat. Direction = vertical/horizon

Types of remote object creation mode in .net, Different types of remote obj...

Different types of remote object creation mode in .NET There are 2 different ways in which the object can be created using Remoting :- 1)SAO (Server Activated Objects) also

Update present website backend build rest api to expose data, Update presen...

Update present website backend (asp.NET) as well as build Rest API to expose data I will soon build an HTML5 cross-platform mobile app. I previously have a website with a backen

Web application as well as site design & development .net, Web application ...

Web application as well as site design & development (.NET) We are interested in retentive the services of a solution provider that will design and implement the presentation la

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