Articles : Page 1 of 5
- Filter:
- LINQ
-
Scott Hanselman's 2011 Ultimate Developer and Power Users Tool List for Windows
Dec 1101Everyone collects utilities, and most folks have a list of a few that they feel are indispensable. Here's mine. Each has a distinct purpose, and I probably touch each at least a few times a week. For me, util means utilitarian and it means don't clutter my tray. If it saves me time, and seamlessly integrates with my life, it's the bomb. Many/most are free some aren't. Those that aren't free are very likely worth your 30-day trial, and perhaps your money. Here are most of the contents of my ...
-
Web Forms Model Binding Part 1: Selecting Data (ASP.NET vNext Series)
Sep 1106This is the third in a series of blog posts I’m doing on ASP.NET vNext. The next releases of .NET and Visual Studio include a ton of great new features and capabilities. With ASP.NET vNext you’ll see a bunch of really exciting improvements with both Web Forms and MVC – as well as in the core ASP.NET base foundation that both are built upon. Today’s post is the first of three posts I’ll do over the next week that talk about the new Model Binding support coming to Web Forms. Model Binding is...
-
Web Forms Model Binding Part 1: Selecting Data (ASP.NET vNext Series)
Sep 1106This is the third in a series of blog posts I'm doing on ASP.NET vNext. The next releases of .NET and Visual Studio include a ton of great new features and capabilities. With ASP.NET vNext you'll see a bunch of really exciting improvements with both Web Forms and MVC - as well as in the core ASP.NET base foundation that both are built upon. Today's post is the first of three posts I'll do over the next week that talk about the new Model Binding support coming to Web Forms. Model Binding is a...
-
Massive and Complexity
Aug 1109Got an email today from someone watching the MVC 3 series and they asked the question (paraphrasing): “I like what you’re doing with Massive - but can it handle complex queries?”. This, fortunately, is where Massive shines. In response I wrote this: “Absolutely. In fact it’s why I wrote it. Here’s a semi-complex query that is all too common in the business case: var results - DynamicModel.Open(connectionString).Query(@" SELECT Orders.OrderNumber, Categories.Name FROM Products INNER JOIN...
-
Silverlight, WPF, Wp7, ASP.NET, SharePoint Articles in July 2011
Jul 1131This post showcases some articles that were published on www.dotnetcurry.com in July on ASP.NET, ASP.NET MVC 3, SharePoint, Silverlight, WPF, Visual Studio, WCF, LINQ and other .NET technologies. ...
-
ASP.NET, MVC, Silverlight, SharePoint, WPF, VS 2010, LINQ Articles in May-June 2011
Jul 1101Here are some articles that we published in May-June on ASP.NET, ASP.NET MVC, LINQ, Sharepoint, WPF, Silverlight, VS 2010 and other .NET technologies ...
-
Referencing Routes in ASP.NET MVC The Rails Way
May 1130Routing is probably the most confusing aspect of working with ASP.NET MVC. It’s hard to craft a groovy URL - even harder to link properly off to that groovy URL. Rails leans on Ruby’s forgiving and friendly nature to make this a bit more simple - C#4 allows to get close to this as well. With Rails 3 you define a route in your config/routes.rb like this: match "order/receipt/:id" => "orders#receipt", :as => :receipt # receipt_url You can access this route anywhere in your application ...
-
Queue is Always Empty Using yield return
May 1104I ran into an issue in a C# application the other day. Thankfully I figured out what was going wrong right away, but it could have turned into a big headache potentially. The View was strongly typed as IEnumerablestring and Continuereading...
-
Conditional Filters in ASP.NET MVC 3
Apr 1125Say you want to apply an action filter to very action except one. How would you go about it? For example, suppose you want to apply an authorization filter to every action except the action that lets the user login. Seems like a pretty good idea, right? Currently, it takes a bit of work to do this. If you add a filter to the GlobalFilters.Filters collection, it applies to every action, which in the previous scenario would mean you already need to be authorized to login. Now that is security ...
-
Using ActionFilters with ASP.NET MVC and NHibernate
Mar 1122I like a challenge. My last post was how to effectively wire up data operations in an effort to get the EntityFramework machinery out of your Controller. I think people were a bit confused. On a bit of a personal note: this isn’t my first time doing this. I understand Dependency Injection, and I understand the need for IoC and Common Service Locator. I didn’t always understand these things - so I took it upon myself to try and learn them. One thing that drives me nuts about the .NET commun...

