|
|
Browse by Tags
All Tags » ASP.NET » C# (RSS)
Showing page 1 of 2 (19 total posts)
-
Today I was reading an old post by Mike Tauty about the RouteValueDictionary and I remembered some old discussions on the RouteValueDictionary class. As many others, Mike sees the RouteValueDictionary as an abuse of the new anonymous type feature introduced by C# 3.0.
Me: well, I’m not so quick in saying that it’s an abuse. I mean, would you ...
-
Clipping paths provide a way to hide sections of an object based on different geometries. You can apply rectangles, ellipses or even create your own custom paths to a target object and hide specific areas from view. I enjoy experimenting with things from time to time and decided to try creating a sports score scroller similar to the ...
-
Yesterday, I was looking at some code and I found something like this on a method that handles the confirm click of a web page which triggers an update on a specific domain object:
var aux = Request.Form[“Id”] == null ? ...
-
I needed to display the application version in a file based ASP.NET 3.5 application written in Visual Basic. I wrote the following methods in my AssemblyInfo.vb file in the App_Code directory and it worked! Out popped the Version Number of 0.0.5.0 instead of that annoying 0.0.0.0.
using System;
using ...
-
Here is the download project for my Compiler Tricks talk at TechEd Orlando, 2008.
The talk focuses on what the C# 3.x compiler does with new syntax, and how you can use most of the 3.x syntax, when targeting a 2.0 build. This doesn't mean you can use the 3.x code samples with Visual Studio 2005, because you need the 3.x compiler to actually ...
-
Today I've finally got some time to take a look at Billy McCafferty's S#arp Architecture. Comparing with the old NHibernate best practices project, I think it's fair to say that there are several important improvements. For instance, there's no longer a Load method that takes an instance and a property list which was used to pass ...
-
I'm working with a database table that has a RowVersion field defined as a TimeStamp data type. The TimeStamp field is there to add concurrency into the application to ensure a row hasn't changed while a user is trying to update or delete it. When the TimeStamp field value is queried and added into the LINQ to SQL generated object it ...
-
Microsoft just released the SP1 beta for Visual Studio 2008 and the .NET Framework 3.5 and it includes a huge number of new features and enhancements. Check out Scott Guthrie's blog for details but here's a quick list of what's included: ASP.NET Data Scaffolding Support (ASP.NET Dynamic Data) ASP.NET Routing Engine ...
-
You can get them from here (VS) and here (.NET). I'm reading what's new on Brad Abrams post and I'm really digging the new features:) For instance, having the format option working with JS code is simply cool! Another cool thing: the ScriptManager is able to combine scripts so there's really no need for using the ...
-
Jeff asked the question ''Should All Developers Have Manycore CPUs?'' this week. There are number of things in his post I disagree with.
First, ''dual-core CPUs protect you from badly written software'' is just a specious statement as it's the OS's job to protect you, it shouldn't matter how many cores there are.
Second, ''In my opinion, ...
1
|
|
|