Author Archives: Karl Schwirz

Automatically log errors with Elmah in ScriptService-WebService calls

If you’ve used Elmah logging in the past then you know it’s a very useful and easy to set up tool in your web applications.  However, when we encounter errors in web services we sometimes do not get the desired logging into the xml file or database, depending on how you have Elmah configured.  This [...]

Posted in .NET Framework | Tagged , | Leave a comment

Calling an ASP.Net web service using jQuery and JSON.

Let’s say you have a webpage where you need to call a service but cannot perform a post back.  Recently I was on a client engagement where we needed to improve page performance by dynamically loading a navigation tree with a potential for several thousand links.  We implemented a solution that would load each branch [...]

Posted in .NET Framework, Ajax, Enterprise .NET, JavaScript, jQuery | Tagged , , , , | 2 Comments

Mobile Site Development becoming as important as Desktop.

In recent years, the boom in mobile devices has caused more and more users to abandon their desktop internet browsers and opt for the ones sitting in their pocket. As a result, nearly 10% of 2011’s internet traffic was attributed to mobile device browsers. As more people are browsing the internet in this manner, it [...]

Posted in Uncategorized | Tagged , , , | Leave a comment

BizTalk- SMTP E-Mail: Compress Attachment in Memory

When trying to send a message via the SMTP adapter in BizTalk we have the option of attaching messages as part of Multi-Part Messages.  If the message being attached is too large the message will fail to send.  In our application, we send email notifications of failed messages in BizTalk with the original message sent [...]

Posted in BizTalk, Biztalk Tutorial, Performance Tuning | Tagged , , | 1 Comment

.NET File Compression in Memory

File compression is nothing new to .NET.  However, in many solutions it requires the developer to establish a file folder which they will write the compressed file to and later read from.
This solution cannot work if you want to compress and use the file in memory without writing to disk.  An example of this [...]

Posted in .NET Framework, Enterprise .NET, User Groups | Tagged , , , | Leave a comment

Modularizing .NET Training Part 2

In our previous post we introduced the idea of sub-modularizing our training modules. In the course of developing for this blog posting our focus shifted to a bigger picture for this type of training.  Instead of presenting the differences between training in ASP.NET and MVC, we are now focused on proper architecture of an application, [...]

Posted in .NET Framework, Enterprise .NET | Leave a comment