» tagged pages
» logout

sorted by: recent | see : popular
Content Tagged with .NET + How-To

Introduction to the Ninject IoC Container

Short screencast that will walk you through how to use the Ninject IoC (Inversion of Control) Container. This episode will also review the basics of the Strategy Pattern as it is critical to IoC.

technology: dzone.com: tech links

Learning Ruby via IronRuby and C# Part 3

In the previous part of my series about learning Ruby using C# we discussed constructors, instance methods, parameters, and then touched on blocks a bit at the end. Well, in this post we are going to delve a bit further into classes by talking about static methods (class methods in Ruby) , a bit more info about parameters, and then finish it up with some tidbits about conditionals and loops.

technology: dzone.com: tech links

25 Resources for Tuning Your .NET Application Performance

A great list of resources, including MSDN links, guides and .NET blogs, about improving .NET performance.

technology: dzone.com: tech links

Introduction on how to use Reflector

In this episode we will walk you though how to use the .Net tool Reflector. Reflector is the class browser, explorer, analyzer and documentation viewer for .NET. Reflector allows to easily view, navigate, search, decompile and analyze .NET assemblies in C#, Visual Basic and IL.

technology: dzone.com: tech links

WPF Tutorial - Using MultiBindings

Introduction to WPF's MultiBinding. The tutorial includes full source code and easy-to-follow examples.

technology: dzone.com: tech links

Skip lists are fascinating!

Skip lists are a fascinating data structure: very simple, and yet have the same asymptotic efficiency as much more complicated AVL trees and red-black trees. In this article, I discuss the asymptotic efficiency of operations on skip lists, the ideas that make them work, and their interesting use cases. And, of course, I give you the source code for a skip list in C#.

technology: dzone.com: tech links

Detecting Windows Safe Mode (C#)

Microsoft Windows can start in a special mode known as "Safe Mode". In this mode, certain drivers are disabled and networking may not be available. If your software requires this missing functionality, problems may occur.

technology: dzone.com: tech links

Using Generics and Anonymous Methods to your advantage - a recursive alternative

Awhile ago, I was conversing with someone about the features of the newer .Net Framework versions. One of the features mentioned was generics. My friend mentioned that he really liked the concept and recently started using them, but that he still couldn't quite see how generic collections could really be put to work. Ok... so that's the lead in for today's post - generics, collections, and 1 more "new" feature called anonymous methods.

technology: dzone.com: tech links

ASP.NET - Query Strings - Client Side State Management

Continuing the tour in the ASP.NET client side state management our current stop is the query string technique.

technology: dzone.com: tech links

How To Access Application Configuration File (App.config) Programmatically in C#

When creating a C# application, you may want to access the application configuration file (app.config) programmatically. In order to avoid using hard code, you can use the property: AppDomain.CurrentDomain.SetupInformation.ConfigurationFile to return the file path of the configuration file.

technology: dzone.com: tech links

Silverlight 2 Control Unit Tests

This video introduces the control source and unit test announcement from MIX, and then walks you through: exploring the Silverlight 2 Beta 1 control source code, unit test, unit test framework download and more

technology: dzone.com: tech links

How to Use Application Settings in Visual Studio.NET 2005/2008

Usually, every application needs some settings to control an application's look and feel, as well as its behavior, but at the same time these settings should be separated from the code itself. To solve this problem, .NET provides a complete infrastructure whose fundamental element is the setting.

technology: dzone.com: tech links

.NET-Fu: Zero Delay Signing Of An Unsigned Assembly

The code-base that I am currently working with consists of a large set of binaries that are all signed. The savvy .NET devs out there will know that any assembly that’s used/referenced by a signed assembly must also be signed.

technology: dzone.com: tech links

Programmers Puzzle: split a filepath

Intersting puzzle, come up with the best way to do some string manipulation, use the language of your choice

technology: dzone.com: tech links

Getting IronRuby Up and Running

I wanted to have a little walk-through on getting IronRuby up and running. I am normally a C# guy and this is usually a C# blog, but I think that exposure to dynamic languages is very important. Since .net is starting to get a bit dynamic (with IronPython, Boo (kinda), IronPython, and VB.net 10 (kinda)), I think that developers are going to start seeing this stuff more and more. Because of this I have created this little walk-through, but this month if you are in the Richmond VA area we are going to have our Meet and Code dinner (on the 31st of July 2008) on dynamic languages.

technology: dzone.com: tech links

.NET Parallel Extension Like Functionality Added To The Dizzy - Functional List Library

I have added an "AsParallel()" method to Dizzy which mimics the way that the Parallel Extensions to the .net framework works. So, if you want to call a parallel map function you simply need to do this:

technology: dzone.com: tech links

Is It a Managed or a Native Memory Leak?

How do you determine whether the memory issue you seem to be experiencing is a .NET memory leak or a native memory leak? Why is it even important? It's the first question I as a consultant would ask you if we were to talk over the phone regarding a high-memory problem you've having. It's extremely important because in most of the cases it narrows the scope of the problem and facilitates bringing the appropriate people, tools and resources for focusing on the task at hand.

technology: dzone.com: tech links

ASP.NET - Client Side State Management - Hidden Fields

In the previous posts in this series I introduced the client side state management and one of its techniques - the ViewState. Today I'm going to drill down into the hidden fields technique. As mentioned in the previous post, the ViewState stores its state in a hidden field.

technology: dzone.com: tech links

Conditional Operator ( ?: ) vs. Null Coalescing Operator ( ?? ) in C#

This article explains what is the null coalescing operator in C# 2.0 and how to use it to get neater code.

technology: dzone.com: tech links

How to Videos: Windows Presentation Foundation

I am starting to research Windows Presentation Foundation for a demonstration that I am working on and one of the resources that I was pointed to was the 3 videos that I am linking to below. In addition to that, there are some Virtual Labs, provided by Microsoft, that look promising. After I’ve gone through them, I will post the ones that I think are descent (from my perspective). In the meantime, check out these videos, when you have some time, especially the first one, if you are a beginner on the subject like I am.

technology: dzone.com: tech links

jQuery Goodness and ASP.NET AJAX - Take II

So clearly I am obsessing about getting jQuery features into my WebForm applications. I would seriously love to see the following added ...

technology: dzone.com: tech links

Converting Between ArrayList and Array in C#

From time to time, you may need to do the conversion between ArrayList and Array when you are coding in C#. This article demonstrates how to do these.

technology: dzone.com: tech links

101 LINQ examples in C#

Not be out done, here are the 101 LINQ Samples for C#. The interesting thing for someone like myself who has done both VB.NET (actually from VB DOS to VB.NET 2003) and having done mostly C# recently (last 4 years), is the approach that the Visual Basic and C# Teams took. I prefer the VB.NET way of doing things (I guess I am still biased towards the more Verbose/English-like Syntax of VB.NET over the more terse C# Syntax). Either way, the good news is that you can get the job done in either .NET Language, and I am assuming that you'll also be able to do LINQ in IronPython (PHP for .NET), IronRuby (Ruby on .NET), COBOL.NET, and all of the other .NET Languages.

technology: dzone.com: tech links

Creating an Automated Build for your Application

Short how-to screencast on creating an Automated Build for your Application

technology: dzone.com: tech links

How to Implement an Outlook-Like System Tray Notification Application in C#?

This article teaches you how to implement a Microsoft Outlook-like system tray notification application in C#.

technology: dzone.com: tech links

Themes for Silverlight Applications

A theming system for Silverlight 2 apps... this post steps you through creating a set of theme assets, adding customizability of themes (colors and fonts in the sample), and using them in an application, including selecting a theme dynamically... complete with source code.

technology: dzone.com: tech links

Testing Abstract classes with Rhino Mocks

Short how-to screencast showing how to test Abstract classes with Rhino Mocks

technology: dzone.com: tech links

C# Regular Expressions Examples

This article presents some commonly used regular expressions by examples in C#

technology: dzone.com: tech links

MySQL with .NET using ODBC

How-to connect to MySQL in .NET using ODBC Drivers

technology: dzone.com: tech links

How to Disable the AuotComplete Feature Programatically in ASP.NET?

The current popular Internet browsers, like Internet Explorer, Firfox etc, provide an AutoComplete feature for any form in a Web apge. But this can be a security risk somtimes, such as on a publicly-accessible computer (in a library or Internet café, for instance), this could allow someone to gain access to the login details of another user.This article shows you how to disable the AutoComplete feature programatically in an ASP.NET webapge.

technology: dzone.com: tech links

C# - Singleton Pattern vs. Static Classes

Problem: Store some common data in a singleton or static class about your program in an object array, which you store in a class. It saves state between usages and stores some caches, and must be initialized only once and shared in many code locations. Making a new object each time would be expensive.

technology: dzone.com: tech links

ASP.NET - ViewState - Client Side State Management

The ASP.NET ViewState is a client side state management technique which enables web pages to persist their state during postbacks. In the life cycle of a page, the current state of the page is hashed to a string and is saved into a hidden field. When opening a page with the View Source operation you can find the ViewState's hidden field by searching __VIEWSTATE keyword. An example of a ViewState on a web page can look like that

technology: dzone.com: tech links

Debugging 101 - Measure, do your homework and think out of the box

Being confronted with an occasional bug in a complex system can be quite overwhelming. There are three disciplines that help you to stay strong: 1) Read and learn about your platform and how to debug it. 2) Use tools to quickly get the low hanging fruit. This might be enough in most of the cases to identify the bug. 3) Think out of the box and try to be creative. Build a model, play with it, break it and fix it. In the worst case, you won't have found the cause of the bug, but you learned at least something new about your software.

technology: dzone.com: tech links

How to use Random class correctly to generate random numbers in .NET?

The Random class in the .NET Framework class library provides functionality to generate random integers and doubles. It seems that it is very easy and convenient to use Random class in your application, but the fact is that a lot of programmers have used it in a wrong way, this article demonstrates you how to use Random class correctly in your code.

technology: dzone.com: tech links

26 Not To Be Missed .NET Articles - June 2008 - .NET Zone

This month we have even more then in May in fact, we have almost tripple, we cover topics such as Deliver Next-Generation SOA Apps with Microsoft Robotics Development Studio, Get Started Building Silverlight 2 Applications, TypeTransmogrifier, Windows Mobile: Communicating with the Outside World and many more. Enjoy!

technology: dzone.com: tech links

Page 1 | Next >>