<?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>Webmonkey &#187; asp</title>
    <atom:link href="http://www.webmonkey.com/tag/asp/feed/" rel="self" type="application/rss+xml" />
    <link>http://www.webmonkey.com</link>
    <description>The Web Developer&#039;s Resource</description>
    <lastBuildDate>Mon, 06 May 2013 17:29:19 +0000</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <generator>http://wordpress.org/?v=3.4.2</generator>
    
    <item>
        <title>Meet WebMatrix, Microsoft&#8217;s New Suite For Painless Web Development</title>
        <link>http://www.webmonkey.com/2010/07/meet-webmatrix-microsofts-new-suite-for-painless-web-development/</link>
        <comments>http://www.webmonkey.com/2010/07/meet-webmatrix-microsofts-new-suite-for-painless-web-development/#comments</comments>
        <pubDate>Wed, 07 Jul 2010 17:21:58 +0000</pubDate>

                <dc:creator>Michael Calore</dc:creator>

        <guid isPermaLink="false">http://www.webmonkey.com/?p=47963</guid>
        		<category><![CDATA[Software]]></category>
		<category><![CDATA[Web Apps]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[asp]]></category>
		<category><![CDATA[IDE]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[WebMatrix]]></category>
            <enclosure url="http://www.webmonkey.com/wp-content/uploads/2010/07/image_44F24522.png" type="image/png" length="48000" />
                    <description><![CDATA[<div class="rss_thumbnail"><img src="http://www.webmonkey.com/wp-content/uploads/2010/07/image_44F24522.png" alt="Meet WebMatrix, Microsoft&#8217;s New Suite For Painless Web Development" /></div>Microsoft has unveiled a new all-in-one web development suite called WebMatrix. It&#8217;s more than an IDE or a framework, it&#8217;s a whole suite &#8212; a web server, a SQL database, and a database-ready framework, all wrapped up into a single development environment that makes it easy to build, test and deploy some fairly complex web [...]]]></description>

            <content:encoded><![CDATA[<p><!-- wpautop enabled -->
<p><a href="http://www.webmonkey.com/wp-content/uploads/2010/07/image_44F24522.png"><img src="http://www.webmonkey.com/wp-content/uploads/2010/07/image_44F24522.png" alt="" title="image_44F24522" width="580" /></a></p>
<p>Microsoft has unveiled a new all-in-one web development suite called WebMatrix.</p>
<p>It&#8217;s more than an IDE or a framework, it&#8217;s a whole suite &#8212; a web server, a SQL database, and a database-ready framework, all wrapped up into a single development environment that makes it easy to build, test and deploy some fairly complex web apps.</p>
<p><a href="http://www.microsoft.com/web/webmatrix/">WebMatrix</a> is free, and it&#8217;s available for Windows users as <a href="http://www.microsoft.com/web/webmatrix/download/">a beta download</a>.</p>
<p>The new suite is especially geared towards developers building web apps that require local data storage. It&#8217;s pretty flexible, and you can also use it to build simple websites, then scale up to something mid-weight or incorporate a full-scale app that you could run a business on top of. </p>
<p>The WebMatrix suite is made up of three components: the lightweight Windows-based web server called <a href="http://weblogs.asp.net/scottgu/archive/2010/06/28/introducing-iis-express.aspx">IIS Express</a>, <a href="http://weblogs.asp.net/scottgu/archive/2010/06/30/new-embedded-database-support-with-asp-net.aspx">SQL Server Compact Edition</a>, a simple database server, and <a href="http://weblogs.asp.net/scottgu/archive/2010/07/02/introducing-razor.aspx">Razor</a>, a new templating language based on ASP.NET. The beta version you can download today actually doesn&#8217;t have Razor, but it will be included in a future release &#8220;later this month,&#8221; according to Microsoft.</p>
<p>The three key technologies were previously announced by Scott Guthrie, Microsoft&#8217;s VP of its Developer Division. Now, with the launch of WebMatrix, <a href="http://weblogs.asp.net/scottgu/archive/2010/07/06/introducing-webmatrix.aspx">Guthrie has introduced a few new components</a>.</p>
<p><span id="more-47963"></span></p>
<p>Central to the WebMatrix experience is the <a href="http://www.microsoft.com/web/webmatrix/workspaces/">Workspace</a>. It&#8217;s is basically a singular dashboard inside the app where you develop your site, deploy files, perform various admin tasks, run SEO tests and generate analytics reports.</p>
<p>There&#8217;s a <a href="http://www.microsoft.com/web/gallery/">web apps gallery</a> that attaches to Microsoft&#8217;s Web Platform Installer, so you can browse and install all sorts of open source packages or content management systems like Drupal, Joomla and WordPress. There are also several templates and frameworks included, so if you need some CSS behaviors or you want to include <a href="http://jquery.com/">JQuery</a> interactions, all of those elements can be integrated into your workflow. The ones that aren&#8217;t included can be downloaded. You can test your app by automatically launching any of the browsers you have installed on your system.</p>
<p>WebMatrix has been built to let you start out very simply &#8212; you can just use it to run a WordPress site if you really wanted to &#8212; and then scale up to database-driven web apps. If you install something that requires a MySQL database, WebMatrix will even download and install MySQL for you.</p>
<p>It&#8217;s probably not going to eat into the user base of Visual Studio, Microsoft&#8217;s full-featured IDE for building apps across the entire Windows platform. But it&#8217;s so simple and fluid, it could very well draw some Windows-based developers from the <a href="http://en.wikipedia.org/wiki/LAMP_(software_bundle)">LAMP stack</a> over to the Windows IIS stack. Since everything is integrated &#8212; the dev environment, the frameworks, the app gallery and the web server &#8212; it&#8217;s really meant as a one-stop shop for building a site from scratch.</p>
<p>As a bonus, the files generated by WebMatrix are all just simple text files &#8212; HTML, CSS, JavaScript, MySQL and ASP code. So if you want to take all the work you do within WebMatrix and move it over into a different IDE of your choosing, or even a text editor, you won&#8217;t end up unnecessarily confused. Anything generated by WebMatrix can also easily be imported into Visual Studio or <a href="http://www.microsoft.com/express/web/">Visual Web Developer Express 2010</a>, one of Microsoft&#8217;s other free tools for building web apps.</p>
<p><b>See Also</b></p>
<ul>
<li><a href="http://www.webmonkey.com/2010/06/new-hardware-accelerated-preview-of-ie9-arrives/">New Hardware-Accelerated IE9 Preview Arrives</a></li>
<li><a href="http://www.webmonkey.com/2010/06/bing-maps-gets-a-developer-sdk/">Bing Maps Gets a Developer SDK</a></li>
<li><a href="http://www.webmonkey.com/2010/03/microsoft-to-double-down-on-html5-with-internet-explorer-9/">Microsoft to Double Down on HTML5 With Internet Explorer 9</a></li>
</ul>
<div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2010/07/meet-webmatrix-microsofts-new-suite-for-painless-web-development/feed/</wfw:commentRss>
        <slash:comments>2</slash:comments>

        
    </item>
    
    <item>
        <title>Use Master Pages in ASP</title>
        <link>http://www.webmonkey.com/2010/02/use_master_pages_in_asp/</link>
        <comments>http://www.webmonkey.com/2010/02/use_master_pages_in_asp/#comments</comments>
        <pubDate>Tue, 16 Feb 2010 01:45:47 +0000</pubDate>

                <dc:creator>Webmonkey Staff</dc:creator>

        <guid isPermaLink="false">http://stag.wired.com/primate/?p=758</guid>
        		<category><![CDATA[Programming]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[asp]]></category>
		<category><![CDATA[wiki]]></category>
        <description><![CDATA[It may be geeky to refer to anything programming-related as &#8220;kick butt.&#8221; If it is, you can call me a geek. And you can quote me, too, because Master Pages in ASP.NET 2.0 are soooo kick butt. Before I entice you any more, it&#8217;s important to know the system requirements. The .NET framework needs Windows [...]]]></description>

            <content:encoded><![CDATA[<!-- wpautop disabled --><p>It may be geeky to refer to anything programming-related as &#8220;kick butt.&#8221; If it is, you can call me a geek.

</p><p>And you can quote me, too, because Master Pages in ASP.NET 2.0 are <i>soooo</i> kick butt.
</p><br />
<span id="more-758"></span>

<p>Before I entice you any more, it&#8217;s important to know the system requirements. The .NET framework needs Windows 2000, XP, or 2003. Microsoft has plenty more information about the <a href="http://msdn.microsoft.com/netframework/downloads/updates/default.aspx" class="external text" title="http://msdn.microsoft.com/netframework/downloads/updates/default.aspx" rel="nofollow">.NET Framework 2.0</a>.

</p><p>And if you&#8217;d rather use PHP, you can read <a href="/2010/02/Keep_Sites_Clean_With_Smarty" title="Tutorial:Keep Sites Clean With Smarty">Get Smarty</a>, an article about PHP&#8217;s templating engine right here on Webmonkey.



</p><p>Back to Master Pages. Master Pages let you templatize your website, separating content from design. Some reasons you might want to use a template:

</p>

<ul><li> Make global changes whenever you want across your entire site.

</li><li> Never edit every page of your site just to change the logo.

</li><li> Maintain a consistent look and feel without going nuts.

</li></ul>

<p>Let&#8217;s get started on Master Page mastery. I can&#8217;t promise a black belt, but you&#8217;ll surely make it to orange. And, as my seven year old nephew could tell you, orange is definitely kick butt.

</p><p>All you need is to not be afraid of <a href="/2010/02/Make_an_HTML_Document" title="Tutorial:Make an HTML Document">basic HTML</a>. That&#8217;s your white belt.

</p><p>Ready? Ki-yai! Let&#8217;s get started with ASP.NET 2.0 Master Pages.

</p><p>First things first, check out this simple template we&#8217;ll be using:

</p>

<pre class="brush: js"> &lt;%@ Master&nbsp;%&gt;



 &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"

"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;

 &lt;html xmlns="http://www.w3.org/1999/xhtml" &gt;

 &lt;head runat="server"&gt;

 &lt;title&gt;Karate Chop&lt;/title&gt;

 &lt;/head&gt;



 &lt;body&gt;

 &lt;p&gt;

 &lt;b&gt;This will show up on every page&lt;/b&gt;

 &lt;/p&gt;

 &lt;asp:contentplaceholder id="mainstuff" runat="server"&gt;



 &lt;/asp:contentplaceholder&gt;

 &lt;p&gt;

  © Copyright notice, which shows up on every page.

 &lt;/p&gt;

 &lt;/body&gt;

 &lt;/html&gt;

</pre>



<p>Save this as <code>Master.master</code>.

</p><p>This should look a lot like a basic web page. It is! There are a few unfamiliar elements:

</p><p><code> &lt;%@ Master&nbsp;%&gt; </code>

</p><p>This first line tells the server that this is a Master page.

</p><p><code> &lt;head runat="server"&gt; </code>

</p><p>This is a normal HTML tag, but the <code>runat="server"</code> part is thrown in there so the server will look at the stuff inside of it first. In particular, this will allow you to change the title on each page. But more about that later.



</p><p>The final new element is a special ASP tag:

</p>

<pre class="brush: js">

&lt;asp:contentplaceholder id="mainstuff" runat="server"&gt;

&lt;/asp:contentplaceholder&gt;

</pre>

<p>This tag is at the heart of Master Pages. It says, &#8220;Content goes here and I&#8217;m going to call it &#8216;mainstuff.&#8217;&#8221;

</p><p>This page is useless without actual content. The Master Page is like a Karate uniform &#8212; It holds the basic structure, but it needs help to do anything. Time to give it that help by adding some content. And since you&#8217;re a yellow belt now, we&#8217;ll move a little faster. Let&#8217;s do it.

</p>





<a name="Contain_your_content"></a><h4> <span class="mw-headline">Contain your content</span></h4>

<p>Now that we have a Master Page, let&#8217;s give it some content. Here&#8217;s an example content page:

</p>

<pre class="brush: js"> &lt;%@ Page MasterPageFile="Master.master" Title="Why are Karate belts colored?"&nbsp;%&gt;



 &lt;asp:Content ID="Content1"

 ContentPlaceHolderID="mainstuff" runat="Server"&gt;

 Karate belts are colored the way they are because

 the same belt used to be used over and over.

 Every time you moved up a level, you dyed your

 belt a darker color.

 &lt;/asp:Content&gt;

</pre>

<p>Save this as <code>Content.aspx</code>.

</p><p>Very simple. Not even one line of HTML and only two elements:

</p>

<pre class="brush: js">

&lt;%@ Page MasterPageFile="Master.master" Title="Why are Karate belts colored?"&nbsp;%&gt;



</pre>

<p>This line tells the server where to find the current page&#8217;s Master Page. It also passes along the title of the page. That <code>runat="server"</code> in the <code>&lt;head&gt;</code> tag of our Master Page does the trick here. Without it, the title would still be &#8220;Karate Chop.&#8221;

</p><p>The rest is the content, contained inside this tag:

</p>

<pre class="brush: js">

&lt;asp:Content ID="Content1"

 ContentPlaceHolderID="mainstuff" runat="server"&gt;

</pre>

<p>The ID is a unique identifier which can be just about anything. <code>ContentPlaceHolderID</code> matches the <code>asp:contentplaceholder</code> ID in our Master Page.



</p><p>Together, they give us <a href="http://www.wired.com/wired/webmonkey/stuff/static.html" class="external text" title="http://www.wired.com/wired/webmonkey/stuff/static.html" rel="nofollow">this page</a>. View source on that HTML file to see the meat of our Master Page.

</p><p>Go ahead and try editing the text. Changes to the content show up in the end result. Copy <code>Content.aspx</code> to a new file, <code>MoreContent.aspx</code>, and change its content. Both pages inherit from the single Master page.

</p><p>If you make some changes to the Master page (such as the copyright notice), those changes come through in both content pages. This is was templating is all about. Pretty nifty, eh?

</p><p>You can add additional content sections, such as a sidebar. To do this, you&#8217;ll just want to place this line in your <code>Master.master</code> file:

</p>

<pre class="brush: js">&lt;asp:contentplaceholder id="sidestuff" runat="server"&gt;



 &lt;/asp:contentplaceholder&gt;

</pre>

<p>And this in your <code>Content.aspx</code> file:

</p>

<pre class="brush: js"> &lt;asp:Content ID="Content2"

 ContentPlaceHolderID="sidestuff" runat="server"&gt;

 Here is some sidebar content

 &lt;asp:Content&gt;

</pre>



<p>Of course, to do tricky things like make the sidebar float to the side, you&#8217;ll need to dig into <a href="/special?title=Mulders_Stylesheets_Tutorial&amp;action=edit" class="new" title="Mulders Stylesheets Tutorial">CSS</a> a little bit.

</p><p>And, naturally, there is more to learn about Master Pages, but you&#8217;ve begun your long journey toward mastery. You&#8217;ve earned your orange belt, just like I promised. You aren&#8217;t chopping boards in half with your bare hands yet, but you&#8217;re on your way.

</p><p>And, at least you won&#8217;t have to change a logo across a couple hundred static pages.



</p><div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2010/02/use_master_pages_in_asp/feed/</wfw:commentRss>
        <slash:comments>0</slash:comments>

        
    </item>
    
    <item>
        <title>Microsoft Steers Developers to Ajax Roadmap</title>
        <link>http://www.webmonkey.com/2008/07/microsoft_steers_developers_to_ajax_roadmap/</link>
        <comments>http://www.webmonkey.com/2008/07/microsoft_steers_developers_to_ajax_roadmap/#comments</comments>
        <pubDate>Thu, 03 Jul 2008 21:26:45 +0000</pubDate>

                <dc:creator>Adam Duvander</dc:creator>

        <guid isPermaLink="false">http://www.webmonkey.com/blog/microsoftsteersdeveloperstoajaxroadmap</guid>
        		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Ajax]]></category>
		<category><![CDATA[asp]]></category>
		<category><![CDATA[Microsoft]]></category>
        <description><![CDATA[In an effort to improve its Ajax features in ASP.NET, Microsoft announced its Ajax roadmap. The document lays out new features, many of which are available in third party JavaScript frameworks. Among the most exciting proposed features slated for the next version are DOM manipulation APIs, which make it easy to access any elements in [...]]]></description>

            <content:encoded><![CDATA[<p><!-- wpautop enabled --><img class="blogimg" src="http://howto.wired.com/mediawiki/images/Aspnetajax.png" alt="ASP.NET Ajax" /></p>
<p>In an effort to improve its Ajax features in ASP.NET, Microsoft announced its <a href="http://www.codeplex.com/aspnet/Release/ProjectReleases.aspx?ReleaseId=14924">Ajax roadmap</a>. The document lays out new features, many of which are available in third party JavaScript frameworks.</p>
<p>Among the most exciting proposed features slated for the next version are DOM manipulation APIs, which make it easy to access any elements in a web page. The company also plans to translate some server-side controls to be accessible via client-side calls. For example, a templating control could retrieve data from the server and place it into a page based on a local template without refreshing.</p>
<p>On the list of nice-to-haves, Microsoft includes animation and drag &amp; drop. These popular features are a major part of effects libraries such as Scriptaculous, Moo and JQuery.</p>
<p>Developers attempting to use non-Microsoft tools have long had difficulty fitting in with the ASP.NET framework. For example, ASP.NET changes the ID of any server-manipulated page element. The DOM features alone in the proposed update to Microsoft&#8217;s Ajax tools will simplify client-side access.</p>
<p>Some web purists may criticize Microsoft for not working to support third-party JavaScript frameworks. The company has long forged their own path with ASP.NET and to their credit each version is better than the previous.</p>
<p>If you want a peak at what the code will look like in the future version of ASP.NET Ajax, <a href="http://www.codeplex.com/aspnet/Release/ProjectReleases.aspx?ReleaseId=14924">download the roadmap</a>.</p>
<p><strong>See also:</strong></p>
<ul>
<li><a href="/2010/02/AspNet_Webforms_for_Beginners">ASP.NET Webforms for Beginners </a></li>
<li><a href="/2010/02/Use_Master_Pages_in_ASP">Use Master Pages in ASP.NET</a></li>
</ul>
<div id='linker_widget' class='contextly-widget'></div>
]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2008/07/microsoft_steers_developers_to_ajax_roadmap/feed/</wfw:commentRss>
        <slash:comments>0</slash:comments>

        
    </item>
    </channel>
</rss>
