ASP.NET News from Blogger: TheChaseMans Frenetic SoapBox   Get the feed of: TheChaseMans Frenetic SoapBox

Total News: 67

My First MVC3 Site: www.ratoutyourfriends.com

The very first project I did using MVC 3 went live and we made the news! :)  ...

MVC 3 - Search Form & Result Paging

Developing a search form should be one of the simplest Web development tasks in the world. I can do it in a few minutes with ASP.NET WebForms, but for some reason with MVC it kicked my ...

MVC = Lots More jQuery

Once you get past all of the cool MVC simple-mode demos which always have things like typing dates into textboxes, no Ajax, etc...you start to dig into what I personally find to be the most work with ...

Javascript Proxy from WCF

Since MVC 3 is driving me more into client scripting, I started playing around with calling WCF services from JavaScript, but what I didn't know is that you can actually create a proxy by going to the...

Spelunking - ASP.NET MVC 3 Released

MVC 3 was released just recently and I'm starting to get some strong feelings about what looks ugly and what looks clean for an MVC app. First of all, the Razor view engine is very slick and looks muc...

Gaining the Simplicty of DataAdapter.Fill with DataReader Extension Methods

With all of the hype around Entity Framework and LINQ to SQL, there are still some of us out there that are still going old school and rolling our own POCOs. I know ORMs are supposed to be super-dup...

LINQ Query to DataTable (DataRows)

Interested in writing a LINQ query to fill a DataTable? Normally I don't condone writing ugly code but let's have some fun. In this example, an anonymous type array is created followed by a DataTable...

Old School Architecture, Bleeding Edge Technology

For a while now I've been in "lurker" mode in all of the .NET community blogs. One of the interesting transitions that's been going on is the demo code for...well...just about everything i...

401 Error Using a Domain Account Identity in an App Pool

Long title - but that says it all. Today I wasted a large chunk of time trying to figure out why I was getting a challenge dialog on my ASP.NET site. The site was configured to use an application pool...

Eliminate Duplicates in a Group By Query

I had someone ask me this question today about a query where he wanted to get a max value along with the ID and Date of the record. However, the varying Date values were causing “dupli...

Fun w/ Visual Studio 2008

I'm sure you've heard by now the Visual Studio 2008 is RTM. If you haven't already, play around a bit with object/collection initializers and LINQ. One interesting thing  I've learned today is th...

Getting Results from an Oracle Stored Proc

I'm not going to bash Oracle...it does a good job of bashing itself. For those of us used to being productive using SQL Server (I've heard it said that Oracle sells its products to managers, Microsoft...

OCI-22053: overflow error

Just FYI - if you are using the System.Net.OracleClient namespace with 10g it is possible you will run into this error. Now before you start getting too excited about being able to set the ReturnProvi...

Using the AJAX Toolkit AutoCompleteExtender with Visual Studio SP1

Just a heads up if you use the AutoCompleteExtender Ajax control. I'm not sure if this is because I'm using Visual Studio SP1 (using Web Application Projects), but I could not get this control to w...

Label and Literal Controls in ASP.NET

This sums it up nicely.  :-)...

Too Many Breakpoints = Bad Visual Studio Performance

Just wanted to share this in case anyone has issues with very slow build and debug time in Visual Studio for ASP.NET applications. This solution might sound a lot like holding tin foil over your head,...

Creating a Web Service to Stream Database Records in Chunks

We've had some interesting discussions about Web Services around the office lately. One of the major challenges are people that want to consume Web Services that transfer large amounts of data r...

Using / Dispose

Did you know that you can wrap a variable in a using statement without having to set its reference? Someone showed me this today and it of course makes sense, I've just never tried it before and have ...

Contract First: Why are messages being translated into NULL objects in VS2005?

It's been a while since I've blogged about something I would classify as "interesting." I plan on revising some earlier posts I've made about WPF and LINQ in the near future using latest b...

VSS

Being a newbie developer in the 90s, my first source control experience was with VSS. Heck, it was distributed with Visual Studio and still is! I'm starting to see the light finally after 10+ years. A...

Visual Studio 2003 SP 1 Delayed

* shakes head in disgust * * sigh * I don't think I need to comment any further about this....

Why Design Specs and Test Plans Are Necessary

Dev1:  OK, so put in validation to make sure the payment amount is not greater than the amount due. Dev 2: OK, will do. * writes code *Dev 3: There's a rule that if they pay more than they owe yo...

Visual Studio 2005 Service Pack in 2007?

I agree with Frans, this is complete BS. I've complained a lot about the problems and quality of latest version of Visual Studio. I'm not going to belabor that point any further because we all know it...

.NET Framework 3.0

Remember "is it OLE/ActiveX or COM?" Gotta love marketing. .NET Framework 3.0 == WinFX  ...

Int32.Parse and Hex

It's so fun to discover new, simple things in the .NET Framework that make your life easier. Did you know you can call Int32.Parse on a string that contains a hex value and it will convert to dec...

New LINQ Updates

If you've followed my blog for any length of time (lately it's been kinda dead), you know I'm pretty fired up about LINQ. Actually, I'm pretty excited about WF, WPF as well as LINQ. After struggling a...

LINQ - May CTP

I haven't downloaded it yet, but if it's any kind of improvement over the last drop, it should definitely be worth playing around with. Thank heavens for VPC....

The Duct Taped Soccer Ball Model

The formal term for the waterfall model in software development was introduced in 1970. These days an iterative approach is more popular for its many benefits including risk reduction, etc. These a...

Code-behind

Interesting, I did not know this about Fritz Onion. I met Fritz at one of the CampSight events (great instructor and knows a ton!) I personally like to leave the "Place code in separate file" checke...

AJAX Myth

There's a lot of Web 2.0 hype as well as AJAX hype. Funny - I'm excited about WPF more than I am about Atlas, but I still think Atlas will really cool for us Web devs. Anyway, check out the link I pos...

What if...Customers Saw the Code

Sometimes I wish this were true. Ever read Daily WTF? I've seen a lot of code like this and it makes me grumpy. Neatness counts IMO and I wish everyone with an IDE (whether they call themselves a deve...

Being Sick & Upsetting Dialog Boxes

I haven't been blogging because I've been sick with this flu from hell since...oh...about a month ago around the superbowl. Needless to say my free time these days is spent either sleeping or coughing...

Tweaking DataGridView Column Header Text Angles

Ever wanted to create a DataGridView for WinForms that allowed you to rotate the angle of the column header text? CustomDataGrid grid = new CustomDataGrid();grid.Font = new System.Drawing.Font(&q...

typed-DataSet Designer Rocks! (How about making one for Custom Classes & Collections?)

One of the really cool features of Visual Studio is the ability to create typed-DataSets based on XSD using a designer. A typed-DataSet gives you strongly-typed access to columns such as a person's ...

Completed the CTP Trifecta: Workflow, WPF, and DLINQ

Last week I posted about how I was calling a Workflow library from an Avalon (WPF) application. The Workflow library used DLINQ to query a SQL database. Basically, I was trying to get cute with th...

SharpDevelop == Very Nice!

SharpDevelop, an open-source IDE, is much better than I anticipated. I downloaded Beta 2 and was very impressed with their WinForms designer and their IDE all together! I didn't see any ASP.NET d...

C#Builder Trial

Just for kicks I decided to try out Borland C#Builder 1.0 - boy was that a mistake! I see why these guys are giving up on their dev tools. Funny, I used to like turbo pascal and turbo C++ in colleg...

Going for the CTP Trifecta: Workflow, WPF, and DLINQ

I went for the trifecta and died on the finish line.  :-(   I started out by creating WinFX Windows application, and I must say that having a visual designer for XAML is pretty cool. T...

Slashdot: .NET Programmers in CNN's Top 5 In-Demand

Frans Bouma told me today that he read something about the job market (because I was looking for  LLBLGen Pro developers in Arizona), so I “googled it” and found this on Slashdot...

Fun with C# Operators

You can do some "interesting" things by creating your own operators in C#. At first I was bitten by the dangerous "that looks cool bug" until a particular debate unfolded. The pr...

Visual Studo 2005 SP1

Q3 seems like such a long time away. At least VS2003 has an SP coming in Q2...too bad I rarely use VS2003 these days. http://www.microsoft-watch.com/article2/0,2180,1917479,00.asp ...

ASP.NET Session Management w/ SQL Server

I certainly do not condone holding a lot of state information in Web apps. However, the problem is even worse if you ever try to switch from in-proc Session state to out-of-process if you store object...

ASP.NET Design Tradeoffs

Design is full of tradeoffs and there's always some kind of dilemma to deal with, especially creating ASP.NET applications. I've been fairly spoiled on a side project I've been working on because I ...

Managing Ajax Complexity

Good thoughts via Weird Thoughts From Eric's Head. Asynchronous apps get get out of hand quickly, take it from someone who's done some pretty crazy things with Binary DHTML Behaviors (C++ and VB ...

ScottGu Cares

Last week was one of those weeks where you feel like you are fighting the tools more than you are writing code. Scott Guthrie was gracious enough to offer help after my temper tantrum about it. :-) He...

Remoting: Events versus Observer Pattern

Events are a great object communication mechanism, but I seem to have always have difficulty with them doing anything via remoting (which is rare, but it happens). Instead, the observer pattern ends u...

Update: GridView Custom Paging with ObjectDataSource

About a month ago I posted some code for implementing custom paging with the GridView and ObjectDataSource with the goal being a single database call to get the records and the rowcount. The code ...

Bad API Design: Constructors and Properties

I think it is a pretty ugly API design to provide a constructor has arguments when are not exposed as properties. Here's an example of something I had to work with this week which I found to be very f...

Sorry guys, but this sucks...

 *sigh*. Bad week I guess, and I just have to vent... I've been a Visual Studio user for many years and I'm going to be brutally honest: I'm frustrated with it to the point of being incoherent ...

Teamwork: Visual Web Developer

I have this love-hate relationship with Visual Studio 2005 Web Dev. One of the things I couldn't stand in Visual Studio 2003 was how when different people would check out the Web project file and th...

View Other bloggers