Visual studio feeds

All Visual Studio blogs in one place

Subscribe

Enter your email address:

Delivered by FeedBurner

Increase your website traffic with Attracta.com

Google+

Contact

Email:
Subject:
Message:
Anti-spam: How many eyes has a typical person?

Follow us on FB

Search

Is the CSLA .NET ViewModelBase class useful?

AddThis Social Bookmark Button
CSLA .NET predates the MVVM pattern by around a decade. All that time I've been telling people they should create an object model that matches the problem domain. Lots of people told me I was talking about "old fashioned OO" or otherwise dismissed what I was saying. They preferred to think of their 'model' as simple data container objects. At some point most of them eventually realized that they needed something that actually matched the problem domain, and that their 'model' couldn't do it while still being simple data containers. So they invented a new concept called a 'viewmodel' that (when done right) does match the problem domain
- just like the UI always matches the problem domain. At this point if you are a CSLA user you encounter an interesting situation, where you've been creating domain objects maybe for a decade longer than MVVM has existed, but MVVM is now the POTY (pattern of the year) and so you feel like you need to use it. Everyone wants the POTY after all :) I spent a lot of time thinking about this and eventually decided that creating a viewmodel that echoes all your domain object's properties is just a lot of busy-work that has huge cost in development and testing. So it is _far_...(Read whole news on source site)

[Flags] attribute for Enum in C#

AddThis Social Bookmark Button
Enum in c# supports the Flags attribute which can be used whenever the enum result represents a collection of values instead of a single value . Assume that we have an enum with the following entries... [[ This is a content summary only. Visit my website for full links, other content, and more! ]]

How to Convert a date to HTTP formatted date in C# ?

AddThis Social Bookmark Button
If you want to convert a date to a Http formatted date in C# , the developers can use the “r” string format . Additionally , the date should be in GMT format which can be achieved using the ToUniversalTime() function. How to Convert a date to HTTP formatted date in C# ? Below is [...]
Related Posts :How to convert byte array to string in C#?How to convert string array to integer array easily using LINQ?How to Split a String based on delimiter in C# ?Formatting Number with Leading Zeroes in C#
href="http://www.ginktage.com/2014/01/different-ways-to-get-the-computer-name-in-c/" rel="nofollow">Different Ways to get the computer name in c#
...(Read whole news on source site)

How to remove duplicates from integer array in C# ?

AddThis Social Bookmark Button
Below is a sample code snippet demonstrating the usage of the extension methods to get the distinct data from integer array in C#. How to remove duplicates from integer array in C# ? using System; using System.Collections.Generic; using System.Data; using System.IO; using System.IO.Compression; using System.Linq; using System.Text; using System.Threading.Tasks; namespace GinktageConsoleApp { class Program { [...]...(Read whole news on source site)

Random Link Roundup–10/24/2014

AddThis Social Bookmark Button
It’s Friday, so prepare for incoming awesomeness in the form of random links! AngularJS 1.3 is out!  The name makes me think of Guardians of the Galaxy for some reason… Further proof that we will eventually JavaScript All the Things: speech recognition in JavaScript has arrived. :( You can never have too many icons!  Here are some more freebies! OneGet is a Chocolatey-like package manager from Microsoft.  I’m not sure where that leaves Chocolatey down the road, but still, an official MS
package manager is long overdue. NuGet 3.0 sounds like it'll be a big improvement!  It’s ambitious, but it’ll address some of the fundamental problems that have existed since 1.0.  Check out this neat explanation of X-Men: Days of Future Past using Git.  Troy Hunt's explanation of the latest SSL vulnerability is well-written and worth a quick read. Git Extensions is still the best way to "git" started on Windows.  Forget Github for Windows, Git Extensions for the win! Here’s an interesting article...(Read whole news on source site)

#1,187 – Using an ItemContainerStyle to Change Items in an ItemsControl

AddThis Social Bookmark Button
One common use when defining a new ItemContainerStyle for an ItemsControl is to do something special with either the currently selected item or the item that the mouse is currently over.  The default template used as an ItemContainerStyle for a ListBox, for example, changes the background and border for both the selected item and the item that the mouse is […]

The Morning Brew #1722

AddThis Social Bookmark Button
Software ASP.NET Identity 2.2.0-alpha1 – Pranav Rastogi announces a preview release (at the alpha level) of the next version of the ASP.NET Identity Framework, a release which is dealing with bugs and performance issues primarily. Information Violating the "smart enum" pattern in C# – Jon Skeet takes a look at a nice pattern, and explores […]

Home