DotNetShoutout - Stories tagged with Source code
3
Shouts

Writing a Custom ConfigurationSection to handle a Collection

published 617 days, 20 hours, 49 minutes ago posted by abhi2434abhi2434 618 days, 9 hours, 19 minutes ago
Monday, September 12, 2011 12:09:00 PM GMT Sunday, September 11, 2011 11:39:29 PM GMT
Configuration is one of the major thing that you need to keep in mind while building any application. Either its an Windows Forms application or a Web site, configuration file is always needed. We write all the configuration that are needed to be changed after it is being deployed in confugration files. It is an XML File which lists all the configuration blocks itself and also allows you to define your own custom configuration sections yourself. Today I am building my own custom configuration section and... (more)
category: Architecture | clicked: 23 | 1 comment | | source: www.abhisheksur.com
tags: .NET, C#, Configuration, Source code
3
Shouts

Conference Junkie Source Code

published 770 days, 11 hours, 56 minutes ago posted by KodefuGuruKodefuGuru 773 days, 23 hours, 21 minutes ago
Tuesday, April 12, 2011 9:01:54 PM GMT Saturday, April 09, 2011 9:37:26 AM GMT
As promised, here is the source code to Conference Junkie, the suite of .NET based applications we demoed during last Friday's Integration Webinar. I've detailed everything required to get the code up and running below. All of this information is also contained within a readme.txt file included with the project... (more)
category: Metro | clicked: 0 | 1 comment | | source: blogs.telerik.com
tags: Windows Phone 7, Source code
3
Shouts

Know about Details View Control with a good Example.

posted by deliciousdotnetdeliciousdotnet 784 days, 1 hour, 35 minutes ago
Wednesday, March 30, 2011 7:23:05 AM GMT
The DetailsView is a control that is complementary to the GridView control. It has been introduced in ASP.NET 2.0 to provide an ability to work with a single record or row from an associated data source. The default view of this control is vertical with each column of the record displayed on a line of its own. The DetailsView, like the GridView rides on the data source capabilities to update, insert or delete rows. ( Download full Source code ) It renders a single data item at a time even whe... (more)
category: Web Dev | clicked: 0 | comment | | source: deliciousdotnet.blogspot.com
tags: C#, Source code, details view, example, ASP.NET
2
Shouts

WPF Blogger | Source code for Style of Sliding ToggleButton in WPF

published 900 days, 12 hours, 29 minutes ago posted by ParvezParvez 901 days, 13 hours, 59 minutes ago
Friday, December 03, 2010 8:29:42 PM GMT Thursday, December 02, 2010 6:58:59 PM GMT
The power of WPF that allows you to change the look and behavior of the control has always amazed me and I simply love working with Styles and Templates in WPF. I have made a ToggleButton which has cool sliding effect. When the ToggleButton is checked on the sliding element moves to right showing “ON” state written and when you check it off it shows the “OFF” state written and the sliding element moves back to the left. Below image shows you how the control looks in ToggleOn and ToggleOff State. You ca... (more)
category: UX | clicked: 13 | comment | | source: www.wpfblogger.com
tags: WPF, CodePlex, Source code, wpfblogger, ToggleButton
4
Shouts

Step Into .NET Framework 4.0 Source Code - Arik Poznanski's Blog

posted by arikarik 1044 days, 20 hours, 30 minutes ago
Monday, July 12, 2010 12:28:06 PM GMT
Step Into .NET Framework 4.0 Source Code In this post I’ll show you how to configure your Visual Studio 2010 to step into the source code of .NET Framework 4.0Why? Because its cool. Because it helps with debugging. Not only you can see the code but you can step into it. Because unlike with Reflector, you get the code with the original comments and variable names!  Step 1: Download Source Go to http://referencesource.microsoft.com/netframework.aspx Download from the line marked with Product... (more)
category: How To | clicked: 0 | comment | | source: blogs.microsoft.co.il
tags: .net 4, Source code
6
Shouts

Scott Hanselman - The Weekly Source Code 52 - You keep using that LINQ, I dunna think it means what you think it means.

published 1067 days, 20 hours, 11 minutes ago posted by rajuraju 1069 days, 2 hours, 42 minutes ago
Saturday, June 19, 2010 12:47:38 PM GMT Friday, June 18, 2010 6:16:06 AM GMT
Remember good developers don't just write source code, they also READ it. You don't just become a great poet by writing lots of poems. Read and absorb as well. Do check out the Source Code category of my blog here, there's (as of today) 15 pages of posts on Source Code you can check out. Recently my friend Jonathan Carter (OData Dude, my name for him) was working with a partner on some really weird stuff that was happening with a LINQ to SQL query. Remember that every abstraction sometimes leaks and tha... (more)
category: Web Dev | clicked: 3 | comment | | source: www.hanselman.com
tags: Linq To SQL, Source code
6
Shouts

Extending NerdDinner: Exploring Different Database Options - Scott Hanselman

published 1092 days, 20 hours, 15 minutes ago posted by jantujantu 1093 days, 17 hours, 12 minutes ago
Tuesday, May 25, 2010 12:43:13 PM GMT Monday, May 24, 2010 3:46:22 PM GMT
The original NerdDinner Sample was very simple. Two samples, simple, in fact. Perhaps it's the new Northwind, as it's a good way to start working with ASP.NET MVC. However, it's not a perfect sample or an idealized example on how to do many things that users want to do.Fortunately, there's been lots of cool folks in the community who have "forked" NerdDinner and done interesting stuff with it. Each of these samples is usually focused on a specific scenario, so they won't necessarily be merged with the ... (more)
category: Web Dev | clicked: 2 | comment | | source: www.hanselman.com
tags: ASP.NET MVC, Data | NerdDinner, ASP .NET, Source code, Open Source, ASP.NET
7
Shouts

Developing an ASP.NET ColorPicker Server Control using jQuery

published 1100 days, 18 hours, 48 minutes ago posted by mehdi_mousavimehdi_mousavi 1101 days, 18 hours, 54 minutes ago
Monday, May 17, 2010 2:10:19 PM GMT Sunday, May 16, 2010 2:04:44 PM GMT
A tutorial on how to develop a custom jQuery plug-in and how to develop an ASP.NET Server Control that wraps the mentioned plugin. The complete source code is also provided. (more)
category: Web Dev | clicked: 2 | comment | | source: blog.mehdi.biz
tags: C#, Source code, Tutorial, jQuery, ASP.NET
6
Shouts

FavIcons, Internet Zones and Projects from a Trustworthy Source - Scott Hanselman

published 1149 days, 2 hours, 34 minutes ago posted by jantujantu 1150 days, 16 hours, 34 minutes ago
Tuesday, March 30, 2010 6:23:59 AM GMT Sunday, March 28, 2010 4:24:36 PM GMT
You ever download some code or a Visual Studio project from the web then start getting warned that the download might be evil? When you open a project file that was downloaded from the Internet Zone, you'll get a dialog like this from Visual Studio: If you're wondering "how does it know?" when your browser downloads something from the net, the zone that it came from gets marked in an Alternate Data Stream within the NTFS file system. If you use the Streams utility from SysInternals from the command... (more)
category: Web Dev | clicked: 9 | 1 comment | | source: www.hanselman.com
tags: Source code, VS2010., Tools
8
Shouts

The Weekly Source Code 51 - Asynchronous Database Access and LINQ to SQL Fun - Scott Hanselman

published 1174 days, 21 hours, 27 minutes ago posted by jantujantu 1175 days, 18 hours, 22 minutes ago
Thursday, March 04, 2010 11:31:14 AM GMT Wednesday, March 03, 2010 2:36:45 PM GMT
You can learn a lot by reading other people's source code. That's the idea behind this series, "The Weekly Source Code." You can certainly become a better programmer by writing code but I think good writers become better by reading as much as they can. I was poking around in the WebFormsMVPproject's code and noticed an interesting pattern.You've seen code to get data from a database and retrieve it as an object, like this:public Widget Find... (more)
category: Web Dev | clicked: 0 | comment | | source: www.hanselman.com
tags: ASP.NET ASP.NET MVC, Source code, Open Source, Linq
8
Shouts

The Weekly Source Code 50 - A little on "A generic error occurred in GDI+" and trouble generating images on with ASP.NET - Scott Hanselman

published 1185 days, 14 hours, 22 minutes ago posted by jantujantu 1188 days, 18 hours, 55 minutes ago
Sunday, February 21, 2010 6:36:05 PM GMT Thursday, February 18, 2010 2:02:48 PM GMT
I got a nice little Yellow Screen of Death (YSOD) error on some code running under IIS that worked fine when running on the VS Developer Web Server. The error was "A generic error occurred in GDI+" and you know that if an error is generic, it's sure in the heck not specific.My little application takes an overhead map that's stored in a local file, does some calculations from user input and draws an X on the map, then returns the resulting dynamically generated image.There's basically three ways to do... (more)
category: Web Dev | clicked: 0 | 1 comment | | source: www.hanselman.com
tags: Source code, ASP.NET
6
Shouts

The Weekly Source Code 48 - DynamicQueryable makes custom LINQ expressions easier - Scott Hanselman

published 1203 days, 22 hours, 13 minutes ago posted by mithumithu 1204 days, 23 hours, 47 minutes ago
Wednesday, February 03, 2010 10:45:04 AM GMT Tuesday, February 02, 2010 9:11:04 AM GMT
This isn't a language feature! This works on both C# and VB!Last week I wrote a post about Dynamic Linq Query Generation in order to solve a kind of meta-programming problem. I had a site that used ASP.NET Dynamic Data and I wanted to do a LINQ query against some data. However, because I was creating a template that didn't know enough at compile time to write a ... (more)
category: Web Dev | clicked: 3 | comment | | source: www.hanselman.com
tags: Programming, ASP.NET Dynamic Data, Source code, Open Source
3
Shouts

Waking up the computer at the office with your cell phone | Software and UX

published 1208 days, 22 hours, 23 minutes ago posted by http://pedropombeiro.blogspot.com/http://pedropombeiro.blogspot.com/ 1209 days, 7 hours, 57 minutes ago
Friday, January 29, 2010 10:35:37 AM GMT Friday, January 29, 2010 1:01:15 AM GMT
… And saving on utility bills while you’re are it! What I’m about to show you is a way to wake up your machine remotely with nothing more than a Twitter client and a small utility running on one of the machines at your office/campus. (more)
category: Smart Client | clicked: 0 | comment | | source: sweux.com
tags: Wake-on-LAN, WPF, Source code, Open Source, Twitter
11
Shouts

The Weekly Source Code 47 - ASP.NET 3.5 Dynamic Data: FilterRepeaters and Dynamic Linq Query Generation - Scott Hanselman

published 1222 days, 20 hours, 3 minutes ago posted by jantujantu 1224 days, 22 hours, 8 minutes ago
Friday, January 15, 2010 12:54:58 PM GMT Wednesday, January 13, 2010 10:50:13 AM GMT
First, let me start this post by thanking Tatham Oddie. He helped my buddy John Batdorf and I debug our issue remotely from Australia. He's patient, kind, opinionated and Tatham's got a darn fine blog that you should subscribe to now. I also found great inspiration from Stephen Naughton's excellent blog. He's continually pushing ASP.NET and Dynamic Data to do fun things and I was able to use 95% of his auto-complete code as I found it. And finally Marcin Dobosz's blogis where I started, taking his Dynami... (more)
category: Web Dev | clicked: 3 | comment | | source: www.hanselman.com
tags: ASP.NET MVC, ASP.NET AJAX, ASP.NET Dynamic Data, Source code, ASP.NET