Featured Post

Midnight Coder

MapAreaRoute Removed from ASP.NET MVC 2 RC

When I upgraded my CMS to ASP.NET MVC 2, I ran into some problems such as a missing assembly and some routing code changes.

Let's flash back to when I started developing with ASP.NET MVC 2.

More »

Search

Latest Tweet: RT @insic Create Social Media Icons in Pure CSS Link

Tag: .NET

UPDATE: Multiple Project Area Support for ASP.NET MVC 2 RC

It seems the previous approach taken to create multiple projects that support areas didn't work out.

January 25th, 2010 at 8:00am — Comments: (0) — By: Jonathan Danylko — Tags: .NET

Even though I thought I had this nailed down last week, I decided to toss in the towel regarding the Multiple Project Area Support issue.

I ran across various posts, but the clincher was this forum post on the ASP.NET Forums about Area support in ASP.NET MVC 2 RC.

I guess I need to take a different approach.

More »

MapAreaRoute Removed from ASP.NET MVC 2 RC

When I upgraded my CMS to ASP.NET MVC 2, I ran into some problems such as a missing assembly and some routing code changes.

January 18th, 2010 at 8:00am — Comments: (1) — By: Jonathan Danylko — Tags: .NET

Midnight Coder

Let's flash back to when I started developing with ASP.NET MVC 2.

When I started building my CMS (Content Management System) using ASP.NET MVC 2 Preview 2, Areas were a major factor in my development. I was elated that the ASP.NET MVC Team integrated them into the release, but I ran into a problem...where do I start?

More »

Speed Links: ASP.NET MVC

I'm starting to build up some ASP.NET MVC so here is the list for January so far.

January 7th, 2010 at 8:00am — Comments: (0) — By: Jonathan Danylko — Tags: .NET

Quick Links: ASP.NET MVC

Since ASP.NET MVC came out last year, I've been writing every project in ASP.NET MVC.

Now, that ASP.NET MVC 2 RC is released, my primary focus for this release is on the modular aspect using areas. If you are a web developer with .NET and have not experienced ASP.NET MVC yet, this is definitely the time to move into a new technology and direction as a web developer.

More »

Microsoft Monday: August 17, 2009

Quick Microsoft links to ease you into the week.

August 17th, 2009 at 5:00am — Comments: (0) — By: Jonathan Danylko — Tags: .NET

Microsoft ASP.NET MVC

  • Testing Controllers in ASP.NET MVC
  • Getting Posted ASP.NET MVC Form Data
  • RSS Feeds and Google Sitemaps for ASP.NET MVC with LINQ to XML
  • How to use Ninject 2 with ASP.NET MVC
  • Implementing HTTP File Upload with ASP.NET MVC
  • Form Validation with ASP.NET MVC using the IErrorDataInfo interface
  • Siesta: Painless REST via ASP.NET MVC
  • Introducing Telerik Extensions for ASP.NET MVC
  • Migrating an ASP.NET Web Application to ASP.NET MVC v1
  • Error Logging Modules and Handlers for ASP.NET MVC
  • Models, Views, and Controllers: ASP.NET MVC

 Microsoft ASP.NET

  • Disable an ASP.NET Submit Button During Postback with an AJAX Loading Background Image
  • Tips for Deploying ASP.NET Application In Production
  • ASP.NET Web Site Performance Improvement
  • Get Unique Selected Items from Multiple ASP.NET ListBox and Merge them using LINQ
  • Range-Specific Requests in ASP.NET
  • HTTP Binary Serialization in ASP.NET without WCF
  • Consuming ASP.NET WebServices, WCF Services, and Static Page Methods from JavaScript (sans MS AJAX)

Microsoft .NET

  • .NET Best Practice No: 1 - Detecting High Memory Consuming Functions in .NET Code
  • Creating an FTP Class Library in C#
  • Reverse Polish Notation in C#
  • New .NET Feature - Code Contracts
  • Creating vCard with Image in .NET

More »

Microsoft .NET 4.0 Quick Links

Weekly .NET 4.0 links that may be of interest to you.

August 10th, 2009 at 6:00am — Comments: (0) — By: Jonathan Danylko — Tags: .NET

Quick .NET 4.0 Links

  • .NET 4.0 Revealed
  • Two New Features of C# 4.0
  • Improvements to the Generated SQL in .NET 4.0 Beta 1
  • ASP.NET 4.0 AJAX Enhancements
  • Installing .NET Framework 4.0 and running .NET 2.0/3.0/3.5/3.5sp1 Applications
  • Dynamic Typing in C# 4.0
  • Important Entity Framework Query Improvements for .NET 4.0
  • Building Declarative WCF Services in .NET 4.0
  • ClientID Mode in ASP.NET 4.0
  • Learning Resources for Entity Framework 4.0 New Features
  • Learning .NET 4.0 New Features
  • C# 4.0 and Variance

More »

"A potentially dangerous Request.Form value was detected from the client" fix for ASP.NET MVC

Here is a gotcha that I found while I had my "WebForms" hat on.

July 27th, 2009 at 8:00am — Comments: (0) — By: Jonathan Danylko — Tags: .NET

I've been working on a project and got the dreaded error:

"A potentially dangerous Request.Form value was detected from the client"

Well, after trying the "<@page validateRequest="false"...>", I realized that didn't work. So I started looking through the code and found the attribute:

[ValidateRequest(false)]

You need to attach the ValidateRequest(false) attribute to the method that is receiving the post.

More »

Programming Thought Of The Day for Twitter

Share some of your questions, insights, philosophy, or advice.

July 23rd, 2009 at 10:00am — Comments: (0) — By: Jonathan Danylko — Tags: .NET

I'm starting up a little "group" in Twitter for developers called the Programmer Thought of the Day (#PTOTD).

I already posted one, but if anyone wants to add additional thoughts under the Twitter #PTOTD hashtag, please do.

My Twitter handle is jdanylko

More »

Microsoft's "New" Technologies

Microsoft's new technologies of ASP.NET MVC, T4, and MEF are taking development to the next level.

April 24th, 2009 at 6:00am — Comments: (0) — By: Jonathan Danylko — Tags: .NET

Lately, I've been diving heavily into ASP.NET MVC and jQuery. I really like them! No, I mean I really like them!

Some of the side-projects I've been building over the past year came together when I was introduced to ASP.NET MVC, and since then, I haven't turned back yet ("Web Forms? Feh").

If you are new to ASP.NET MVC, I would recommend Phil Haacked's site. Not one article, but his entire site. Since he was one of the co-authors of ASP.NET MVC framework, it only stands to reason to blog about it. I would recommend one of his articles though: Everything you wanted to know about MVC and MVP but were afraid to ask.

More »

ASP.NET MVC Link-Fest

A good number of links to get a better feel for ASP.NET MVC before the release of version 1.

October 24th, 2008 at 6:00am — Comments: (0) — By: Jonathan Danylko — Tags: .NET

ASP.NET LogoCollected for your convenience...all in one location over the past two months.

First, the primary link for the ASP.NET MVC Beta.

  • ASP.NET MVC - http://www.asp.net/mvc/

Then, the additional articles and tutorials:

More »

Is StringBuilder faster than String Concatenation?

Do you know when to use a StringBuilder as opposed to a string concatenation?

October 1st, 2007 at 11:30am — Comments: (0) — By: Jonathan Danylko — Tags: .NET

Most of the time, I've seen everyone using string concatenation (i.e. "The quick brown"+"fox") when creating their strings in C# or VB.NET. As a matter of fact, every interviewer I've talked to has asked me that same question:

If you were to concatenate a string, which would be faster? A StringBuilder class or just using the "+" to create your string?

Of course, I would say the StringBuilder class.

But one individual has taken it a step further and have proven that the StringBuilder is not always as fast as everyone says it is.

More »

Page: 123