Skip to content

Commit 3231ac9

Browse files
author
shlomii
committedJun 20, 2012
Merge branch '3.2.3'
2 parents 5f39777 + 68ad899 commit 3231ac9

File tree

86 files changed

+2281
-702
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

86 files changed

+2281
-702
lines changed
 

‎Samples/AsyncPagesMVC3/AsyncPagesMVC3/Global.asax.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ protected void Application_Start()
3636
Configure.WithWeb()
3737
.DefaultBuilder()
3838
.ForMvc()
39-
.XmlSerializer()
39+
.JsonSerializer()
4040
.Log4Net()
4141
.MsmqTransport()
4242
.IsTransactional(false)

‎Samples/AsyncPagesMVC3/Server/MessageEndpoint.cs

+10-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,16 @@
22

33
namespace Server
44
{
5-
public class MessageEndpoint : IConfigureThisEndpoint, AsA_Server
5+
public class MessageEndpoint : IConfigureThisEndpoint, AsA_Server, IWantCustomInitialization
66
{
7+
/// <summary>
8+
/// Perform initialization logic.
9+
/// </summary>
10+
public void Init()
11+
{
12+
Configure.With()
13+
.DefaultBuilder()
14+
.JsonSerializer();
15+
}
716
}
817
}

0 commit comments

Comments
 (0)
Please sign in to comment.