Jachman

Stories submitted by Jachman

Azure: From your PC to the cloud(jachman.wordpress.com)

submitted by JachmanJachman(530) 11 months, 27 days ago

In this post I want to write some tipps how to deploy your project to the cloud in a way that allows you to have a local test configuration and a production configuration. read more...

add a comment |category: |Views: 1

tags: another

The mammoth task of making a single-threaded UI getting multi-threaded(jachman.wordpress.com)

submitted by JachmanJachman(530) 2 years ago

At the moment I’m working on a single-threaded WinForm UI that will have to consume WCF Services over the Internet. The problem of such a change is, that the UI is getting really languorous due to the service response times. That’s why I’m going to rewrite it for multi-threading. At this blog-post I want to describe the problems I have to face, and the way I solved it. read more...

add a comment |category: |Views: 9

tags: another

Asynchronous WinForm UI(jachman.wordpress.com)

submitted by JachmanJachman(530) 2 years, 8 months ago

When you’re trying to create a WinForm Application that is working asynchronously, you’ll probably in a common failure: System.InvalidOperationException occurred Message="Cross-thread operation not valid: Control 'MainForm' accessed from a thread other than the thread it was created on." read more...

add a comment |category: |Views: 143

tags: another

Give me a Mock(jachman.wordpress.com)

submitted by JachmanJachman(530) 2 years, 10 months ago

Last days I stumpled upon a great Mockup Tool that creates really stunning results in a few minutes. read more...

add a comment |category: |Views: 7

tags: another

How to authorize a WCF service in the anonymous internet(jachman.wordpress.com)

submitted by JachmanJachman(530) 2 years, 11 months ago

I had to program an authorization mechanism between a client application and a webservice that is hosted by a internet provider. In such a case, we have two different domains in place, no windows integrated authentication, no certificate or something else. The old fashioned way in that case is to use a SoapHeader in order to send informations about the user to the web service … That’s the point where the trail starts … read more...

add a comment |category: |Views: 25

tags: another

You can only add project references to other Silverlight projects(jachman.wordpress.com)

submitted by JachmanJachman(530) 2 years, 11 months ago

If you start with silverlight, I bet with you that you’ll get that anoying message in any case. But it has a reason why Microsoft doesn’t allow that. read more...

add a comment |category: |Views: 78

tags: another

How to manage Control States in Silverlight Applications(jachman.wordpress.com)

submitted by JachmanJachman(530) 2 years, 11 months ago

In 2006 I developed a small piece of code in order to use a declarative control state handling in WinForm Applications. Three years later (2009) I thought declarative control state handling should be standard in Silverlight – but I failed. So I decided to migrate that piece of code to the new Silverlight plattform. read more...

add a comment |category: |Views: 8

tags: another

How to localize Silverlight Applications the smart way(jachman.wordpress.com)

submitted by JachmanJachman(530) 2 years, 11 months ago

A very common task when developing business applications is to localize them for english, german and other languages. The most common approach is to use ResX files in order to create resource classes which can be used to bind the silverlight controls to. Due to a bug in the resource generator from Microsoft, you always have to change the created resource class from internal to public, which is very annoying … That’s why I was searching for a better solution to localize silverlight applications – and I think I found a really smart way to do that task. read more...

add a comment |category: |Views: 30

tags: another

How to serialize interface types and lists using the XmlSerializer(jachman.wordpress.com)

submitted by JachmanJachman(530) 3 years, 1 month ago

The XmlSerializer works fine as long as you work with concrete classes. But soon as you specify an interface within an object the serialization will fail with the message “Cannot serialize member …” But there’s a solution to hack this. read more...

add a comment |category: |Views: 184

tags: another

Using Async Delegates instead of the Thread class(jachman.wordpress.com)

submitted by JachmanJachman(530) 3 years, 1 month ago

If you want to write some asnychronous code, the good old fashioned way is to create a new Thread. But this has several pitfalls, e.g. when you need to use parameters or you need to retrieve a return value. Then this way is getting tricky. read more...

add a comment |category: |Views: 33

tags: another

Code Analysis Tool VisualNDepend at a Glance(jachman.wordpress.com)

submitted by JachmanJachman(530) 3 years, 2 months ago

To admit I ever thought that code analysis are interessting at all, but not really necessary for my projects. Since I saw VisualNDepend and I changed my opinion about that. But step by step. read more...

add a comment |category: |Views: 6

tags: another

One-liner for splitting Pascal Casing(jachman.wordpress.com)

submitted by JachmanJachman(530) 3 years, 7 months ago

Today I had to write a method for splitting Pascal Cased property names to readable text strings. Because I found a small and stylish solution, I want to show you. read more...

add a comment |category: |Views: 10

tags: another

How to deploy a webservice by hand(jachman.wordpress.com)

submitted by JachmanJachman(530) 3 years, 7 months ago

When you search the web for webservice deployment you always hear: “Setup a Web Setup project …” Sure, that’s the easiest solution, but not if you see it in a wider scope. So here’s the manual way of deploying a .NET WebService (and it’s a really simplay way) read more...

add a comment |category: |Views: 17

tags: another

How to extract data from Microsoft Excel XML Files(jachman.wordpress.com)

submitted by JachmanJachman(530) 4 years, 2 months ago

Today I want to show how to extract data from Microsoft Excel Files. I needed it myself the time I looked for a solution to create some testdata for my application. Instead of putting the testdata into a database - which would be very hard to handle - I decided to put them into an Excel file. read more...

add a comment |category: |Views: 10

tags: another

How to use delegates to remove duplicated code(jachman.wordpress.com)

submitted by JachmanJachman(530) 4 years, 3 months ago

Sometimes you have duplicated code, that is not easy to remove with “ordinary” coding approaches. Think about the following example. You have two or more methods that needs to be encapsulated with try-catch blocks. read more...

add a comment |category: |Views: 12

tags: another

How to use Custom Assemblies with Reports(jachman.wordpress.com)

submitted by JachmanJachman(530) 4 years, 5 months ago

Last days I tried to write a sql server report. In the beginning everything was fine. Until - I wanted to call a custom method in a custom assembly of my project. read more...

add a comment |category: |Views: 26

tags: another