Posted by Eric Polerecky in ASP.NET, ASP.NET MVC, ASP.NET MVC Futures, MEF, Microsoft, c#, ndepend, nhibernate, nunit, resharperJun 4th, 2009 | 1 Comment
As a follow up to my tools post here is a list of the tools I’d like to spend more time with. The % next to the title is an estimation as the likelihood I’ll do any serious work with the tool/software/etc.
ReSharper – 20%
http://www.jetbrains.com/resharper/
Simply put, ReSharper is a must-have productivity tool for .NET developers. It fully integrates with Visual Studio to intelligently and powerfully extend the functionality that is native to Visual Studio. ReSharper provides solution-wide error highlighting on the fly, instant solutions for found errors, over 30 advanced code refactorings,...
Posted by Eric Polerecky in ASP.NETJun 4th, 2009 | 2 Comments
Curtis Mitchell recently posted the slides from a presentation entitled Rails-like ASP.NET Development. Its great to see more people thinking about the tools and technology they use. I found a tool in the slides that I am unfamiliar with called Migrator.NET
Database migrations for .NET. Based on the idea of Rails ActiveRecord Migrations.
Supported Databases
MySQL
Oracle (not well tested?)
PostgreSQL
SQLite
SQL Server
Supported Modes
NAntTask
MSBuildTarget
Console Application (You should be using an automation tool! )
1: using Migrator.Framework;
2: using System.Data;
...
Posted by Eric Polerecky in ASP.NET, ASP.NET MVC, ASP.NET MVC Futures, AutoMapper, CruiseControl.NET, Entity Framework, Facebox, Feedreader, FxCop, LINQPad, MSTest, SVN, SourceMonitor, Spark, Unity, Visual Studio, WebSVN, iTextSharp, jQueryJun 1st, 2009 | No Comments
Most of my work so far this year has been with one client. This client was a Java shop for quite some time and is pretty green to Microsoft. Also, they don’t seem to ever have had real success with building enterprise class systems. That’s not to say that they haven’t wrote very large and very complex systems. They have done it all with either the bare minimum in tooling or a incorrect implementation of the tooling.
In fact; one of their primary reasons for moving to .NET was to perform a tooling reset. They decided it was too hard to use technology like OR/M, DI, Messaging, and MVC. The...
Posted by Eric Polerecky in ASP.NET, WebForms, mvcMay 20th, 2009 | 5 Comments
What is it called?
First off; what are we calling “Classic ASP.NET Development using Webforms and the MVP Pattern” today? I’d like to suggest we stick with a discussion of the patterns and the surrounding technology.
Component based development using the MVP pattern…or MVP for short
and
Non-Component based development using the MVC pattern…or MVC for short
And I am aware that there are companies working on MVC components/html helpers…so what else are we going to call it? Then again you might be write…what % of “Webforms” developers are using the MVP pattern? 5%?…hmmm…anyway...
Posted by Eric Polerecky in ASP.NET, AutoMapper, Microsoft, Video, WCFMay 19th, 2009 | No Comments
I did a short demo of automapper for dimecasts.net. Take a look what do you think?
Ha! Dimecasts.net is my phonebook!
Ha!
Posted by Eric Polerecky in ASP.NET, ASP.NET MVC, Microsoft, jQuery, mvcMay 15th, 2009 | 2 Comments
I have to admit I am total bias towards MVC but hear me out. I have yet to work in an organization that implements an OOP or even MVP when using WebForms. It’s all been directly bound controls to data readers/sets/tables. No object model, no business object layer, page_load is used and abused, etc. It can’t be stated enough that MVC will not save a project from the bullshit code that is forms over data crap but at least there is hope in the form of a tiny amount of guidance from Microsoft. </rant>
Introduction
In the .NET world the MVC pattern is relatively new but it has been the staple...
Posted by Eric Polerecky in ASP.NET, ArcGIS, Dojo, JavaScript, developmentFeb 13th, 2009 | No Comments
As part of developing a project I created a Cross-Domain Proxy to consume the payment service. My Cross-Domain Proxy, Payment.asmx, is exposed via the JavaScript end point. Any ASP.NET web service can open the JavaScript endpoint by uncommenting line #7 in the asmx file.
Once the ScriptService line is uncommented you can test that your service is exposing the JavaScript endpoint by calling a URL similar to:
1: ~/WebService.asmx/JS
.csharpcode, .csharpcode pre
{
font-size: small;
color: black;
font-family: consolas, "Courier New", courier, monospace;
background-color: #ffffff;
/*white-space:...
Posted by Eric Polerecky in ASP.NET, jQuerySep 29th, 2008 | No Comments
First, if you have not heard, Microsoft will be shipping jQuery as part of visual studio. And if the swiftness that the .NET team moves I am sure we can see it in a the next SP. Update: Just re-read the article…The jQuery intellisense annotation support will be available as a free web-download in a few weeks…w00t.
jQuery
jQuery is great, its selector engine is by far the simplest and (I think) most powerful component. But, when using jQuery I always seem to be looking for pluggins…widgets…etc.
Microsoft’s Challenge
Even though my current shop uses dojo, which I love too!, I am truly...
Posted by Eric Polerecky in ASP.NET, Fail, Project TemplatesSep 22nd, 2008 | No Comments
If, after you followed all the steps at http://msdn.microsoft.com/en-us/library/ms185301(VS.80).aspx you are getting an error about unsigned DLLs…try adding the DLL to the bin folder of your project…
Just re-code the wizard in C#…I guess there is a reason all the examples are in C#…
Posted by Eric Polerecky in ASP.NET, MembershipSep 15th, 2008 | No Comments
Anyone know if there is a cleaner way to do this?
1: Private Function MembershipUser_To_DataTable(ByVal vMembershipUser As MembershipUser) As DataTable
2: Dim mDataTable As New DataTable
3: mDataTable.Columns.Add("Email")
4: mDataTable.Columns.Add("PasswordQuestion")
5: mDataTable.Columns.Add("Comment")
6: mDataTable.Columns.Add("IsApproved")
7: mDataTable.Columns.Add("CreateDate")
8: mDataTable.Columns.Add("LastLoginDate")
9: mDataTable.Columns.Add("LastActivityDate")
...