Download Silverlight demo project - 38.05 KB
I wrote the first version of the article a year ago. I needed a simple loading indicator for my Silverlight application, something like a spinning wheel. I found a few controls, but... some of them were too complex, some - pretty hard to customize. Finally, I created my own control and published an article on the CodeProject. The feedba
Download printer_settings_src.zip - 16.2 KB
The usage of DocumentProperties and SetPrinter API functions gives an opportunity to change the printer settings. But, when using them, I could not have a stable method of changing settings on all Windows OS versions. Below, all possible methods of changing printer parameters will be described and also the solution of how to obtain the
Download PrivateProject_ConvertTemp__2_.zip - 78.34 KB
Download CvrtC2Frnt.zip - 97.98 KB
To understand this article one have to go through the Part-I. This will be useful for those ISVs or clients who would like to send the data back to Axapta after processing from third party application. As earlier stated in Part – I, when temperature will be converted than the temperature dat
Download RegexTester - 43.82 KB
Writing regular expressions can be frustrating and hard to get right. Having a tool for testing them in your
development environment would be nice but I haven't found a free Visual Studio add-in for testing regular expressions,
which actually works the way I want it to, so I have made one myself.
It has the following features:
Allows you to edit yo
Download source files - 657.97 KB
Download setup package - 1.57 MB
This article is part one of a series on developing a Silverlight business application using MEF, MVVM Light, and WCF RIA Services.
Part 1 - Introduction, Installation, and General Application Design Topics
Part 2 - MVVM Light Topics
Part 3 - Custom Authentication, Reset Password and User Maintenance
Jump to: Integration with Visual Studio
For most developers, Visual Studio is the best tool for the job. And due to a variety of factors, it is also often the only one. It comes with a plethora of project templates to get a developer started or to aid a seasoned professional. Regrettably, the templates are often oversimplified samples that end up in the real products for the mere f
When a developer wants to display a list of items with the ability to select some
of them, there are not many options available, actually it comes to only two:
Check box list
Both have some disadvantages.
The list box control selection is just highlighting of a row, which is visually
weak type of selection, multiple selection is not intuiti
Back in the day, processors had a single core and clock speeds increased steadily every year. This meant that although writing multi-threaded code for a single CPU gave some performance improvements (since single-core CPUs usually try to execute multiple threads), it was hardly the top of any developer’s list of priorities. In the last few years, clock speeds have reached a plateau and
Download CustomValidationSummary - 3.01 KB
One month ago I have been working on an asp.net project that I still working on and I came a cross a point where I wanted to have a centralized Validation Summary and Multi-Validation Groups, of course with no hesitations I added a centralized validation summary and started to do my validation ... but unfortunately I wasn't lu
Download MultiplePartialPageRequest_src - 22.61 KB
When a page makes multiple asynchronous post backs at the same time, the post back made most recently takes precedence.
Please refer the demo.
There are 3 buttons in an update panel which when clicked will update their respective labels with server date time stamps. If you click on button 1 and then immediately click on button
Download SecureUrl - 723 KB
Threat and security measures go hand in hand in the history of internet era. We have improved a lot in security measures to make hacker's life really hard. Here I am expalining a method which prevents the submission of any malformed URL request (forged URL) to a web application. The idea is simple that any URL request to the secured application spacecan
Download mvcmusicstoredna - 5.62 MB
Introduction MVC Music Store is a tutorial application built on ASP.NET MVC 2. It's a lightweight sample store which sells albums online, demonstrating ASP.NET MVC 2's productivity features and data access via Entity Framework 4. When we get the MVC Music Store source code,we will found it's too simple to use and it's looking is very bad. So i will
Download source code - 68.17 KB
An idea to compose a page from data bound hierarchical scopes is a new web development approach intended to simplify building of reach Web 2.0 applications, maximizing a level of separation between presentation and server-side logic, and minimizing the impact of framework architecture and infrastructure on the resulting back-end code design. The way dat
In the first
part of this article, we've discussed Service Oriented HTML Application's
key distinguish features, it has loosely coupled front end and service, backend
service is presentation agnostic business logics and provides data access, web
generating HTML, and on the client side, D
Download JsonRestWCF.zip - 53.59 KB
This article presents a method to consume cross-domain WCF Rest Services using jQuery Ajax Calls with an example.
Representational State Transfer (REST) is a style of software architecture for distributed hypermedia systems such as the World Wide Web. It was first introduced by Roy Fielding in his PhD thesis "Architectural Style
Every programmer has them lying around, you know what I'm talking about, those little utility functions that help with string conversions. Especially in website development where everything is treated as plain text I can't go without some easy functions to help me with the parsing of DateTimes, Booleans, Integers and Guids amongst others.
When I recently came across an article abou
Download JsonMVC.zip - 77.06 KB
This article uses a simple example to answer some common questions when working on Json objects in jQuery and MVC.
This FAQ article is continuation to design pattern FAQ part 1 and 2. In this article we will try to understand state pattern,stratergy,visitor,adapter and flyweight pattern.
In case your are completely new to design patterns or you really do not want to read this complete
article do see our free design pattern Training and interview questions / answers videos.
This article explains how to maintain the web application state.
Download sample - 738 KB
Web Application State
A Web page is recreated every time it is posted back to the server. In traditional Web programming, this means that all the information within the page and information in the controls is lost with each round trip. To overcome this limitation of traditional Web