This is a mirror of official site: http://jasper-net.blogspot.com/

ESB Toolkit Extensions

| Monday, March 1, 2010
ESB Extensions is a solution containing multiple .Net Projects and artifacts: Unit Tests, Itineraries, Business Rules, Binding Files, and C# Class Libraries. This solution is geared towards extending/wrapping the current Microsoft ESB 2.0 toolkit and components.

Throughout the lifetime of this project, many items will be added to help extend the Microsoft BizTalk ESB 2.0 toolkit. The current BizTalk artifacts which can be found inside this library will be, MSMQ Adapter Provider and Custom BRE Resolver. Future additions which we hope to add will be a BRE Filter (similar to the XPath filter) and others. If you would like to see other items added please open up a Discussion thread and we will try to adhere to your request.

Read more: Codeplex

Posted via email from jasper22's posterous

Debugging Fragmentation in Gen0 Heap

|
Sometime back we hit an issue where we were seeing fragmentation of the gen0 heap. We took a dump of the process and opened it with WinDbg to take a look at what was the cause of fragmentation. The service that we were debugging uses WCF TCP channels for communication and has thousands of requests being processed per second and is running for a long period of time.

A simple !GCHeapStat on the dump showed a large amount of free space in the gen0 was fragmented.  We let the service run over time and the fragmented free space in gen0 never got compacted.

0:025> !GCHeapStat
Heap             Gen0         Gen1         Gen2          LOH
Heap0       592496160      7333952   1124373352     21683696
Heap1       656628816          256   1109465368    194844296
Heap2          783712         2712   1121135544    323735184
Heap3       619391720     55659800   1111235208      1048960
Total      1869300408     62996720   4466209472    541312136


Free space:                                                 Percentage
Heap0       592421064           56      4403176     21258944SOH: 34% LOH: 98%
Heap1       616072608           24       117344    193533336SOH: 34% LOH: 99%
Heap2          766176           24       611576    322555320SOH:  0% LOH: 99%
Heap3       619383232           64     21280768       917864SOH: 35% LOH: 87%
Total      1828643080          168     26412864    538265464

Read more: Cache & Grid

Posted via email from jasper22's posterous

Create a .NET Web Service from WSDL file --> Reverse Engineering

|
While developing BizTalk or ESB solutions you develop with a given WSDL file, you create schemas, maps, itineraries, orchestrations and other Biztalk artifacts and your solution is ready to be tested.

Now you don’t have the actual Web Service endpoint so what are the easiest and quickest options.

1. Use a tool called SOAP UI and simulate a Web Service Call using the given WSDL. (http://www.soapui.org/)

2. Quickly develop a dummy web service from the given WSDL file. Below is the very good post on how to do that.

http://www.codeproject.com/KB/XML/ReverseEng.aspx


Thanks,

Read more: Vishal Mody

Posted via email from jasper22's posterous

Great quaotes

|

Абсурдопедия

|
Добро пожаловать в Абсурдопедию,
свободную от содержания энциклопедию, которую может редактировать каждый.

Read more: Абсурдопедия

Posted via email from jasper22's posterous

Intel's first six-core processor for desktops on sale

|
  A European online retailer has started selling Intel  Corp.'s first six-core processor for desktops before the chip's official release by the hardware maker.
  German retailer Alternate is selling the Intel Core i7-980 Extreme Edition processor, code-named "Gulftown," for ¬1.099 ($1,483). The chip is targeted at desktops used by enthusiasts like gamers.
The six-core processor will run at speeds of up to 3.6GHz and will include 12MB of L3 cache, according to the Web site, which lists the details in German. Each core will be able to run two threads, which means the processor will be able to run 12 cores simultaneously for faster processing. The processor will support DDR3 memory.
  Intel did not immediately comment on the listing of the product or its official release date.

Read more: Computer Hardware

Posted via email from jasper22's posterous

Using OpenTK/OpenAL to Develop Cross Platform DIS VOIP Application

|
The intent of this application is to provide an example on how OpenAL (via OpenTK) can be used for voice communication utilizing the Distributed Interactive Simulation (DIS) IEEE Standard 1278.1 while running under Mono. The motivation for writing this article was due to my quest to find examples for both of these technologies. As there were not many or any examples found on the internet in using either OpenAL (under the .NET Framework) and DIS, I felt that providing this example might be helpful for other developers. Note that this technology is similar to using Voice Over Internet Protocol (VOIP) but does not use "session control" to handle calls, therefore this application is just voice encoded data being transmitted over the internet.
Background

Open Audio Library (OpenAL) is a cross-platform 3D audio API that several game developers have used successfully in the past. The Open Tool Kit (OpenTK) developers provided a wrapper around the OpenAL API (along with OpenGL and OpenCL) which then provides the functionality to work with any Mono/.NET language.

Distributed Interactive Simulation (DIS) or IEEE 1278.1 has been around since 1995 and is mainly used by military organizations for conducting simulations. This protocol was chosen due to the work done by the MOVES institute at the Naval Post Graduate School in developing the Open-DIS implementation. As a contributor to that project, for the C# effort, my intent was to capitalize on the work done and create a product encompassing both OpenAL and Open-DIS.
Code Description

The code provided shows only one of the ways in which the OpenAL API can be used to capture and transmit audio over the internet. There are four modules and one main form application.

   * AudioIn: Project that contains all necessary methods to Initialize, Start and Stop the microphone
   * AudioOut: Project that contains all necessary methods to Initialize and Play audio data
   * DISNET: Project that contains methods used to process DIS Protocol Data Units (PDU), in particular the Transmitter and Signal PDU
   * Sockets: Project that contains the socket communication architecture. The implementation provided will use UDP broadcasting only.
   * OpenDISRadioTransmitter: Project that contains the main form which encapsulates all the other classes to produce a simplistic radio interface. This form/application is the 'Radio' when referenced in the description below. A Radio in this case will have One Transmitter and multiple Receivers. Note that a simplistic GUI interface was designed on purpose as the main goal of this project was to introduce OpenAL and DIS.

Read more: Codeproject

Posted via email from jasper22's posterous

Free Database Sync Tools

|
Free Database Sync Tools

I’m a big fan of Redgate SQL Compare but it’s been good to see the arrival of a few free alternatives. Life previous to these tools really does seem like the stone age now eliminating those "oh $h**, I forgot about that!" moments. I’d always go for Redgate every time but, if you don’t have it in your budget, these tools may be worth checking out.

OpenDBDiff
Starinix Database Compare

Read more: youdidwhatwithtsql.com

Posted via email from jasper22's posterous

Online Bankers Get Free Security Software From HSBC…

| Sunday, February 28, 2010
HSBC online bank customers are being offered free software to help protect them from hackers.
The software, (called Rapport) from the Trusteer company, runs on both Apple Macintosh on PC computers, will prevent hackers hijacking, or getting data via the browser the customer is using.
The Rapport program is designed to work alongside anti-virus and firewall programmes, giving additonal protection, rather than replacing it.
The director of HSBC’s digital security, Nick Staib, stated that the programme is being downloaded and used by a high percentage of HSBC’s online banking users.
“Download rates have surpassed our most optimistic expectations. I am delighted that so many customers share our interest in keeping personal and banking details safe,” he said.

Read more: Suaju Software News
Official site: Trusteer

Posted via email from jasper22's posterous

Android memory usage analysis slides available

|
Yesterday, I gave a talk at the mobile monday android developer day in Düsseldorf.The slides about analysing the memory usage of android applications with the Eclipse Memory Analyzer are available now. Note it might be worth to download the pdf because it contains some notes.
The slides should be interesting for general java developers, not only for android developers.

Read more: Java Performance blog

Posted via email from jasper22's posterous

Firefox: 46 features you might not know about

|
Ever since the release of Firefox 3 we’ve been doing a lot of work to add new capabilities for web developers. We thought it would be worth it to make a post that actually listed all of the features that we knew about and people might not know about. This contains everything that we’ve done over the last three releases or so, but calls out stuff that’s new in 3.6.

Enjoy!

CSS

@font-face
   Display online fonts (supports WOFF and TTF fonts)
pointer-events
   Click through elements
:-moz-locale-dir(ltr/rtl)
   Know if you are in a ltr or rtl context
:indeterminate pseudo-class
   For “indeterminate” radio and checkboxes
Media Queries
   Select CSS depending on the media (size, aspect-ratio, colors, orientation, resolution). has new classes to detect if you’re on a touch device.
Structural pseudo-classes
   :nth-child, :nth-last-child, :nth-of-type, :nth-last-of-type, …
-moz-border-radius
   Rounded borders
CSS Transforms
   Scale, translate, skew and rotate your elements
CSS Gradients
   Use linear and radial gradients as backgrounds
Multiple Background
   Use images, gradients and other items all as part of the same background
Background size
   Define the size of your background images


Read more: hacks.Mozilla.org

Posted via email from jasper22's posterous

70 Rich Web Apps Of 2009

|
Adobe BrowserLab
An easier and faster solution for cross-browser testing. You can preview and test your web pages on leading browser and operating systems. This will help you get your results in real time, from virtually any computer connected to the internet.

Notable
Are you stuck sharing feedback in text documents and email? Notable makes it possible to put your feedback directly on the webpage, highlighting your points exactly. With Notable you can quickly and easily give feedback on design, content, and code on any page of a website or application without leaving your browser.

Google Calendar
With Google’s free online calendar, it’s easy to keep track of life’s important events all in one place. With Google Calender, you can let your family and friends see your calendar, and view schedules that others have shared with you. You can get event reminders via email or have text messages sent right to your mobile phone.

Read more: Ahmed Rabieh

Posted via email from jasper22's posterous

7 of the Best Free Linux Configuration Management Tools

|
System administrators are responsible for the maintenance and operation of a computer system and network. This is a major task with a huge number of decisions to be made regarding the configuration of the system.

Configuration Management is a term that may not be familiar to many Linux users. But for system administrators the concept will be well known. In a nutshell, Configuration Management software enables administrators to automatically manage the entire configuration of one or multiple computers.

Why is this type of software important? By having tools that automate the configuration and software infrastructure, an organisation's server administration costs are reduced. Furthermore, this type of software enables a large complicated infrastructure to be supported with fewer system administrators. There are also efficiency improvements made by helping to reduce the amount of repetitive tasks performed by the administrator. Moreover, configuration management software help organisations to be able to scale up their computer infrastructure more easily and to instill flexibility in server configuration.

Configuration Management tools work by changing the state of the system. The goal is to get a system from whatever state it is in, into the desired state. The state of a system is mostly described by all the configuration files in the file system, and by the programs and processes that are running.

The software featured in this article are declarative configuration management system. Here the system administrator decides what state the system is to be in, and a runtime pushes the system into that state.

Read more: LinuxLinks.com

Posted via email from jasper22's posterous

50+ CSS Techniques Designers Should Know

|
CSS (Cascading Style Sheets) is just an important part of Web Designing. Without CSS, Websites can look untidy as it used to happen before. Designers can alter images, graphics, shading, spacing and other design elements. It can provide the designers with number of new styles to design a website. It can make the user to have complete control over the appearance of the website. It is most useful to those people who have their business online or those who are expanding from offline to online. Even as a part of Marketing, one can design his website as attractive as possible.
Bestdesigntuts decided to list some really brilliant CSS techniques that designers should know anyhow. The list would be a great resource for you. So, just check out the following CSS techniques….\

Navigation Matrix Reloaded
Advance CSS Menus
Block Hover Effect for a List of Links
Hoverbox Image Gallery

Read more: Best design tutorials

Posted via email from jasper22's posterous

Winforms SkinFramework

|
The CoderLine SkinFramework allows you to add custom Form Borders to your Winforms .net Applications. Didn’t you ever want to give you Windows a unique appearance like Microsoft does it in their Office Suite (since 2007)?

Development Process

To get the expected result I had to do much reading and “trial and error” work.
Main reading sources:

   * http://geekswithblogs.net/kobush/articles/CustomBorderForms.aspx
   * http://customerborderform.codeplex.com/  
   * And of course the MSDN. (Especially about Windows Messages)

The first result of my SkinFramework which I finished as a school project in 2008 was quite unusable. It had been very slow and didn’t render well if I maximized my window. So the project suspended a long time till a few days ago when a developer contacted me and asked about the project state and I got interested into this project again. Meanwhile I have developed on some GUI controls and also used some third party libraries. There were some libraries which also provide skinning functionalities. The main idea I copied from those libraries is not to derive from a special Form class to enable skinning. In my library I want to provide a component which can be added to a form which manages the whole skinning.  
The result of a few days developing is a ~2700 code line small library which allows creating custom form borders alias Skins.

Read more: Codeproject

Posted via email from jasper22's posterous

Quirks in .NET Part

|
There are a lot of cool yet strange things in the .NET Framework. A lot of them make you go, “Huh. I didn’t know that.” Let’s take a look at a few of them.

call vs. callvirt

This one is especially interesting to me. In the Microsoft IL specification there are two instructions to call a method, put simply—call and callvirt. call will simply call a method, while callvirt is used to a late-bound method call, meaning that the method which is going to be called is chosen at runtime and not compile time as the simple call would. This is needed for virtual methods when a VTable lookup is required.

Interestingly, all calls to instance classes are compiled as callvirt, even if the method being called is not virtual (thus at compile time we know exactly which method will be called.) I thought it was a bug at first, but really it was a fix for another bug. Consider this code:

class Program
{
   static void Main()
   {
       HelloWorld instance = null;
       instance.SayHello();
   }
}

public class HelloWorld
{
   public void SayHello()
   {
       System.Console.WriteLine("Hello World!");
   }
}

Read more: DevBlog Part 1, Part 2

Posted via email from jasper22's posterous

Microsoft Security Awareness Toolkit

|
Information security awareness and training is critical to any organization’s information security strategy and operations. People are in many cases the last line of defense against threats such as malicious code, disgruntled employees, and malicious third parties. Microsoft offers the security awareness toolkit to help organizations plan, develop, and deliver a successful security awareness program. The kit includes a planning guide, templates, pointers to material can that can help speed the development of a security awareness program, a sample general security awareness presentation that can be modified and tailored to any organization, material to help articulate the value to peers and managers, and three example awareness campaigns from Microsoft Information Security.

Read more: MS Download

Posted via email from jasper22's posterous

Microsoft Releases New Multi-User OS for VDI

|
Microsoft released Windows MultiPoint Server 2010 Wednesday.
It's a new operating system - for classrooms, labs and libraries to start - that lets multiple users share a host computer using their own monitors, keyboards and mice via USB or a video card.
It's interpreted as Microsoft blessing VDI for everyman - the thin edge of the wedge that pries open the mass market - since small commercial installations can reportedly also use the thing.
It's supposed to be easier to use than conventional Windows Servers and lower cost.
Microsoft says each person controls his or her own station and gets an independent Windows computing experience. Its web site says up to 10 simultaneous users can access one MultiPoint Server license in a commercial environment as long as every accessing device or user (including the host computer if used as a station) has a MultiPoint Server CAL. Apparently there's no limit in a school at least with an academic license.

Read more: .NET Journal

Posted via email from jasper22's posterous

Yakiimo3D

|
Have wanted to move Yakiimo3D source code and binaries to an open-source hosting community for a while now. After initially leaning towards creating a Google Code project, I ended up choosing CodePlex. Since Yakiimo3D is going to be mostly DirectX 11 programming samples, a Microsoft-run CodePlex open-source hosting with a MS-user community makes the most sense, so I think it was a good decision. For source code control on CodePlex, I went with Mercurial. Have never used Mercurial or Git, so it should be a good learning experience for me.

Read more: Yakiimo3D

Posted via email from jasper22's posterous

Disposable Pattern in .NET

|
Garbage collector (GC) is a blessing in .NET, if you happen to program in C++ in the past, where it was one of the prime responsibility of a developer was to manage the heap. That means when ever an object is created on the heap, it has to be deleted in the corresponding method or in the destructor, if the life is object long. And if he/she forgot to do so, then the nightmare begins in the form of memory leaks and troubleshooting may take hours and some times even days. But that's the story of the past, we as a C# developers are blessed, because we have a world class Garbage Collector comes right out of the box with .NET framework. What does it mean?? That means we need not to worry about deleting/disposing the objects being created on the heap, and GC, at runtime manage the heap, and its robust algorithm sees when some object is no longer needed, it silently dispose it off. Very clever, but you know what, not that clever. It doesn't know how to close the resources like a Database connections,  file handle when it is no more needed, doesn't know what to do when the Network connection needs to be released or closed etc. etc. First thing that would come into your mind, why don't we use the finalizer/destructor to take care of this scenario?? Like we close these resource handles in the finalizers, how's that?? You can do so, but it will not work, why?? due to the GC’s non-deterministic behavior, it may take longer than expected that the destructor/finalizer will be called, and there will be a deadlock, that is you might need to reuse some resource, and since the objects destructor is not called, the object is not releasing it, you are stuck, complete deadlock. So what we do now?? Good news is, you can do it elegantly with the help of proper usage of Disposable Pattern. Before going into the details of this pattern, lets first take a look at what are disposable objects and how the .NET framework facilitates us in this regard.

IDisposable Objects

Any custom object that owns certain resources and wants to participate in the disposable mechanism, has to implement IDisposable interface. What does that mean?? Does the CLR will  take care of disposing the object automatically. Not really, it is the consumers responsibility to call the Dispose method, as soon as the object is no more needed. .NET framework itself has created many disposable classes as shown in Figure-1. All of these classes if you look at them are responsible for interacting system resources, like memory, file system, network stream, pipes etc. etc. That's why they all are implemented the IDisposable interface, so the consumer of these types should be aware of its usage and release them as soon as they are done.

Read more: GeeksCafe.net

Posted via email from jasper22's posterous