<?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 on: Fix To No Access-Control-Allow-Origin header is present Or Working With Cross Origin Request In Asp Net Web API	</title>
	<atom:link href="https://www.sibeeshpassion.com/fix-to-no-access-control-allow-origin-header-is-present-or-working-with-cross-origin-request-in-asp-net-web-api/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.sibeeshpassion.com/fix-to-no-access-control-allow-origin-header-is-present-or-working-with-cross-origin-request-in-asp-net-web-api/</link>
	<description>My passion towards life</description>
	<lastBuildDate>Wed, 02 Jun 2021 15:23:12 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>
		By: How to allow CORS (Cross Origin Resource Sharing) in ASP.NET &#8211; Research and Development		</title>
		<link>https://www.sibeeshpassion.com/fix-to-no-access-control-allow-origin-header-is-present-or-working-with-cross-origin-request-in-asp-net-web-api/#comment-3632</link>

		<dc:creator><![CDATA[How to allow CORS (Cross Origin Resource Sharing) in ASP.NET &#8211; Research and Development]]></dc:creator>
		<pubDate>Tue, 25 Aug 2020 11:49:14 +0000</pubDate>
		<guid isPermaLink="false">http://sibeecst_passion.com/?p=11345#comment-3632</guid>

					<description><![CDATA[[&#8230;] Reference: http://sibeeshpassion.com/fix-to-no-access-control-allow-origin-header-is-present-or-working-with-cr&#8230; [&#8230;]]]></description>
			<content:encoded><![CDATA[<p>[&#8230;] Reference: http://sibeeshpassion.com/fix-to-no-access-control-allow-origin-header-is-present-or-working-with-cr&#8230; [&#8230;]</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: arun		</title>
		<link>https://www.sibeeshpassion.com/fix-to-no-access-control-allow-origin-header-is-present-or-working-with-cross-origin-request-in-asp-net-web-api/#comment-2679</link>

		<dc:creator><![CDATA[arun]]></dc:creator>
		<pubDate>Mon, 05 Aug 2019 09:17:10 +0000</pubDate>
		<guid isPermaLink="false">http://sibeecst_passion.com/?p=11345#comment-2679</guid>

					<description><![CDATA[
        
            Test xmlhttprequest on cors
            
        
    
    
        var url = &quot;http://country.io/names.json&quot;
        function meth1() {
            var xmlhttp = new XMLHttpRequest();           
        xmlhttp.onreadystatechange = function () {
            if (xmlhttp.status == 200 &#038;&#038; xmlhttp.readyState == 4) {
                console.log(&quot;ready &quot; + this.readyState + &quot;   status  &quot; + this.status);
                console.log(this.response);
            }
        }
            xmlhttp.open(&quot;get&quot;, url, true);
            xmlhttp.setRequestHeader(&quot;Content-Type&quot;, &quot;application/json;charset=UTF-8&quot;);
            xmlhttp.send();
        }
    

 protected void Application_BeginRequest(object sender, EventArgs e)
        {
            var context = HttpContext.Current;                   
            context.Response.AddHeader(&quot;Access-Control-Allow-Origin&quot;, &quot;*&quot;);
            context.Response.AddHeader(&quot;Access-Control-Allow-Origin&quot;, &quot;http://localhost:53410/&quot;);
            context.Response.AddHeader(&quot;Access-Control-Allow-Methods&quot;, &quot;GET, POST&quot;);
            context.Response.AddHeader(&quot;Access-Control-Allow-Headers&quot;, &quot;Content-Type, Accept&quot;);
        }

in my visual studio Iam running, but it is not working , please help]]></description>
			<content:encoded><![CDATA[<p>            Test xmlhttprequest on cors</p>
<p>        var url = &#8220;http://country.io/names.json&#8221;<br />
        function meth1() {<br />
            var xmlhttp = new XMLHttpRequest();<br />
        xmlhttp.onreadystatechange = function () {<br />
            if (xmlhttp.status == 200 &amp;&amp; xmlhttp.readyState == 4) {<br />
                console.log(&#8220;ready &#8221; + this.readyState + &#8221;   status  &#8221; + this.status);<br />
                console.log(this.response);<br />
            }<br />
        }<br />
            xmlhttp.open(&#8220;get&#8221;, url, true);<br />
            xmlhttp.setRequestHeader(&#8220;Content-Type&#8221;, &#8220;application/json;charset=UTF-8&#8221;);<br />
            xmlhttp.send();<br />
        }</p>
<p> protected void Application_BeginRequest(object sender, EventArgs e)<br />
        {<br />
            var context = HttpContext.Current;<br />
            context.Response.AddHeader(&#8220;Access-Control-Allow-Origin&#8221;, &#8220;*&#8221;);<br />
            context.Response.AddHeader(&#8220;Access-Control-Allow-Origin&#8221;, &#8220;http://localhost:53410/&#8221;);<br />
            context.Response.AddHeader(&#8220;Access-Control-Allow-Methods&#8221;, &#8220;GET, POST&#8221;);<br />
            context.Response.AddHeader(&#8220;Access-Control-Allow-Headers&#8221;, &#8220;Content-Type, Accept&#8221;);<br />
        }</p>
<p>in my visual studio Iam running, but it is not working , please help</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: arun		</title>
		<link>https://www.sibeeshpassion.com/fix-to-no-access-control-allow-origin-header-is-present-or-working-with-cross-origin-request-in-asp-net-web-api/#comment-4084</link>

		<dc:creator><![CDATA[arun]]></dc:creator>
		<pubDate>Mon, 05 Aug 2019 05:17:10 +0000</pubDate>
		<guid isPermaLink="false">http://sibeecst_passion.com/?p=11345#comment-4084</guid>

					<description><![CDATA[Test xmlhttprequest on cors
            
        
    
    
        var url = &quot;http://country.io/names.json&quot;
        function meth1() {
            var xmlhttp = new XMLHttpRequest();           
        xmlhttp.onreadystatechange = function () {
            if (xmlhttp.status == 200 &#038;&#038; xmlhttp.readyState == 4) {
                console.log(&quot;ready &quot; + this.readyState + &quot;   status  &quot; + this.status);
                console.log(this.response);
            }
        }
            xmlhttp.open(&quot;get&quot;, url, true);
            xmlhttp.setRequestHeader(&quot;Content-Type&quot;, &quot;application/json;charset=UTF-8&quot;);
            xmlhttp.send();
        }
    

 protected void Application_BeginRequest(object sender, EventArgs e)
        {
            var context = HttpContext.Current;                   
            context.Response.AddHeader(&quot;Access-Control-Allow-Origin&quot;, &quot;*&quot;);
            context.Response.AddHeader(&quot;Access-Control-Allow-Origin&quot;, &quot;http://localhost:53410/&quot;);
            context.Response.AddHeader(&quot;Access-Control-Allow-Methods&quot;, &quot;GET, POST&quot;);
            context.Response.AddHeader(&quot;Access-Control-Allow-Headers&quot;, &quot;Content-Type, Accept&quot;);
        }

in my visual studio Iam running, but it is not working , please help]]></description>
			<content:encoded><![CDATA[<p>Test xmlhttprequest on cors</p>
<p>        var url = &#8220;http://country.io/names.json&#8221;<br />
        function meth1() {<br />
            var xmlhttp = new XMLHttpRequest();<br />
        xmlhttp.onreadystatechange = function () {<br />
            if (xmlhttp.status == 200 &#38;&#38; xmlhttp.readyState == 4) {<br />
                console.log(&#8220;ready &#8221; + this.readyState + &#8221;   status  &#8221; + this.status);<br />
                console.log(this.response);<br />
            }<br />
        }<br />
            xmlhttp.open(&#8220;get&#8221;, url, true);<br />
            xmlhttp.setRequestHeader(&#8220;Content-Type&#8221;, &#8220;application/json;charset=UTF-8&#8221;);<br />
            xmlhttp.send();<br />
        }</p>
<p> protected void Application_BeginRequest(object sender, EventArgs e)<br />
        {<br />
            var context = HttpContext.Current;<br />
            context.Response.AddHeader(&#8220;Access-Control-Allow-Origin&#8221;, &#8220;*&#8221;);<br />
            context.Response.AddHeader(&#8220;Access-Control-Allow-Origin&#8221;, &#8220;http://localhost:53410/&#8221;);<br />
            context.Response.AddHeader(&#8220;Access-Control-Allow-Methods&#8221;, &#8220;GET, POST&#8221;);<br />
            context.Response.AddHeader(&#8220;Access-Control-Allow-Headers&#8221;, &#8220;Content-Type, Accept&#8221;);<br />
        }</p>
<p>in my visual studio Iam running, but it is not working , please help</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Sibeesh Venu		</title>
		<link>https://www.sibeeshpassion.com/fix-to-no-access-control-allow-origin-header-is-present-or-working-with-cross-origin-request-in-asp-net-web-api/#comment-2489</link>

		<dc:creator><![CDATA[Sibeesh Venu]]></dc:creator>
		<pubDate>Mon, 18 Dec 2017 02:31:00 +0000</pubDate>
		<guid isPermaLink="false">http://sibeecst_passion.com/?p=11345#comment-2489</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.sibeeshpassion.com/fix-to-no-access-control-allow-origin-header-is-present-or-working-with-cross-origin-request-in-asp-net-web-api/#comment-2488&quot;&gt;Celebrities Galore&lt;/a&gt;.

Thanks for your feedback.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.sibeeshpassion.com/fix-to-no-access-control-allow-origin-header-is-present-or-working-with-cross-origin-request-in-asp-net-web-api/#comment-2488">Celebrities Galore</a>.</p>
<p>Thanks for your feedback.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Sibeesh Venu		</title>
		<link>https://www.sibeeshpassion.com/fix-to-no-access-control-allow-origin-header-is-present-or-working-with-cross-origin-request-in-asp-net-web-api/#comment-4206</link>

		<dc:creator><![CDATA[Sibeesh Venu]]></dc:creator>
		<pubDate>Sun, 17 Dec 2017 21:31:00 +0000</pubDate>
		<guid isPermaLink="false">http://sibeecst_passion.com/?p=11345#comment-4206</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.sibeeshpassion.com/fix-to-no-access-control-allow-origin-header-is-present-or-working-with-cross-origin-request-in-asp-net-web-api/#comment-4065&quot;&gt;Celebrities Galore&lt;/a&gt;.

Thanks for your feedback.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.sibeeshpassion.com/fix-to-no-access-control-allow-origin-header-is-present-or-working-with-cross-origin-request-in-asp-net-web-api/#comment-4065">Celebrities Galore</a>.</p>
<p>Thanks for your feedback.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Celebrities Galore		</title>
		<link>https://www.sibeeshpassion.com/fix-to-no-access-control-allow-origin-header-is-present-or-working-with-cross-origin-request-in-asp-net-web-api/#comment-2488</link>

		<dc:creator><![CDATA[Celebrities Galore]]></dc:creator>
		<pubDate>Sun, 17 Dec 2017 07:33:00 +0000</pubDate>
		<guid isPermaLink="false">http://sibeecst_passion.com/?p=11345#comment-2488</guid>

					<description><![CDATA[Thank you for your web.config solution. Works great!]]></description>
			<content:encoded><![CDATA[<p>Thank you for your web.config solution. Works great!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Celebrities Galore		</title>
		<link>https://www.sibeeshpassion.com/fix-to-no-access-control-allow-origin-header-is-present-or-working-with-cross-origin-request-in-asp-net-web-api/#comment-4065</link>

		<dc:creator><![CDATA[Celebrities Galore]]></dc:creator>
		<pubDate>Sun, 17 Dec 2017 02:33:00 +0000</pubDate>
		<guid isPermaLink="false">http://sibeecst_passion.com/?p=11345#comment-4065</guid>

					<description><![CDATA[Thank you for your web.config solution. Works great!]]></description>
			<content:encoded><![CDATA[<p>Thank you for your web.config solution. Works great!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Joey Lu		</title>
		<link>https://www.sibeeshpassion.com/fix-to-no-access-control-allow-origin-header-is-present-or-working-with-cross-origin-request-in-asp-net-web-api/#comment-1542</link>

		<dc:creator><![CDATA[Joey Lu]]></dc:creator>
		<pubDate>Tue, 11 Apr 2017 21:05:00 +0000</pubDate>
		<guid isPermaLink="false">http://sibeecst_passion.com/?p=11345#comment-1542</guid>

					<description><![CDATA[[EnableCors(origins: &quot;*&quot;, headers: &quot;*&quot;, methods: &quot;*&quot;)]

My Visual Studio 2017 said that EnableCorsAttribute only allows 1 string as parameter.
So this solution won&#039;t even compile for my case.
Any thought?]]></description>
			<content:encoded><![CDATA[<p>[EnableCors(origins: &#8220;*&#8221;, headers: &#8220;*&#8221;, methods: &#8220;*&#8221;)]</p>
<p>My Visual Studio 2017 said that EnableCorsAttribute only allows 1 string as parameter.<br />
So this solution won&#8217;t even compile for my case.<br />
Any thought?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Joey Lu		</title>
		<link>https://www.sibeeshpassion.com/fix-to-no-access-control-allow-origin-header-is-present-or-working-with-cross-origin-request-in-asp-net-web-api/#comment-4076</link>

		<dc:creator><![CDATA[Joey Lu]]></dc:creator>
		<pubDate>Tue, 11 Apr 2017 17:05:00 +0000</pubDate>
		<guid isPermaLink="false">http://sibeecst_passion.com/?p=11345#comment-4076</guid>

					<description><![CDATA[[EnableCors(origins: &quot;*&quot;, headers: &quot;*&quot;, methods: &quot;*&quot;)]

My Visual Studio 2017 said that EnableCorsAttribute only allows 1 string as parameter.
So this solution won&#039;t even compile for my case.
Any thought?]]></description>
			<content:encoded><![CDATA[<p>[EnableCors(origins: &#8220;*&#8221;, headers: &#8220;*&#8221;, methods: &#8220;*&#8221;)]</p>
<p>My Visual Studio 2017 said that EnableCorsAttribute only allows 1 string as parameter.<br />
So this solution won&#8217;t even compile for my case.<br />
Any thought?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Phani Katakam		</title>
		<link>https://www.sibeeshpassion.com/fix-to-no-access-control-allow-origin-header-is-present-or-working-with-cross-origin-request-in-asp-net-web-api/#comment-1492</link>

		<dc:creator><![CDATA[Phani Katakam]]></dc:creator>
		<pubDate>Thu, 15 Dec 2016 08:50:00 +0000</pubDate>
		<guid isPermaLink="false">http://sibeecst_passion.com/?p=11345#comment-1492</guid>

					<description><![CDATA[Great post! While I was trying angular 2 app and call to http CORS enabled service API, http.get and subscribe-ing the result, its giving OPTIONS response, instead of actual GET response.. any idea how to resolve this?]]></description>
			<content:encoded><![CDATA[<p>Great post! While I was trying angular 2 app and call to http CORS enabled service API, http.get and subscribe-ing the result, its giving OPTIONS response, instead of actual GET response.. any idea how to resolve this?</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
