My name is Edward Tanguay. I'm an American software and web developer living and working in Berlin, Germany.
4 hours ago: If you are a developer in Berlin and need to improve your English, I'm looking for groups to teach after work: http://tanguay.info/itenglish.
5 hours ago: As far as I'm concerned, the singularity is already here, every time I wake up twitter tells me something amazing was created while I slept.
5 hours ago: We're not suffering from information overload, we're suffering from faulty filtering.
5 hours ago: Classic literature for free as nicely formatted 1-page or 2-page PDF downloads: http://www.planetebook.com/free-ebooks.asp.
5 hours ago: Yes, when you pour coffee, "a lightning storm of neuronal activity occurs almost across the entire brain": http://is.gd/eWO1T @pholdings.
22 hours ago: If you put two spaces after a period or use underlining for emphasis, you were born before 1980.
22 hours ago: Word of the day: infovore, n. an animal with a voracious appetite for information.
yesterday: It's said that on average people use less than 10% of their brain, but I think on average computers use less than 1% of their CPU.
2 days ago: Saturday fun: team drawing on two computers with six-year-old in a shared google doc diagram.
2 days ago: Someday I want to produce a developer podcast called "What's that?" but for now "the developer's life" is a nice genre: http://is.gd/eTURO.
3 days ago: Here's a use-case for datapod format, recording human-readable data that later can be used as a datasource: http://is.gd/eSsLg @pholdings.
ASP.NET MVC
The next stage of ASP.NET, still in beta (Jan 2009), solves a lot of issues, e.g. viewstate.
 
ASP.NET MVC TOOL created on Wednesday, January 07, 2009 permalink
Follow the two-step instructions: download, copy files in, awesome designs for your ASP.NET sites.
 
ASP.NET MVC RADAR ITEM created on Wednesday, December 17, 2008 permalink
This is a blog site written in ASP.NET MVC as an example of a full application, try it out, open source at codeplex.
 
FORAY INTO ASP.NET MVC created on Wednesday, December 10, 2008 permalink
Building HelloWorld with ASP.NET MVC
ASP.NET MVC has so many nice things (no viewstate, no changing ids, no automatically inserted javascripts, allows multiple-forms, easily testable) I have to test it out. Oh yeah, and I need it for my new job.
  1. Checking out if you can make mvc projects in vs.net by default, not in vs.net 2008, checking web developer express: no, ok.
  2. Ok, downloading here.
  3. Clicked on AspNetMVCBeta-setup.msi download.
  4. Installing on my vista with web developer express, 2 minutes, 3 minutes....finished. the release notes just take you to http://www.asp.net/mvc.
  5. starting visual web developer, create website doesn't show you MVC, you have to click create project and then choose C#/Web then choose it:
  6. Named it "testMvcHelloWorld".
  7. Watching Stephen Walther, kind of eerie how he's always on the screen.
  8. It didn't ask me if I wanted to make unit tests, perhaps in vs.net 2008.
  9. Clicked F5 and have a website, so it works out of the box, nice.
  10. Looking around in the code.
  11. Making new ViewData in controller, would be nice if this were in intellisense: ViewData["Message2"], worked.
  12. Making css changes, intellisense, nice, worked.
  13. Changing tile and title tag.
  14. Ahh, each view has ~/Views/Shared/Site.Master, like 2.0 master pages.
  15. Jquery in as default, nice.
  16. So everything is in Site.Master, and CSS, very straightforward.
  17. Now adding a new page, this works, puts it in menu.
    <ul id="menu">
    <li><%= Html.ActionLink("Home", "Index", "Home")%></li>
    <li><%= Html.ActionLink("About Us", "About", "Home")%></li>
    <li><%= Html.ActionLink("Third Page", "Third", "Home")%></li>
    </ul>
  18. When you click you get error, right, now making "Third" view.
  19. So just made the "Third.aspx" view.
  20. then in HomeController.cs new method for view:
            public ActionResult Third()
            {
                ViewData["Title"] = "Third Page";

                return View();
            }
  21. Works, ok nice, now looking at the login functionality that is built in.
  22. This is all implemented as Views/Account and the AccountController.cs.
  23. form action goes here:
    <form action="http://localhost:50829/Account/Login" method="post">
  24. The form is being handled here in the account controller.
    [AcceptVerbs(HttpVerbs.Post)]
    public ActionResult Login(string username, string password, bool rememberMe, string returnUrl)
  25. Uploaded to my server, they obviously don't have ASP.NET MVC installed.
  26. Checked the size of the login database ASPNETDB.MDF: 10MB just like in old asp.net, hmmm, surely that's not necessary.
  27. Ok that's enough for a helloworld, will watch both Paul Litwin videos about making database driven asp.net mvc site later to get all of this down.
 
ASP.NET MVC CODE EXAMPLE created on Friday, January 23, 2009 permalink
How to find how which user accesses App_Data folder.
If you are getting a UnauthorizedAccessException error when you try to modify files in your App_Data folder, put this code anywhere on your view to find out which user is accessing the folder and then you can change the rights of that user:
<script runat="server">
    protected override void OnLoad(EventArgs e)
    {
        Response.Write(System.Security.Principal.WindowsIdentity.GetCurrent().Name);
        base.OnLoad(e);
    }
</script>
 
ASP.NET MVC ARTICLE created on Tuesday, January 13, 2009 permalink
If you want to get the telerik grid control going in ASP.NET MVC, check out this article.
 
ASP.NET MVC TUTORIAL last updated on Friday, January 23, 2009 permalink
Tutorial: Set Up ASP.NET MVC Development Environment
This tutorial shows you step-by-step how to install everything you need to develop ASP.NET MVC websites including the free Visual Web Developer 2008 Express and the free SQL Server Express. This tutorial is for you if you want to get things set up fast and get some examples going so that you can begin learning ASP.NET MVC. Just added Step 8: Give Your Site a Layout