<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments for Daniel Kreuzhofers Blog</title>
	<atom:link href="http://www.kreuzhofer.de/wordpress/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kreuzhofer.de/wordpress</link>
	<description>Code is poetry</description>
	<lastBuildDate>Tue, 24 Feb 2009 09:54:47 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Comment on NHibernate Mapping Attributes – HowTo by Karl</title>
		<link>http://www.kreuzhofer.de/wordpress/2007/10/22/nhibernate-mapping-attributes-%e2%80%93-howto/comment-page-1/#comment-31</link>
		<dc:creator>Karl</dc:creator>
		<pubDate>Tue, 24 Feb 2009 09:54:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.kreuzhofer.de/wordpress/2007/09/25/nhibernate-mapping-attributes-%e2%80%93-howto/#comment-31</guid>
		<description>Hallo,

genau danach hab ich gesucht, auch von mir ein großes Lob!
Ich hätte da allerdings eine Frage und zwar, in NHibernateMappingAttributesTestPackage.zip gibt es eine Methode createTestDatabase(string DBName), dort wurden die Datenbanktabellen per Hand angelegt. Warum eigentlich? Wenn ich NHibernate.Mapping.Attributes nicht verwende und mir meine hbm.xml Dateien per Hand anlege muss ich ja auch nicht die DB-Tabellen per Hand anlegen, dafür gibts ja die SchemaExport-Klasse. Das was sich als großer Vorteil durch NHibernate.Mapping.Attributes ergibt, wird durch das manuelle Datenbank-Anlegen wieder wet gemacht. Oder verstehe ich da was falsch? 

Folgende Testmethode:
[Test]
public void Can_generate_schema()
{
   var cfg = new Configuration().Configure();
   cfg.AddInputStream(HbmSerializer.Default.Serialize(
       Assembly.GetExecutingAssembly()));
           
   var schema = new SchemaExport(cfg);
   var sb = new StringBuilder();
   var sw = new StringWriter(sb);

   schema.Execute(true, false, false, true, null, sw);
   schema.Drop(true, true);
   schema.Create(true, true);
}

ich bin eigentlich davon ausgegangen, dass genau das meine Datenbanktabellen erzeugt, tut es aber nicht. Woran liegt es?</description>
		<content:encoded><![CDATA[<p>Hallo,</p>
<p>genau danach hab ich gesucht, auch von mir ein großes Lob!<br />
Ich hätte da allerdings eine Frage und zwar, in NHibernateMappingAttributesTestPackage.zip gibt es eine Methode createTestDatabase(string DBName), dort wurden die Datenbanktabellen per Hand angelegt. Warum eigentlich? Wenn ich NHibernate.Mapping.Attributes nicht verwende und mir meine hbm.xml Dateien per Hand anlege muss ich ja auch nicht die DB-Tabellen per Hand anlegen, dafür gibts ja die SchemaExport-Klasse. Das was sich als großer Vorteil durch NHibernate.Mapping.Attributes ergibt, wird durch das manuelle Datenbank-Anlegen wieder wet gemacht. Oder verstehe ich da was falsch? </p>
<p>Folgende Testmethode:<br />
[Test]<br />
public void Can_generate_schema()<br />
{<br />
   var cfg = new Configuration().Configure();<br />
   cfg.AddInputStream(HbmSerializer.Default.Serialize(<br />
       Assembly.GetExecutingAssembly()));</p>
<p>   var schema = new SchemaExport(cfg);<br />
   var sb = new StringBuilder();<br />
   var sw = new StringWriter(sb);</p>
<p>   schema.Execute(true, false, false, true, null, sw);<br />
   schema.Drop(true, true);<br />
   schema.Create(true, true);<br />
}</p>
<p>ich bin eigentlich davon ausgegangen, dass genau das meine Datenbanktabellen erzeugt, tut es aber nicht. Woran liegt es?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on xbap, wcf and debugging with visual studio 2008 by admin</title>
		<link>http://www.kreuzhofer.de/wordpress/2008/06/24/xbap-wcf-and-debugging-with-visual-studio-2008/comment-page-1/#comment-30</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Fri, 20 Feb 2009 21:24:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.kreuzhofer.de/wordpress/2008/06/24/xbap-wcf-and-debugging-with-visual-studio-2008/#comment-30</guid>
		<description>Hi Paul,

yes you have much more flexibility but the problem is that you will need to sign your binaries with an official certificate (you can get these for example at verisign). If you do this you will have full access to everything.

regards

Daniel</description>
		<content:encoded><![CDATA[<p>Hi Paul,</p>
<p>yes you have much more flexibility but the problem is that you will need to sign your binaries with an official certificate (you can get these for example at verisign). If you do this you will have full access to everything.</p>
<p>regards</p>
<p>Daniel</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on xbap, wcf and debugging with visual studio 2008 by admin</title>
		<link>http://www.kreuzhofer.de/wordpress/2008/06/24/xbap-wcf-and-debugging-with-visual-studio-2008/comment-page-1/#comment-29</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Fri, 20 Feb 2009 21:22:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.kreuzhofer.de/wordpress/2008/06/24/xbap-wcf-and-debugging-with-visual-studio-2008/#comment-29</guid>
		<description>Hi Aditya,

please send me an example. I will have a look on it. Maybe I can help.

Regards

Daniel</description>
		<content:encoded><![CDATA[<p>Hi Aditya,</p>
<p>please send me an example. I will have a look on it. Maybe I can help.</p>
<p>Regards</p>
<p>Daniel</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on xbap, wcf and debugging with visual studio 2008 by Paul Schwartzberg</title>
		<link>http://www.kreuzhofer.de/wordpress/2008/06/24/xbap-wcf-and-debugging-with-visual-studio-2008/comment-page-1/#comment-27</link>
		<dc:creator>Paul Schwartzberg</dc:creator>
		<pubDate>Tue, 03 Feb 2009 19:49:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.kreuzhofer.de/wordpress/2008/06/24/xbap-wcf-and-debugging-with-visual-studio-2008/#comment-27</guid>
		<description>Hello Daniel,

Is there some more flexibility in using WCF via a full-trust XBAP?
Or do the BasicHttpBinding &amp; the site-of-origin restrictions still apply?

Regards,
Paul</description>
		<content:encoded><![CDATA[<p>Hello Daniel,</p>
<p>Is there some more flexibility in using WCF via a full-trust XBAP?<br />
Or do the BasicHttpBinding &amp; the site-of-origin restrictions still apply?</p>
<p>Regards,<br />
Paul</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on xbap, wcf and debugging with visual studio 2008 by Aditya Kanekar</title>
		<link>http://www.kreuzhofer.de/wordpress/2008/06/24/xbap-wcf-and-debugging-with-visual-studio-2008/comment-page-1/#comment-26</link>
		<dc:creator>Aditya Kanekar</dc:creator>
		<pubDate>Thu, 15 Jan 2009 09:11:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.kreuzhofer.de/wordpress/2008/06/24/xbap-wcf-and-debugging-with-visual-studio-2008/#comment-26</guid>
		<description>Hi Daniel, I tried doing all this, i followed all the steps you mentioned here but i am unable to run XBAP with WCF in partial trust environment. I keep getting &quot;An error occurred creating the configuration section handler for system.serviceModel/bindings: That assembly does not allow partially trusted callers. (C:\Documents and Settings\adityak\Local Settings\Apps\2.0\BKBGN6JY.XYQ\L4YWNGV0.POH\xbap..xbap_f2981c3a40e6c63b_0001.0000_3aec96efea0ef260\XbapApplication.exe.config line 4) ---&gt; System.Security.SecurityException: That assembly does not allow partially trusted callers.
&quot;

this error. Please help me, i am struggling for this for long time now.

Thanks,

Aditya</description>
		<content:encoded><![CDATA[<p>Hi Daniel, I tried doing all this, i followed all the steps you mentioned here but i am unable to run XBAP with WCF in partial trust environment. I keep getting &#8220;An error occurred creating the configuration section handler for system.serviceModel/bindings: That assembly does not allow partially trusted callers. (C:\Documents and Settings\adityak\Local Settings\Apps\2.0\BKBGN6JY.XYQ\L4YWNGV0.POH\xbap..xbap_f2981c3a40e6c63b_0001.0000_3aec96efea0ef260\XbapApplication.exe.config line 4) &#8212;&gt; System.Security.SecurityException: That assembly does not allow partially trusted callers.<br />
&#8221;</p>
<p>this error. Please help me, i am struggling for this for long time now.</p>
<p>Thanks,</p>
<p>Aditya</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on NHibernate Mapping Attributes – HowTo by Carsten</title>
		<link>http://www.kreuzhofer.de/wordpress/2007/10/22/nhibernate-mapping-attributes-%e2%80%93-howto/comment-page-1/#comment-22</link>
		<dc:creator>Carsten</dc:creator>
		<pubDate>Fri, 21 Nov 2008 15:30:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.kreuzhofer.de/wordpress/2007/09/25/nhibernate-mapping-attributes-%e2%80%93-howto/#comment-22</guid>
		<description>Hallo Daniel,
vielen Dank für diese sehr ausführliche und vor allem sinnvolle tut.

Was bei mir, als Anfänger zu echten Bauchschmerzen führt ist der Start der ersten Applikation.
Gibt es solche Möglichkeiten, wie für die Mappings auch für die Config?
Ich hab etwas ähnliches zwar gefunden (http://www.codeproject.com/KB/dotnet/nhibernatept1.aspx) aber bekomme immer Fehler, sobald die erste Configuration aufgerufen wird...

Wie löst man das Arbeiten mit mehreren Datenbanken oder das Erstellen von Datenbanken, ohne eine Datenbank im Projekt und demnach in der Config eingebundene Datenbank?

Da wäre ein deutsches Tuorial echt Gold wert...

Ansonsten, echt absolut Top Dein tut.</description>
		<content:encoded><![CDATA[<p>Hallo Daniel,<br />
vielen Dank für diese sehr ausführliche und vor allem sinnvolle tut.</p>
<p>Was bei mir, als Anfänger zu echten Bauchschmerzen führt ist der Start der ersten Applikation.<br />
Gibt es solche Möglichkeiten, wie für die Mappings auch für die Config?<br />
Ich hab etwas ähnliches zwar gefunden (<a href="http://www.codeproject.com/KB/dotnet/nhibernatept1.aspx" rel="nofollow">http://www.codeproject.com/KB/dotnet/nhibernatept1.aspx</a>) aber bekomme immer Fehler, sobald die erste Configuration aufgerufen wird&#8230;</p>
<p>Wie löst man das Arbeiten mit mehreren Datenbanken oder das Erstellen von Datenbanken, ohne eine Datenbank im Projekt und demnach in der Config eingebundene Datenbank?</p>
<p>Da wäre ein deutsches Tuorial echt Gold wert&#8230;</p>
<p>Ansonsten, echt absolut Top Dein tut.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on xbap, wcf and debugging with visual studio 2008 by admin</title>
		<link>http://www.kreuzhofer.de/wordpress/2008/06/24/xbap-wcf-and-debugging-with-visual-studio-2008/comment-page-1/#comment-19</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Fri, 08 Aug 2008 11:18:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.kreuzhofer.de/wordpress/2008/06/24/xbap-wcf-and-debugging-with-visual-studio-2008/#comment-19</guid>
		<description>Hy Gianni,

I assume, you start debugging the xbap application by hitting F5 or clicking in the context menu of the project &quot;Debug-&gt;Start new process&quot;. But this will only attach the debugger to the xbap application not to the wcf service application. You have two possiblities:

- Start debugging the xbap. Before using any wcf function go back to Visual Studio. Open the Debug menu and klick &quot;Attach to process&quot;. Choose either the aspnet_wp.exe or w3wp.exe if you are using the IIS for hosting the wcf service. If you are using the asp.net developer webserver, choose the process for the development webserver. Then click &quot;Attach&quot;. Now you are debugging xbap and wcf host at the same time and should be able to step into the service function.

- Second possiblity is to tell visual studio to start both applications when hitting F5. For this you have to right-click on the solution in the vs solution explorer. Choose the &quot;Set startup projects&quot; item. On the right pane, select &quot;Multiple startup projects&quot;. Activate all projects, which you want to debug at the same time in the right column. After clicking &quot;ok&quot; you can hit F5 to start all selected projects.

Regards

Daniel</description>
		<content:encoded><![CDATA[<p>Hy Gianni,</p>
<p>I assume, you start debugging the xbap application by hitting F5 or clicking in the context menu of the project &#8220;Debug->Start new process&#8221;. But this will only attach the debugger to the xbap application not to the wcf service application. You have two possiblities:</p>
<p>- Start debugging the xbap. Before using any wcf function go back to Visual Studio. Open the Debug menu and klick &#8220;Attach to process&#8221;. Choose either the aspnet_wp.exe or w3wp.exe if you are using the IIS for hosting the wcf service. If you are using the asp.net developer webserver, choose the process for the development webserver. Then click &#8220;Attach&#8221;. Now you are debugging xbap and wcf host at the same time and should be able to step into the service function.</p>
<p>- Second possiblity is to tell visual studio to start both applications when hitting F5. For this you have to right-click on the solution in the vs solution explorer. Choose the &#8220;Set startup projects&#8221; item. On the right pane, select &#8220;Multiple startup projects&#8221;. Activate all projects, which you want to debug at the same time in the right column. After clicking &#8220;ok&#8221; you can hit F5 to start all selected projects.</p>
<p>Regards</p>
<p>Daniel</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on xbap, wcf and debugging with visual studio 2008 by Gianni</title>
		<link>http://www.kreuzhofer.de/wordpress/2008/06/24/xbap-wcf-and-debugging-with-visual-studio-2008/comment-page-1/#comment-18</link>
		<dc:creator>Gianni</dc:creator>
		<pubDate>Thu, 07 Aug 2008 14:43:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.kreuzhofer.de/wordpress/2008/06/24/xbap-wcf-and-debugging-with-visual-studio-2008/#comment-18</guid>
		<description>Hi Daniel.
Thank now is ok. But i can&#039;t debug the web method. If on the webmethod i click F11, him return the value, but return also this messagebox:
&quot;Impossible to debug the remore method. The debud is not activated on the server&quot;.

You know why? and what i have to do?

Thanks again.
Gianni</description>
		<content:encoded><![CDATA[<p>Hi Daniel.<br />
Thank now is ok. But i can&#8217;t debug the web method. If on the webmethod i click F11, him return the value, but return also this messagebox:<br />
&#8220;Impossible to debug the remore method. The debud is not activated on the server&#8221;.</p>
<p>You know why? and what i have to do?</p>
<p>Thanks again.<br />
Gianni</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on xbap, wcf and debugging with visual studio 2008 by admin</title>
		<link>http://www.kreuzhofer.de/wordpress/2008/06/24/xbap-wcf-and-debugging-with-visual-studio-2008/comment-page-1/#comment-17</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Thu, 07 Aug 2008 12:38:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.kreuzhofer.de/wordpress/2008/06/24/xbap-wcf-and-debugging-with-visual-studio-2008/#comment-17</guid>
		<description>Hi Gianni,

did you set the debug settings in the xbap project to use the presentationhost.exe as startup program? If not, try the settings from the above post to do the debugging. If this does not help, please contact me again.

Regards

Daniel</description>
		<content:encoded><![CDATA[<p>Hi Gianni,</p>
<p>did you set the debug settings in the xbap project to use the presentationhost.exe as startup program? If not, try the settings from the above post to do the debugging. If this does not help, please contact me again.</p>
<p>Regards</p>
<p>Daniel</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on xbap, wcf and debugging with visual studio 2008 by Gianni</title>
		<link>http://www.kreuzhofer.de/wordpress/2008/06/24/xbap-wcf-and-debugging-with-visual-studio-2008/comment-page-1/#comment-16</link>
		<dc:creator>Gianni</dc:creator>
		<pubDate>Thu, 07 Aug 2008 09:35:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.kreuzhofer.de/wordpress/2008/06/24/xbap-wcf-and-debugging-with-visual-studio-2008/#comment-16</guid>
		<description>Hi
If i public my XBap application on IIS is ok. Call che web method and return the value.
When i debug with .Net and call the webmethod i&#039;ve the issue SecurityPermission!!

Why?
You can hel me?

Thanks</description>
		<content:encoded><![CDATA[<p>Hi<br />
If i public my XBap application on IIS is ok. Call che web method and return the value.<br />
When i debug with .Net and call the webmethod i&#8217;ve the issue SecurityPermission!!</p>
<p>Why?<br />
You can hel me?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>

