Click here to Skip to main content
15,892,059 members
Articles / Desktop Programming / WPF

MVVM made easy with Calcium - Part 1

Rate me:
Please Sign up or sign in to vote.
4.97/5 (39 votes)
18 Apr 2010BSD21 min read 123K   1.6K   109  
Learn how to create a simple MVVM pattern based application using the Calcium SDK.
<?xml version="1.0" encoding="utf-8" ?>
<log4net>
	<!-- debug="true"  -->
	<appender name="UdpAppender" type="log4net.Appender.UdpAppender">
		<param name="RemoteAddress" value="127.0.0.3"/>
		<!-- We use .3 here rather than .1 because Log4Net 1.2.10 
		has an issue in IPAddressConverter related to IPv6. -->
		<param name="RemotePort" value="8080"/>
		<layout type="log4net.Layout.XmlLayout">
			<param name="Prefix" value=""/>
		</layout>
	</appender>

	<appender name="RollingFileAppender" type="log4net.Appender.RollingFileAppender">
		<file value="Log.txt" />
		<appendToFile value="true" />
		<rollingStyle value="Size" />
		<maxSizeRollBackups value="5" />
		<maximumFileSize value="100KB" />
		<staticLogFileName value="true" />
		<layout type="log4net.Layout.PatternLayout">
			<conversionPattern value="%date [%thread] %-5level %logger [%property{NDC}] - %message%newline" />
		</layout>
	</appender>

	<root>
		<level value="ALL"/>
		<appender-ref ref="UdpAppender"/>
		<!--<appender-ref ref="RollingFileAppender"/>-->
	</root>
</log4net>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The BSD License


Written By
Product Manager Outcoder
United States United States
Katka has several years of experience working in software development in the areas of market research and e-commerce. She has wide ranging experience in developing Java, ASP.Net MVC, ASP.Net, WPF, Silverlight, and Windows Phone applications.

Company: Outcoder.com
Group: XAML Experts
Proud co-creator of: Surfy browser, Airlock Browser

Comments and Discussions