My development PC is a Windows 7 64-bit with Visual Studio 2008 (yeah.. i’m lagging behind darn it 🙂 ). Most of the time, I need to write/debug application in 32-bit(x86) environment.
Occasionally, the debugging session will abruptly ended, leaving me just this window:

Apparently there was an exception happened, and that’s how the 32-bit debugger handles it. Sucks right?
So in order to get the Exception details, you just need to put one single try-catch to cover the whole application, and put a breakpoint inside the catch section.

By now, you should be able to get the exception details whenever you x86 debugging session abruptly ended.
About Hardono
Howdy! I'm Hardono. I am working as a
Software
Developer. I am working mostly in Windows, dealing with .NET, conversing in C#. But I know a bit of Linux, mainly because I need to keep this blog operational. I've been working in Logistics/Transport industry for more than 11 years.
My brother’s blog is having a problem. At his main page, the sidebar is rendered below the Content.

Strangely, if you open one single post, the sidebar is rendered properly on the right side.

I’ve spent few hours playing with the template, doesn’t seem to solve it. Do you know what’s wrong with this template?
About Hardono
Howdy! I'm Hardono. I am working as a
Software
Developer. I am working mostly in Windows, dealing with .NET, conversing in C#. But I know a bit of Linux, mainly because I need to keep this blog operational. I've been working in Logistics/Transport industry for more than 11 years.
I have previously made a small pet project done in Ext.NET MVC that requires multi-language UI. So today I’ll share with you what i’ve done, hopefully it can be useful to those who need it. If you have a better idea, kindly let me know. So that I learn something too 😉
Taken from Cuckoo’s call
All Strings in Resource Files
In order to translation, you must have a number of resource files. Each for the language that you plan to support. After you added the resource files, you should have something similar to this:

Make sure that each resource file has the same number of records and records Name.

Using the resource file in the UI
Below is example of the usage of the resource file on the front-end
Selecting the Correct Language
Now that we have all the resource files that is needed, we need to tell ASP.NET rendering engine to pick-up the correct resource file. To do that, we need to switch the Culture before the Controllers is doing their job. For my case, I override Application_AuthenticateRequest method in Global.asax.cs to execute the following code:
HttpRequest Req = HttpContext.Current.Request;
if (Req.UserLanguages != null && Req.UserLanguages.Length>0)
{
var Lang = Request.UserLanguages[0]; //Browser Locale Setting
//My UI allows its users to change the language preference
//and stored the selection in a Cookie
if (Req.Cookies["cultureCode"] != null
&& !String.IsNullOrEmpty(Req.Cookies["cultureCode"].Value))
Lang = Req.Cookies["cultureCode"].Value;
if (!String.IsNullOrEmpty(Lang))
{
System.Globalization.CultureInfo Culture = null;
try
{
Culture = new System.Globalization.CultureInfo(Lang);
}
catch
{
//Lang is not a valid culture code (e.g. en-US, fr-CA)
//Do something or Ignore
}
if (Culture != null) {
System.Threading.Thread.CurrentThread.CurrentCulture = Culture;
System.Threading.Thread.CurrentThread.CurrentUICulture = Culture;
}
}
}About Hardono
Howdy! I'm Hardono. I am working as a
Software
Developer. I am working mostly in Windows, dealing with .NET, conversing in C#. But I know a bit of Linux, mainly because I need to keep this blog operational. I've been working in Logistics/Transport industry for more than 11 years.