Home / ASP.NET Weblogs

September 2008 - Posts

Posted to:

OutOfMemoryExceptions while remoting very large datasets

When you have to pass an object back and forth between processes or application domains you have to serialize it into some type of stream that can be understood by both the client and the server.   The more complex and big the object gets the more expensive it is to serialize, both CPU wise and memory wise, and if the object is big and complex enough you can easily run into out of memory exceptions during the actual serialization process... and that is exactly what happened to one of my customers...  They had to pass very large datasets back and forth between the UI layer and the datalayer and these datasets could easily get up to a couple of hundred MB in size.  When they passed the datasets back they would get OutOfMemory...
Posted to:
by: 
09-02-2008, 8:22 AM

ASP.NET MVC Preview 5 and Form Posting Scenarios

This past Thursday the ASP.NET MVC feature team published a new "Preview 5" release of the ASP.NET MVC framework.  You can download the new release here .  This "Preview 5" release works with both .NET 3.5 and the recently released .NET 3.5 SP1.  It can also now be used with both Visual Studio 2008 as well as (the free) Visual Web Developer 2008 Express SP1 edition (which now supports both class library and web application projects). Preview 5 includes a bunch of new features and refinements (these build on the additions in "Preview 4" ).  You can read detailed "Preview 5" release notes that cover changes/additions here .  In this blog post I'm going to cover one of the biggest...
Filed under: , , ,
Posted to:
by: 
09-02-2008, 8:21 AM

Quick Update

I've received a number of (very nice) emails recently asking if I was ok - since my blog has been silent the last few weeks (and much of the summer).  Just to address people's concerns - I'm alive and well. :-)  I've just been on vacation the last 6 weeks, and have unfortunately not had free time to post (I've been changing a lot of diapers).  I am still on vacation another week before I officially return to work.  I did get a chance to write up a quick post this weekend that covers some of the new ASP.NET MVC Preview 5 features, though, that will hopefully provide some interim reading until I can resume a more regular posting schedule over the next month when I get back into the office. Thanks, Scott...
Posted to:

Today's .NET IQ Test ?

What's wrong with this picture ? Read More...
Posted to:

Improving Time-Critical Code written in C

Writing web pages is very similar to writing any other type of code.  You have to understand how it is going to be used and where you need to really make things run as quickly as possible. There are a number of tips on this blog already that deal with managed code and ways to optimize it.  But one of the things that we don't look at as often are other areas of code that we are dependant on.  For example, if you P/Invoke a native function, whatever it is doing, is something that you need to be aware of.  Because there is a lot of native functionality that is still available to us, I wanted to remind everyone of some of the tips you can use when dealing with C/C++ code. A great place to start is with: Tips for Improving...
Posted to:

I'm on the .NET Coffee Break - Wednesday September 3rd

9:00AM PST - Virtually live from Ireland:) Click HERE http://developers.ie/webcasts.aspx for more info ! Read More...
Posted to:

PHP for the Microsoft AJAX Library - new Release!

Christian Wenz has pushed a new release of he PHP libraries for the Microsoft AJAX libraries with support version 3.5. Get it here on Codeplex http://www.codeplex.com/phpmsajax Read More...
Posted to:

Cool Flickr app in MVC using custom LINQ

Mehfuz Hossain , a Microsoft MVP & Developer at Telerik has created a cool flickr with asp.net MVC that you might like to check out. The url is : www.flickrmvc.net and the source code can be found at www.codeplex.com/flickrXplorer . It is built on the Athena (A LINQ to flickr API) - one of the early LINQ providers (also written by Mehfuz) which you can get at www.codeplex.com/linqflickr . Also, LINQ to flickr is built on LinqExtender, a toolkit that helps you make your own home grown LINQ providers without knowing much of anything about LINQ. You can find that project here - www.codeplex.com/linqextender Have Fun!!! Read More...
Posted to:
by: 
09-01-2008, 7:41 AM

Setting the ASP.NET Form's Action Attribute, URL Rewriting

If you have worked with URL Rewriting in ASP.NET, you would have figured out that it is pretty difficult to sustain since the ASP.NET Form tag's Action attribute cannot be overridden or manually set until you do some plumbing work. In simple terms, you couldnt do a form1.Action = "Your Friendly URL" even though with URL mapping, the URL users see in the browser seems to be friendly. What is the issue with the Action tag would be your question? Well, there are couple of them. When you make a postback from your friendly URL say...( yoursite/products which actually points to yoursite/products.aspx or something similar to it), after postback, the friendly URL changes to yoursite/products.aspx (the URL contained in the form's action...
Posted to:

.NET 3.5 SP1 Source released

If you remember my previous blog about Debugging .NET Framework Source Code , well we have now updated the source to include 3.5 SP1.  You can check out the announcement here . With this, we are releasing the source to the following files: mscorlib.dll system.dll system.data.dll system.drawing.dll system.web.dll system.web.extensions.dll system.windows.forms.dll system.xml.dll Microsoft.Visualbasic.dll System.Web.Routing.dll System.ComponentModel.DataAnnotations.dll System.Web.Abstractions.dll System.Web.DynamicData.Design.dll System.Web.DynamicData.dll System.Web.Extensions.Design.dll In the future, look for WPF sources also available. So why would you want to use this instead of just using the .NET Reflector? Well, let’s take a look at...
Filed under: , , ,

« First ... < Previous 5 6 7 8 9

Archives