Archive for .net

Implementing Manual Activities in Windows Workflow

Windows workflow is an excellent framework for implementing business processes. One thing that is missing in it is direct support for human activities. Although several approaches to solving this problem appear in Microsoft publication [1, 2], they are not generic enough for general usage. In this article we will define one of the approaches to a completely generic implementation of human activities in WF.

Source: InfoQ: Implementing Manual Activities in Windows Workflow

Encoding Strings to Base64 in C#

just a note for me


static public string EncodeTo64string toEncode
{
byte[] toEncodeAsBytes
= System.Text.ASCIIEncoding.ASCII.GetBytestoEncode;

string returnValue
= System.Convert.ToBase64StringtoEncodeAsBytes;

return returnValue;
}


static public string DecodeFrom64(string encodedData)
{
byte[] encodedDataAsBytes
= System.Convert.FromBase64String(encodedData);

string returnValue =
System.Text.ASCIIEncoding.ASCII.GetString(encodedDataAsBytes);

return returnValue;
}

Source: Encoding Strings to Base64 in C# « Arcane Code

FIX: Requested Registry Access is not allowed Visual Studio 2008

via Peter Brombergs UnBlog:

Symptom: in Visual Studio 2008, you attempt to add a new WebContentForm and associate it with a MasterPage. You receive an error dialog “Requested Reqistry Access is not allowed”.

Peter Brombergs UnBlog: FIX: Requested Registry Access is not allowed Visual Studio 2008

UPDATE:
Also helpful: connect.microsoft.com/VisualStudio/feedback

WCF behaviors vs. pipelines on BizTalk Server R2

Good Starting Point to intercept the message flow and add custom behavior!
Source: WCF behaviors vs. pipelines on BizTalk Server R2 - Jesus Rodriguezs WebLog

how to call webservices from javascript

here are some useful resources/howto’s:

should be possible with prototype js lib!
http://www.prototypejs.org/

howto:
64bytes.com
blog.glenc.net

Eucalypto - ASP.NET CMS library using NHibernate

note to myself… check this out!

Eucalypto is an open source .NET business/server library to help writing ASP.NET content management web sites. […] ucalypto uses NHibernate for all data access and can work with any database supported by NHibernate (SQLite, SQL Server, MySql, Firebird, Access, Oracle, …).
Eucalypto is well integrated with ASP.NET 2.0 using the standard provider model classes (MembershipProvider, RoleProvider, ProfileProvider, …).

Source: http://www.codeproject.com/useritems/eucalypto.asp

Need a free Cert?

…chek cacert.org!

Source: cacert.org