» tagged pages
» logout

sorted by: recent | see : popular
Content Tagged with .NET + frameworks

MVC Storefront Part 16: Membership Redo With OpenID

I take a sledge-hammer (this is Ayende's fault) to my current Membership system and split it out into three separate services/parts. I then sit with Jon Galloway and talk about OpenID - and then I implement it.

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

MVC JSON - JsonResult and jQuery

The latest release of the MVC framework provides the JsonResult for Controller actions. I was surprised that I did not find a weatlh of examples for usage so I figured it shouldn't be too hard to get a decent example going. It turns out, it was even easier than I anticipated. I wanted to create an example where I would invoke an AJAX call to dynamically populate a dropdown list.

technology: dzone.com: tech links

A simpler way of expressing state machines in code.

Looking at possible ways of making a simpler DSL for GUI state machines.

technology: dzone.com: tech links

Managing Command Line Arguments

I've been spending many of my recent developer cycles writing console applications to perform various tasks in an ETL process. And yes, before you ask, I had started out initially modeling my ETL process with SSIS - and while I could eventually get it to do what I wanted, at the end of the day, regular code was a more direct and expressive syntax for describing my process.

technology: dzone.com: tech links

Design Patterns - Observer/Event Pattern

Yesterday I described the Observer Pattern and mentioned that the .NET CLR provides this functionality through events and delegates. Let’s have a look on how to implement this right now. We’re using delegates with generics, the += operator and throwing and handling events.

technology: dzone.com: tech links

The Principles for Developing Application Frameworks

An application framework offers a set of reusable designs and code that assists in the development of software applications. To develop a highly usable and extensible framework, not only you need significant human resource demands, but also you need to follow five principles: Modularity, Reusability, Extensibility, Simplicity and Maintainability.

technology: dzone.com: tech links

jQuery for Asp.net MVC preview 3

So, quite some things have changed in jQuery for Asp.net Mvc preview 3, which made me decide to change a lot in the jQuery for Asp.net mvc (jqmvc) too. To start with most radical one: I ditched the ajax.master. This little ‘framework’ does not rely on a special masterpage in your website from now on. Since things have radically changed, I’ll start all over again on how to use this project.

technology: dzone.com: tech links

Intro to NHibernate

This article takes someone through setting up NHibernate for the first time using the AdventureWorks database.

technology: dzone.com: tech links

Getting back to the UI Thread in Silverlight 2 Beta 2

Silverlight 2 Beta 2 has changed the concurrency model for asynchronous communications. In Silverlight 2 Beta 1, asynchronous requests always returned on the UI Thread. This was convenient, since updates to the user interface can only be done via the UI thread. As of Silverlight 2 Beta 2, asynchronous callbacks are fired in worker threads that come from a thread pool: although this potentially allows for better performance via concurrency, it increases the risk for race conditions between callbacks – more importantly, some mechanism is necessary to make code that updates the user interface run in the UI thread.

technology: dzone.com: tech links

10 Tools Which I Left After Using VSTS 2008

I have started using Visual Studio Team System (VSTS) 2008, recently. Previously I worked with Visual Studio 2005. As a matter of fact I had to use lots of external tools to perform and speedup my development process. However, while working with VSTS 2008, it's very exciting for me that, I found replacements for most of the external tools there. Here are 10 tools which I left after using VSTS 2008.

technology: dzone.com: tech links

Not persisting invalid entities is rubbish!

Should business entities be able to persisted anytime, even when they're not valid?

technology: dzone.com: tech links

Objectively evaluating O/R Mappers (or how to make it easy to dump NHibernate)

I'm amazed that there is so much talk about object/relational mappers these days. Pleased, but amazed. I tend to be in the "early adopter" part of the Rogers technology adoption curve.

technology: dzone.com: tech links

ASP.NET MVC in the Real World

MVC (the "model view control" pattern) isn't new, but it is new to ASP.NET. If you're like me, you may have been impressed by a demo, but you've probably thought "how does this work in the real world?" I hope to answer that question in this article.

technology: dzone.com: tech links

S#arp Architecture

I recently stumbled across Billy McCafferty's new open source project, S#arp Architecture, and I must say that I am quite impressed. From the S#arp Architecture project description: Pronounced "Sharp Architecture," this is a solid architectural foundation for rapidly building maintainable web applications leveraging the ASP.NET MVC framework with NHibernate and Spring.NET. The primary advantage to be sought in using any architectural framework is to decrease the code one has to write while increasing the quality of the end product.

technology: dzone.com: tech links

Playing Nice With Service Locators

An explanation of how you can use the Service Locator pattern along with dependency injection to make your code more flexible in certain cases.

technology: dzone.com: tech links

Ninject 1.0 Goes Gold

Ninject, an ultra-lightweight dependency injection framework for .NET, just hit version 1.0, including support for the .NET Compact Framework and Silverlight.

technology: dzone.com: tech links

Back to Basics - Life After If, For and Switch - Like, a Data Structures Reminder

I just had a great one on one coding learning session with a good friend of mine over lunch. He's trying to take his coding skills to the "next level." Just as we plateau when we work out physically, I think we can plateau when coding and solving problems. That one of the reasons I try to read a lot of code to be a better developer and why I started The Weekly Source Code. He said it was OK to write about this as someone else might benefit from our discussion. The code and problem domain have been changed to protect the not-so-innocent.

technology: dzone.com: tech links

A Tale of Two Compilers

In previous posts, I have hinted at the fact that there is more than one C# compiler on a machine with Visual Studio and .NET Framework installed. Sometimes there are several. Simply put, when we release Visual Studio we release a compiler referred to as the in-process compiler, or in-proc compiler. We generally also release a new version of the .NET Framework at the same time.

technology: dzone.com: tech links

Gaia Ajax Widgets price reduced with 90% to $49

Many users have told us that Gaia is great but it feels a little bit too steep on the price. Well, today we have reduced the price with almost 90%. Gaia now costs $49! Meaning you can get a proprietary license of Gaia for the cost of a couple of BigMacs at McDonalds. Or less than a pair of Jeans would cost you.

technology: dzone.com: tech links

Rich domain modeling with Visual Studio 2008

LightSpeed 2.0 includes a powerful visual domain model designer that has support for database round tripping (auto update on schema changes, push model changes to the database), creates .NET 2.0 compliant or .NET 3.5 compliant code depending on the target framework of your project and customizable code generation templates. Drag and drop database support for SQL Server, Oracle, My SQL, SQLite and PostgreSQL is also supported right out of Visual Studio 2008. Free version available.

technology: dzone.com: tech links

Testing Gaia, ExtJS, Telerik and ComponentArt Samples with YSlow

A YSlow comparison between samples from the popular Ajax controls vendors for ASP.NET

technology: dzone.com: tech links

Release Candidate of Glory OUT - 100% XHTML compliance and more

The first Release Candidate of Gaia Ajax Widgets - Glory is now out

technology: dzone.com: tech links

UserControls with the MVC Framework

When building applications re-using components that contain functionality that is used in more than one place in that application is best practice. More than that it is one of the fundamentals of OO development. What about with the MVC framework? Can we use Controls, or UserControls? Because the MVC Framework does not use ViewState, events can not be used, so how do we use these Controls with the MVC Framework? With the MVC Framework at this moment in time we can use the MVCToolkit, this Toolkit has UIHelpers, with these UIHelpers it is easier to create Textboxes, Dropdownlists, RadioButtons etc in the View.

technology: dzone.com: tech links

Dynamically Generating PDFs in .NET

It's perfectly possible to generate a PDF from scratch, using a library such as iTextSharp, a port of a free Java PDF library. However, it can be hard work defining all the code you need to generate the layout you're after, and impossible for someone to tweak the layout without going back to the developer.

technology: dzone.com: tech links

Cache Or Session State - Similar But Different

This week at TechEd Microsoft announce the Velocity project, a distributed in-memory object caching system, which got folks like Dare and ScottW talking about using a distributed caching solution for boosting the performance of web sites. That got me thinking more about the differences between Cache and Session State. Although they seem to be the same, and often caching solutions are used for storing session data, I'm not a big fan of putting session in a cache solution

technology: dzone.com: tech links

Which is the Hottest Java Web Framework? Or Maybe Not Java at All?

I sat down to see if I could figure out what the hottest Java web framework is recently and was surprised at the results... once I started including non-Java web frameworks into my search. Are Java developers just fighting over scraps?

technology: dzone.com: tech links

When should I use LINQ?

Great, in-depth discussion of when it makes to sense to use LINQ in LightSpeed 2.0.

technology: dzone.com: tech links

Attributes? We don't need no stinkin' attributes.

An explanation of how to use Ninject, the .NET dependency injector, to wire up dependencies without the use of the [Inject] attribute.

technology: dzone.com: tech links

Image Capture and Auto-Resize With Cropper

Having talked about the pain of capturing image snapshots, someone mentioned Cropper and its plug-in model so I thought I'd have a bash at creating a plug-in to optionally re-size on capture. Using these helpful articles (here and here) on using the GDI+ System.Drawing classes to do image re-sizing I was able to pull something together pretty quickly. I modified the Cropper Clipboard Format plug-in to optionally re-size to a user specified width/height using InterpolationMode.HighQualityBicubic for image reduction.

technology: dzone.com: tech links

Give way to the yield keyword!

I ran into this keyword by accident (yield, accident... very funny), and I must say - this accident was a good one! yield is a small keyword who has gotten used to live by the shadows of the celebrity keywords (static, const, Paris Hilton, Madonna, etc.), and I say – let's change it! Let's give yield what it deserves!

technology: dzone.com: tech links

A collection of free ExtJS Themes/Skins that works with Gaia

I've wrapped up and tested a handful of ExtJS skins/themes that works with Gaia and added them up for download here with screenshots for those interested.

technology: dzone.com: tech links

LightSpeed 2.0 Released

we’re pleased to announce the release of LightSpeed 2.0, the next major version of our high performance, high productivity .NET O/RM and domain modeling framework. Many months in the making, LightSpeed 2.0 introduces (among other things) first class LINQ support and a rich Visual Studio designer experience. In this post I’ll summarize some of the highlights of the 2.0 release. Later blog posts will drill deeper into each major feature.

technology: dzone.com: tech links

Your own WPF PropertyGrid control in a couple of hours

First thing you should always keep in mind is that with WPF the GDI age is over. You don't need drawing and rendering everything from code. This brings out that something like PropertyGrid control is now nothing more but a collection of brushes, data templates and the most simple steps introducing the desired layout. It might take about 5 or 6 hours implementing the same control from the scratch assuming you already have styles/themes for the controls.

technology: dzone.com: tech links

TDD Tips: Test Naming Conventions & Guidelines

The idea behind test driven development is that you are writing the test first. Since all code must reside in a method, the very first step before you can write any code, is to name the test. If you're new to TDD, you'll find this to be a very difficult thing to do. Don't let this discourage you, I'd go so far to say that out of all the tasks a developer must accomplish, finding names for things is perhaps the most difficult.

technology: dzone.com: tech links

Coding style per project

A few months ago, when I installed Visual Studio 2008 on my system, I opened one of my projects, did the usual project conversion, edited some files, created a few others, saved, tested, and checked in source control. Another developer working on the same project, also with VS2008, later edited some of the same files I had edited.

technology: dzone.com: tech links

Page 1 | Next >>