Click here to Skip to main content

Articles by Artem Smirnov (Articles: 2, Technical Blogs: 34)

Articles: 2, Technical Blogs: 34

RSS Feed

Average article rating: 4.09

Printing

Object-oriented Printing with Inka, Part 1
Posted: 22 Apr 2008   Updated: 27 Feb 2009   Views: 18,426   Rating: 4.00/5    Votes: 4   Popularity: 2.41
Licence: The GNU Lesser General Public License (LGPLv3)      Bookmarked: 26   Downloaded: 220
The basics of Inka, an open source printing component

Exception Handling

Custom Exceptions in Custom Components
Posted: 9 Jul 2007   Updated: 25 Sep 2007   Views: 32,070   Rating: 4.18/5    Votes: 13   Popularity: 4.65
Licence: Not specified      Bookmarked: 41   Downloaded: 0
This article is about when to throw an exception, why take some effort and define a custom exception class, how to provide more information to the developers that consume your component, and, finally, how to unit test your exceptions.

Average blogs rating: 4.05

Miscellaneous

Creating a custom Visual Studio project template for Ivonna [Technical Blog]
Posted: 10 Oct 2011   Updated: 10 Oct 2011   Views: 6,424   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
Creating a custom Visual Studio project template.

Applications & Tools

FubuMVC for dummies, noobs, and other noble gentlemen [Technical Blog]
Posted: 16 Jun 2011   Updated: 16 Jun 2011   Views: 8,117   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
For those of you scared by the numerous steps required to setup a typical Open Source project, this would be a pleasant surprise.
HW'in it with FubuMVC [Technical Blog]
Posted: 16 Jun 2011   Updated: 16 Jun 2011   Views: 7,001   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
A few tricks in using FubuMVC

ASP

Custom Asp.Net Model Binders series, part 3: Subclassing your models [Technical Blog]
Posted: 2 Feb 2012   Updated: 2 Feb 2012   Views: 7,749   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
codeproject This is the third part in the series about custom Asp.Net MVC Model Binders and Value Providers. Part 1 is about two ways of using DateTime.Now as an Action Method parameter for better testability, and Part 2 is about building a Value Provider for the Http Header values. Read on.</p.

ASP.NET

58 things you always wanted to test in ASP.NET MVC, but were afraid to [Technical Blog]
Posted: 21 Jul 2011   Updated: 21 Jul 2011   Views: 4,041   Rating: 1.89/5    Votes: 2   Popularity: 0.60
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
Share your wildest ideas about testing the MVC stuff you code.
HelloFubuWorldSparkMVC [Technical Blog]
Posted: 22 Jul 2011   Updated: 23 Jul 2011   Views: 3,820   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
Rumours say the WebForms support in FubuMVC is soon to be abandoned, so let's not stick to the outdated technology and move on. Recently the Spark integration has been reworked, and the necessary bits added to the official NuGet source, so using Spark in Fubu became so ridiculously s
Custom ASP.NET Model Binders series, Part 1: Now How [Technical Blog]
Posted: 5 Nov 2011   Updated: 5 Nov 2011   Views: 2,725   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
Writing testable Action Methods.
Using Ivonna and CThru for testing Asp.Net MVC Views, part 1 [Technical Blog]
Posted: 30 Mar 2010   Updated: 18 Jun 2010   Views: 3,270   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
CodeProjectWait, isn't MVC testable by design? Yes, most of it is testable, but as for the Views, you have to resort to integration tests (which isn't bad by itself, but sometimes is not enough).In my recent project, I needed to write a test verifying that if a user is not authenticated, she should
A useless custom ASP.NET value provider (or maybe not that useless after all) [Technical Blog]
Posted: 7 Dec 2011   Updated: 7 Dec 2011   Views: 10,640   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
Implementing a custom ASP.NET value provider.

Client side scripting

Fixing the jQueryUI dialog height in IE, the Quirks way [Technical Blog]
Posted: 7 Jun 2012   Updated: 7 Jun 2012   Views: 3,025   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
codeproject Today I had some fun trying to figure out how to fix the height of the jQueryUI dialog. The client wanted it to be exactly 500px. Or something that resembled 500px. Anyway, it definitely shouldn't have been from the top to the bottom of the screen. Although I sure set it to 500.The f

Web Services

Breaking changes in Ivonna v.3 [Technical Blog]
Posted: 2 Sep 2011   Updated: 2 Sep 2011   Views: 8,795   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
Here are the breaking changes in Ivonna v.3.

Other .NET Languages

Testing ASP.NET pages with Telerik's JustMock [Technical Blog]
Posted: 5 Jul 2010   Updated: 8 Jul 2010   Views: 5,895   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
The following is not a problem with JustMock, it's a problem with trying to write a unit test involving a complex framework, and isolating parts of it not meant to be isolated.

.NET Framework

Using Ivonna and CThru for testing Asp.Net MVC Views, part 1 [Technical Blog]
Posted: 12 Apr 2010   Updated: 12 Apr 2010   Views: 2,621   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
CodeProjectWait, isn't MVC testable by design? Yes, most of it is testable, but as for the Views, you have to resort to integration tests (which isn't bad by itself, but sometimes is not enough).In my recent project, I needed to write a test verifying that if a user is not authenticated, she should
Using Ivonna and CThru for testing Asp.Net MVC Views, part 1 [Technical Blog]
Posted: 19 Jul 2010   Updated: 19 Jul 2010   Views: 2,692   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
CodeProjectWait, isn't MVC testable by design? Yes, most of it is testable, but as for the Views, you have to resort to integration tests (which isn't bad by itself, but sometimes is not enough).In my recent project, I needed to write a test verifying that if a user is not authenticated, she should
Using Ivonna and CThru for testing Asp.Net MVC Views, part 1 [Technical Blog]
Posted: 19 Jul 2010   Updated: 19 Jul 2010   Views: 2,775   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
CodeProjectWait, isn't MVC testable by design? Yes, most of it is testable, but as for the Views, you have to resort to integration tests (which isn't bad by itself, but sometimes is not enough).In my recent project, I needed to write a test verifying that if a user is not authenticated, she should
A Flush In The Night [Technical Blog]
Posted: 11 Jan 2011   Updated: 11 Jan 2011   Views: 4,788   Rating: 4.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
Often you want to do some "fix" on your data before pushing it to the database....

Win32/64 SDK & OS

A Dose Of Code [Technical Blog]
Posted: 17 Apr 2009   Updated: 17 Apr 2009   Views: 6,863   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
A Dose Of Code

Code Generation

C-eeing Thru Your Code [Technical Blog]
Posted: 19 Jun 2010   Updated: 19 Jun 2010   Views: 3,646   Rating: 4.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
Let me introduce you to this exciting library, CThru.

Design and Architecture

Tough Choices: Test First, or Test Driven? [Technical Blog]
Posted: 22 Jul 2011   Updated: 23 Jul 2011   Views: 2,354   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
codeproject Writing a test before you write the first line of production code is a revolutionary concept. No, really. Blew my mind when I first heard about it. Running a test when you sure know it won't pass feels like programming Mad Hatter style. When you start doing it, you feel like a rebel,
Tough Choices: Test First or Test Last? [Technical Blog]
Posted: 22 Jul 2011   Updated: 23 Jul 2011   Views: 2,841   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
This post is a part of the new series called "Tough Choices". These are choices about the kinds of tests we write, and how do we do it. I'm writing the series in order to bring a little understanding of what's going on to the masses.When you're a beginner and just learn automated tes
Seven virtues of Test-Driven Development [Technical Blog]
Posted: 16 Jun 2011   Updated: 23 Jul 2011   Views: 8,533   Rating: 4.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
The advantages of using TDD.
Integration vs unit tests [Technical Blog]
Posted: 3 Aug 2011   Updated: 10 Aug 2011   Views: 18,701   Rating: 3.50/5    Votes: 2   Popularity: 0.60
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
codeproject When people are talking about automated testing, unit tests get all the buzz. Alpha geeks do them all the time, Uncle Bob Martin blogs about them, Oprah invites them to her show, Mr.President.. well, you got the idea. When somebody mentions integration tests, it's like, "you should w

Testing and QA

The Amazing Adventures In Advanced Arrange-Act-Assert [Technical Blog]
Posted: 21 Jul 2011   Updated: 21 Jul 2011   Views: 2,721   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
Some facts about the Arrange-Act-Assert (also known as Given-When-Then) test pattern.
On the Seventh Day, the Mighty Being Created the 7th Instance [Technical Blog]
Posted: 21 Jul 2011   Updated: 21 Jul 2011   Views: 2,654   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
Should the test framework create a separate instance of the test class for each test method?
Testing MVC with Ivonna -- first look [Technical Blog]
Posted: 23 Jul 2011   Updated: 23 Jul 2011   Views: 3,609   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
Testing MVC with Ivonna -- first look
Getting started with Jasmine tests in FubuMVC applications [Technical Blog]
Posted: 21 Feb 2012   Updated: 21 Feb 2012   Views: 3,904   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
Jasmine is one of the most popular BDD-style JavaScript testing frameworks.
Testing async requests, mocking async methods with new Ivonna [Technical Blog]
Posted: 8 Mar 2013   Updated: 8 Mar 2013   Views: 1,383   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
For those of you who can't wait to start testing async requests, here's the good news (and no, there are no bad news in this post): starting with the 3.1 version of Ivonna, you can test them with the same syntax as before, i.e. using either session.Get(url) or session.GetPage(url).Ho

Hardware & System

Writing the first test for a Real System [Technical Blog]
Posted: 12 Mar 2012   Updated: 12 Mar 2012   Views: 2,163   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
codeproject So, you've read a book on TDD, a couple of blog posts from the gurus, and maybe even done the Calculator Kata several times. Now it's time to apply your knowledge to a Real Life Project that you are starting today. You probably stare at the empty solution and try to figure out where
Writing the first test for a Real System, Part II [Technical Blog]
Posted: 23 Jul 2012   Updated: 23 Jul 2012   Views: 2,258   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
codeproject Guilt. That's what I've been feeling all these days.Ok, it's not that I spent the past month in a deep depression. I should confess that I'm not that kind of guy. But naming a post "blah blah part I" is kinda making a commitment. And the longer I kept postponing writing the second pa

Uncategorised Technical Blogs

On structuring your tests [Technical Blog]
Posted: 19 Jun 2010   Updated: 19 Jun 2010   Views: 2,852   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
On structuring your tests
Getting ready for breaking changes in Ivonna v.3 [Technical Blog]
Posted: 11 Aug 2011   Updated: 11 Aug 2011   Views: 7,094   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
Getting ready for breaking changes in Ivonna v.3
Ripple, the utility that saves you from your personal NuGet hell [Technical Blog]
Posted: 2 Mar 2012   Updated: 2 Mar 2012   Views: 7,883   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
codeproject Managing your dependencies with NuGet can be just fine.Unless you want some of these be compiled locally.For example, imagine that you have a complicated dependency graph, and you've just modified a source of one of the assemblies. Or you just want the freshest bits from the source c
Configuring your assets for FubuMVC [Technical Blog]
Posted: 16 Apr 2012   Updated: 16 Apr 2012   Views: 1,987   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
codeproject When you have a complicated View, things can easily get messy. A View may have several Partials, each Partial being reused in several Views. Each Partial might require certain library scripts, which in turn might depend on other scripts.(At this point, I stopped and thought, maybe I
A binder that breaks the rules [Technical Blog]
Posted: 8 Jun 2012   Updated: 8 Jun 2012   Views: 1,385   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
codeproject There are many binders in my big rusty toolchest. Some are good boys (and girls), others just like to misbehave. I mean, they do what they're destined for, and they do it really good, but in the process of doing it they break one or several Holy Laws that our Holy President wants us
No tips have been posted.

Artem Smirnov
Software Developer Freelancer
Russian Federation Russian Federation
Member
No Biography provided


Advertise | Privacy | Mobile
Web03 | 2.6.130516.1 | Last Updated 23 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid