Oct 21
Eric.Net, Development Asp.Net Mvc, Book
I was excited about the opportunity to read and review the book “20 Recipes for Programming MVC 3″. I was hoping for some great programming gems that combined my love of Mvc programming with patterns. This book fell far short of my expectations. The first chapter discusses the use of the Authorize attribute and the out of the box FormsAuthentication security that comes with the default Mvc projects. Somewhat disappointed I pressed on, thinking this may be a good book for someone new to Mvc programming.
More
May 31
Eric.Net, Development Asp.Net Mvc
Last Friday I gave a presentation on setting up an Asp.Net Mvc application at the Tulsa School of Dev. The remainder of this post provides numerous links to information on routing, dependency injection, areas, html helpers, T4 templates, data annotation, and a couple of nuget packages you may find interesting.
More
May 19
Eric.Net, Development Asp.Net Mvc, Facebook
In this post you will find a complete example of posting to a Facebook wall from an Asp.Net Mvc application. In addition to posting to a Facebook wall this post will show you how to display pages from your web site inside Facebook. We will be using the Facebook C# sdk found on Codeplex.
More
Feb 28
EricGeneral
I have been building computers for more than 20 years. I am also getting to the point where building computers doesn’t have the same thrill that it once did. I just want the darn thing to work. The computer has to have the features I want, which is why I still generally build my own. On December 31, 2009 I decided to buy a pre-built HP computer because it had all the features I wanted. It was a quad core AMD with 8 gigabytes for memory. I was in computer heaven. It was fast and all I had to do when I got it home was connect a couple of monitors and the network. Viola! Instant PC!
Now fast forward to January this year and the computer begins a series of BSOD. I haven’t installed any new software in a month or so. I pop the cover off and find a wire has fallen into the fan on the video card heat sink. I untangle the wire from the fan blade and try to spin the fan with my finger. The motor is burnt out and it stinks of burnt varnish. I pull the very hot video card from the motherboard. It’s not looking good. I plug my monitor into the on-board video card port. Now the computer gets to a certain point in the boot process and blue screens. I decide to use the restore discs to do a complete restore. I have all my important files backed up on Carbonite, source code in a subversion repository on a different server. After a couple of attempts at restoring the original image the computer will no longer power on. When I pulled the hot video card out of the motherboard I was hoping only the video card was bad. By now, I am certain the motherboard is toast too. More
Oct 25
Eric.Net, Development Asp.Net Mvc, Fluent NHibernate, Nehemiah Project, NHibernate, Ninject, TeamCity
This post will be fairly short. It will also tie together the two previous posts into our solution. If I haven’t left anything out, by the end of this article your solution will compile without errors and all the specifications will pass testing. We’ll start by creating the tables to hold our data. In part 18 we created the mapping from the tables we are going to create to our POCOs. Then we’ll need to tell Ninject which provider repository to inject whenever one is requested.
So lets get started!
More
Oct 21
Eric.Net, Development Asp.Net Mvc, Nehemiah Project, NHibernate
Here is the long awaited post that deals directly with adding NHibernate to our MVC2 template project. This post will present the code that gives our providers (Membership, Role, and Profile) access to the database. This implementation of the IProviderRepository interface will use NHibernate.
More
Oct 18
Eric.Net, Development Asp.Net Mvc, Fluent NHibernate, Nehemiah Project, NHibernate
In the next three series of posts we will be adding NHibernate, Fluent NHibernate, and NHibernate.Linq to our template. This specific installment on building a MVC2 template we will update the Nehemiah.Specs project. This project contains all of the specifications for the template. We’ll add the specifications for the provider repository. The provider repository is the data layer that supports our membership, role, and profile providers. The specifications are not unique to any data layer implementation. As such you could easily switch out the NHibernate provider repository to a LinqToSQL repository (which I have already done) without changing the specifications.
More
Oct 12
Eric.Net, Development Asp.Net Mvc, Nehemiah Project, NHibernate
The post on adding NHibernate to the MVC2 template is working out to be a huge post. Because of that, the NHibernate installment will be made in at least two posts, but no more than three. I expect to have the first post ready for Monday, Oct 18 and the follow up post to be available on Thursday, Oct 21. If it takes three posts the third one will be available on Monday, Oct 25.
Oct 04
Eric.Net, Development Asp.Net Mvc, Nehemiah Project, NHibernate
In the last post on building an MVC2 Application Template we stopped just short of implementing the repository for the membership, role, and profile providers. I have all the code and specs written for an NHibernate implementation of the provider repository. Issues started arising when I began validating the specifications. Those issues are presented here.
Sep 15
Eric.Net, Development dot Net
According to this article, http://visualstudiomagazine.com/articles/2010/09/14/aspnet-security-hack.aspx, there is a bug in the AES encryption algorithm in dot Net. Since we’re in the midst of writing about creating a custom membership provider this could prove to be valuable information. The solution is to switch to 3DES encryption. This will be reflected in an upcoming post.
Older Entries
Recent Comments