Imar.Spaanjaars.Com RSS feed with recent stuff posted at http://Imar.Spaanjaars.Com/. http://imar.spaanjaars.com 1440 en Imar Spaanjaars Prefixing ID columns with the table name in Entity Framework I recently got a question about the database configuration part of my <a href="/573/aspnet-n-layered-applications-introduction-part-1">article series on N-Layer design</a> in ASP.NET. In my model, all classes inherit <span class="CodeInText">DomainEntity&lt;T&gt;</span> that defines a primary key called <span class="CodeInText">Id</span>. This in turn means all primary key columns in the database are called <span class="CodeInText">Id</span> as well. The reader wanted to know if it was possible to prefix that column with the entity / table name. So, the <span class="CodeInText">Id</span> column in the <span class="CodeInText">People</span> table would be called <span class="CodeInText">PersonId</span>, the <span class="CodeInText">Id</span> in <span class="CodeInText">EmailAddress</span> would be called <span class="CodeInText">EmailAddressId</span> and so on. This has always been possible (and easy to do) for separate entities, but EF 6's custom conventions makes it a lot easier to do it for the entire model. http://imar.spaanjaars.com/588/prefixing-id-columns-with-the-table-name-in-entity-framework http://imar.spaanjaars.com/588/prefixing-id-columns-with-the-table-name-in-entity-framework Wed, 08 Jan 2014 10:22:48 GMT /Rss/Comments/588 /Rss/Comments/588 /Rss/Comments/588 0 Imar Spaanjaars ASP.NET N-Layered Applications - Extensions, Tools and Wrapping Up (Part 10) <p><strong>Note: this is part ten in a series of ten. If you rather read this entire series off-line, you can buy the full series as a convenient PDF document that comes with the full source. Besides the convenience, buying the PDF will also make you feel good as it shows your appreciation for the articles and helps me pay the bills for my server and hosting so I can keep running imar.spaanjaars.com and continue to provide you with great content. For more details, check out <a href="/587/new-article-series-on-aspnet-45-n-layered-design-now-available-for-purchase">this post that shows you how you can buy the entire series right now</a>.</strong></p> <p>This is Part 10 in a series of 10 that show you how to build N-Layered applications using ASP.NET 4.5 and Entity Framework 5 Code First. In this part I&rsquo;ll discuss a few miscellaneous topics that I haven&rsquo;t touched in previous articles in the series.</p> http://imar.spaanjaars.com/582/aspnet-n-layered-applications-extensions-tools-and-wrapping-up-part-10 http://imar.spaanjaars.com/582/aspnet-n-layered-applications-extensions-tools-and-wrapping-up-part-10 Wed, 18 Dec 2013 17:02:31 GMT /Rss/Comments/582 /Rss/Comments/582 /Rss/Comments/582 7 Imar Spaanjaars ASP.NET N-Layered Applications - Importing Data Using the API (Part 9) <p><strong>Note: this is part nine in a series of ten. If you rather read this entire series off-line, you can buy the full series as a convenient PDF document that comes with the full source. Besides the convenience, buying the PDF will also make you feel good as it shows your appreciation for the articles and helps me pay the bills for my server and hosting so I can keep running imar.spaanjaars.com and continue to provide you with great content. For more details, check out <a href="/587/new-article-series-on-aspnet-45-n-layered-design-now-available-for-purchase">this post that shows you how you can buy the entire series right now</a>.</strong></p> <p>This is Part 9 in a series of 10 that show you how to build N-Layered applications using ASP.NET 4.5 and Entity Framework 5 Code First. In this part you&rsquo;ll see how to build a command line application to import data from an external source (a CSV file in this case), using the application&rsquo;s repository and model classes. Although this article is not related to ASP.NET directly, many ASP.NET developers may still benefit from it as importing data from an external resource is a common activity for ASP.NET developers.</p> http://imar.spaanjaars.com/581/aspnet-n-layered-applications-importing-data-using-the-api-part-9 http://imar.spaanjaars.com/581/aspnet-n-layered-applications-importing-data-using-the-api-part-9 Wed, 04 Dec 2013 22:02:14 GMT /Rss/Comments/581 /Rss/Comments/581 /Rss/Comments/581 0 Imar Spaanjaars ASP.NET N-Layered Applications - Implementing a WCF 4.5 Frontend (Part 8) <p><strong>Note: this is part eight in a series of ten. If you rather read this entire series off-line, you can buy the full series as a convenient PDF document that comes with the full source. Besides the convenience, buying the PDF will also make you feel good as it shows your appreciation for the articles and helps me pay the bills for my server and hosting so I can keep running imar.spaanjaars.com and continue to provide you with great content. For more details, check out <a href="/587/new-article-series-on-aspnet-45-n-layered-design-now-available-for-purchase">this post that shows you how you can buy the entire series right now</a>.</strong></p> <p>This is Part 8 in a series of 10 that show you how to build N-Layered applications using ASP.NET 4.5 and Entity Framework 5 Code First. In this part you&rsquo;ll see how to build a WCF service that makes use of the model and repository projects I have shown in the first five articles in this series. The WCF service can be used by different types of applications to access contact people and their related data.</p> http://imar.spaanjaars.com/580/aspnet-n-layered-applications-implementing-a-wcf-45-frontend-part-8 http://imar.spaanjaars.com/580/aspnet-n-layered-applications-implementing-a-wcf-45-frontend-part-8 Wed, 13 Nov 2013 22:01:55 GMT /Rss/Comments/580 /Rss/Comments/580 /Rss/Comments/580 7 Imar Spaanjaars ASP.NET N-Layered Applications - Implementing a Web Forms 4.5 Frontend (Part 7) <p><strong>Note: this is part seven in a series of ten. If you rather read this entire series off-line, you can buy the full series as a convenient PDF document that comes with the full source. Besides the convenience, buying the PDF will also make you feel good as it shows your appreciation for the articles and helps me pay the bills for my server and hosting so I can keep running imar.spaanjaars.com and continue to provide you with great content. For more details, check out <a href="/587/new-article-series-on-aspnet-45-n-layered-design-now-available-for-purchase">this post that shows you how you can buy the entire series right now</a>.</strong></p> <p>This is Part 7 in a series of 10 that show you how to build N-Layered applications using ASP.NET 4.5 and Entity Framework 5 Code First. In this part you&rsquo;ll see how to build a Web UI using ASP.NET Web Forms and make use of the model and repository projects I have shown in the first five articles in this series. </p> http://imar.spaanjaars.com/579/aspnet-n-layered-applications-implementing-a-web-forms-45-frontend-part-7 http://imar.spaanjaars.com/579/aspnet-n-layered-applications-implementing-a-web-forms-45-frontend-part-7 Tue, 22 Oct 2013 20:01:36 GMT /Rss/Comments/579 /Rss/Comments/579 /Rss/Comments/579 0 Imar Spaanjaars ASP.NET N-Layered Applications - Implementing an ASP.NET MVC 4 Frontend (Part 6) <p><strong>Note: this is part six in a series of ten. If you rather read this entire series off-line, you can buy the full series as a convenient PDF document that comes with the full source. Besides the convenience, buying the PDF will also make you feel good as it shows your appreciation for the articles and helps me pay the bills for my server and hosting so I can keep running imar.spaanjaars.com and continue to provide you with great content. For more details, check out <a href="/587/new-article-series-on-aspnet-45-n-layered-design-now-available-for-purchase">this post that shows you how you can buy the entire series right now</a>.</strong></p> <p>This is Part 6 in a series of 10 that show you how to build N-Layered applications using ASP.NET 4.5 and Entity Framework 5 Code First. In this part you&rsquo;ll see how to build a Web UI using ASP.NET MVC 4 and make use of the model and repository projects I have shown in the past five articles. </p> http://imar.spaanjaars.com/578/aspnet-n-layered-applications-implementing-an-aspnet-mvc-4-frontend-part-6 http://imar.spaanjaars.com/578/aspnet-n-layered-applications-implementing-an-aspnet-mvc-4-frontend-part-6 Sat, 28 Sep 2013 16:52:15 GMT /Rss/Comments/578 /Rss/Comments/578 /Rss/Comments/578 43 Imar Spaanjaars ASP.NET N-Layered Applications - Implementing a Repository using EF Code First (Part 5) <p><strong>Note: this is part five in a series of ten. If you rather read this entire series off-line, you can buy the full series as a convenient PDF document that comes with the full source. Besides the convenience, buying the PDF will also make you feel good as it shows your appreciation for the articles and helps me pay the bills for my server and hosting so I can keep running imar.spaanjaars.com and continue to provide you with great content. For more details, check out <a href="/587/new-article-series-on-aspnet-45-n-layered-design-now-available-for-purchase">this post that shows you how you can buy the entire series right now</a>.</strong></p> <p>This is Part 5 in a series of 10 that show you how to build N-Layered applications using ASP.NET 4.5 and Entity Framework 5 Code First. In this part you&rsquo;ll see how to build a concrete implementation of the repository that was introduced in the preceding article. I&rsquo;ll show you how to create a data access layer that targets the Entity Framework (EF) and implements the repository interface in a clean and maintainable way.</p> http://imar.spaanjaars.com/577/aspnet-n-layered-applications-implementing-a-repository-using-ef-code-first-part-5 http://imar.spaanjaars.com/577/aspnet-n-layered-applications-implementing-a-repository-using-ef-code-first-part-5 Thu, 05 Sep 2013 16:00:52 GMT /Rss/Comments/577 /Rss/Comments/577 /Rss/Comments/577 56 Imar Spaanjaars ASP.NET N-Layered Applications - Implementing a Model (Part 4) <p><strong>Note: this is part four in a series of ten. If you rather read this entire series off-line, you can buy the full series as a convenient PDF document that comes with the full source. Besides the convenience, buying the PDF will also make you feel good as it shows your appreciation for the articles and helps me pay the bills for my server and hosting so I can keep running imar.spaanjaars.com and continue to provide you with great content. For more details, check out <a href="/587/new-article-series-on-aspnet-45-n-layered-design-now-available-for-purchase">this post that shows you how you can buy the entire series right now</a>.</strong></p> <p>This is Part 4 in a series of 10 that show you how to build N-Layered applications using ASP.NET 4.5 and Entity Framework 5 Code First. In this part you&rsquo;ll see how to build a model using POCO classes &ndash; Plain Old CLR Objects &ndash; that have no dependencies to external frameworks (such as a requirement to inherit from an Entity Framework base class). In addition, you will see how to create unit tests for your POCO classes as well as lay a foundation for validation of these classes.</p> http://imar.spaanjaars.com/576/aspnet-n-layered-applications-implementing-a-model-part-4 http://imar.spaanjaars.com/576/aspnet-n-layered-applications-implementing-a-model-part-4 Wed, 14 Aug 2013 11:52:34 GMT /Rss/Comments/576 /Rss/Comments/576 /Rss/Comments/576 40 Imar Spaanjaars ASP.NET N-Layered Applications - Making your Projects Unit Testable (Part 3) <p><strong>Note: this is part three in a series of ten. If you rather read this entire series off-line, you can buy the full series as a convenient PDF document that comes with the full source. Besides the convenience, buying the PDF will also make you feel good as it shows your appreciation for the articles and helps me pay the bills for my server and hosting so I can keep running imar.spaanjaars.com and continue to provide you with great content. For more details, check out <a href="/587/new-article-series-on-aspnet-45-n-layered-design-now-available-for-purchase">this post that shows you how you can buy the entire series right now</a>.</strong></p> <p>This is Part 3 in a series of 10 that show you how to build N-Layered applications using ASP.NET 4.5 and Entity Framework 5 Code First. In this part you&rsquo;ll see how to make your solution unit testable. In addition, you&rsquo;ll see how to setup a project for Integration tests which work similar to unit tests but that target the database directly. </p> http://imar.spaanjaars.com/575/aspnet-n-layered-applications-making-your-projects-unit-testable-part-3 http://imar.spaanjaars.com/575/aspnet-n-layered-applications-making-your-projects-unit-testable-part-3 Tue, 30 Jul 2013 20:44:14 GMT /Rss/Comments/575 /Rss/Comments/575 /Rss/Comments/575 4 Imar Spaanjaars ASP.NET N-Layered Applications - Setting up the Solution in Visual Studio (Part 2) <p><strong>Note: this is part two in a series of ten. If you rather read this entire series off-line, you can buy the full series as a convenient PDF document that comes with the full source. Besides the convenience, buying the PDF will also make you feel good as it shows your appreciation for the articles and helps me pay the bills for my server and hosting so I can keep running imar.spaanjaars.com and continue to provide you with great content. For more details, check out <a href="/587/new-article-series-on-aspnet-45-n-layered-design-now-available-for-purchase">this post that shows you how you can buy the entire series right now</a>.</strong></p> <p>This is Part 2 in a series of 10 that show you how to build N-Layered applications using ASP.NET 4.5 and Entity Framework 5 Code First. The previous article provided some history of the architecture of the Contact Manager application and gave a broad overview of the new architecture. In this installment, things get a bit more concrete when you see how to setup a solution in Visual Studio 2012. The VS solution is going to contain three class libraries: one for the Infrastructure, one for the application&rsquo;s Model and one to hold the Entity Framework (EF) Repository implementation. I&rsquo;ll also add four frontend projects (an ASP.NET MVC 4, a Web Forms project, a WCF service project, and a windows command line application) which are discussed in detail in Part 6, 7, 8 and 9 of this series respectively. In the next article in this series I&rsquo;ll extend the solution with four more projects for unit, integration, UI and service tests.</p> http://imar.spaanjaars.com/574/aspnet-n-layered-applications-setting-up-the-solution-in-visual-studio-part-2 http://imar.spaanjaars.com/574/aspnet-n-layered-applications-setting-up-the-solution-in-visual-studio-part-2 Fri, 12 Jul 2013 21:59:33 GMT /Rss/Comments/574 /Rss/Comments/574 /Rss/Comments/574 4 Imar Spaanjaars New Article Series on ASP.NET 4.5 N-Layered Design Now Available for Purchase <p>I am glad to announce the immediate availability of my new article series on N-Layered Design in ASP.NET 4.5! </p> http://imar.spaanjaars.com/587/new-article-series-on-aspnet-45-n-layered-design-now-available-for-purchase http://imar.spaanjaars.com/587/new-article-series-on-aspnet-45-n-layered-design-now-available-for-purchase Fri, 28 Jun 2013 16:45:40 GMT /Rss/Comments/587 /Rss/Comments/587 /Rss/Comments/587 12 Imar Spaanjaars ASP.NET N-Layered Applications - Introduction (Part 1) <p><strong>Note: this is part one in a series of ten. If you rather read this entire series off-line, you can buy the full series as a convenient PDF document that comes with the full source. Besides the convenience, buying the PDF will also make you feel good as it shows your appreciation for the articles and helps me pay the bills for my server and hosting so I can keep running imar.spaanjaars.com and continue to provide you with great content. For more details, check out <a href="/587/new-article-series-on-aspnet-45-n-layered-design-now-available-for-purchase">this post that shows you how you can buy the entire series right now</a>.</strong></p> <p>Now that the RTM versions of Visual Studio 2012 and .NET 4.5 have been out for a while, it seems like a good time to finally write the follow up to <a href="http://imar.spaanjaars.com/476/n-layered-web-applications-with-aspnet-35-part-1-general-introduction">my popular series on N-Layered design using ASP.NET 3.5</a> that I wrote in 2008 and early 2009. I have been wanting to do this for a long time, but there were always other things on my Todo list with a higher priority. The wait has been worth it though; since the last series targeting .NET 3.5 that I published in late 2008 and early 2009, new and compelling technologies have been released that make writing an N-Layered application such as the Contact Manager a lot easier to write.</p> http://imar.spaanjaars.com/573/aspnet-n-layered-applications-introduction-part-1 http://imar.spaanjaars.com/573/aspnet-n-layered-applications-introduction-part-1 Fri, 28 Jun 2013 16:42:40 GMT /Rss/Comments/573 /Rss/Comments/573 /Rss/Comments/573 43 Imar Spaanjaars Book Review: Instant jQuery 2.0 Table Manipulation How-to by Charlie Griefer Talks about the book Instant jQuery 2.0 Table Manipulation How-to by Charlie Griefer <p>I recently got the opportunity to review the book Instant jQuery 2.0 Table Manipulation How-to by Charlie Griefer. Being a fan and heavy user of jQuery, I happily accepted the offer.</p> http://imar.spaanjaars.com/584/book-review-instant-jquery-20-table-manipulation-how-to-by-charlie-griefer http://imar.spaanjaars.com/584/book-review-instant-jquery-20-table-manipulation-how-to-by-charlie-griefer Sun, 26 May 2013 22:34:11 GMT /Rss/Comments/584 /Rss/Comments/584 /Rss/Comments/584 0 Imar Spaanjaars Looking for Reviewers for my new Series on N-Layer Design with ASP.NET 4.5 and Entity Framework 5 Code First <p>During the past couple of months, I've been hard at work writing a follow up of my article series on N-Layer design for ASP.NET. This was long overdue, as I completed the previous series in early 2009, more than four years ago!</p> http://imar.spaanjaars.com/583/looking-for-reviewers-for-my-new-series-on-n-layer-design-with-aspnet-45-and-entity-framework-5-code-first http://imar.spaanjaars.com/583/looking-for-reviewers-for-my-new-series-on-n-layer-design-with-aspnet-45-and-entity-framework-5-code-first Tue, 23 Apr 2013 22:03:57 GMT /Rss/Comments/583 /Rss/Comments/583 /Rss/Comments/583 6 Imar Spaanjaars Approving Users and Assigning them to Roles After They Sign Up for an Account Back in July I wrote <a href="/569/requiring-users-to-confirm-their-e-mail-address-after-they-create-an-account">an article that showed how you can require your users to confirm their e-mail addresses</a> before they can access your site after signing up for a new account. In this article I describe a similar but slightly different technique where an administrator of the site can approve the account before the user gains access to the site. http://imar.spaanjaars.com/572/approving-users-and-assigning-them-to-roles-after-they-sign-up-for-an-account http://imar.spaanjaars.com/572/approving-users-and-assigning-them-to-roles-after-they-sign-up-for-an-account Sun, 11 Nov 2012 15:38:47 GMT /Rss/Comments/572 /Rss/Comments/572 /Rss/Comments/572 1 Imar Spaanjaars Letting Users Manage Their Own Data using ASP.NET 4.5 Web Forms <p>A question that comes up often on forums such as <a href="http://p2p.wrox.com" target="_blank">p2p.wrox.com</a> is how to let users manage their own data stored in a database. Probably the easiest way to accomplish this is to keep the user name in a separate column. Then when you query the data, you add a WHERE clause that retrieves only those rows that matches the user's name. Likewise, when inserting data, you store the user name along with that data.</p> <p>But how do you capture the user's name? In the remainder of this article you see a two different ways to retrieve the user name of the currently logged in user.</p> http://imar.spaanjaars.com/571/letting-users-manage-their-own-data-using-aspnet-45-web-forms http://imar.spaanjaars.com/571/letting-users-manage-their-own-data-using-aspnet-45-web-forms Sat, 10 Nov 2012 16:30:38 GMT /Rss/Comments/571 /Rss/Comments/571 /Rss/Comments/571 9 Imar Spaanjaars Implementing View State properties <p>By design HTTP, the protocol used to request and deliver web pages, is stateless. What that means is that the server does not keep track of requests you made to the browser. As far as the server is concerned, each request for a page is an entirely new one and is not related to any previous request you may have made.</p> <p>This of course causes issues if you need to maintain data for a specific user. To overcome these problems, web developers have a number of solutions available, including session state, cookies and hidden form fields. ASP.NET Web Forms has been hiding much of this complexity by implementing a concept called View State. Controls (including the <span class="CodeInText">Page</span> class itself) can read from and write to the View State collection to maintain data across postbacks. Controls such as <span class="CodeInText">Label</span> use this mechanism to send their values to and from the browser, maintaining them across postbacks.</p> <p>In this article you'll see how to leverage View State to store your own values as well.</p> http://imar.spaanjaars.com/570/implementing-view-state-properties http://imar.spaanjaars.com/570/implementing-view-state-properties Sun, 29 Jul 2012 16:04:03 GMT /Rss/Comments/570 /Rss/Comments/570 /Rss/Comments/570 2 Imar Spaanjaars Requiring Users to Confirm their E-mail Address after they Create an Account <p>Over the past couple of weeks I received a number of e-mails from readers with more or less the same question: how do you require users to confirm their e-mail addresses before they are allowed to log in with an account they just created. Rather than answer them individually by e-mail, I decided to write this article to explain the principles.</p> http://imar.spaanjaars.com/569/requiring-users-to-confirm-their-e-mail-address-after-they-create-an-account http://imar.spaanjaars.com/569/requiring-users-to-confirm-their-e-mail-address-after-they-create-an-account Wed, 18 Jul 2012 14:04:02 GMT /Rss/Comments/569 /Rss/Comments/569 /Rss/Comments/569 15 Imar Spaanjaars Uploading Multiple Files at Once using ASP.NET 4.5 In versions of ASP.NET before 4.5 there was no direct way to enable a user to upload multiple files at once. The <span class="CodeInText">FileUpload</span> control only supported a single file at the time. Common solutions to uploading multiple files were to use a server-side control such as those from <a href="http://demos.telerik.com/aspnet-ajax/upload/examples/overview/defaultcs.aspx" target="_blank">Telerik</a> or <a href="http://www.devexpress.com/Products/NET/Controls/ASP/#main|controls" target="_blank">DevExpress</a> or to use a client-side solution using a jQuery plugin for example. In the latter case, you would access <span class="CodeInText">Request.Files</span> to get at the uploaded files, rather than retrieving them form a <span class="CodeInText">FileUpload</span> control directly. Fortunately, in ASP.NET 4.5 uploading multiple files is now really easy. http://imar.spaanjaars.com/567/uploading-multiple-files-at-once-using-aspnet-45 http://imar.spaanjaars.com/567/uploading-multiple-files-at-once-using-aspnet-45 Sun, 08 Apr 2012 11:14:56 GMT /Rss/Comments/567 /Rss/Comments/567 /Rss/Comments/567 20 Imar Spaanjaars Modifying the CreateUserWizard Control <p>The <span class="CodeInText">CreateUserWizard</span> control in ASP.NET makes it super easy for your users to sign up for an account. Simply add it to a page, configure it, and you're good to go. In addition, you can control the way it behaves using settings in the <span class="CodeInText">web.config</span> file (such as whether or not duplicate e-mails are OK, password lengths and strength, whether or not you want to implement a &quot;security question and answer&quot; and so on). Also, when you don't like its appearance, you can customize the wizard's steps which expands its underlying HTML into your page, so you get full control over the rendering.</p> <p>However, when you customize the steps, you'll find that the config setting that controls the display of the &quot;security question and answer&quot; no longer works as expected. In this article you see how to set up your control so it still takes the config settings into account.</p> http://imar.spaanjaars.com/566/modifying-the-createuserwizard-control http://imar.spaanjaars.com/566/modifying-the-createuserwizard-control Sat, 14 Jan 2012 15:57:54 GMT /Rss/Comments/566 /Rss/Comments/566 /Rss/Comments/566 6 Imar Spaanjaars Recommendations for setting up a Visual Studio Solution for TFS <p>Over the past weeks I received a number of requests to explain how I typically set up my Visual Studio projects so they are easy to manage across a team that uses Team Foundation Server (TFS). I received another request from a client just this week and instead of helping him over the phone or paying him a visit and do it for him, I decided to write a quick document with instructions which eventually resulted in this article.</p> <p>In this article you'll see how to create a multi-project solution in Visual Studio. I'll show you how you can use this structure to set up an ASP.NET MVC 3 application with a separate class library project for business logic and one or more unit test projects. However, you can use the exact same principles for other types of Visual Studio projects such as Web Forms, Win Forms, WCF and more. Over the past years, I found that this set up brings me the following benefits:</p> <ul> <li>It has a clear structure, making it easy to figure out where to find or store something</li> <li>It can be retrieved from TFS without any hassle</li> <li>It allows for easy branching</li> <li>It resolves most reference issues to third party assemblies</li> </ul> <p>This is just my take at setting it up. If you find anything wrong, or have better alternatives to accomplish the same thing: feel free to speak up using the Comments section at the end of this article. </p> <p>Without further ado, let's get started.</p> http://imar.spaanjaars.com/565/recommendations-for-setting-up-a-visual-studio-solution-for-tfs http://imar.spaanjaars.com/565/recommendations-for-setting-up-a-visual-studio-solution-for-tfs Sun, 20 Nov 2011 16:54:42 GMT /Rss/Comments/565 /Rss/Comments/565 /Rss/Comments/565 18 Imar Spaanjaars Renewed as a Microsoft MVP Again! <p>Today I received the following e-mail from Toby Richards, General Manager of Community &amp; Online Support at Microsoft:</p> <div class="CodeBorder"><div class="CodeForeground"> <p>Congratulations! We are pleased to present you with the 2011 Microsoft® MVP Award! This award is given to exceptional technical community leaders who actively share their high quality, real world expertise with others. We appreciate your outstanding contributions in ASP.NET/IIS technical communities during the past year. </p><p> The Microsoft MVP Award provides us the unique opportunity to celebrate and honor your significant contributions and say "Thank you for your technical leadership."</p></div></div> http://imar.spaanjaars.com/564/renewed-as-a-microsoft-mvp-again http://imar.spaanjaars.com/564/renewed-as-a-microsoft-mvp-again Sat, 01 Oct 2011 13:49:38 GMT /Rss/Comments/564 /Rss/Comments/564 /Rss/Comments/564 15 Imar Spaanjaars Using Entity Framework Code First and ASP.NET Membership Together <p>Some time ago I was involved as a software designer and developer in an MVC 3 project that used Entity Framework Code First 4.1 in a repository layer. During development we postponed dealing with security as requirements were pretty simple (simple logons with a single Administrators role plus the requirement that users should only be able to see their own data). When we were close to deployment, we ran the <a href="http://weblogs.asp.net/scottgu/archive/2005/08/25/423703.aspx" target="_blank">aspnet_regsql</a> tool against the database that EF had created for us to create the SQL schema and data that the Application Services such as Membership and Roles require. We also added an additional <span class="CodeInText">userName</span> parameter to a <span class="CodeInText">Get</span> method in the repository to filter records for the currently logged in user. Finally, we added <span class="CodeInText">Authorize</span> attributes to a number of controllers to make sure they are only accessible for users that are logged in. We then deployed the application and database, created a number of users using the <a href="http://mvcmembership.codeplex.com/" target="_blank">MvcMembership</a> section we had added to the site, and announced the presence of the site. All of this worked great, but we ran into issues when started work on the next version of the application.</p> http://imar.spaanjaars.com/563/using-entity-framework-code-first-and-aspnet-membership-together http://imar.spaanjaars.com/563/using-entity-framework-code-first-and-aspnet-membership-together Sat, 20 Aug 2011 10:52:16 GMT /Rss/Comments/563 /Rss/Comments/563 /Rss/Comments/563 16 Imar Spaanjaars Creating Checkboxes that Behave Like Radio Buttons with jQuery <p>Some time ago I received <a href="http://p2p.wrox.com/book-beginning-asp-net-3-5-c-vb-book-isbn-978-0-470-18759-3/84366-how-make-gridview-checkbox-act-like-radiobutton.html" target="_blank">a question</a> on the <a href="http://p2p.wrox.com/" target="_blank">Wrox P2P forum</a> about checkboxes that should behave like radio buttons. The poster of the question was looking for a (client side) solution to have multiple checkboxes per row in a <span class="CodeInText">GridView</span> with multiple rows. A user should only be able to check off at most one of the checkboxes in each row. My first thought was to use radio buttons instead, but then I realized that with radio buttons you lose the ability to uncheck all options. Once you've selected a radio button in a group of radio buttons, there's no way for an end user to uncheck it again.</p> <p>Fortunately, with a bit of jQuery, this is really simple to accomplish with checkboxes as I'll show you in this short article.</p> http://imar.spaanjaars.com/562/creating-checkboxes-that-behave-like-radio-buttons-with-jquery http://imar.spaanjaars.com/562/creating-checkboxes-that-behave-like-radio-buttons-with-jquery Thu, 21 Jul 2011 13:16:02 GMT /Rss/Comments/562 /Rss/Comments/562 /Rss/Comments/562 5 Imar Spaanjaars How to Get a Free License of Red Gate's Reflector Version 7 <p>About three weeks ago, <a href="http://www.red-gate.com/" target="_blank">Red Gate</a> announced that it will start charging $35 for <a href="http://www.red-gate.com/products/dotnet-development/reflector/" target="_blank">Reflector</a> version 7, when it comes out in early March. At the same time, they announced that the current free version will stop functioning shortly after that. Reflector has a &quot;time bomb&quot; built-in that requires you to periodically update your copy of Reflector to the latest version. They'll now use this time-bomb to kill the existing version, forcing you to upgrade to the latest - and paid for - version after May 30, 2011. </p> http://imar.spaanjaars.com/561/how-to-get-a-free-license-of-red-gates-reflector-version-7 http://imar.spaanjaars.com/561/how-to-get-a-free-license-of-red-gates-reflector-version-7 Sun, 13 Feb 2011 13:01:40 GMT /Rss/Comments/561 /Rss/Comments/561 /Rss/Comments/561 5 Imar Spaanjaars Using the Microsoft Access Providers for Membership, Roles and Profile under ASP.NET 4 <p>Back in August 2006 I wrote an article about <a href="/404/using-the-microsoft-access-providers-to-replace-the-built-in-sql-server-providers">replacing the built-in Application Services providers (such as the Membership and Roles providers)</a> with a new provider targeting a Microsoft Access database, instead of a SQL Server database. This solution has worked well for many people who didn't have access to SQL Server on their production machine, or couldn't (or didn't want to) spend a lot of money for an extended hosting package that includes SQL Server.</p> <p>I wrote the article using Visual Studio 2005 and the Microsoft .NET Framework 2.0 which was the bomb at that time. And while you can continue to use the concepts explained in the article in web sites that target ASP.NET 4 today without any modifications (you can easily consume .NET 2.0 DLLs in an ASP.NET 4 web site), you may run into some issues when you also want to compile the Access Providers assembly against .NET 4. </p> <p>In this article I'll show you how to make the Access Providers work under an ASP.NET 4.0 web site.</p> http://imar.spaanjaars.com/560/using-the-microsoft-access-providers-for-membership-roles-and-profile-under-aspnet-4 http://imar.spaanjaars.com/560/using-the-microsoft-access-providers-for-membership-roles-and-profile-under-aspnet-4 Sun, 09 Jan 2011 11:09:56 GMT /Rss/Comments/560 /Rss/Comments/560 /Rss/Comments/560 12 Imar Spaanjaars Troubleshooting Team Foundation Server and IIS <p>Since about two weeks, I ran into all kinds of errors when working with Team Foundation Server 2010 using Visual Studio 2010. Whenever I tried to execute operations on a project level, such as updating to the latest version, getting a specific version, or checking in the entire project, I got all kinds of error messages. Checking in - or getting files - one by one seemed to work just fine. </p> http://imar.spaanjaars.com/559/troubleshooting-team-foundation-server-and-iis http://imar.spaanjaars.com/559/troubleshooting-team-foundation-server-and-iis Tue, 05 Oct 2010 18:41:42 GMT /Rss/Comments/559 /Rss/Comments/559 /Rss/Comments/559 4 Imar Spaanjaars Tips for posting in the Wrox Forums <p>I am an active contributor to the <a href="http://p2p.wrox.com/" target="_blank">Wrox P2P forums</a>, where I support readers of my books and other programmers that go there with programming related questions. I try to answer as many questions as I can but I only have a limited amount of time. This means I'll give preference to questions that are the easiest to answer. This is not related to the technical difficulty of the problem discussed, but to the quality of the question. Obviously, if you post a clear and concise question, you increase your chances of getting a useful and quick reply as it takes less time to understand the question and come up with an answer. Unfortunately, I see more and more people posting vague questions, and posting them in the wrong category. To avoid typing the same response over and over again asking for clarification, I decided to write a short blog post with a few tips for proper questions in these forums where I can refer to when unclear questions come up. If you get sent to this page, it's not that people don't want to help you; it's that they can't help you because the question is unclear or posted in an inappropriate location. Follow these tips and you'll improve the chances of getting the answer you're waiting for.</p> http://imar.spaanjaars.com/557/tips-for-posting-in-the-wrox-forums http://imar.spaanjaars.com/557/tips-for-posting-in-the-wrox-forums Mon, 16 Aug 2010 11:06:01 GMT /Rss/Comments/557 /Rss/Comments/557 /Rss/Comments/557 0 Imar Spaanjaars Building a Provider Based File Storage System Using .NET <p>Many moons ago, in January 2007 to be exact, I wrote <a href="/414/storing-uploaded-files-in-a-database-or-in-the-file-system-with-aspnet-20">an article about storing files in the database using ASP.NET 2.0 and SQL Server</a>. One of the features of the application I demonstrated in the article was the ability to switch between storing the actual file in the database, or saving it on disk. In both cases, meta data such as the content type and the original name were saved in the database, but by changing a configuration setting called <span class="CodeInText">DataStoreType</span> you could determine if the actual file was saved on disk, or stored in an NText column in the database together with the meta data. In February of the same year, Steven Bey suggested to rewrite the application and base it on the provider model that has become a quite popular design pattern since it was introduced for the ASP.NET Application Services that appeared in ASP.NET 2.0. I added Steven's suggestion to my &quot;Things to do when I have the time for them&quot; list. And today is the day I finally found the time to do it. In this article I'll show you how I changed the application using the provider based model so you can switch between different providers, including various flavors of SQL Server and Microsoft Access. Adding support for other data stores then becomes really simple.</p> http://imar.spaanjaars.com/556/building-a-provider-based-file-storage-system-using-net http://imar.spaanjaars.com/556/building-a-provider-based-file-storage-system-using-net Tue, 10 Aug 2010 21:03:55 GMT /Rss/Comments/556 /Rss/Comments/556 /Rss/Comments/556 19 Imar Spaanjaars Programmatically Managing Application Services in ASP.NET <p>Since version 2.0, ASP.NET ships with a set of the so called <em>Application Services</em>, including Membership, the Role Manager, Personalization, Profile and the SqlWebEventProvider. To enable these features, you have a few options. The most common way is to just start using one of the features, such as <span class="CodeInText">Login</span> control on an ASPX page. The default setup is configured to automatically create a SQL Server database in the <span class="FileName">App_Data</span> folder of a site with the services already enabled. Another very common way, to get more control over the setup is to use the <a href="http://msdn.microsoft.com/en-us/library/x28wfk74.aspx" target="_blank" class="FileName">aspnet_regsql</a> tool. This GUI or command line tool gives you more control over the SQL Server and database you're targeting and the exact features you want to install. The downside of this tool is that you need to run it locally and need the permissions to execute it.</p> <p>I recently discovered that you can also manage the application services programmatically.</p> http://imar.spaanjaars.com/555/programmatically-managing-application-services-in-aspnet http://imar.spaanjaars.com/555/programmatically-managing-application-services-in-aspnet Wed, 04 Aug 2010 12:12:37 GMT /Rss/Comments/555 /Rss/Comments/555 /Rss/Comments/555 3 Imar Spaanjaars Want to Win a Copy of my Book Beginning ASP.NET 4 in C# and VB? <p>I still have a number of copies of my latest book <a href="/about/aboutmybooks/beginningaspnet4">Beginning ASP.NET 4 in C# and VB</a> waiting on my desk for someone to read them. Want to win a copy? </p> http://imar.spaanjaars.com/554/want-to-win-a-copy-of-my-book-beginning-aspnet-4-in-c-sharp-and-vb http://imar.spaanjaars.com/554/want-to-win-a-copy-of-my-book-beginning-aspnet-4-in-c-sharp-and-vb Tue, 03 Aug 2010 15:08:42 GMT /Rss/Comments/554 /Rss/Comments/554 /Rss/Comments/554 18 Imar Spaanjaars Book Review: Professional Application Lifecycle Management with Visual Studio 2010 By Mickey Gousset et al. <p>Ever since it was announced, Professional Application Lifecycle Management with Visual Studio 2010 was high on my list of books to read. I've been using Visual Studio, and team Foundation Server since the first releases of the products, but really needed to dig a little deeper in some of the core concepts. Because the Visual Studio 2010 release is quite large with lots of new features, especially in terms of ALM and TFS, I was on the lookout for a book that showed me what's new, and how to use it. It turned out that this book, by Mickey Gousset and others, is an excellent guide to many of the new features in Visual Studio 2010 and Team Foundation Server 2010.</p> http://imar.spaanjaars.com/553/book-review-professional-application-lifecycle-management-with-visual-studio-2010-by-mickey-gousset-et-al http://imar.spaanjaars.com/553/book-review-professional-application-lifecycle-management-with-visual-studio-2010-by-mickey-gousset-et-al Sun, 01 Aug 2010 16:33:44 GMT /Rss/Comments/553 /Rss/Comments/553 /Rss/Comments/553 1 Imar Spaanjaars Using Virtual Restore to Attach Databases Directly from Backup Files About a week ago I was introduced to <a href="http://www.red-gate.com/products/SQL_Virtual_Restore/index.htm" target="_blank">Red Gate's SQL Virtual Restore 2</a>. SQL Virtual Restore lets you mount live, fully functional databases direct from backups without the need for a physical restore. http://imar.spaanjaars.com/552/using-virtual-restore-to-attach-databases-directly-from-backup-files http://imar.spaanjaars.com/552/using-virtual-restore-to-attach-databases-directly-from-backup-files Sun, 01 Aug 2010 15:16:04 GMT /Rss/Comments/552 /Rss/Comments/552 /Rss/Comments/552 0 Imar Spaanjaars Follow my Articles About Dynamicweb CMS, eCommerce and Extensibility You may have noticed that in the past couple of weeks I am posting less frequent on this web site, imar.spaanjaars.com. The reason for the absence of new content is my other, new content project: articles about Dynamicweb CMS and eCommerce. http://imar.spaanjaars.com/551/follow-my-articles-about-dynamicweb-cms-ecommerce-and-extensibility http://imar.spaanjaars.com/551/follow-my-articles-about-dynamicweb-cms-ecommerce-and-extensibility Sun, 01 Aug 2010 14:30:26 GMT /Rss/Comments/551 /Rss/Comments/551 /Rss/Comments/551 0 Imar Spaanjaars Making Application Configuration Easier Using the Castle DictionaryAdapter If you've done any development in ASP.NET, you're probably aware of the presence of the <span class="CodeInText">&lt;appSettings /&gt;</span> element in <span class="FileName">web.config</span> that enables you to store centralized configuration settings. You can use that element to store settings such as e-mail addresses and sender names for outgoing e-mail, settings that determine whether or not to send e-mail in certain conditions, default page sizes and a lot more. While this feature greatly decreases the troubles typically associated with configuration settings in multiple deployment scenarios (development versus a production environment for example), you can use an external component called the Castle DictionaryAdapter to make using the appSettings element even easier.<br/> http://imar.spaanjaars.com/550/making-application-configuration-easier-using-the-castle-dictionaryadapter http://imar.spaanjaars.com/550/making-application-configuration-easier-using-the-castle-dictionaryadapter Fri, 30 Jul 2010 14:17:07 GMT /Rss/Comments/550 /Rss/Comments/550 /Rss/Comments/550 9 Imar Spaanjaars How Do I Make a Full Table Row Clickable Using jQuery? Back in 2004, I wrote <a href="/312/how-do-i-make-a-full-table-row-clickable">an article about making a full table row clickable using JavaScript</a>, so you could click anywhere in the table row to browse to a new page. That solution used quite a bit of in-line JavaScript to accomplish that task which adds to the size and complexity of the page. Since then, the JavaScript landscape has changed quite a bit with the introduction of JavaScript libraries such as <a href="http://www.prototypejs.org/" target="_blank">Prototype</a> and <a href="http://www.jquery.com/" target="_blank">jQuery</a>. Because my initial article is in the top 10 results for &quot;<a href="http://www.google.com/search?hl=en&q=full+row+select+javascript&aq=f&aqi=&aql=&oq=&gs_rfai=" target="_blank">full row select javascript</a>&quot; on Google, I figured it made sense to write a new, cleaner and more modern version of it using one of those libraries: jQuery. http://imar.spaanjaars.com/549/how-do-i-make-a-full-table-row-clickable-using-jquery http://imar.spaanjaars.com/549/how-do-i-make-a-full-table-row-clickable-using-jquery Wed, 28 Jul 2010 10:04:14 GMT /Rss/Comments/549 /Rss/Comments/549 /Rss/Comments/549 17 Imar Spaanjaars 6 Tips to Improve Code Downloads for your Blog <p>Don't you just hate it? You read an interesting programming related article on the web that comes with source code. You downloaded the source so you can look at it later. When you open the file later, you've long forgotten where you got the file, or which concept it was supposed to demonstrate. Worse, the download contains a gazillion files, making it pretty impossible to find the stuff you're looking for yourself. Rather than two or three files demonstrating the topics originally discussed in the article you read, you're faced with a gazillion ReSharper cache files, useless .suo and .user files, obj folder and more. Take, for example, this article &quot;<a href="http://www.dotnetcurry.com/(S(sqo11a55i3gbj25500tu0145))/ShowArticle.aspx?ID=532" target="_blank">Using Dynamic Views In ASP.NET MVC 2</a>&quot; (note: I am not picking on the author here personally; it's just an example I ran into recently that shows most of the problems I face with code downloads; it's easy to come up with many other examples). The relevant code is only 18 lines long (7 in the View and another 11 in a controller class), yet when you unpack the zip file you get 79 files. Granted, some are needed to run the example as an MVC site, but with a bit of clean up, the number of files can easily be reduced to 27 plus 1 by following these simple tips.</p> http://imar.spaanjaars.com/548/6-tips-to-improve-code-downloads-for-your-blog http://imar.spaanjaars.com/548/6-tips-to-improve-code-downloads-for-your-blog Thu, 01 Jul 2010 15:45:28 GMT /Rss/Comments/548 /Rss/Comments/548 /Rss/Comments/548 0 Imar Spaanjaars Welcome to the WebMatrix - Introducing Microsoft's new Web Stack <p>Ever since Microsoft released ASP.NET in 2002, web developers have been able to use a powerful platform to build a wide range of web applications and services. But this power comes at a price. Getting started with ASP.NET takes quite some time and effort. Before you can run your first Hello World page, you need to download and install a lot of software, taking up quite a bit of time and bandwidth. You need Visual Web Developer (Express), you need SQL Server (Express or any other version) and you may need IIS if you want to test out more realistic scenarios, some of which require special privileges for the account you use on your machine. Once you have all the tools, the real work begins. My latest book, Beginning ASP.NET 4 in C# and VB needed 803 pages to take you from a developer newbie to a competent ASP.NET web developer. </p> <p>In other words, you're facing quite some hurdles when you want to start developing web applications on the Microsoft platform, especially if you're a hobbyist web developer. </p> <p>To make the Microsoft stack more appealing to beginning web developers, Microsoft is introducing WebMatrix.</p> http://imar.spaanjaars.com/547/welcome-to-the-webmatrix-introducing-microsofts-new-web-stack http://imar.spaanjaars.com/547/welcome-to-the-webmatrix-introducing-microsofts-new-web-stack Tue, 29 Jun 2010 12:55:03 GMT /Rss/Comments/547 /Rss/Comments/547 /Rss/Comments/547 12 Imar Spaanjaars Using Grouping instead of Distinct in Entity Framework to Optimize Performance On a number of pages on this web site I display a list of articles. For example, the home page shows a list of all articles from all categories. The FAQs page shows articles from the FAQs category only. Internally, the content items in the database (sorted in the Content table) are linked through a junction table to the Roles table. This enables me to publish content targeting specific roles. Anonymous users see content for the Anonymous role only, while, for example, I as the site administrator can see content that is assigned to the Administrators role only. I use this in order to add content to my site which is not public yet. http://imar.spaanjaars.com/546/using-grouping-instead-of-distinct-in-entity-framework-to-optimize-performance http://imar.spaanjaars.com/546/using-grouping-instead-of-distinct-in-entity-framework-to-optimize-performance Mon, 28 Jun 2010 13:10:18 GMT /Rss/Comments/546 /Rss/Comments/546 /Rss/Comments/546 11 Imar Spaanjaars Sketch and Prototype Tools Review - Part - 6 - And the winner is... <p>Over the past couple of weeks I've been reviewing a number of Sketch and Mockup Tools. You can find the complete series here: </p> <ul> <li><a href="/531/sketch-and-prototype-tools-review-part-1-balsamiq">Balsamiq Mockups</a></li> <li><a href="/532/sketch-and-prototype-tools-review-part-2-axure-rp-pro-56">Axure RP Pro</a></li> <li><a href="/535/sketch-and-prototype-tools-review-part-3-microsoft-office-visio-2010">Microsoft Visio with the 'GUUUI Sketchy GUI Shapes'</a></li> <li> <a href="/539/sketch-and-prototype-tools-review-part-4-pencil">Pencil</a></li> <li><a href="/544/sketch-and-prototype-tools-review-part-5-microsoft-expression-blend-4-sketch-flow">Microsoft Expression Blend 4 + SketchFlow</a></li> </ul> <p>For now I won't be reviewing any other tools as I haven't worked with them (extensively) enough to say something useful about them. Thanks to everyone who contributed suggestions for additional tools to review.</p> <p>To close off the series, I'll briefly recap the five tools and give my opinion of the one(s) I liked best.</p> http://imar.spaanjaars.com/545/sketch-and-prototype-tools-review-part-6-and-the-winner-is http://imar.spaanjaars.com/545/sketch-and-prototype-tools-review-part-6-and-the-winner-is Fri, 25 Jun 2010 15:28:55 GMT /Rss/Comments/545 /Rss/Comments/545 /Rss/Comments/545 7 Imar Spaanjaars Sketch and Prototype Tools Review - Part 5 - Microsoft Expression Blend 4 + Sketch Flow <p>As a software designer and web developer I usually focus on the back end of web sites and applications and leave the User Interface and UX design to people more knowledgeable. Still, occasionally I have the need to do some sketching and drawing with a customer, for example when designing a web interface or when working on use case documents. While paper and pencil often work fine, they lack durability and the result is hard to share, especially with &quot;digital&quot; clients or clients in a different country. Over the years, I've been working with a number of software design tools to aid me in this process. Since I get asked which tools I use every now and then, I decided to write a short blog series outlining a number of these tools, including <a href="/531/sketch-and-prototype-tools-review-part-1-balsamiq">Balsamiq Mockups</a>, <a href="/532/sketch-and-prototype-tools-review-part-2-axure-rp-pro-56">Axure RP Pro</a>, <a href="/535/sketch-and-prototype-tools-review-part-3-microsoft-office-visio-2010">Microsoft Visio with the 'GUUUI Sketchy GUI Shapes'</a>, <a href="/539/sketch-and-prototype-tools-review-part-4-pencil">Pencil</a>, and Microsoft's SketchFlow. </p> <p>In this series I'll be (re)creating a design mockup for the Management section of my web site with each of the tools, giving you the opportunity to compare their output. You'll find a screen shot of the existing Management section at the end of this article.</p> <p>Today's tool: Microsoft Expression Blend 4 + SketchFlow</p> http://imar.spaanjaars.com/544/sketch-and-prototype-tools-review-part-5-microsoft-expression-blend-4-sketch-flow http://imar.spaanjaars.com/544/sketch-and-prototype-tools-review-part-5-microsoft-expression-blend-4-sketch-flow Fri, 25 Jun 2010 13:17:49 GMT /Rss/Comments/544 /Rss/Comments/544 /Rss/Comments/544 0 Imar Spaanjaars Book Review: .NET Performance Testing and Optimization by Paul Glavich and Chris Farrell <p>I recently got the chance to review the book .NET Performance Testing and Optimization by Paul Glavich and Chris Farrell published by Simple Talk Publishing. Since I am usually a &quot;performance aware&quot; coder and try to think about performance right from the start, I was looking forward to this book with the hopes to learn a few new tricks, techniques and tools. Having read it now, I am not disappointed.<p> http://imar.spaanjaars.com/543/book-review-net-performance-testing-and-optimization-by-paul-glavich-and-chris-farrell http://imar.spaanjaars.com/543/book-review-net-performance-testing-and-optimization-by-paul-glavich-and-chris-farrell Wed, 23 Jun 2010 19:13:52 GMT /Rss/Comments/543 /Rss/Comments/543 /Rss/Comments/543 1 Imar Spaanjaars Sketch and Prototype Tools Review - Part 4 - Pencil <p>As a software designer and web developer I usually focus on the back end of web sites and applications and leave the User Interface and UX design to people more knowledgeable. Still, occasionally I have the need to do some sketching and drawing with a customer, for example when designing a web interface or when working on use case documents. While paper and pencil often work fine, they lack durability and the result is hard to share, especially with &quot;digital&quot; clients or clients in a different country. Over the years, I've been working with a number of software design tools to aid me in this process. Since I get asked which tools I use every now and then, I decided to write a short blog series outlining a number of these tools, including <a href="/531/sketch-and-prototype-tools-review-part-1-balsamiq">Balsamiq Mockups</a>, <a href="/532/sketch-and-prototype-tools-review-part-2-axure-rp-pro-56">Axure RP Pro</a>, <a href="/535/sketch-and-prototype-tools-review-part-3-microsoft-office-visio-2010">Microsoft Visio with the 'GUUUI Sketchy GUI Shapes'</a>, Pencil, and <a href="/544/sketch-and-prototype-tools-review-part-5-microsoft-expression-blend-4-sketch-flow">Microsoft's Sketchflow</a>. </p> <p>In this series I'll be (re)creating a design mockup for the Management section of my web site with each of the tools, giving you the opportunity to compare their output. You'll find a screen shot of the existing Management section at the end of this article.</p> <p>Today's tool: Pencil 1.2. </p> http://imar.spaanjaars.com/539/sketch-and-prototype-tools-review-part-4-pencil http://imar.spaanjaars.com/539/sketch-and-prototype-tools-review-part-4-pencil Tue, 08 Jun 2010 23:09:25 GMT /Rss/Comments/539 /Rss/Comments/539 /Rss/Comments/539 15 Imar Spaanjaars Using .Less to Change the Way You Write Your CSS I wanted to write a post about .Less for some time, but never found the right time to do so. Now that I am changing my own web site from ASP.NET Web Forms to ASP.NET MVC 2, I thought it was a good idea to incorporate .Less (pronounced as Dot Less) in my own web site and write a little blog post about it http://imar.spaanjaars.com/536/using-less-to-change-the-way-you-write-your-css http://imar.spaanjaars.com/536/using-less-to-change-the-way-you-write-your-css Thu, 03 Jun 2010 11:10:24 GMT /Rss/Comments/536 /Rss/Comments/536 /Rss/Comments/536 17 Imar Spaanjaars Sketch and Prototype Tools Review - Part 3 - Microsoft Office Visio 2010 <p>As a software designer and web developer I usually focus on the back end of web sites and applications and leave the User Interface and UX design to people more knowledgeable. Still, occasionally I have the need to do some sketching and drawing with a customer, for example when designing a web interface or when working on use case documents. While paper and pencil often work fine, they lack durability. Additionally, the result is hard to share, especially with &quot;digital&quot; clients or clients in a different country. Over the years, I've been working with a number of software design tools to aid me in this process. Since I get asked which tools I use every now and then, I decided to write a short blog series outlining a number of these tools, including <a href="/531/sketch-and-prototype-tools-review-part-1-balsamiq">Balsamiq Mockups</a>, <a href="/532/sketch-and-prototype-tools-review-part-2-axure-rp-pro-56">Axure RP Pro</a>, Microsoft Visio with the 'GUUUI Sketchy GUI Shapes' stencil, <a href="/539/sketch-and-prototype-tools-review-part-4-pencil">Pencil</a>, and <a href="/544/sketch-and-prototype-tools-review-part-5-microsoft-expression-blend-4-sketch-flow">Microsoft's Sketchflow</a>. </p> <p>In this series I'll be (re)creating a design mockup for the Management section of my web site with each of the tools, giving you the opportunity to compare their output. You'll find a screen shot of the existing Management section at the end of this article.</p> <p>Today's tool: Microsoft Office Visio 2010. </p> http://imar.spaanjaars.com/535/sketch-and-prototype-tools-review-part-3-microsoft-office-visio-2010 http://imar.spaanjaars.com/535/sketch-and-prototype-tools-review-part-3-microsoft-office-visio-2010 Tue, 01 Jun 2010 22:03:49 GMT /Rss/Comments/535 /Rss/Comments/535 /Rss/Comments/535 0 Imar Spaanjaars Rebuilding imar.spaanjaars.com in ASP.NET MVC 2 - Part 5 - RTW You may have noticed that I released the final MVC 2 version of my web site at imar.spaanjaars.com a few days ago. http://imar.spaanjaars.com/534/rebuilding-imarspaanjaarscom-in-aspnet-mvc-2-part-5-rtw http://imar.spaanjaars.com/534/rebuilding-imarspaanjaarscom-in-aspnet-mvc-2-part-5-rtw Tue, 25 May 2010 15:52:37 GMT /Rss/Comments/534 /Rss/Comments/534 /Rss/Comments/534 30 Imar Spaanjaars Sketch and Prototype Tools Review - Part 2 - Axure RP Pro 5.6 <p>As a software designer and web developer I usually focus on the back end of web sites and applications and leave the User Interface and UX design to people more knowledgeable. Still, occasionally I have the need to do some sketching and drawing with a customer, for example when designing a web interface or when working on use case documents. While paper and pencil often work fine, they lack durability. Additionally, the result is hard to share, especially with &quot;digital&quot; clients or clients in a different country. Over the years, I've been working with a number of software design tools to aid me in this process. Since I get asked which tools I use every now and then, I decided to write a short blog series outlining a number of these tools, including <a href="/531/sketch-and-prototype-tools-review-part-1-balsamiq">Balsamiq Mockups</a>, Axure RP Pro, <a href="/535/sketch-and-prototype-tools-review-part-3-microsoft-office-visio-2010">Microsoft Visio with the 'GUUUI Sketchy GUI Shapes' stencil</a>, <a href="/539/sketch-and-prototype-tools-review-part-4-pencil">Pencil</a>, and <a href="/544/sketch-and-prototype-tools-review-part-5-microsoft-expression-blend-4-sketch-flow">Microsoft's Sketchflow</a>. </p> <p>In this series I'll be (re)creating a design mockup for the Management section of my web site with each of the tools, giving you the opportunity to compare their output. You'll find a screen shot of the existing Management section at the end of this article.</p> <p>Today's tool: Axure RP 5.6. </p> http://imar.spaanjaars.com/532/sketch-and-prototype-tools-review-part-2-axure-rp-pro-56 http://imar.spaanjaars.com/532/sketch-and-prototype-tools-review-part-2-axure-rp-pro-56 Tue, 25 May 2010 12:58:11 GMT /Rss/Comments/532 /Rss/Comments/532 /Rss/Comments/532 11 Imar Spaanjaars Sketch and Prototype Tools Review - Part 1 - Balsamiq <p>As a software designer and web developer I usually focus on the back end of web sites and applications and leave the User Interface and UX design to people more knowledgeable. Still, occasionally I have the need to do some sketching and drawing with a customer, for example when designing a web interface or when working on use case documents. While paper and pencil often work fine, they lack durability. Additionally, the result is hard to share, especially with &quot;digital&quot; clients or clients in a different country. Over the years, I've been working with a number of software design tools to aid me in this process. Since I get asked which tools I use every now and then, I decided to write a short blog series outlining a number of these tools, including Balsamiq Mockups, <a href="/532/sketch-and-prototype-tools-review-part-2-axure-rp-pro-56">Axure RP Pro</a>, <a href="/535/sketch-and-prototype-tools-review-part-3-microsoft-office-visio-2010">Microsoft Visio with the 'GUUUI Sketchy GUI Shapes' stencil</a>, <a href="/539/sketch-and-prototype-tools-review-part-4-pencil">Pencil</a>, and <a href="/544/sketch-and-prototype-tools-review-part-5-microsoft-expression-blend-4-sketch-flow">Microsoft's Sketchflow</a>. </p> <p>In this series I'll be (re)creating a design mockup for the Management section of my web site with each of the tools, giving you the opportunity to compare their output. You'll find a screen shot of the existing Management section at the end of this article.</p> <p>Today's tool: Balsamiq Mockups. </p> http://imar.spaanjaars.com/531/sketch-and-prototype-tools-review-part-1-balsamiq http://imar.spaanjaars.com/531/sketch-and-prototype-tools-review-part-1-balsamiq Tue, 18 May 2010 23:33:16 GMT /Rss/Comments/531 /Rss/Comments/531 /Rss/Comments/531 2 Imar Spaanjaars Release Candidate of new Imar.Spaanjaars.Com Online <strong>Update 6/6/2010</strong>: the MVC version is already live at http://imar.spaanjaars.com and the MVC subdomain is no longer available.<br /> I just uploaded the release candidate of my new web site built with ASP.NET MVC to my server. http://imar.spaanjaars.com/530/release-candidate-of-new-imarspaanjaarscom-online http://imar.spaanjaars.com/530/release-candidate-of-new-imarspaanjaarscom-online Mon, 17 May 2010 15:10:44 GMT /Rss/Comments/530 /Rss/Comments/530 /Rss/Comments/530 2 Imar Spaanjaars Screwing Up Your System and Getting It Back On-Line in Minutes <p>As a developer and a beta-software fanatic, I tend to install and try out a lot of software. Some of it works well and adds value to my &quot;developer toolkit&quot;. However, quite often the software is too buggy to work with, has a negative impact on my system's performance or leaves traces when uninstalled. Additionally, just using Windows and the installed applications tends to slow down a system after some time as well. Since having a speedy and responsive system is important for a productive developer, you need to find ways to keep your machine as fast as possible.</p> Over the years I found a good way to minimize the impact of these applications and Windows usage, enabling me to get my machine back in a clean state in just a few minutes. How? http://imar.spaanjaars.com/529/screwing-up-your-system-and-getting-it-back-on-line-in-minutes http://imar.spaanjaars.com/529/screwing-up-your-system-and-getting-it-back-on-line-in-minutes Mon, 17 May 2010 11:33:35 GMT /Rss/Comments/529 /Rss/Comments/529 /Rss/Comments/529 4