ChadMoran
Name: ChadMoran
Score: 1,103.25
Last Seen: 725 days, 40 minutes ago
Member Since: 11 January, 2009
DotNetShoutout
atom rss
7
Shouts

Into and let in LINQ ( Let vs Into)

published 725 days, 11 hours, 35 minutes ago posted by http://pranayamr.myopenid.com/http://pranayamr.myopenid.com/ 726 days, 11 hours, 56 minutes ago
Tuesday, May 31, 2011 11:45:38 AM GMT Monday, May 30, 2011 11:25:00 AM GMT
In this post I am going to show two keyword of the C# 3.0 is very helpful when playing with the set of object collection using LINQ feature. Into Into keyword allows creating a temporary variable to store the results of a group, join or select clause into a new variable. var em = from e in emp group e by new{ e.DeptId} into gEmp where gEmp.Count() > 1 select new { gEmp.Key.DeptId, salary = gEmp.Su... (more)
category: How To | clicked: 24 | 1 comment | | source: pranayamr.blogspot.com
tags: C#, Linq
5
Shouts

Using the X-UA-Compatible meta info and still validating HTML

published 723 days, 17 hours, 29 minutes ago posted by ChadMoranChadMoran 725 days, 9 hours, 50 minutes ago
Thursday, June 02, 2011 5:51:24 AM GMT Tuesday, May 31, 2011 1:30:23 PM GMT
Many of you out there may be using the X-UA-Compatible meta tag as a hint to tell Internet Explorer to use a specific rendering engine or to hint to use the Chrome Frame if installed.  The use of this tag has also been made popular by web developers using HTML5 Boilerplate.  The problem is this tag makes your page fail to validat... (more)
category: Web Dev | clicked: 8 | 1 comment | | source: www.chadmoran.com
tags: C#, HTML, ASP.NET
5
Shouts

Extension method digest #5 DateTime.FromNow

published 725 days, 11 hours, 35 minutes ago posted by ChadMoranChadMoran 728 days, 8 hours, 8 minutes ago
Tuesday, May 31, 2011 11:45:38 AM GMT Saturday, May 28, 2011 3:12:37 PM GMT
Quick little extension method I use quite often when trying to get the relative difference between a given time and, well now. (more)
category: Architecture | clicked: 27 | comment | | source: www.chadmoran.com
tags: Extension Methods, C#
4
Shouts

Enum.HasFlag method in C# 4.0

published 874 days, 18 hours, 30 minutes ago posted by http://jalpesh.blogspot.com/http://jalpesh.blogspot.com/ 876 days, 17 hours, 22 minutes ago
Sunday, January 02, 2011 4:51:00 AM GMT Friday, December 31, 2010 5:59:19 AM GMT
Enums in dot net programming is a great facility and we all used it to increase code readability. In earlier version of .NET framework we don’t have any method anything that will check whether a value is assigned to it or not. In C# 4.0 we have new static method called HasFlag which will check that particular value is assigned or not. Let’s take an example for that. First I have created a enum called PaymentType which could have two values Credit Card or Debit Card. Just like following.public enum Paymen... (more)
category: Web Dev | clicked: 0 | comment | | source: jalpesh.blogspot.com
tags: enum, HasFlag, C#.NET 4.0
4
Shouts

ASP.NET Performance tip- Combine multiple script file into one request with script manager

published 874 days, 18 hours, 30 minutes ago posted by http://jalpesh.blogspot.com/http://jalpesh.blogspot.com/ 877 days, 17 hours, 31 minutes ago
Sunday, January 02, 2011 4:51:00 AM GMT Thursday, December 30, 2010 5:49:30 AM GMT
We all need java script for our web application and we storing our JavaScript code in .js files. Now If we have more then .js file then our browser will create a new request for each .js file. Which is a little overhead in terms of performance. If you have very big enterprise application you will have so much over head for this. Asp.net Script Manager provides a feature to combine multiple JavaScript into one request but you must remember that this feature will be available only with .NET Framework 3.5 s... (more)
category: Web Dev | clicked: 0 | comment | | source: jalpesh.blogspot.com
tags: Microsoft Ajax, Ajax, ASP.NET
8
Shouts

ASP.NET MVC Razor IsPost property with IF –Else loop

published 874 days, 18 hours, 30 minutes ago posted by dharadhara 878 days, 13 hours, 19 minutes ago
Sunday, January 02, 2011 4:51:00 AM GMT Wednesday, December 29, 2010 10:01:24 AM GMT
ASP.NET MVC Razor a new view engine from Microsoft looks very promising. Here are example of code where we can determine page is post back or not. It support a IsPost Property which will tell you whether page is post back or not. So based on that we can... (more)
category: Web Dev | clicked: 1 | comment | | source: beyondrelational.com
tags: ASP.NET MVC, .NET, Razor, ASP.NET
5
Shouts

Curse Client Application Lights-Up with New Windows 7 Features

published 1066 days, 13 hours, 15 minutes ago posted by jbarnesjbarnes 1068 days, 10 hours, 27 minutes ago
Thursday, June 24, 2010 10:06:19 AM GMT Tuesday, June 22, 2010 12:53:52 PM GMT
Curse.com is largest MMO (Massive Multi-player Online) gaming web portal in the United States and serves-up millions of games add-on’s for popular games like World of Warcraft, WarHammer, and Runes of Magic. Their users represent some of the most affluent and influential online users. If you are a true player, then you already know that the Curse Client is an add-on manager that allows you to browse, install, and update all your essential on-line gaming add-on’s. Curse is an integral part of the MMO e... (more)
category: Smart Client | clicked: 0 | comment | | source: blogs.msdn.com
4
Shouts

Repository, Specification, Unit of Work, Persistence Ignorance POCO with Microsoft ADO.NET Entity Framework 4.0 Beta 1– Part 1

published 1070 days, 11 hours, 29 minutes ago posted by kitchaiyongkitchaiyong 1071 days, 14 hours, 7 minutes ago
Sunday, June 20, 2010 11:51:48 AM GMT Saturday, June 19, 2010 9:13:41 AM GMT
This post will introduce the Entity Framework 4.0, its features and its comparison to Entity Framework 3.5 (more)
category: Architecture | clicked: 1 | comment | | source: www.kitchaiyong.net
tags: Repository, Specification, Unit of Work, entity framework 4.0
5
Shouts

Repository, Specification, Unit of Work, Persistence Ignorance POCO with Microsoft ADO.NET Entity Framework 4.0 Beta 2

published 1070 days, 11 hours, 29 minutes ago posted by kitchaiyongkitchaiyong 1071 days, 14 hours, 10 minutes ago
Sunday, June 20, 2010 11:51:48 AM GMT Saturday, June 19, 2010 9:10:38 AM GMT
This is my second post on one of the ways of applying the Repository, Specification and Unit of Work pattern using the persistence ignorance POCO with the upcoming ADO.NET Entity Framework 4.0. This post will explain how to implement the Repository, Specification & Unit of Work with Entity Framework 4.0. Sample project codes included. (more)
category: Architecture | clicked: 6 | 1 comment | | source: www.kitchaiyong.net
tags: Repository, Specification, Unit of Work, entity framework 4.0
5
Shouts

I want my app to look like the Zune client - Deepesh Mohnani

published 1070 days, 11 hours, 29 minutes ago posted by jantujantu 1071 days, 11 hours, 11 minutes ago
Sunday, June 20, 2010 11:51:48 AM GMT Saturday, June 19, 2010 12:10:17 PM GMT
Earlier I had posted about the theme pack for the Silverlight Business Application and amongst them was the Cosmopolitan template. The cosmopolitan theme is inspired by the Metro theme which was first seen in the the Zune Client.Since then, there have been many variations of the Metro theme, Windows Phone 7, Metrotwit, the Cosmopolitan theme and many more. They are all inspired by the Metro theme. Recently, Nikoka pointed out one of the key differences between the Zune client and the Cosmopolitan theme... (more)
category: Metro | clicked: 7 | comment | | source: blogs.msdn.com
tags: Silverlight, Themes, Zune, riaservices, BAT
11
Shouts

Start Learning Ruby with IronRuby – Setting up the Environment - Kazi Manzur Rashid

published 1072 days, 9 hours, 47 minutes ago posted by jantujantu 1074 days, 13 hours, 41 minutes ago
Friday, June 18, 2010 1:34:10 PM GMT Wednesday, June 16, 2010 9:39:23 AM GMT
Recently I have decided to learn Ruby and for last few days I am playing with IronRuby. Learning a new thing is always been a fun and when it comes to adorable language like Ruby it becomes more entertaining.Like any other language, first we have to create the development environment. In order to run IronRuby we have to download... (more)
category: How To | clicked: 1 | 1 comment | | source: weblogs.asp.net
tags: C#, IronRuby, Ruby
5
Shouts

Multi-tenant ASP.NET MVC - Views - Zack Owens

published 1070 days, 11 hours, 29 minutes ago posted by KluggerKlugger 1073 days, 7 hours, 2 minutes ago
Sunday, June 20, 2010 11:51:48 AM GMT Thursday, June 17, 2010 4:18:58 PM GMT
So far we have covered the basic premise of tenants and how they will be delegated. Now comes a big issue with multi-tenancy, the views. In some applications, you will not have to override views for each tenant. However, one of my requirements is to add extra views (and controller actions) along with overriding views from the core structure. This presents a bit of a problem in locating views for each... (more)
category: Web Dev | clicked: 1 | comment | | source: weblogs.asp.net
tags: ASP.NET MVC, ASPNETMVC, MVC, ASP.NET
6
Shouts

The F# Survival Guide

published 1200 days, 12 hours, 51 minutes ago posted by KodefuGuruKodefuGuru 1201 days, 22 hours, 59 minutes ago
Wednesday, February 10, 2010 10:29:29 AM GMT Tuesday, February 09, 2010 12:21:37 AM GMT
Welcome to the F# Survival Guide by John Puopolo with Sandy Squires. We wrote this book to introduce mainstream developers to the world of functional programming through the lens of F#, Microsoft's first fully-supported multi-paradigm language. In the spirit of a survival guide, this book covers all of the essential elements of functional programming and the F# language. In this regard, the book i... (more)
category: How To | clicked: 31 | comment | | source: www.ctocorner.com
tags: Ebook, F#
6
Shouts

VS2010 RC2 Available for download

published 1200 days, 12 hours, 51 minutes ago posted by himanethimanet 1201 days, 5 hours, 56 minutes ago
Wednesday, February 10, 2010 10:29:29 AM GMT Tuesday, February 09, 2010 5:24:39 PM GMT
Much Awaiting VS2010 RC2 ia available for download now. This is only available to MSDN subscribers and will be available to public by February 10th 2010. This RC includes go-live licence for deployment in prodcution environments. Seems that performance issues are improved as per our feedback.But we need to download ,install,check and see how fast it is. I am planning to play with it during week end if I get some time. Seems that MS VS201 Product team working closely with 3rd party companies that ... (more)
category: Web Dev | clicked: 0 | comment | | source: himabinduvejella.blogspot.com
tags: VS2010 RC2
6
Shouts

SmallestDotNet Update - Now with .NET 4 support and an includable JavaScript API - Scott Hanselman

published 1200 days, 12 hours, 51 minutes ago posted by jantujantu 1201 days, 7 hours, 38 minutes ago
Wednesday, February 10, 2010 10:29:29 AM GMT Tuesday, February 09, 2010 3:42:54 PM GMT
A few years back I wrote a post on the size of the .NET Framework. There's historically been a lot of confusion on the site of the .NET Framework. If you search around on the web for ".NET Framework" or ".NET Framework Redistributable" you'll often get a link to a 200 meg download. That download is the complete offline thing that developers redistribute when they want to install the .NET Framework on any kind of machine without an internet connection.The .NET 3.5 Client Profile is more like 28 megs and... (more)
category: Web Dev | clicked: 0 | comment | | source: www.hanselman.com
tags: WPF, JavaScript, Tools, VS2010 Windows Client, Microsoft Source Code, Learning .NET
6
Shouts

Working with transactions in Entity Framework and LINQ to SQL

published 1200 days, 12 hours, 51 minutes ago posted by DevartDevart 1201 days, 9 hours, 23 minutes ago
Wednesday, February 10, 2010 10:29:29 AM GMT Tuesday, February 09, 2010 1:57:48 PM GMT
Entity Framework In this article we consider a short description of the Entity Framework and LINQ to SQL transactional models. There are also some simple code listings illustrating different aspects of the transactional model. A transaction is a series of operations performed as a single unit of work. Entity Framework transactions are a part of its internal architecture. The SaveChanges method operates within a transaction and saves results of the work. It is designed to ensure data integrity. (more)
category: Architecture | clicked: 293 | comment | | source: www.devart.com
tags: Entity Framework, Database, Linq
6
Shouts

VS 2010 / .NET 4 Release Candidate - Scott Guthrie

published 1200 days, 12 hours, 51 minutes ago posted by jantujantu 1201 days, 7 hours, 18 minutes ago
Wednesday, February 10, 2010 10:29:29 AM GMT Tuesday, February 09, 2010 4:03:00 PM GMT
This afternoon we made available the VS 2010 and .NET 4 release candidates.  You can find download links here.Right now the downloads are available only to MSDN subscribers.  Starting Wednesday (Feb 10th) everyone will be able to download them (regardless of whether you are a MSDN subscriber or not).Background on the Release Candidate I blogged about us deciding to ship a pub... (more)
category: Web Dev | clicked: 0 | comment | | source: weblogs.asp.net
tags: .NET, Visual Studio, Community News
4
Shouts

Less CSS with .LESS and T4! - Blog - Chad#

posted by ChadMoranChadMoran 1265 days, 23 hours, 15 minutes ago
Monday, December 07, 2009 12:05:37 AM GMT
After hearing about .LESS for .NET I was ecstatic. I’ve been looking for something like this for quite some time. Recently Phil Haack blogged about a T4 template he made using Damien Guard’s helper class to generate CSS files for each LESS file. This way it would generate static CSS files you could reference. As great as this was I personally was looking to just have the CSS files appear in the location of the LESS files making it easier to reference/view the CSS files. The advantage to this is if y... (more)
category: Web Dev | clicked: 2 | comment | | source: www.chadmoran.com
tags: T4, CSS, ASP.NET
10
Shouts

Smarten up your UI with Task Dialogs

published 1267 days, 8 hours, 6 minutes ago posted by http://jamescrowley.myopenid.com/http://jamescrowley.myopenid.com/ 1269 days, 8 hours, 2 minutes ago
Saturday, December 05, 2009 3:14:36 PM GMT Thursday, December 03, 2009 3:18:54 PM GMT
Put your message boxes on steroids. Take advantage of the new-look dialogs in Windows Vista and Windows 7 in your applications and smarten up your UI. (more)
category: UX | clicked: 0 | comment | | source: www.developerfusion.com
tags: GUI, Windows 7, Message Box, Windows Vista, Windows 7 Code Pack
10
Shouts

Binding Operators for C# 5

published 1267 days, 8 hours, 6 minutes ago posted by KodefuGuruKodefuGuru 1269 days, 6 hours, 21 minutes ago
Saturday, December 05, 2009 3:14:36 PM GMT Thursday, December 03, 2009 5:00:04 PM GMT
I read this article from Martin Calsyn on the new Microsoft Visualization Language called Videa, and I must admit that I was struck by how awesome binding operators actually are. This is a feature that must make its way into C# 5! Here’s an example of a binding from his article.textbox.Text := slider.Value; This code looks suspiciously like Delphi. In Pascal (Delphi uses Object Pascal), := is an assignment operator. In Videa, := is a left binding assignment. What happens is that anytime the slider’s Val... (more)
category: How To | clicked: 3 | 1 comment | | source: www.kodefuguru.com
tags: dynamic, C# 5, Binding Operators, Videa
Previous 1 2 Next