Click here to Skip to main content

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

Articles: 2, Technical Blogs: 39

RSS Feed

Average article rating: 4.09

Printing
General
Posted: 22 Apr 2008   Updated: 27 Feb 2009   Views: 20,717   Rating: 4.00/5    Votes: 4   Popularity: 2.41
Licence: The GNU Lesser General Public License (LGPLv3)      Bookmarked: 28   Downloaded: 310
The basics of Inka, an open source printing component
Exception Handling
General
Posted: 9 Jul 2007   Updated: 25 Sep 2007   Views: 34,658   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.30

Miscellaneous
General
Posted: 10 Oct 2011   Updated: 10 Oct 2011   Views: 7,249   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.
Progress Controls
General
Posted: 26 Aug 2014   Updated: 26 Aug 2014   Views: 2,757   Rating: 4.25/5    Votes: 5   Popularity: 3.03
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
codeproject There are many cases when you want to start a long operation and watch its progress. In my Chpokk project (a C# and VB.Net IDE), you can see it when you create a project (primarily when adding NuGet packages, which can be long), compiling, executing, and automated testing. The proble
Applications & Tools
General
Posted: 16 Jun 2011   Updated: 16 Jun 2011   Views: 9,558   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.
Posted: 16 Jun 2011   Updated: 16 Jun 2011   Views: 8,534   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
Code Project scripts
Posted: 2 Feb 2012   Updated: 2 Feb 2012   Views: 9,817   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
General
Posted: 21 Jul 2011   Updated: 21 Jul 2011   Views: 5,441   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.
Posted: 22 Jul 2011   Updated: 23 Jul 2011   Views: 4,717   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
Posted: 5 Nov 2011   Updated: 5 Nov 2011   Views: 4,394   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
Writing testable Action Methods.
Howto
Posted: 30 Mar 2010   Updated: 18 Jun 2010   Views: 4,088   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
Posted: 8 Dec 2011   Updated: 8 Dec 2011   Views: 11,817   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
General
Posted: 7 Jun 2012   Updated: 7 Jun 2012   Views: 6,300   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   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
General
Posted: 2 Sep 2011   Updated: 2 Sep 2011   Views: 9,628   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
Forth .NET
Posted: 5 Jul 2010   Updated: 8 Jul 2010   Views: 7,396   Rating: 4.00/5    Votes: 1   Popularity: 0.00
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
Applications
Posted: 12 Apr 2010   Updated: 12 Apr 2010   Views: 3,697   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
Posted: 19 Jul 2010   Updated: 19 Jul 2010   Views: 3,714   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
Posted: 19 Jul 2010   Updated: 19 Jul 2010   Views: 3,857   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
General
Posted: 11 Jan 2011   Updated: 11 Jan 2011   Views: 6,063   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
Active Directory
Posted: 17 Apr 2009   Updated: 17 Apr 2009   Views: 7,656   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
General
Posted: 19 Jun 2010   Updated: 19 Jun 2010   Views: 4,498   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
Unit Testing
Posted: 22 Jul 2011   Updated: 23 Jul 2011   Views: 3,036   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,
Posted: 22 Jul 2011   Updated: 23 Jul 2011   Views: 3,808   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
Posted: 16 Jun 2011   Updated: 23 Jul 2011   Views: 9,862   Rating: 4.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
The advantages of using TDD.
Posted: 3 Aug 2011   Updated: 10 Aug 2011   Views: 25,685   Rating: 3.50/5    Votes: 2   Popularity: 0.60
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   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
General
Posted: 21 Jul 2011   Updated: 21 Jul 2011   Views: 3,922   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.
Posted: 21 Jul 2011   Updated: 21 Jul 2011   Views: 3,620   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?
Posted: 23 Jul 2011   Updated: 23 Jul 2011   Views: 4,425   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
Posted: 21 Feb 2012   Updated: 21 Feb 2012   Views: 4,924   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.
Posted: 13 Aug 2013   Updated: 13 Aug 2013   Views: 2,964   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
A real world example of a user-oriented test that it going to change your life forever. Or maybe not.
UI Testing
Posted: 8 Mar 2013   Updated: 8 Mar 2013   Views: 3,278   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
Clipboard
Posted: 12 Mar 2012   Updated: 12 Mar 2012   Views: 3,074   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
Posted: 23 Jul 2012   Updated: 23 Jul 2012   Views: 3,203   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
General
Posted: 19 Jun 2010   Updated: 19 Jun 2010   Views: 3,505   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
On structuring your tests
Posted: 11 Aug 2011   Updated: 11 Aug 2011   Views: 8,052   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
Posted: 2 Mar 2012   Updated: 2 Mar 2012   Views: 9,889   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
Posted: 16 Apr 2012   Updated: 16 Apr 2012   Views: 2,866   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
Posted: 8 Jun 2012   Updated: 8 Jun 2012   Views: 2,016   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
Posted: 8 Sep 2013   Updated: 8 Sep 2013   Views: 11,450   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 7   Downloaded: 0
How to use a dropbox in your .NET application
Posted: 21 Jan 2014   Updated: 21 Jan 2014   Views: 3,004   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
codeproject If you are a .Net developer, there's no way you've never used, or at least heard about, NuGet. Unless you don't use any external dependencies, this package manager is a must have tool. And, if you want to learn it, you can spend a day or two reading various blogs, with lots of repeti
Posted: 22 Sep 2014   Updated: 22 Sep 2014   Views: 3,254   Rating: 4.50/5    Votes: 4   Popularity: 2.61
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
codeproject I've been struggling for some time to make NuGet work for my online .Net IDE project, Chpokk. The good news is that there turned out to be a command line tool, NuGet.exe, which can be used on a build server, so I though I'd just use its functionality. The bad news is that it turned o
No tips have been posted.
No reference articles have been posted.

Artem Smirnov
Software Developer GeekSoft
Lithuania Lithuania
No Biography provided
Follow on   Twitter


Advertise | Privacy | Mobile
Web04 | 2.8.141220.1 | Last Updated 21 Dec 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid