<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SecurityException &#8211; Other Things</title>
	<atom:link href="https://blog.adamzolo.com/tag/securityexception/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.adamzolo.com</link>
	<description>Blog about Things by Adam Zolotarev</description>
	<lastBuildDate>Sun, 22 Sep 2013 13:13:35 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.1</generator>
	<item>
		<title>Hosting SignalR on GoDaddy in Full Trust</title>
		<link>https://blog.adamzolo.com/hosting-signalr-godaddy-full-trust/</link>
					<comments>https://blog.adamzolo.com/hosting-signalr-godaddy-full-trust/#comments</comments>
		
		<dc:creator><![CDATA[Adam Zolo]]></dc:creator>
		<pubDate>Sun, 22 Sep 2013 13:13:35 +0000</pubDate>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[SecurityException]]></category>
		<category><![CDATA[SignalR]]></category>
		<guid isPermaLink="false">http://eazolo.com/blog/?p=38</guid>

					<description><![CDATA[I had some free time recently and decided to learn a truly wonderful library SignalR. SignalR provides the &#8220;ability to have your server-side code push content to the connected clients as it happens, in real-time.&#8221; It eliminates the extra work of checking browser compatibility with whatever technology you decide to use for pushing the events&#8230;<p><a class="more-link" href="https://blog.adamzolo.com/hosting-signalr-godaddy-full-trust/" title="Continue reading &#8216;Hosting SignalR on GoDaddy in Full Trust&#8217;">Continue reading <span class="meta-nav">&#8594;</span></a></p>]]></description>
										<content:encoded><![CDATA[<p>I had some free time recently and decided to learn a truly wonderful library <a href="http://signalr.net/" title="ASP.NET SignalR" target="_blank">SignalR</a>. SignalR provides the &#8220;ability to have your server-side code push content to the connected clients as it happens, in real-time.&#8221; It eliminates the extra work of checking browser compatibility with whatever technology you decide to use for pushing the events to the client (WebSockets, EventSource, Long Polling, Forever Frame).</p>
<p>I implemented a simple Chat application using <a href="http://www.asp.net/signalr/overview/getting-started/tutorial-getting-started-with-signalr" title="Tutorial: Getting Started with SignalR (C#)" target="_blank">tutorial from Tim Teebken</a>. It worked beautifully on local machine. However, when deployed to GoDaddy my application went down with <code>System.Security.SecurityException</code>. As it turns out, SignalR can run only in Full Trust mode. What I didn&#8217;t realize is that to enable full trust you have to explicitly specify Trust Level in Web.Config:</p>
<pre class="brush: xml; title: ; notranslate">
&lt;configuration&gt;
    &lt;system.web&gt;
        &lt;trust level=&quot;Full&quot; /&gt;
    &lt;/system.web&gt;
&lt;/configuration&gt;
</pre>
<p>Once this line was added to the configuration and deployed, my simple Chat client started working.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.adamzolo.com/hosting-signalr-godaddy-full-trust/feed/</wfw:commentRss>
			<slash:comments>4</slash:comments>
		
		
			</item>
	</channel>
</rss>
