Click here to Skip to main content
15,886,919 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Why .NET CLR so slow compared to JVM or Dart or V8 ? Call for help Pin
Antonino Porcino1-Sep-14 21:47
Antonino Porcino1-Sep-14 21:47 
GeneralRe: Why .NET CLR so slow compared to JVM or Dart or V8 ? Call for help Pin
Pete O'Hanlon1-Sep-14 22:03
mvePete O'Hanlon1-Sep-14 22:03 
GeneralRe: Why .NET CLR so slow compared to JVM or Dart or V8 ? Call for help Pin
Antonino Porcino2-Sep-14 0:19
Antonino Porcino2-Sep-14 0:19 
GeneralRe: Why .NET CLR so slow compared to JVM or Dart or V8 ? Call for help Pin
Pete O'Hanlon2-Sep-14 0:36
mvePete O'Hanlon2-Sep-14 0:36 
GeneralRe: Why .NET CLR so slow compared to JVM or Dart or V8 ? Call for help Pin
Antonino Porcino2-Sep-14 1:30
Antonino Porcino2-Sep-14 1:30 
AnswerRe: Why .NET CLR so slow compared to JVM or Dart or V8 ? Call for help Pin
Ben M Watson4-Sep-14 5:43
Ben M Watson4-Sep-14 5:43 
GeneralRe: Why .NET CLR so slow compared to JVM or Dart or V8 ? Call for help Pin
Antonino Porcino4-Sep-14 7:10
Antonino Porcino4-Sep-14 7:10 
QuestionLocalization based on namespace Pin
Moreno Airoldi27-Aug-14 23:18
Moreno Airoldi27-Aug-14 23:18 
Hey guys recently I've been wondering about which would be the best way to implement a localization system based on namespaces.

Let's say that for some reason I wanted to use a few source code files in many different projects, and for some other reason I don't want or cannot build a DLL out of them (which of course would be the "right" way to do this). Let's also say I need to localize that code in a few different languages. Also, the files I'll be sharing all use the same namespace.

Now, the standard localization technique in Visual Studio works real fine and is very easy to maintain and update within the IDE, but it's all tied to the project's main assembly name. So, while I could just copy and paste over all the necessary localization strings for my shared files each time, and prefix all the relevant localized string names with my namespace ID, that would be clumsy and error prone.

I was wondering if there was a way to build up some DLL or resource files and just bundle them up with the source code to be shared. I've been considering for example building up a few resource files within the IDE, using file names that include the namespace and the different culture IDs, and then implementing a custom resource manager using ResXResourceReader or something similar.

Any other ideas ? Smile | :)

P.S.: we are talking C# here.
In theory, there is no difference between theory and practice, but not in practice. - Anonymous

A computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are, in short, a perfect match. - B. Bryson

AnswerRe: Localization based on namespace Pin
Bernhard Hiller28-Aug-14 21:10
Bernhard Hiller28-Aug-14 21:10 
GeneralRe: Localization based on namespace Pin
Moreno Airoldi1-Sep-14 2:35
Moreno Airoldi1-Sep-14 2:35 
AnswerRe: Localization based on namespace Pin
Eddy Vluggen29-Aug-14 7:56
professionalEddy Vluggen29-Aug-14 7:56 
GeneralRe: Localization based on namespace Pin
Moreno Airoldi1-Sep-14 2:51
Moreno Airoldi1-Sep-14 2:51 
AnswerRe: Localization based on namespace Pin
jschell29-Aug-14 8:00
jschell29-Aug-14 8:00 
GeneralRe: Localization based on namespace Pin
Eddy Vluggen29-Aug-14 11:55
professionalEddy Vluggen29-Aug-14 11:55 
GeneralRe: Localization based on namespace Pin
Moreno Airoldi1-Sep-14 2:55
Moreno Airoldi1-Sep-14 2:55 
QuestionHosting a small dot net app and SQL Server Express db Pin
MarkB12327-Aug-14 21:41
MarkB12327-Aug-14 21:41 
Question32 Bit app calling a 64 Bit .Net object - possible? Pin
Ed The C26-Aug-14 6:35
Ed The C26-Aug-14 6:35 
AnswerRe: 32 Bit app calling a 64 Bit .Net object - possible? Pin
Paulo Zemek26-Aug-14 6:48
mvaPaulo Zemek26-Aug-14 6:48 
QuestionNeed Salted MD5 technique for login Pin
demoninside921-Aug-14 19:22
demoninside921-Aug-14 19:22 
AnswerRe: Need Salted MD5 technique for login Pin
Bernhard Hiller21-Aug-14 21:21
Bernhard Hiller21-Aug-14 21:21 
AnswerRe: Need Salted MD5 technique for login Pin
Richard Deeming22-Aug-14 2:10
mveRichard Deeming22-Aug-14 2:10 
QuestionDropTiles ASP.NET MVC Pin
Bain McKay21-Aug-14 9:17
Bain McKay21-Aug-14 9:17 
AnswerRe: DropTiles ASP.NET MVC Pin
Eddy Vluggen22-Aug-14 6:57
professionalEddy Vluggen22-Aug-14 6:57 
Questionpassword is in clear text after implementing SSL Pin
demoninside920-Aug-14 23:50
demoninside920-Aug-14 23:50 
AnswerRe: password is in clear text after implementing SSL Pin
Eddy Vluggen21-Aug-14 0:33
professionalEddy Vluggen21-Aug-14 0:33 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.