<?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>Diary of an Entrepreneur Web Developer</title>
	<atom:link href="http://www.cosmocentral.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cosmocentral.com</link>
	<description></description>
	<lastBuildDate>Wed, 11 Aug 2010 22:44:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Insert Script for US States with Abbreviation &#8211; MS SQL</title>
		<link>http://www.cosmocentral.com/2010/08/insert-script-for-us-states-with-abbreviation-ms-sql/</link>
		<comments>http://www.cosmocentral.com/2010/08/insert-script-for-us-states-with-abbreviation-ms-sql/#comments</comments>
		<pubDate>Wed, 11 Aug 2010 22:27:18 +0000</pubDate>
		<dc:creator>manik</dc:creator>
				<category><![CDATA[Programming / Coding]]></category>

		<guid isPermaLink="false">http://www.cosmocentral.com/?p=741</guid>
		<description><![CDATA[Using this script you can insert the create a table for locations and insert the US states in it. ]]></description>
			<content:encoded><![CDATA[<p>Using this script you can insert the create a table for locations and insert the US states in it. </p>
<p>First create the locations table</p>
<p>CREATE TABLE [dbo].[Locations](<br />
[LocationID] [int] IDENTITY(1,1) NOT NULL,<br />
[Location] [varchar](50) NULL,<br />
[Abbrev] [varchar](3) NULL<br />
CONSTRAINT [PK_Locations] PRIMARY KEY CLUSTERED<br />
(<br />
[LocationID] ASC<br />
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]<br />
) ON [PRIMARY]</p>
<p>Now you can insert the US states using this script</p>
<p>insert into States (location,abbrev)<br />
Select &#8216;Alabama&#8217;, &#8216;AL&#8217; UNION ALL<br />
Select &#8216;Alaska&#8217;, &#8216;AK&#8217; UNION ALL<br />
Select &#8216;Arizona&#8217;, &#8216;AZ&#8217; UNION ALL<br />
Select &#8216;Arkansas&#8217;, &#8216;AR&#8217; UNION ALL<br />
Select &#8216;California&#8217;, &#8216;CA&#8217; UNION ALL<br />
Select &#8216;Colorado&#8217;, &#8216;CO&#8217; UNION ALL<br />
Select &#8216;Connecticut&#8217;, &#8216;CT&#8217; UNION ALL<br />
Select &#8216;Delaware&#8217;, &#8216;DE&#8217; UNION ALL<br />
Select &#8216;District of Columbia&#8217;, &#8216;DC&#8217; UNION ALL<br />
Select &#8216;Florida&#8217;, &#8216;FL&#8217; UNION ALL<br />
Select &#8216;Georgia&#8217;, &#8216;GA&#8217; UNION ALL<br />
Select &#8216;Hawaii&#8217;, &#8216;HI&#8217; UNION ALL<br />
Select &#8216;Idaho&#8217;, &#8216;ID&#8217; UNION ALL<br />
Select &#8216;Illinois&#8217;, &#8216;IL&#8217; UNION ALL<br />
Select &#8216;Indiana&#8217;, &#8216;IN&#8217; UNION ALL<br />
Select &#8216;Iowa&#8217;, &#8216;IA&#8217; UNION ALL<br />
Select &#8216;Kansas&#8217;, &#8216;KS&#8217; UNION ALL<br />
Select &#8216;Kentucky&#8217;, &#8216;KY&#8217; UNION ALL<br />
Select &#8216;Louisiana&#8217;, &#8216;LA&#8217; UNION ALL<br />
Select &#8216;Maine&#8217;, &#8216;ME&#8217; UNION ALL<br />
Select &#8216;Maryland&#8217;, &#8216;MD&#8217; UNION ALL<br />
Select &#8216;Massachusetts&#8217;, &#8216;MA&#8217; UNION ALL<br />
Select &#8216;Michigan&#8217;, &#8216;MI&#8217; UNION ALL<br />
Select &#8216;Minnesota&#8217;, &#8216;MN&#8217; UNION ALL<br />
Select &#8216;Mississippi&#8217;, &#8216;MS&#8217; UNION ALL<br />
Select &#8216;Missouri&#8217;, &#8216;MO&#8217; UNION ALL<br />
Select &#8216;Montana&#8217;, &#8216;MT&#8217; UNION ALL<br />
Select &#8216;Nebraska&#8217;, &#8216;NE&#8217; UNION ALL<br />
Select &#8216;Nevada&#8217;, &#8216;NV&#8217; UNION ALL<br />
Select &#8216;New Hampshire&#8217;, &#8216;NH&#8217; UNION ALL<br />
Select &#8216;New Jersey&#8217;, &#8216;NJ&#8217; UNION ALL<br />
Select &#8216;New Mexico&#8217;, &#8216;NM&#8217; UNION ALL<br />
Select &#8216;New York&#8217;, &#8216;NY&#8217; UNION ALL<br />
Select &#8216;North Carolina&#8217;, &#8216;NC&#8217; UNION ALL<br />
Select &#8216;North Dakota&#8217;, &#8216;ND&#8217; UNION ALL<br />
Select &#8216;Ohio&#8217;, &#8216;OH&#8217; UNION ALL<br />
Select &#8216;Oklahoma&#8217;, &#8216;OK&#8217; UNION ALL<br />
Select &#8216;Oregon&#8217;, &#8216;OR&#8217; UNION ALL<br />
Select &#8216;Pennsylvania&#8217;, &#8216;PA&#8217; UNION ALL<br />
Select &#8216;Rhode Island&#8217;, &#8216;RI&#8217; UNION ALL<br />
Select &#8216;South Carolina&#8217;, &#8216;SC&#8217; UNION ALL<br />
Select &#8216;South Dakota&#8217;, &#8216;SD&#8217; UNION ALL<br />
Select &#8216;Tennessee&#8217;, &#8216;TN&#8217; UNION ALL<br />
Select &#8216;Texas&#8217;, &#8216;TX&#8217; UNION ALL<br />
Select &#8216;Utah&#8217;, &#8216;UT&#8217; UNION ALL<br />
Select &#8216;Vermont&#8217;, &#8216;VT&#8217; UNION ALL<br />
Select &#8216;Virginia&#8217;, &#8216;VA&#8217; UNION ALL<br />
Select &#8216;Washington&#8217;, &#8216;WA&#8217; UNION ALL<br />
Select &#8216;West Virginia&#8217;, &#8216;WV&#8217; UNION ALL<br />
Select &#8216;Wisconsin&#8217;, &#8216;WI&#8217; UNION ALL<br />
Select &#8216;Wyoming&#8217;, &#8216;WY&#8217; </p>
<p>From Webcosmo Webmaster Forum <a href="http://www.webcosmoforums.com/databases/21515-insert-script-us-states-abbreviation-ms-sql.html">http://www.webcosmoforums.com/databases/21515-insert-script-us-states-abbreviation-ms-sql.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.cosmocentral.com/2010/08/insert-script-for-us-states-with-abbreviation-ms-sql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Convert String to Title Case &#8211; ASP .NET</title>
		<link>http://www.cosmocentral.com/2010/08/how-to-convert-string-to-title-case-asp-net/</link>
		<comments>http://www.cosmocentral.com/2010/08/how-to-convert-string-to-title-case-asp-net/#comments</comments>
		<pubDate>Wed, 11 Aug 2010 22:23:58 +0000</pubDate>
		<dc:creator>manik</dc:creator>
				<category><![CDATA[Programming / Coding]]></category>

		<guid isPermaLink="false">http://www.cosmocentral.com/?p=738</guid>
		<description><![CDATA[Often times you might need to convert input string to title case.
For example converting the string "mY GiaNT bREAkFST" to "My Giant Breakfast"]]></description>
			<content:encoded><![CDATA[<p>Often times you might need to convert input string to title case.<br />
For example converting the string &#8220;mY GiaNT bREAkFST&#8221; to &#8220;My Giant Breakfast&#8221;</p>
<p>Using this simple method you could convert an input string to title case</p>
<p>public class Converter<br />
{<br />
public static string ConvertToTitleCase(string input)<br />
{<br />
TextInfo ti = Thread.CurrentThread.CurrentCulture.TextInfo;<br />
//if a word is all in upper case, ToTitleCase method is not able to convert to title case. So we would make the input string all lower case.<br />
return ti.ToTitleCase(input.ToLower());<br />
}<br />
}</p>
<p>To use this method you can simply call the static method like this:<br />
string str = Converter.ConvertToTitleCase(&#8220;mY GiaNT bREAkFST&#8221;) </p>
<p>From Webcosmo Webmaster Forum <a href="http://www.webcosmoforums.com/asp/21519-how-convert-string-title-case-asp-net.html">http://www.webcosmoforums.com/asp/21519-how-convert-string-title-case-asp-net.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.cosmocentral.com/2010/08/how-to-convert-string-to-title-case-asp-net/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>LinkButton Inside an UpdatePanel Causes Full Postback &#8211; ASP .NET</title>
		<link>http://www.cosmocentral.com/2010/08/linkbutton-inside-an-updatepanel-causes-full-postback-asp-net/</link>
		<comments>http://www.cosmocentral.com/2010/08/linkbutton-inside-an-updatepanel-causes-full-postback-asp-net/#comments</comments>
		<pubDate>Thu, 05 Aug 2010 01:37:53 +0000</pubDate>
		<dc:creator>manik</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Programming / Coding]]></category>

		<guid isPermaLink="false">http://www.cosmocentral.com/?p=736</guid>
		<description><![CDATA[If you place LinkButton inside a repeater which is inside an UpdatePanel, you will get a full postback if you click on the LinkButton.]]></description>
			<content:encoded><![CDATA[<p>If you place LinkButton inside a repeater which is inside an UpdatePanel, you will get a full postback if you click on the LinkButton.</p>
<p><strong>Solution?</strong><br />
On code behind register the linkbutton inside the repeater for Asynchronous postback.<br />
Like this<br />
<code>foreach (RepeaterItem ri in rpt.Items)<br />
            {<br />
                if (ri.ItemType == ListItemType.Item || ri.ItemType == ListItemType.AlternatingItem)<br />
                {<br />
                    LinkButton lb = (LinkButton)ri.FindControl("lb");<br />
                    ScriptManager1.RegisterAsyncPostBackControl(lb);<br />
                }<br />
            }</code></p>
<p>Read the original article at Webcosmo Webmaster Forum <a href="http://www.webcosmoforums.com/asp/21403-linkbutton-inside-repeater-updatepanel-causes-full-postback-asp-net.html">http://www.webcosmoforums.com/asp/21403-linkbutton-inside-repeater-updatepanel-causes-full-postback-asp-net.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.cosmocentral.com/2010/08/linkbutton-inside-an-updatepanel-causes-full-postback-asp-net/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>aspnet_merge.exe exited with code 1 &#8211; Duplicate Class Error</title>
		<link>http://www.cosmocentral.com/2010/08/aspnet_merge-exe-exited-with-code-1-duplicate-class-error/</link>
		<comments>http://www.cosmocentral.com/2010/08/aspnet_merge-exe-exited-with-code-1-duplicate-class-error/#comments</comments>
		<pubDate>Thu, 05 Aug 2010 00:25:18 +0000</pubDate>
		<dc:creator>manik</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Programming / Coding]]></category>

		<guid isPermaLink="false">http://www.cosmocentral.com/?p=733</guid>
		<description><![CDATA[Usually you would get this error with your Web Deployment Project if there have multiple classes with same name.]]></description>
			<content:encoded><![CDATA[<p>Usually you would get this error with your Web Deployment Project if there have multiple classes with same name.</p>
<p>To fix this issue you need to rename the conflicting classes.</p>
<p>To find out the conflicting classes follow these steps:</p>
<p>- From Visual Studio Tools Menu Click Options.<br />
- Expand Projects and Solutions<br />
- Click on Build and Run<br />
- From the dropdown &#8220;MSBuild Project Build Output Verbosity&#8221; select Diagnostic<br />
- Click on OK to save<br />
- Now build your project using the Web Deployment Project<br />
- Now wait for the project build to fail.<br />
- From the Visual Studio View Menu click on Output You will see where the duplicates on output when it fails to build. Fix the duplicates.<br />
- Build again. </p>
<p>From Webcosmo Webmaster Forum <a href="http://www.webcosmoforums.com/asp/21401-aspnet_merge-exe-exited-code-1-a.html">http://www.webcosmoforums.com/asp/21401-aspnet_merge-exe-exited-code-1-a.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.cosmocentral.com/2010/08/aspnet_merge-exe-exited-with-code-1-duplicate-class-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Change asp.net version in IIS 7</title>
		<link>http://www.cosmocentral.com/2010/07/how-to-change-asp-net-version-in-iis-7/</link>
		<comments>http://www.cosmocentral.com/2010/07/how-to-change-asp-net-version-in-iis-7/#comments</comments>
		<pubDate>Fri, 30 Jul 2010 22:01:57 +0000</pubDate>
		<dc:creator>manik</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Programming / Coding]]></category>

		<guid isPermaLink="false">http://www.cosmocentral.com/?p=731</guid>
		<description><![CDATA[To change the .Net version of your website, login with remote desktop and open Internet Information Services Manager on the windows 2008 server. This is found under Start Menu > Control Panel > Administrative Tools > Internet Information Services (IIS) Manager.]]></description>
			<content:encoded><![CDATA[<p>1. To change the .Net version of your website, login with remote desktop and open Internet Information Services Manager on the windows 2008 server. This is found under Start Menu > Control Panel > Administrative Tools > Internet Information Services (IIS) Manager.</p>
<p>2. Click on the + next to your server name to expand and then click on Application Pools.</p>
<p>3. Locate the application pool for the website you are changing asp.net for. Right click on the application pool and click on Basic Settings.</p>
<p>4. From the drop down menu under .NET Framework Version choose the version of asp.net you wish the site to run on. If asp.net version you wish to use does not appear on the list, you need to install that .net version first. Just Google the .net <version> download, you would find the link at Microsoft for download. </p>
<p>From Webcosmo Webmaster Forum <a href="http://www.webcosmoforums.com/windows-server/21310-how-change-asp-net-version-iis-7-a.html">http://www.webcosmoforums.com/windows-server/21310-how-change-asp-net-version-iis-7-a.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.cosmocentral.com/2010/07/how-to-change-asp-net-version-in-iis-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The type &#8216;&#8216; exists in both &#8216;&#8216; and &#8216;&#8216;</title>
		<link>http://www.cosmocentral.com/2010/07/the-type-exists-in-both-and/</link>
		<comments>http://www.cosmocentral.com/2010/07/the-type-exists-in-both-and/#comments</comments>
		<pubDate>Thu, 29 Jul 2010 01:05:11 +0000</pubDate>
		<dc:creator>manik</dc:creator>
				<category><![CDATA[Programming / Coding]]></category>

		<guid isPermaLink="false">http://www.cosmocentral.com/?p=728</guid>
		<description><![CDATA[The type '<class>' exists in both '<dll location>' and '<dll location 2>']]></description>
			<content:encoded><![CDATA[<p>One possible reason to get this error is using a &#8220;CodeFile&#8221; page directive in the some page markup instead of &#8220;CodeBehind&#8221;. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.cosmocentral.com/2010/07/the-type-exists-in-both-and/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Unknown Server Tag for Custom Control</title>
		<link>http://www.cosmocentral.com/2010/07/unknown-server-tag-for-custom-control/</link>
		<comments>http://www.cosmocentral.com/2010/07/unknown-server-tag-for-custom-control/#comments</comments>
		<pubDate>Thu, 29 Jul 2010 00:30:00 +0000</pubDate>
		<dc:creator>manik</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Programming / Coding]]></category>

		<guid isPermaLink="false">http://www.cosmocentral.com/?p=725</guid>
		<description><![CDATA[While working on my first project with Visual Studio 2010, i had to go through some weird stuffs as I tried to convert a Website project to a Website Application project.]]></description>
			<content:encoded><![CDATA[<p>While working on my first project with Visual Studio 2010, i had to go through some weird stuffs as I tried to convert a Website project to a Website Application project.</p>
<p>One of the problems was with custom controls.<br />
Here is the sample code in C# of a custom control I used for that project.</p>
<p>namespace CustomControls<br />
{<br />
    public class MyTextArea : TextBox<br />
    {<br />
           //&#8212;&#8212;&#8212;-code here<br />
    }<br />
}</p>
<p>On web.cinfig I added</p>
<pages>
  <controls><br />
        <add tagPrefix="cc" namespace="CustomControls"/><br />
  </controls>
</pages>
<p>On a page I use the control like this:<br />
<cc:MyTextArea ID="test" runat="server"><br />
</cc:MyTextArea></p>
<p>It compiles fine without any error. However when I view the page on browser I get the error:<br />
Unknown Server Tag cc:MyTextArea</p>
<p>Note that this code worked fine in both visual studio 2005, and visual studio 2008.</p>
<p>Solution:<br />
Apparently I would need to add the assembly reference on web.config</p>
<pages>
  <controls><br />
        <add tagPrefix="cc" namespace="CustomControls" assembly="MyProjectName" /><br />
  </controls>
</pages>
<p>From Webcosmo Webmaster Forum <a href="http://www.webcosmoforums.com/asp/21267-unknown-server-tag-custom-control-visual-studio-2010-a.html">http://www.webcosmoforums.com/asp/21267-unknown-server-tag-custom-control-visual-studio-2010-a.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.cosmocentral.com/2010/07/unknown-server-tag-for-custom-control/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>unhandled error in silverlight application code 2104 category:initialize &#8211; Silverlight in IIS</title>
		<link>http://www.cosmocentral.com/2010/07/unhandled-error-in-silverlight-application-code-2104-categoryinitialize-silverlight-in-iis/</link>
		<comments>http://www.cosmocentral.com/2010/07/unhandled-error-in-silverlight-application-code-2104-categoryinitialize-silverlight-in-iis/#comments</comments>
		<pubDate>Tue, 27 Jul 2010 16:44:17 +0000</pubDate>
		<dc:creator>manik</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Programming / Coding]]></category>

		<guid isPermaLink="false">http://www.cosmocentral.com/?p=722</guid>
		<description><![CDATA[When you're hosting Silverlight, you have to tweak your IIS settings to allow the server to know how to handle the extensions that it's not familiar with.]]></description>
			<content:encoded><![CDATA[<p>When you&#8217;re hosting Silverlight, you have to tweak your IIS settings to allow the server to know how to handle the extensions that it&#8217;s not familiar with.</p>
<p>In IIS you have to add these MIME types.</p>
<p>.xaml application/xaml+xml<br />
.xap application/x-silverlight-app<br />
.xbap application/x-ms-xbap</p>
<p>To add the MIME types to IIS6:</p>
<p>1. Choose the Virtual Directory or Default Web Site in IIS<br />
2. Open the context menu and choose &#8220;Properties&#8221;<br />
3. Select the &#8220;HTTP-Headers&#8221; tab<br />
4. Click the button labeled &#8220;File Types&#8230;&#8221; in MIME Map section<br />
5. Choose &#8220;New Type&#8221; and type the extension from above into the extension field and the application type into the MIME type field.<br />
6. After adding all 3, click &#8220;OK&#8221; then click &#8220;Apply&#8221; on the main menu. You&#8217;re done. No restart needed.</p>
<p>In more recent versions of IIS, process is little different, but I am sure you got the idea how to do it. </p>
<p>From Webcosmo Webmaster Forum <a href="http://www.webcosmoforums.com/asp/21242-unhandled-error-silverlight-application-code-2104-category-initialize-silverlight-iis.html">http://www.webcosmoforums.com/asp/21242-unhandled-error-silverlight-application-code-2104-category-initialize-silverlight-iis.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.cosmocentral.com/2010/07/unhandled-error-in-silverlight-application-code-2104-categoryinitialize-silverlight-in-iis/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Check Uploaded File Extension &#8211; ASP .Net</title>
		<link>http://www.cosmocentral.com/2010/07/how-to-check-uploaded-file-extension-asp-net/</link>
		<comments>http://www.cosmocentral.com/2010/07/how-to-check-uploaded-file-extension-asp-net/#comments</comments>
		<pubDate>Tue, 27 Jul 2010 14:41:25 +0000</pubDate>
		<dc:creator>manik</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Programming / Coding]]></category>

		<guid isPermaLink="false">http://www.cosmocentral.com/?p=718</guid>
		<description><![CDATA[How to Check Uploaded File Extension - ASP .Net]]></description>
			<content:encoded><![CDATA[<p>If you have fileUpload as your upload control<br />
<code>&lt;input id="fileUpload" type="file" runat="server" /></code></p>
<p>This code sample check the file type if its an image. It can be altered for other file types as well. This example code is in C#.<br />
<code>HttpPostedFile myPostedFile=fileUpload.PostedFile;<br />
if(myPostedFile!=null &#038;&#038; myPostedFile.ContentLength>0)<br />
{<br />
FileInfo finfo = new FileInfo(myPostedFile.FileName);<br />
            string fileExtension = finfo.Extension.ToLower();<br />
            if (fileExtension != ".gif" &#038;&#038; fileExtension != ".jpg" &#038;&#038; fileExtension != ".jpeg" &#038;&#038; fileExtension != ".png")<br />
            {<br />
//show error message<br />
                return;<br />
            }<br />
}</code></p>
<p>From Webcosmo Webmaster Forum <a href="http://www.webcosmoforums.com/asp/21239-how-check-uploaded-file-extension-asp-net.html">http://www.webcosmoforums.com/asp/21239-how-check-uploaded-file-extension-asp-net.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.cosmocentral.com/2010/07/how-to-check-uploaded-file-extension-asp-net/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Add Existing Silverlight Project to Existing Website Project</title>
		<link>http://www.cosmocentral.com/2010/07/how-to-add-existing-silverlight-project-to-existing-website-project/</link>
		<comments>http://www.cosmocentral.com/2010/07/how-to-add-existing-silverlight-project-to-existing-website-project/#comments</comments>
		<pubDate>Mon, 26 Jul 2010 19:58:01 +0000</pubDate>
		<dc:creator>manik</dc:creator>
				<category><![CDATA[Programming / Coding]]></category>

		<guid isPermaLink="false">http://www.cosmocentral.com/?p=715</guid>
		<description><![CDATA[How to Add Existing Silverlight Project to Existing Website Project]]></description>
			<content:encoded><![CDATA[<p>These instructions are for Visual Studio 2008. Might work for other versions as well.</p>
<p>- Open the website project in Visual Studio<br />
- Click on File Menu<br />
- Click on Add<br />
- Click on Existing Project. Browse to your Silverlight project<br />
- Click Open<br />
- Right click on your Website Project on Solution Explorer<br />
- Click on Property Pages<br />
- Click on Silverlight Applications<br />
- For &#8220;Use an Existing Silverlight project in the solution&#8221; you should see the silverlight project you added earlier on the &#8220;project&#8221; dropdown menu. Select the Silverlight project. Check &#8220;Add a testpage that references the control&#8221; if you like.<br />
- Click on Add </p>
<p>From Webcosmo Webmaster Forum <a href="http://www.webcosmoforums.com/asp/21221-how-add-existing-silverlight-project-existing-website-project.html">http://www.webcosmoforums.com/asp/21221-how-add-existing-silverlight-project-existing-website-project.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.cosmocentral.com/2010/07/how-to-add-existing-silverlight-project-to-existing-website-project/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
