Currently Browsing: ASP.NET

Tools I want to use more

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,...
read more
Page 1 of 212

Creating a Rails-like development environment in .NET

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; ...
read more
Page 1 of 212

Toolset 2009

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...
read more
Page 1 of 212

A somewhat less biases comparison of MVP and MVC

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...
read more
Page 1 of 212

Dimecasts.net automapper demo

I did a short demo of automapper for dimecasts.net. Take a look what do you think? Ha! Dimecasts.net is my phonebook! Ha!
read more
Page 1 of 212

A completely biased comparison of ASP.NET MVC and Webforms

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...
read more
Page 1 of 212

Dojo and ASP.NET AJAX Compatibility

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:...
read more
Page 1 of 212

My take on Microsoft shipping jQuery

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...
read more
Page 1 of 212

Visual Studio, Wizards, Project Templates and Unsigned DLLS

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#…
read more
Page 1 of 212

MembershipUser to DataTable

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") ...
read more
Page 1 of 212