dpeterson

Stories kicked by dpeterson

Introduction to ASP.NET MVC Part 2: Creating a Hello World Site in MVC(www.youtube.com)

submitted by SymetriXSymetriX(25) 2 days, 23 hours ago

In this video I make a simple Hello World site using ASP.NET MVC 4 (but the steps will still work in MVC 3 as well) read more...

add a comment |category: |Views: 3

tags: another

SQL Data Decimation by Date Range and Nth Record(www.arroyocode.com)

submitted by ArroyocodeArroyocode(101) 3 days, 6 hours ago

Data decimation (aka Down Sampling) of large SQL datasets allows application to quickly visualize trends in data over large historical periods greatly improving application performance. Combining a custom date range and a SQL Modulo operator, quickly and evenly display long periods of data. read more...

3 comments |category: |Views: 59

tags: another

When to throw exceptions(blog.gauffin.org)

submitted by jgauffinjgauffin(150) 3 days, 7 hours ago

Explains what "exceptional" means and when you should throw exceptions. read more...

1 comment |category: |Views: 223

tags: another

Attribute based routing in ASP.NET Web API(www.strathweb.com)

submitted by fdubfdub(281) 3 days, 16 hours ago

The AttributeRouting library has been extended to support ASP.NET Web API, and is now available on NuGet. Let's have a look at how it can immediately make your life easier and drastically improve the way you handle your routes. read more...

1 comment |category: |Views: 125

tags: another

Extract to User Control in visual studio11(www.dotnetjalps.com)

submitted by jalpeshjalpesh(1347) 3 days, 18 hours ago

I have been playing with Visual Studio 11 beta recently and everyday I am amazed with new features of it. Today I have found one more very useful feature Extract to User Control feature. In large projects, we are having large pages and its always good to user control(.ascx) but sometimes we are so lazy to create user controls and we remain with the whole page and even we can’t reuse that code. In similar kind of situation ‘Extract to user control’ can be quite useful. Suppose we have long HTML mark up and we need to convert one div to user control and then we can do it very easily with Visual Studio 11 beta Extract to User Control feature. read more...

1 comment |category: |Views: 49

tags: another

9 Steps You Can Take to Start Weaning Yourself off Web Forms(www.rogerharford.com)

submitted by SymetriXSymetriX(25) 3 days, 21 hours ago

ASP.NET MVC is seeing a lot of enthusiasm from the community right now, but not everyone is fortunate enough to be able to make the switch right away. Some of you may be maintaining large applications where a full rewrite is not possible, or at least not in the immediate future. That doesn’t mean there aren’t steps you can take to get your code ready for an eventual transition to MVC. read more...

2 comments |category: |Views: 207

tags: another

Asp.Net Validation Of ViewState MAC Failed(www.csharpaspnetarticles.com)

submitted by amit.jainamit.jain(1181) 4 days, 5 hours ago

If you are receiving Validation of viewstate MAC failed error in asp.net web application. read more...

add a comment |category: |Views: 4

tags: another

MVC Strongly-Typed Action Helpers - They're Back!(chriscavanagh.wordpress.com)

submitted by BobStroggBobStrogg(1033) 4 days, 8 hours ago

Way back in 2009, the MVC Futures assembly introduced “strongly-typed action helpers”. They allowed you to render links using lambda expressions pointing directly to the actions on your controller, rather than using strings. Here's an alternative implementation that aims to resolve some of the performance issues they had. read more...

1 comment |category: |Views: 186

tags: another

Using ASP.NET MVC 4, ApiControllers and SQL Server 2012(galratner.com)

submitted by galratnergalratner(334) 4 days, 17 hours ago

ASP.NET MVC continues to innovate and in its current version (4) it offers support for Web APIs. Today we are going to examine a real life scenario of using Web APIs along with MVC 4 as we are utilizing the Google Earth plug-in to mark a defined area and SQL Server 2012 geography type to help us persist and calculate GIS data. In our example we are going to mark an area on the globe using a polygon, calculate the center of the area, find all of the coffee shops closest to the center of the area and arrange them by distance. We are going to mark them on the map as well as show a full list including ranking. read more...

add a comment |category: |Views: 178

tags: another

INotifyPropertyChanged with Compile Time Checking(www.codecapers.com)

submitted by threenine39threenine39(329) 4 days, 22 hours ago

neat little tips for wpf read more...

add a comment |category: |Views: 138

tags: another

Behaviour-Driven Development in .NET with SpecFlow and White(devblog.cloudreach.co.uk)

submitted by MikeBorozdinMikeBorozdin(1146) 5 days, 4 hours ago

This article gives an overview of behaviour-driven development (BDD), talks about .NET tools for BDD (SpecFlow) and UI testing (White) and proceeds with a working example giving hands on BDD in .NET read more...

1 comment |category: |Views: 193

tags: another

JSON Serialization in .NET 4.0 (www.keivansadra.com)

submitted by techiemaetechiemae(64) 5 days, 8 hours ago

Serialization is the process of converting a logical and in-memory object to a string data-type. This has many advantages such as: Storing this data in a database and later retrieving it, exposing an API that serves this data for consumers to use, and many more. JSON is the JavaScript Object Notation and it's used to represent JavaScript objects in string format. There are a ton of benefits to using this format in JavaScript-rich, interactive programs. read more...

add a comment |category: |Views: 23

tags: another

IoC & Convention over Configuration in an Agile world(www.infoq.com)

submitted by wladekwladek(38) 5 days, 23 hours ago

James Kovacs (http://www.jameskovacs.com) is highly regarded figure in the .NET consulting community. The video linked in this kick is a great talk on how to simplify your codebase using Convention over Configuration with your IoC container. It also briefly touches on some other topics like testing, app bootstrap/initialization, and lots of details regarding the Castle container itself. To download the FakeVader application he uses in his talk check it out on github: https://github.com/JamesKovacs/fakevader read more...

add a comment |category: |Views: 192

tags: another

EF 4.1+ POCO, Repository and Specification Pattern Framework(huyrua.wordpress.com)

submitted by wladekwladek(38) 5 days, 23 hours ago

I've been playing around with Code First EF implementations for awhile now and by far the best implementation I've seen is a framework by Huy Rua. It has the following functionality baked in: True Separation of Concerns for entities (no need for a data annotations dependency). A Generic Repository. This should do the trick for 80% of your standard CRUD operations without the need for repo's per entity. Supports multiple DbContext's and builds them dynamically. And finally a straightforward Specification pattern implementation. I use it as a base data layer for all my projects. read more...

1 comment |category: |Views: 247

tags: another

Windows 8 Metro: Something about application life-cycle(www.silverlightshow.net)

submitted by KMillerrKMillerr(2072) 5 days, 23 hours ago

Also if currently you are probably running Windows 8 on a virtual machine or luckily on a computer, there is not any doubt that this new operating system and especially the metro-style interface is dedicated to touch enabled devices like tablets. The plans of Microsoft infact include the new WOA keywork where the acronym stands for Windows On ARM that is the aim of making available this interface on a wide set of mobile devices that currently embrace this successful processor architecture. Running on a tablet does not only imply a different input interface like the touch screen, but also it requires a careful use of system resources that are not always large on this kind of device. This is the reason why metro-style applications have an application lifecycle that is mostly similar to the Windows Phone than of classical desktop apps. read more...

1 comment |category: |Views: 41

tags: another

Developer Productivity Tools and Visual Studio Extensions(www.mehdi-khalili.com)

submitted by dpetersondpeterson(4397) 5 days, 23 hours ago

Mehdi Khalili shares what's in his toolbox for Visual Studio. It's a curated list of some of the best productivity boosters available. read more...

1 comment |category: |Views: 405

tags: another