zigamorph


Comments:

Writing Maintainable Code Considered Harmful

posted by zigamorphzigamorph(3319) 4 years, 2 months ago 0

Sounds like somebody is trying to justify their hackish code.

Reply

Singularity Source Code Released to CodePlex

posted by zigamorphzigamorph(3319) 4 years, 2 months ago 0

I just realized this has already been submitted. Please ignore.

Reply

ASP.NET MVC: Securing Your Controller Actions

posted by zigamorphzigamorph(3319) 4 years, 2 months ago 0

http://www.coderjournal.com/2008/03/securing-mvc-controller-actions/

There is actually a way to do this already built in to the .NET framework and operates in side the run time. It is called PrincipalPermissionAttribute.

Reply

Localhost HTTP debugging with Fiddler

posted by zigamorphzigamorph(3319) 4 years, 2 months ago 0

I have had mixed problems with "localhost." mostly browsers get confused when you do "localhost.:50000" with ports.

Reply

Why are event raising methods marked as protected virtual?

posted by zigamorphzigamorph(3319) 4 years, 1 month ago 0

actually the code should read

protected virtual void OnEvent (EventArgs e) {
}

There shouldn't be an override, because override is what is done to the virtual.

Reply

the LinqToSQL is a lie

posted by zigamorphzigamorph(3319) 4 years ago 0

It is not lying you have two different queries, one query that you displayed on the blog, and one related query that only gets called when you request the data. You examining the object with the debugger calls this data. Use SQL Profiler you will see two different queries. ;(

Reply

the LinqToSQL is a lie

posted by zigamorphzigamorph(3319) 4 years ago 0

Naz, that is correct it is because two different SQL queries are getting run. One for the Quote object and one for the Customer object, the Quote object is the top level so that is all that is being shown. If you are definitely using both and to cut down on round trips you want to consider the following.

from q in db.QuoteLINQs
where q.QuoteID.Equals(10)
select q, q.CustomerLINQ.CustomerID;

This will return both at the same time and should result in the SQL you are looking for. You can also use a feature in the DataContext that allows you to bind all references at the same time, however that is overkill for just getting back a CustomerID.

Reply

Give Your ASP.NET Applications Velocity

posted by zigamorphzigamorph(3319) 3 years, 11 months ago 0

10 years, there is no way memcached is that old. I don't even think LiveJournal is that old. memcached is at most 5 years old.

Reply

Turn Google App Engine into your own Personal Content Delivery Network

posted by zigamorphzigamorph(3319) 3 years, 11 months ago 0

This is actually working very well for me.

Reply

URL rewriting in ASP.NET web applications

posted by zigamorphzigamorph(3319) 3 years, 9 months ago 0

There are much better solutions out there than his this. IIS 7 has their own rewriter. There is also a ton of them on codeplex, just search for url rewriter.

Reply

Emulating Apache on IIS

posted by zigamorphzigamorph(3319) 3 years, 5 months ago 0

This seems like just shameless promotion of a product. Not really .NET news or article.

Reply

Emulating Apache on IIS

posted by zigamorphzigamorph(3319) 3 years, 5 months ago 0

Anybody else find it weird that ever member that voted on this is only 6 days and 1 hour old? My bet is, that it is the marketing department with in Helicon.

Reply

Emulating Apache on IIS

posted by zigamorphzigamorph(3319) 3 years, 5 months ago 0

Also not to dwell, but I have used their Helicon ISAPI_Rewiter about a year ago and it kept crashing my IIS server process. Lucky for us that there are .NET alternatives based on IHttpModule that run way faster than ISAPI_Rewriter. Also Microsoft released a Rewriter Module for use in IIS 7.0. So not much need for Helicon or their products that crash the server any more.

Reply

How to choose between ASP.NET MVC and Web Forms

posted by zigamorphzigamorph(3319) 3 years, 1 month ago 0

Hi Rob,

This chart has come under a lot of scrutiny. How would you recommend I convey the same information. A try and see approach works for advanced developer, but somebody that knows nothing about MVC and probably very little about developing needs an aid of some sort. I am very willing to change this just need an idea that is simple and conveys the same message.

Reply

How to choose between ASP.NET MVC and Web Forms

posted by zigamorphzigamorph(3319) 3 years, 1 month ago 0

Hi Rob,

I am the author and I know this is very subjective and even insulting to somebody in the know. But I wanted to put an aid together for somebody who has never heard of MVC as a way for them to understand the basics between MVC and WebForms. I don't ever see this chart being used to make any kind of desision and I would probably discourage it, but I also believe that no matter how much text you have, you need some kind of easy look up to understand the main points between MVC and Web Forms. See this link for the pre-published-version:

http://www.coderjournal.com/2008/12/introducing-aspnet-mvc-part-2-aspnet-mvc-vs-webforms/

Reply

Handling Legacy URLs with ASP.NET MVC

posted by zigamorphzigamorph(3319) 2 years, 11 months ago 0

Wouldn't it just be better to use a URL Rewriter so you don't have to compile and deploy every time you find a new legacy URL that you need to handle? For example if you used the URL Rewriter at http://urlrewriter.codeplex.com, and created an extension module for it like indicated here http://www.coderjournal.com/2008/12/creating-extension-module-net-url-rewriter-reverse-proxy/ you could accomplish the same thing, with out having to try to integrate old legacy URL's in to your brand spanking new app. :)

Reply